forked from FriendsOfSymfony/FOSHttpCacheBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
52 lines (50 loc) · 1.57 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
imports:
- php
tools:
external_code_coverage:
timeout: 1800
php_code_sniffer:
config:
standard: PSR2
checks:
php:
verify_property_names: true
verify_access_scope_valid: true
verify_argument_usable_as_reference: true
uppercase_constants: true
switch_fallthrough_commented: true
spacing_of_function_arguments: true
spacing_around_non_conditional_operators: true
spacing_around_conditional_operators: true
space_after_cast: true
unused_variables: true
unused_properties: true
unused_parameters: true
unused_methods: true
unreachable_code: true
too_many_arguments: true
no_unnecessary_if: true
no_unnecessary_final_modifier: true
no_empty_statements: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
remove_trailing_whitespace: true
remove_php_closing_tag: true
remove_extra_empty_lines: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
avoid_useless_overridden_methods: true
useless_calls: true
single_namespace_per_use: true
scope_indentation:
spaces_per_level: '4'
variable_existence: true
return_doc_comments: true
parameter_doc_comments: true
no_unnecessary_function_call_in_for_loop: true