forked from ArthurGuy/BBMembershipSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scrutinizer.yml
72 lines (70 loc) · 1.99 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
63
64
65
66
67
68
69
70
71
72
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
sensiolabs_security_checker: true
filter:
paths:
- 'app/*'
excluded_paths:
- 'app/views/*'
- 'app/config/*'
- 'app/database/*'
- 'app/tests/*'
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
function_declaration: false
around_operators:
negation: true
concatenation: true
other:
after_type_cast: false
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
checks:
php:
uppercase_constants: true
unused_methods: true
too_many_arguments: true
sql_injection_vulnerabilities: true
security_vulnerabilities: true
require_scope_for_properties: true
require_scope_for_methods: true
require_php_tag_first: false
remove_extra_empty_lines: true
psr2_class_declaration: true
psr2_switch_declaration: true
no_trailing_whitespace: false
no_short_open_tag: true
no_global_keyword: true
no_goto: true
more_specific_types_in_doc_comments: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: false
order_alphabetically: false
fix_doc_comments: true
encourage_single_quotes: true
encourage_shallow_comparison: true