1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | use Rector\Config\RectorConfig; |
||
0 ignored issues
–
show
|
|||
6 | use Rector\PHPUnit\Set\PHPUnitSetList; |
||
0 ignored issues
–
show
The type
Rector\PHPUnit\Set\PHPUnitSetList was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
7 | use Rector\Set\ValueObject\LevelSetList; |
||
0 ignored issues
–
show
The type
Rector\Set\ValueObject\LevelSetList was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
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, |
||
0 ignored issues
–
show
The type
Rector\Php81\Rector\Func...StringFuncCallArgRector was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
29 | \Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector::class, |
||
0 ignored issues
–
show
The type
Rector\Php73\Rector\Func...\JsonThrowOnErrorRector was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
30 | \Rector\Php55\Rector\String_\StringClassNameToClassConstantRector::class => [ |
||
0 ignored issues
–
show
The type
Rector\Php55\Rector\Stri...meToClassConstantRector was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
31 | __DIR__.'/src/Configuration/Configuration.php', |
||
32 | ], |
||
33 | \Rector\Php73\Rector\String_\SensitiveHereNowDocRector::class, |
||
0 ignored issues
–
show
The type
Rector\Php73\Rector\Stri...nsitiveHereNowDocRector was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
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