noitran /
lumen-form-requests
| 1 | <?php |
||
| 2 | |||
| 3 | return PhpCsFixer\Config::create() |
||
|
0 ignored issues
–
show
|
|||
| 4 | ->setRules([ |
||
| 5 | '@PSR2' => true, |
||
| 6 | 'array_syntax' => [ |
||
| 7 | 'syntax' => 'short', |
||
| 8 | ], |
||
| 9 | 'no_unreachable_default_argument_value' => false, |
||
| 10 | 'braces' => [ |
||
| 11 | 'allow_single_line_closure' => false, |
||
| 12 | ], |
||
| 13 | 'binary_operator_spaces' => [ |
||
| 14 | 'align_double_arrow' => false, |
||
| 15 | ], |
||
| 16 | 'trailing_comma_in_multiline_array' => true, |
||
| 17 | 'whitespace_after_comma_in_array' => true, |
||
| 18 | 'blank_line_after_opening_tag' => true, |
||
| 19 | 'blank_line_before_return' => true, |
||
| 20 | 'cast_spaces' => true, |
||
| 21 | 'function_typehint_space' => true, |
||
| 22 | 'hash_to_slash_comment' => true, |
||
| 23 | 'linebreak_after_opening_tag' => true, |
||
| 24 | 'lowercase_cast' => true, |
||
| 25 | 'method_separation' => true, |
||
| 26 | 'new_with_braces' => true, |
||
| 27 | 'no_blank_lines_after_class_opening' => true, |
||
| 28 | 'no_blank_lines_after_phpdoc' => true, |
||
| 29 | 'no_unused_imports' => true, |
||
| 30 | 'phpdoc_align' => false, |
||
| 31 | 'phpdoc_no_package' => true, |
||
| 32 | 'phpdoc_order' => true, |
||
| 33 | 'phpdoc_add_missing_param_annotation' => true, |
||
| 34 | 'method_argument_space' => [ |
||
| 35 | 'ensure_fully_multiline' => true, |
||
| 36 | 'keep_multiple_spaces_after_comma' => true, |
||
| 37 | ], |
||
| 38 | ]) |
||
| 39 | ->setRiskyAllowed(false) |
||
| 40 | ->setFinder( |
||
| 41 | 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 42 | ->in(__DIR__) |
||
| 43 | ->exclude([ |
||
| 44 | 'bootstrap/cache', |
||
| 45 | 'bower_components', |
||
| 46 | 'node_modules', |
||
| 47 | 'tasks', |
||
| 48 | 'public', |
||
| 49 | 'bin', |
||
| 50 | 'storage', |
||
| 51 | 'vendor', |
||
| 52 | ]) |
||
| 53 | ->notPath('_ide_helper_models.php') |
||
| 54 | ->notPath('_ide_helper.php') |
||
| 55 | ->notPath('.phpstorm.meta.php') |
||
| 56 | ->ignoreDotFiles(true) |
||
| 57 | ->ignoreVCS(true) |
||
| 58 | ); |
||
| 59 |
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