Test Failed
Pull Request — master (#10)
by Oleksii
03:23
created

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

Labels
Severity
1
<?php
2
3
if (!file_exists(__DIR__.'/src')) {
4
    exit(0);
5
}
6
7
$finder = (new 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. 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...
8
    ->in(__DIR__.'/src')
9
    ->in(__DIR__.'/tests')
10
;
11
12
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...
13
    ->setRules(array(
14
        '@Symfony' => true,
15
        '@Symfony:risky' => true,
16
        'protected_to_private' => false,
17
        'semicolon_after_instruction' => false,
18
        'header_comment' => [
19
            'header' => <<<EOF
20
 This file is part of the Micro framework package.
21
 
22
 (c) Stanislau Komar <[email protected]>
23
 
24
 For the full copyright and license information, please view the LICENSE
25
 file that was distributed with this source code.
26
EOF
27
        ]
28
    ))
29
    ->setRiskyAllowed(true)
30
    ->setFinder($finder);