move Polyfill to rules (#3951)

This commit is contained in:
Tomas Votruba 2020-08-12 20:30:42 +02:00 committed by GitHub
parent 8784a81ff7
commit 74fc11088d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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");