Issues (4)

.php-cs-fixer.php (1 issue)

Labels
Severity
1
<?php
2
3
$finder = Symfony\Component\Finder\Finder::create()
4
    ->in([
5
        __DIR__ . '/src',
6
        __DIR__ . '/tests',
7
    ])
8
    ->name('*.php')
9
    ->notName('*.blade.php')
10
    ->ignoreDotFiles(true)
11
    ->ignoreVCS(true);
12
13
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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
14
    ->setRules([
15
        '@PSR2' => true,
16
        'ordered_imports' => ['sort_algorithm' => 'alpha'],
17
        'no_unused_imports' => true,
18
        'not_operator_with_successor_space' => true,
19
        'trailing_comma_in_multiline' => true,
20
        'phpdoc_scalar' => true,
21
        'unary_operator_spaces' => true,
22
        'binary_operator_spaces' => true,
23
        'concat_space' => ['spacing' => 'one'],
24
        'phpdoc_single_line_var_spacing' => true,
25
        'phpdoc_var_without_name' => true,
26
        'method_argument_space' => [
27
            'on_multiline' => 'ensure_fully_multiline',
28
        ]
29
    ])
30
    ->setFinder($finder);
31