mysociety /
theyworkforyou
| 1 | <?php |
||
| 2 | |||
| 3 | $finder = (new PhpCsFixer\Finder()) |
||
|
0 ignored issues
–
show
|
|||
| 4 | ->in(__DIR__) |
||
| 5 | ->exclude([ |
||
| 6 | 'commonlib', |
||
| 7 | ]) |
||
| 8 | ; |
||
| 9 | return (new PhpCsFixer\Config()) |
||
|
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...
|
|||
| 10 | ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) |
||
|
0 ignored issues
–
show
The type
PhpCsFixer\Runner\Parallel\ParallelConfigFactory 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...
|
|||
| 11 | ->setRules([ |
||
| 12 | '@PER-CS' => true, |
||
| 13 | '@PHP74Migration' => true, |
||
| 14 | 'braces_position' => ['functions_opening_brace' => 'same_line', 'classes_opening_brace' => 'same_line'], |
||
| 15 | ]) |
||
| 16 | ->setFinder($finder) |
||
| 17 | ; |
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