-
Notifications
You must be signed in to change notification settings - Fork 8
/
.scrutinizer.yml
57 lines (57 loc) · 1.68 KB
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
filter:
paths: [src/*]
excluded_paths: [src/lib/Colors/Color.php, src/shell/local/sample.php]
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
unused_variables: true
unused_properties: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
parameters_in_camelcaps: true
parameter_doc_comments: true
function_in_camel_caps: true
encourage_single_quotes: true
encourage_postdec_operator: true
coding_standard: Magento
avoid_multiple_statements_on_same_line: true
remove_php_closing_tag: true
one_class_per_file: true
psr2_class_declaration: false
no_underscore_prefix_in_properties: false
no_underscore_prefix_in_methods: false
coding_style:
php:
spaces:
around_operators:
concatenation: true
braces:
classes_functions:
class: new-line
function: new-line
closure: end-of-line
if:
opening: end-of-line
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: end-of-line
switch:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
build_failure_conditions:
- 'elements.rating(<= D).new.exists'
- 'issues.new.exists'