Passed
Push — master ( e4dbf7...cd116d )
by
unknown
17:17 queued 13:52
created

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

1
<?php
2
/*
3
 * PHPCsFixer code style configuration file
4
 */
5
$config = 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...
6
7
return $config->
8
	setIndent("\t")->
9
	setRules([
10
		'@PhpCsFixer' => true,
11
		'blank_line_before_statement' => ['statements' => ['case', 'continue', 'declare', 'default', 'exit', 'goto', 'phpdoc', 'return', 'switch', 'throw', 'try', 'yield']],
12
		'braces' => ['position_after_functions_and_oop_constructs' => 'same'],
13
		'curly_braces_position' => ['functions_opening_brace' => 'same_line', 'classes_opening_brace' => 'same_line'],
14
		'concat_space' => ['spacing' => 'one'],
15
		'control_structure_continuation_position' => ['position' => 'next_line'],
16
		'indentation_type' => true,
17
		'operator_linebreak' => ['position' => 'end'],
18
		'ordered_class_elements' => false,
19
		'single_line_comment_style' => false,
20
		'single_quote' => false,
21
		'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
22
	])->
23
	setFinder(
24
		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...
25
					exclude('vendor')->
26
					in(__DIR__)
27
	)
28
;
29