mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
update rector and adapt rules
This commit is contained in:
parent
c20f65eebb
commit
157cdf6dfc
@ -75,7 +75,7 @@
|
|||||||
"phpunit/phpunit": ">= 7.5",
|
"phpunit/phpunit": ">= 7.5",
|
||||||
"psalm/plugin-phpunit": "^0.18.4",
|
"psalm/plugin-phpunit": "^0.18.4",
|
||||||
"psalm/plugin-symfony": "^4.0.2",
|
"psalm/plugin-symfony": "^4.0.2",
|
||||||
"rector/rector": "^0.15.23",
|
"rector/rector": "^0.17.7",
|
||||||
"symfony/debug-bundle": "^5.1",
|
"symfony/debug-bundle": "^5.1",
|
||||||
"symfony/dotenv": "^4.4",
|
"symfony/dotenv": "^4.4",
|
||||||
"symfony/maker-bundle": "^1.20",
|
"symfony/maker-bundle": "^1.20",
|
||||||
|
@ -38,7 +38,8 @@ return static function (RectorConfig $rectorConfig): void {
|
|||||||
// we need to discuss this: are we going to have FALSE in tests instead of an error ?
|
// we need to discuss this: are we going to have FALSE in tests instead of an error ?
|
||||||
\Rector\Php71\Rector\FuncCall\CountOnNullRector::class,
|
\Rector\Php71\Rector\FuncCall\CountOnNullRector::class,
|
||||||
|
|
||||||
// must merge MR500 and review a typing of "ArrayCollection" in entities
|
// we must adapt service definition
|
||||||
\Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector::class,
|
\Rector\Symfony\Symfony28\Rector\MethodCall\GetToConstructorInjectionRector::class,
|
||||||
|
\Rector\Symfony\Symfony34\Rector\Closure\ContainerGetNameToTypeInTestsRector::class,
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user