Skip to content

Commit 605d608

Browse files
authored
Merge pull request #650 from stof/fix_ci
Fix the php-cs-fixer config for the new version
2 parents 8229156 + c6d4713 commit 605d608

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
'method_argument_space' => ['on_multiline' => 'ignore'],
1515
// Since PHP 7.2 is supported we can't add trailing commas in arguments, parameters and match
1616
'trailing_comma_in_multiline' => ['elements' => ['arrays']],
17-
'visibility_required' => false,
17+
'modifier_keywords' => false,
1818
])
1919
->setFinder(
2020
(new PhpCsFixer\Finder())

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727

2828
"require-dev": {
29-
"friendsofphp/php-cs-fixer": "^3.40",
29+
"friendsofphp/php-cs-fixer": "^3.88",
3030
"phpspec/phpspec": "^6.0 || ^7.0 || ^8.0",
3131
"phpstan/phpstan": "^2.1.13",
3232
"phpunit/phpunit": "^11.0 || ^12.0"

0 commit comments

Comments
 (0)