-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.scrutinizer.yml
More file actions
84 lines (80 loc) · 2.29 KB
/
Copy path.scrutinizer.yml
File metadata and controls
84 lines (80 loc) · 2.29 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
checks:
php:
code_rating: true
duplication: true
fix_php_opening_tag: false
remove_php_closing_tag: false
one_class_per_file: false
side_effects_or_types: false
no_mixed_inline_html: false
require_braces_around_control_structures: false
php5_style_constructor: false
no_global_keyword: false
avoid_usage_of_logical_operators: false
psr2_class_declaration: false
no_underscore_prefix_in_properties: false
no_underscore_prefix_in_methods: false
blank_line_after_namespace_declaration: false
single_namespace_per_use: false
psr2_switch_declaration: false
psr2_control_structure_declaration: false
avoid_superglobals: false
security_vulnerabilities: false
no_exit: false
build:
dependencies:
override:
- 'composer install --no-interaction --prefer-dist'
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
tools:
php_analyzer:
enabled: true
filter:
excluded_paths: ['tests/*', 'docs/*', 'wordpress/*', 'node_modules/*', 'vendor/*']
config:
checkstyle:
enabled: true
naming:
isser_method_name: ^.*$
utility_class_name: ^.*$
doc_comment_fixes:
enabled: false
reflection_fixes:
enabled: false
use_statement_fixes:
enabled: false
simplify_boolean_return:
enabled: true
php_changetracking: true
php_cpd: true
php_cs_fixer: false
php_mess_detector: true
php_pdepend: true
sensiolabs_security_checker: true
filter:
paths:
- 'src/*'
excluded_paths:
- 'tests/*'
- 'docs/*'
- 'wordpress/*'
- 'node_modules/*'
- 'vendor/*'
coding_style:
php:
indentation:
general:
use_tabs: false
size: 4
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: true