Skip to content

Commit

Permalink
chore: Update dependencies and cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
mitelg committed Jun 15, 2023
1 parent d5ab14c commit 8267689
Show file tree
Hide file tree
Showing 13 changed files with 374 additions and 509 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,6 +2,7 @@ config.cfg
*config.yaml
!tests/**/config.yaml
.phpunit.result.cache
.php-cs-fixer.cache
vendor/
composer.phar
php_errors.log
Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Expand Up @@ -24,7 +24,6 @@
return (new Config())
->registerCustomFixers(new Fixers())
->setRiskyAllowed(true)
->setUsingCache(false)
->setRules([
'@PSR12' => true,
'@Symfony' => true,
Expand All @@ -43,6 +42,7 @@
'no_superfluous_phpdoc_tags' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'nullable_type_declaration_for_default_null_value' => true,
'operator_linebreak' => ['only_booleans' => true],
'ordered_class_elements' => true,
'ordered_imports' => true,
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Expand Up @@ -8,7 +8,7 @@
"ext-curl": "*",
"dnoegel/php-xdg-base-dir": "~0.1",
"fakerphp/faker": "^1.21.0",
"guzzlehttp/guzzle": "^6.5.2",
"guzzlehttp/guzzle": "^7.7.0",
"laravel-zero/phar-updater": "^1.1",
"shopwarelabs/plugin-info": "0.1.0",
"symfony/config": "~5.4",
Expand All @@ -19,11 +19,14 @@
},
"require-dev": {
"ext-phar": "*",
"friendsofphp/php-cs-fixer": "^3.14.3",
"kubawerlos/php-cs-fixer-custom-fixers": "^v3.11.3",
"friendsofphp/php-cs-fixer": "^3.17.0",
"kubawerlos/php-cs-fixer-custom-fixers": "^v3.14.0",
"phpunit/phpunit": "^9.5",
"symfony/var-dumper": "~5.4"
},
"replace": {
"symfony/polyfill-php73": "*"
},
"scripts": {
"cs-check": "php-cs-fixer fix --dry-run -v",
"cs-fix": "php-cs-fixer fix -v",
Expand Down

0 comments on commit 8267689

Please sign in to comment.