Skip to content

Commit 8cc3f95

Browse files
mbabkerphansys
authored andcommitted
Bump CS-Fixer to latest minor, update config
1 parent 39de541 commit 8cc3f95

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.php-cs-fixer.dist.php

+3-4
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,12 @@
2828
]);
2929

3030
return (new PhpCsFixer\Config())
31+
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
3132
->setRules([
3233
'@DoctrineAnnotation' => true,
33-
'@PHP71Migration' => true,
34-
'@PHP71Migration:risky' => true,
3534
'@PHP74Migration' => true,
3635
'@PHP74Migration:risky' => true,
37-
'@PHPUnit84Migration:risky' => true,
36+
'@PHPUnit91Migration:risky' => true,
3837
'@PSR2' => true,
3938
'@Symfony' => true,
4039
'array_syntax' => ['syntax' => 'short'],
@@ -55,7 +54,7 @@
5554
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
5655
'no_unset_on_property' => true,
5756
'no_useless_else' => true,
58-
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
57+
'nullable_type_declaration_for_default_null_value' => true,
5958
'ordered_class_elements' => true,
6059
'ordered_imports' => ['sort_algorithm' => 'alpha'],
6160
'phpdoc_order' => ['order' => ['param', 'throws', 'return']],

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"doctrine/doctrine-bundle": "^2.3",
5959
"doctrine/mongodb-odm": "^2.3",
6060
"doctrine/orm": "^2.20 || ^3.3",
61-
"friendsofphp/php-cs-fixer": "^3.14.0",
61+
"friendsofphp/php-cs-fixer": "^3.70",
6262
"nesbot/carbon": "^2.71 || ^3.0",
6363
"phpstan/phpstan": "^2.1.1",
6464
"phpstan/phpstan-doctrine": "^2.0.1",

0 commit comments

Comments
 (0)