savinmikhail /
symfony-profiler-response-bundle
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | use PhpCsFixer\Config; |
||
|
0 ignored issues
–
show
|
|||
| 6 | use PhpCsFixer\Finder; |
||
|
0 ignored issues
–
show
The type
PhpCsFixer\Finder 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...
|
|||
| 7 | use PHPyh\CodingStandard\PhpCsFixerCodingStandard; |
||
|
0 ignored issues
–
show
The type
PHPyh\CodingStandard\PhpCsFixerCodingStandard 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 | $finder = Finder::create() |
||
| 10 | ->in(__DIR__ . '/src') |
||
| 11 | ->in(__DIR__ . '/tests') |
||
| 12 | ->exclude('var') |
||
| 13 | ->ignoreVCS(true) |
||
| 14 | ; |
||
| 15 | |||
| 16 | $config = (new Config()) |
||
| 17 | ->setCacheFile(__DIR__ . '/var/.php-cs-fixer.cache') |
||
| 18 | ->setFinder($finder); |
||
| 19 | |||
| 20 | (new PhpCsFixerCodingStandard())->applyTo($config, [ |
||
| 21 | 'global_namespace_import' => [ |
||
| 22 | 'import_constants' => true, |
||
| 23 | 'import_functions' => true, |
||
| 24 | 'import_classes' => true, |
||
| 25 | ], |
||
| 26 | 'php_unit_test_case_static_method_calls' => ['call_type' => 'self'], |
||
| 27 | 'blank_line_between_import_groups' => true, |
||
| 28 | ]); |
||
| 29 | |||
| 30 | return $config; |
||
| 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