Issues (7)

.php-cs-fixer.dist.php (2 issues)

1
<?php
2
3
$finder = PhpCsFixer\Finder::create()
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. 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...
4
    ->exclude('vendor')
5
    ->exclude('vendor-bin')
6
    ->in(__DIR__)
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. 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...
10
    ->setRiskyAllowed(true)
11
    ->setRules([
12
        '@Symfony' => true,
13
        '@Symfony:risky' => true,
14
        'linebreak_after_opening_tag' => true,
15
        'mb_str_functions' => true,
16
        'no_php4_constructor' => true,
17
        'no_unreachable_default_argument_value' => true,
18
        'no_useless_else' => true,
19
        'no_useless_return' => true,
20
        'php_unit_strict' => true,
21
        'phpdoc_order' => true,
22
        'strict_comparison' => true,
23
        'strict_param' => true,
24
    ])
25
    ->setFinder($finder)
26
    ->setCacheFile(__DIR__.'/.php_cs.cache')
27
    ;
28