Created
January 12, 2026 09:59
-
-
Save mateuszfl/847000a998ddae56b5db65b20ab51977 to your computer and use it in GitHub Desktop.
rector-upgrade-advisory-84.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| declare(strict_types=1); | |
| use Rector\Config\RectorConfig; | |
| use Rector\Set\ValueObject\SetList; | |
| return static function (RectorConfig $rectorConfig): void { | |
| $paths = array_values(array_filter([ | |
| is_dir('src') ? 'src' : null, | |
| is_dir('tests') ? 'tests' : null, | |
| ])); | |
| $rectorConfig->paths($paths); | |
| $rectorConfig->sets([ | |
| SetList::PHP_82, | |
| SetList::PHP_83, | |
| SetList::PHP_84, | |
| ]); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment