forked from redkite-labs/RedKiteCms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
executable file
·127 lines (127 loc) · 4.14 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
filter:
excluded_paths:
- 'app/*'
- 'web/*'
- 'Tests/*'
- 'src/RedKiteLabs/ThemeEngineBundle/Tests/*'
- 'src/RedKiteLabs/RedKiteCms/InstallerBundle/*'
- 'src/RedKiteLabs/RedKiteCms/ElFinderBundle/*'
- 'src/RedKiteLabs/RedKiteCms/*/Tests/*'
- 'src/RedKiteCms/Block/*/Tests/*'
- 'src/RedKiteCms/Theme/*/Tests/*'
paths: { }
tools:
php_mess_detector:
enabled: true
filter:
excluded_paths:
- 'app/*'
- 'web/*'
- 'Tests/*'
- 'src/RedKiteLabs/ThemeEngineBundle/Tests/*'
- 'src/RedKiteLabs/RedKiteCms/InstallerBundle/*'
- 'src/RedKiteLabs/RedKiteCms/ElFinderBundle/*'
- 'src/RedKiteLabs/RedKiteCms/*/Tests/*'
- 'src/RedKiteCms/Block/*/Tests/*'
- 'src/RedKiteCms/Theme/*/Tests/*'
paths: { }
config:
code_size_rules:
cyclomatic_complexity: true
npath_complexity: true
excessive_method_length: true
excessive_class_length: true
excessive_parameter_list: true
excessive_public_count: true
too_many_fields: true
too_many_methods: true
excessive_class_complexity: true
naming_rules:
short_variable: true
long_variable: true
short_method: true
constructor_conflict: true
constant_naming: true
boolean_method_name: false
ruleset: null
design_rules:
exit_expression: true
eval_expression: true
goto_statement: true
number_of_class_children: true
depth_of_inheritance: true
coupling_between_objects: true
unused_code_rules:
unused_private_field: true
unused_local_variable: true
unused_private_method: true
unused_formal_parameter: false
controversial_rules:
superglobals: true
camel_case_class_name: false
camel_case_property_name: false
camel_case_method_name: false
camel_case_parameter_name: false
camel_case_variable_name: false
extensions:
- php
command: phpmd
path_configs: { }
php_cs_fixer:
enabled: true
filter:
excluded_paths:
- 'app/*'
- 'web/*'
- 'Tests/*'
- 'src/RedKiteLabs/ThemeEngineBundle/Tests/*'
- 'src/RedKiteLabs/RedKiteCms/InstallerBundle/*'
- 'src/RedKiteLabs/RedKiteCms/ElFinderBundle/*'
- 'src/RedKiteLabs/RedKiteCms/*/Tests/*'
- 'src/RedKiteCms/Block/*/Tests/*'
- 'src/RedKiteCms/Theme/*/Tests/*'
paths: { }
config:
level: all
fixers:
indentation: false
linefeed: false
trailing_spaces: false
unused_use: false
phpdoc_params: false
visibility: false
return: false
short_tag: false
braces: false
include: false
php_closing_tag: false
extra_empty_lines: false
controls_spaces: false
elseif: false
eof_ending: false
extensions:
- php
command: php-cs-fixer
path_configs: { }
php_loc:
excluded_dirs:
- vendor
- Tests
enabled: true
command: phploc
names:
- '*.php'
php_pdepend:
excluded_dirs:
1: Tests
enabled: true
command: pdepend
configuration_file: null
suffixes:
- php
external_code_coverage:
timeout: 3600
enabled: true
before_commands: { }
after_commands: { }
artifacts: { }