Skip to content

Commit 8267689

Browse files
committed
chore: Update dependencies and cleanup code
1 parent d5ab14c commit 8267689

File tree

13 files changed

+374
-509
lines changed

13 files changed

+374
-509
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ config.cfg
22
*config.yaml
33
!tests/**/config.yaml
44
.phpunit.result.cache
5+
.php-cs-fixer.cache
56
vendor/
67
composer.phar
78
php_errors.log

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
return (new Config())
2525
->registerCustomFixers(new Fixers())
2626
->setRiskyAllowed(true)
27-
->setUsingCache(false)
2827
->setRules([
2928
'@PSR12' => true,
3029
'@Symfony' => true,
@@ -43,6 +42,7 @@
4342
'no_superfluous_phpdoc_tags' => true,
4443
'no_useless_else' => true,
4544
'no_useless_return' => true,
45+
'nullable_type_declaration_for_default_null_value' => true,
4646
'operator_linebreak' => ['only_booleans' => true],
4747
'ordered_class_elements' => true,
4848
'ordered_imports' => true,

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"ext-curl": "*",
99
"dnoegel/php-xdg-base-dir": "~0.1",
1010
"fakerphp/faker": "^1.21.0",
11-
"guzzlehttp/guzzle": "^6.5.2",
11+
"guzzlehttp/guzzle": "^7.7.0",
1212
"laravel-zero/phar-updater": "^1.1",
1313
"shopwarelabs/plugin-info": "0.1.0",
1414
"symfony/config": "~5.4",
@@ -19,11 +19,14 @@
1919
},
2020
"require-dev": {
2121
"ext-phar": "*",
22-
"friendsofphp/php-cs-fixer": "^3.14.3",
23-
"kubawerlos/php-cs-fixer-custom-fixers": "^v3.11.3",
22+
"friendsofphp/php-cs-fixer": "^3.17.0",
23+
"kubawerlos/php-cs-fixer-custom-fixers": "^v3.14.0",
2424
"phpunit/phpunit": "^9.5",
2525
"symfony/var-dumper": "~5.4"
2626
},
27+
"replace": {
28+
"symfony/polyfill-php73": "*"
29+
},
2730
"scripts": {
2831
"cs-check": "php-cs-fixer fix --dry-run -v",
2932
"cs-fix": "php-cs-fixer fix -v",

0 commit comments

Comments
 (0)