Issues (224)

requirement-checker/rector-tests.php (4 issues)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
use Rector\Config\RectorConfig;
0 ignored issues
show
The type Rector\Config\RectorConfig 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
0 ignored issues
show
The type Rector\Php74\Rector\Clos...reToArrowFunctionRector 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
9
10
$applyCommonConfig = require __DIR__.'/rector.php';
11
12
return static function (RectorConfig $rectorConfig) use ($applyCommonConfig): void {
13
    $applyCommonConfig($rectorConfig);
14
15
    $rectorConfig->paths([
16
        __DIR__ . '/tests',
17
    ]);
18
19
    $rectorConfig->sets([
20
        LevelSetList::UP_TO_PHP_82,
21
        PHPUnitSetList::PHPUNIT_100,
22
    ]);
23
24
    $rectorConfig->skip([
25
        ClosureToArrowFunctionRector::class
26
    ]);
27
};
28