joenilson /
fsRepublicaDominicana
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | use PhpCsFixer\Config; |
||
| 6 | use PhpCsFixer\Finder; |
||
|
0 ignored issues
–
show
|
|||
| 7 | use PhpCsFixer\Runner\Parallel\ParallelConfigFactory; |
||
|
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...
|
|||
| 8 | |||
| 9 | return (new Config()) |
||
| 10 | ->setParallelConfig(ParallelConfigFactory::detect()) // @TODO 4.0 no need to call this manually |
||
| 11 | ->setRiskyAllowed(false) |
||
| 12 | ->setRules([ |
||
| 13 | '@auto' => true |
||
| 14 | ]) |
||
| 15 | // 💡 by default, Fixer looks for `*.php` files excluding `./vendor/` - here, you can groom this config |
||
| 16 | ->setFinder( |
||
| 17 | (new Finder()) |
||
| 18 | // 💡 root folder to check |
||
| 19 | ->in(__DIR__) |
||
| 20 | // 💡 additional files, eg bin entry file |
||
| 21 | // ->append([__DIR__.'/bin-entry-file']) |
||
| 22 | // 💡 folders to exclude, if any |
||
| 23 | // ->exclude([/* ... */]) |
||
| 24 | // 💡 path patterns to exclude, if any |
||
| 25 | // ->notPath([/* ... */]) |
||
| 26 | // 💡 extra configs |
||
| 27 | // ->ignoreDotFiles(false) // true by default in v3, false in v4 or future mode |
||
| 28 | // ->ignoreVCSIgnored(true) // true by default |
||
| 29 | ) |
||
| 30 | ; |
||
| 31 |
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