larriereguichet /
AdminBundle
| 1 | <?php |
||
| 2 | |||
| 3 | $finder = \PhpCsFixer\Finder::create() |
||
|
0 ignored issues
–
show
|
|||
| 4 | ->in('src/') |
||
| 5 | ->exclude([ |
||
| 6 | 'bin', |
||
| 7 | 'build', |
||
| 8 | 'vendor', |
||
| 9 | ]) |
||
| 10 | ; |
||
| 11 | |||
| 12 | return \PhpCsFixer\Config::create() |
||
|
0 ignored issues
–
show
The type
PhpCsFixer\Config 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 Loading history...
|
|||
| 13 | ->setRules([ |
||
| 14 | '@Symfony' => true, |
||
| 15 | '@Symfony:risky' => true, |
||
| 16 | 'phpdoc_align' => false, |
||
| 17 | 'yoda_style' => false, |
||
| 18 | 'elseif' => true, |
||
| 19 | 'declare_strict_types' => true, |
||
| 20 | ]) |
||
| 21 | ->setFinder($finder) |
||
| 22 | ; |
||
| 23 |
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