This repository has been archived by the owner on Aug 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
61 lines (61 loc) · 1.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
checks:
php:
duplication: true
unused_methods: false
unused_parameters: true
argument_type_checks: false
verify_property_names: false
method_calls_on_non_object: true
fix_doc_comments: false
instanceof_class_exists: false
catch_class_exists: false
assignment_of_null_return: false
use_statement_alias_conflict: false
tools:
php_sim:
enabled: true
min_mass: 50 # Defaults to 16
coding_style:
php:
indentation:
general:
use_tabs: true
size: 4
switch:
indent_case: true
spaces:
around_operators:
concatenation: true
ternary_operator:
before_condition: false
after_condition: false
before_alternative: false
after_alternative: false
braces:
classes_functions:
class: end-of-line
function: end-of-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
constants:
true_false_null: lower
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run