Skip to content

Commit

Permalink
Deps: Temporarily restrict php-cs-fixer 3.65.0 until fix for nullable…
Browse files Browse the repository at this point in the history
… decalaration is released

Php-cs-fixer 3.65.0 (included in ecs 12.4+) contains broken NullableTypeDeclarationFixer, which could lead to syntax error in code.
See PHP-CS-Fixer/PHP-CS-Fixer#8330

This should be fixed in next php-cs-fixer release, then we can remove the version restriction.
  • Loading branch information
OndraM committed Dec 27, 2024
1 parent 6cb1d4d commit e00f892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
],
"require": {
"php": "^8.0",
"friendsofphp/php-cs-fixer": "^3.47.1",
"friendsofphp/php-cs-fixer": "^3.47.1 !=3.65.0",
"slevomat/coding-standard": "^8.6",
"squizlabs/php_codesniffer": "^3.9",
"symplify/easy-coding-standard": "^12.2.0"
"symplify/easy-coding-standard": "^12.2.0 <12.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.42.0",
Expand Down

0 comments on commit e00f892

Please sign in to comment.