cekta /
di
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | use NunoMaduro\PhpInsights\Domain\Insights\ForbiddenNormalClasses; |
||
| 6 | use PHP_CodeSniffer\Standards\Generic\Sniffs\Files\LineLengthSniff; |
||
| 7 | use PHP_CodeSniffer\Standards\Generic\Sniffs\Formatting\SpaceAfterNotSniff; |
||
| 8 | use PhpCsFixer\Fixer\StringNotation\ExplicitStringVariableFixer; |
||
| 9 | use SlevomatCodingStandard\Sniffs\Classes\SuperfluousInterfaceNamingSniff; |
||
| 10 | use SlevomatCodingStandard\Sniffs\Commenting\DocCommentSpacingSniff; |
||
| 11 | use SlevomatCodingStandard\Sniffs\TypeHints\DisallowMixedTypeHintSniff; |
||
| 12 | use SlevomatCodingStandard\Sniffs\TypeHints\TypeHintDeclarationSniff; |
||
|
0 ignored issues
–
show
|
|||
| 13 | |||
| 14 | return [ |
||
| 15 | 'preset' => 'default', |
||
| 16 | 'exclude' => [ |
||
| 17 | ], |
||
| 18 | 'add' => [ |
||
| 19 | ], |
||
| 20 | 'remove' => [ |
||
| 21 | DisallowMixedTypeHintSniff::class, |
||
| 22 | TypeHintDeclarationSniff::class, |
||
| 23 | ForbiddenNormalClasses::class, |
||
| 24 | SuperfluousInterfaceNamingSniff::class, |
||
| 25 | SpaceAfterNotSniff::class, |
||
| 26 | ExplicitStringVariableFixer::class, |
||
| 27 | ], |
||
| 28 | 'config' => [ |
||
| 29 | LineLengthSniff::class => [ |
||
| 30 | 'lineLimit' => 120, |
||
| 31 | 'absoluteLineLimit' => 120, |
||
| 32 | ], |
||
| 33 | DocCommentSpacingSniff::class => [ |
||
| 34 | 'linesCountBetweenDifferentAnnotationsTypes' => 0, |
||
| 35 | ], |
||
| 36 | ], |
||
| 37 | ]; |
||
| 38 |
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