forked from tanghus/journal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
70 lines (64 loc) · 2.41 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
filter:
excluded_paths:
- 'js/3rdparty/*'
imports:
- php
- javascript
tools:
js_hint:
use_native_config: true
php_mess_detector:
config:
controversial_rules:
camel_case_class_name: true
camel_case_property_name: true
camel_case_method_name: true
camel_case_parameter_name: true
camel_case_variable_name: true
superglobals: false
unused_code_rules:
unused_local_variable: true
unused_private_method: true
unused_formal_parameter: true
php_code_sniffer:
config:
sniffs:
generic:
white_space:
disallow_space_indent_sniff: true
squiz:
white_space:
logical_operator_spacing_sniff: true
language_construct_spacing_sniff: true
operator_spacing_sniff: true
control_structure_spacing_sniff: true
function_spacing_sniff: false
scope_keyword_spacing_sniff: true
semicolon_spacing_sniff: true
object_operator_spacing_sniff: false
functions:
lowercase_function_keywords_sniff: true
commenting:
class_comment_sniff: true
doc_comment_alignment_sniff: true
function_comment_throw_tag_sniff: true
strings:
double_quote_usage_sniff: true
operators:
valid_logical_operators_sniff: true
psr1:
files:
side_effects_sniff: false
psr2:
classes:
class_declaration_sniff: false
namespaces:
namespace_declaration_sniff: true
pear:
commenting:
inline_comment_sniff: true
control_structures:
control_signature_sniff: true
naming_conventions:
valid_function_name_sniff: true
valid_class_name_sniff: true