| @@ -11,14 +11,8 @@ | ||
| 11 | 11 | use Rector\Php54\Rector\Array_\LongArrayToShortArrayRector; |
| 12 | 12 | use Rector\Set\ValueObject\LevelSetList; |
| 13 | 13 | |
| 14 | 14 | return static function ( RectorConfig $rector_config ): void { |
| 15 | - $rector_config->bootstrapFiles( | |
| 16 | - array( | |
| 17 | - __DIR__ . '/vendor/php-stubs/wordpress-stubs/wordpress-stubs.php', | |
| 18 | - ) | |
| 19 | - ); | |
| 20 | - | |
| 21 | 15 | $rector_config->paths( |
| 22 | 16 | array( |
| 23 | 17 | __DIR__ . '/src', |
| 24 | 18 | __DIR__ . '/tests', |
| @@ -30,9 +24,9 @@ | ||
| 30 | 24 | |
| 31 | 25 | // Define sets of rules. |
| 32 | 26 | $rector_config->sets( |
| 33 | 27 | array( |
| 34 | - LevelSetList::UP_TO_PHP_72, | |
| 28 | + LevelSetList::UP_TO_PHP_71, | |
| 35 | 29 | ) |
| 36 | 30 | ); |
| 37 | 31 | $rector_config->skip( |
| 38 | 32 | array( |