humbug /
box
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | use Rector\Config\RectorConfig; |
||
| 6 | use Rector\PHPUnit\Set\PHPUnitSetList; |
||
| 7 | use Rector\Set\ValueObject\LevelSetList; |
||
|
0 ignored issues
–
show
|
|||
| 8 | |||
| 9 | return static function (RectorConfig $rectorConfig): void { |
||
| 10 | $rectorConfig->paths([ |
||
| 11 | __DIR__ . '/src', |
||
| 12 | __DIR__ . '/tests', |
||
| 13 | ]); |
||
| 14 | |||
| 15 | $rectorConfig->autoloadPaths([ |
||
| 16 | __DIR__ . '/vendor/autoload.php', |
||
| 17 | __DIR__ . '/vendor-bin/rector/vendor/autoload.php', |
||
| 18 | ]); |
||
| 19 | |||
| 20 | $rectorConfig->importNames(); |
||
| 21 | |||
| 22 | $rectorConfig->sets([ |
||
| 23 | LevelSetList::UP_TO_PHP_82, |
||
| 24 | PHPUnitSetList::PHPUNIT_100, |
||
| 25 | ]); |
||
| 26 | |||
| 27 | $rectorConfig->skip([ |
||
| 28 | \Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector::class, |
||
| 29 | \Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector::class, |
||
| 30 | \Rector\Php55\Rector\String_\StringClassNameToClassConstantRector::class => [ |
||
| 31 | __DIR__.'/src/Configuration/Configuration.php', |
||
| 32 | ], |
||
| 33 | \Rector\Php73\Rector\String_\SensitiveHereNowDocRector::class, |
||
| 34 | ]); |
||
| 35 | }; |
||
| 36 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths