mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-07 20:00:50 +00:00
move Polyfill to rules (#3951)
This commit is contained in:
parent
8784a81ff7
commit
74fc11088d
|
@ -121,7 +121,7 @@
|
|||
"Rector\\PHPOffice\\": "rules/php-office/src",
|
||||
"Rector\\PhpDeglobalize\\": "rules/php-deglobalize/src",
|
||||
"Rector\\PhpSpecToPHPUnit\\": "rules/php-spec-to-phpunit/src",
|
||||
"Rector\\Polyfill\\": "packages/polyfill/src",
|
||||
"Rector\\Polyfill\\": "rules/polyfill/src",
|
||||
"Rector\\Privatization\\": "rules/privatization/src",
|
||||
"Rector\\RectorGenerator\\": "packages/rector-generator/src",
|
||||
"Rector\\Set\\": "packages/set/src",
|
||||
|
@ -205,7 +205,7 @@
|
|||
"Rector\\PHPOffice\\Tests\\": "rules/php-office/tests",
|
||||
"Rector\\PhpDeglobalize\\Tests\\": "rules/php-deglobalize/tests",
|
||||
"Rector\\PhpSpecToPHPUnit\\Tests\\": "rules/php-spec-to-phpunit/tests",
|
||||
"Rector\\Polyfill\\Tests\\": "packages/polyfill/tests",
|
||||
"Rector\\Polyfill\\Tests\\": "rules/polyfill/tests",
|
||||
"Rector\\Privatization\\Tests\\": "rules/privatization/tests",
|
||||
"Rector\\RemovingStatic\\Tests\\": "rules/removing-static/tests",
|
||||
"Rector\\Renaming\\Tests\\": "rules/renaming/tests",
|
||||
|
|
2
ecs.php
2
ecs.php
|
@ -82,7 +82,7 @@ return static function (ContainerConfigurator $containerConfigurator): void {
|
|||
// breaks on-purpose annotated variables
|
||||
ReturnAssignmentFixer::class => null,
|
||||
|
||||
StrictComparisonFixer::class => [__DIR__ . '/packages/polyfill/src/ConditionEvaluator.php'],
|
||||
StrictComparisonFixer::class => [__DIR__ . '/rules/polyfill/src/ConditionEvaluator.php'],
|
||||
]);
|
||||
|
||||
$parameters->set('line_ending', "\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user