forked from ftrrtf/FtrrtfRollbarBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
62 lines (62 loc) · 1.94 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
58
59
60
61
62
build:
tests:
before:
- 'bin/phpspec run'
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
checks:
php:
useless_calls: 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
avoid_useless_overridden_methods: true
duplication: true
security_vulnerabilities: true
avoid_usage_of_logical_operators: true
no_goto: true
non_commented_empty_catch_block: true
overriding_private_members: true
phpunit_assertions: true
switch_fallthrough_commented: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
more_specific_types_in_doc_comments: true
fix_doc_comments: true
no_unnecessary_function_call_in_for_loop: true
avoid_unnecessary_concatenation: true
deprecated_code_usage: true
no_debug_code: true
code_rating: true
use_self_instead_of_fqcn: true
uppercase_constants: true
simplify_boolean_return: true
remove_extra_empty_lines: true
properties_in_camelcaps: true
prefer_while_loop_over_for_loop: true
parameters_in_camelcaps: true
optional_parameters_at_the_end: true
no_new_line_at_end_of_file: false
line_length:
max_length: '120'
function_in_camel_caps: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: true
encourage_single_quotes: true
filter:
excluded_paths:
- spec/*
- vendor/*