1 | <?php |
||
2 | |||
3 | $finder = Symfony\Component\Finder\Finder::create() |
||
4 | ->notPath('bootstrap/*') |
||
5 | ->notPath('storage/*') |
||
6 | ->notPath('resources/view/mail/*') |
||
7 | ->in([ |
||
8 | __DIR__ . '/src', |
||
9 | __DIR__ . '/tests', |
||
10 | ]) |
||
11 | ->name('*.php') |
||
12 | ->notName('*.blade.php') |
||
13 | ->ignoreDotFiles(true) |
||
14 | ->ignoreVCS(true); |
||
15 | |||
16 | return PhpCsFixer\Config::create() |
||
0 ignored issues
–
show
|
|||
17 | ->setRules([ |
||
18 | '@PSR2' => true, |
||
19 | 'ordered_imports' => ['sortAlgorithm' => 'alpha'], |
||
20 | 'no_unused_imports' => true, |
||
21 | 'not_operator_with_successor_space' => true, |
||
22 | 'trailing_comma_in_multiline_array' => true, |
||
23 | 'phpdoc_scalar' => true, |
||
24 | 'unary_operator_spaces' => true, |
||
25 | 'binary_operator_spaces' => true, |
||
26 | 'concat_space' => ['spacing' => 'one'], |
||
27 | 'phpdoc_single_line_var_spacing' => true, |
||
28 | 'phpdoc_var_without_name' => true, |
||
29 | 'method_argument_space' => [ |
||
30 | 'on_multiline' => 'ensure_fully_multiline', |
||
31 | ] |
||
32 | ]) |
||
33 | ->setFinder($finder); |
||
34 |
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