forked from nZEDb/nZEDb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
88 lines (85 loc) · 2.67 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
build:
dependencies:
before:
# Overwrites inferred commands
override:
- 'composer install --no-interaction --no-dev --prefer-source --no-scripts --ignore-platform-reqs'
environment:
memcached: true
php:
version: 7.0.8
ini:
memory_limit: "4096M"
checks:
php:
avoid_closing_tag: false
avoid_multiple_statements_on_same_line: true
avoid_perl_style_comments: true
avoid_superglobals: false
avoid_usage_of_logical_operators: true
blank_line_after_namespace_declaration: true
classes_in_camel_caps: true
code_rating: true
duplication: true
encourage_postdec_operator: true
encourage_single_quotes: true
fix_php_opening_tag: false
function_in_camel_caps: true
newline_at_end_of_file: true
no_exit: false
no_global_keyword: false
no_mixed_inline_html: false
no_short_method_names:
minimum: '3'
no_short_variable_names:
minimum: '3'
no_underscore_prefix_in_methods: true
no_underscore_prefix_in_properties: true
one_class_per_file: true
optional_parameters_at_the_end: true
param_doc_comment_if_not_inferrable: true
php5_style_constructor: true
properties_in_camelcaps: true
psr2_class_declaration: false
psr2_control_structure_declaration: false
psr2_switch_declaration: false
remove_php_closing_tag: false
require_braces_around_control_structures: false
security_vulnerabilities: false
side_effects_or_types: false
single_namespace_per_use: false
coding_style:
php:
braces:
classes_functions:
class: new-line
function: new-line
closure: end-of-line
do_while:
opening: end-of-line
if:
opening: end-of-line
for:
opening: end-of-line
switch:
opening: end-of-line
try:
opening: end-of-line
while:
opening: end-of-line
indentation:
general:
use_tabs: true
spaces:
around_operators:
bitwise: true
concatenation: true
other:
after_type_cast: false
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: undefined
filter:
excluded_paths: [app/libraries/*, libraries/*, libs/*, resources/*]