Skip to content

Commit 09c6dd3

Browse files
committed
Add checks
1 parent 5fb3e3f commit 09c6dd3

File tree

1 file changed

+43
-3
lines changed

1 file changed

+43
-3
lines changed

.scrutinizer.yml

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,46 @@ imports:
33

44
tools:
55
external_code_coverage: true
6-
php_cs_fixer:
7-
config:
8-
level: all
6+
7+
checks:
8+
php:
9+
verify_property_names: true
10+
verify_access_scope_valid: true
11+
verify_argument_usable_as_reference: true
12+
uppercase_constants: true
13+
switch_fallthrough_commented: true
14+
spacing_of_function_arguments: true
15+
spacing_around_non_conditional_operators: true
16+
spacing_around_conditional_operators: true
17+
space_after_cast: true
18+
unused_variables: true
19+
unused_properties: true
20+
unused_parameters: true
21+
unused_methods: true
22+
unreachable_code: true
23+
too_many_arguments: true
24+
no_unnecessary_if: true
25+
no_unnecessary_final_modifier: true
26+
no_empty_statements: true
27+
fix_use_statements:
28+
remove_unused: true
29+
preserve_multiple: false
30+
preserve_blanklines: false
31+
order_alphabetically: false
32+
remove_trailing_whitespace: true
33+
remove_php_closing_tag: true
34+
remove_extra_empty_lines: true
35+
fix_php_opening_tag: true
36+
fix_linefeed: true
37+
fix_line_ending: true
38+
fix_identation_4spaces: true
39+
fix_doc_comments: true
40+
avoid_useless_overridden_methods: true
41+
useless_calls: true
42+
single_namespace_per_use: true
43+
scope_indentation:
44+
spaces_per_level: '4'
45+
variable_existence: true
46+
return_doc_comments: true
47+
parameter_doc_comments: true
48+
no_unnecessary_function_call_in_for_loop: true

0 commit comments

Comments
 (0)