Part-DB /
Part-DB-symfony
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
||
| 6 | use Symplify\EasyCodingStandard\Configuration\Option; |
||
|
0 ignored issues
–
show
|
|||
| 7 | use Symplify\EasyCodingStandard\ValueObject\Set\SetList; |
||
| 8 | use Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer; |
||
| 9 | |||
| 10 | return static function (ContainerConfigurator $containerConfigurator): void { |
||
| 11 | $parameters = $containerConfigurator->parameters(); |
||
| 12 | $parameters->set(Option::SETS, [ |
||
| 13 | SetList::CLEAN_CODE, |
||
| 14 | SetList::PSR_12, |
||
| 15 | SetList::SYMFONY, |
||
|
0 ignored issues
–
show
|
|||
| 16 | SetList::SYMPLIFY |
||
| 17 | ]); |
||
| 18 | |||
| 19 | $parameters->set(Option::PATHS, [ |
||
| 20 | __DIR__ . '/src', |
||
| 21 | __DIR__ . '/tests', |
||
| 22 | ]); |
||
| 23 | |||
| 24 | $parameters->set(Option::SKIP, [ |
||
| 25 | LineLengthFixer::class => null |
||
| 26 | ]); |
||
| 27 | }; |
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