1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
||
0 ignored issues
–
show
|
|||
6 | use Symplify\EasyCodingStandard\Configuration\Option; |
||
0 ignored issues
–
show
The type
Symplify\EasyCodingStandard\Configuration\Option 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 Symplify\EasyCodingStandard\ValueObject\Set\SetList; |
||
0 ignored issues
–
show
The type
Symplify\EasyCodingStand...ValueObject\Set\SetList 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 (ContainerConfigurator $containerConfigurator): void { |
||
10 | $containerConfigurator->import(__DIR__ . '/vendor/zing/coding-standard/config/config.php'); |
||
11 | $parameters = $containerConfigurator->parameters(); |
||
12 | $parameters->set( |
||
13 | Option::SETS, |
||
14 | [ |
||
15 | SetList::PHP_70, |
||
16 | SetList::PHP_71, |
||
17 | SetList::DEAD_CODE, |
||
18 | SetList::CLEAN_CODE, |
||
19 | SetList::COMMON, |
||
20 | SetList::PSR_12, |
||
21 | ] |
||
22 | ); |
||
23 | $parameters->set( |
||
24 | Option::PATHS, |
||
25 | [ |
||
26 | 'config', |
||
27 | 'src', |
||
28 | 'tests', |
||
29 | 'ecs.php', |
||
30 | 'rector.php', |
||
31 | ] |
||
32 | ); |
||
33 | }; |
||
34 |
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