| Total Lines | 22 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | return static function (ContainerConfigurator $containerConfigurator): void { |
||
| 11 | $containerConfigurator->import(__DIR__ . '/vendor/umbrellio/code-style-php/umbrellio-cs.php'); |
||
| 12 | |||
| 13 | $services = $containerConfigurator->services(); |
||
| 14 | |||
| 15 | $services->set(PhpUnitTestAnnotationFixer::class) |
||
| 16 | ->call('configure', [[ |
||
| 17 | 'style' => 'annotation', |
||
| 18 | ]]); |
||
| 19 | |||
| 20 | $services->set(DeclareStrictTypesFixer::class); |
||
| 21 | |||
| 22 | $services->set(BinaryOperatorSpacesFixer::class) |
||
| 23 | ->call('configure', [[ |
||
| 24 | 'default' => 'single_space', |
||
| 25 | ]]); |
||
| 26 | |||
| 27 | $parameters = $containerConfigurator->parameters(); |
||
| 28 | |||
| 29 | $parameters->set('cache_directory', '.ecs_cache'); |
||
| 30 | |||
| 31 | $parameters->set('exclude_files', ['vendor/*', 'app/*']); |
||
| 32 | }; |
||
| 33 |
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