-
Notifications
You must be signed in to change notification settings - Fork 4
/
.scrutinizer.yml
67 lines (56 loc) · 1.51 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
build:
nodes:
analysis:
project_setup:
override: true
tests:
override: [php-scrutinizer-run]
filter:
excluded_paths:
- app/autoload.php
- bin/*
- var/*
dependency_paths:
- vendor/
checks:
php: true
javascript: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
additive: false
tools:
# Similar code detector
php_sim: true
# Metrics
php_pdepend: true
# Some metrics + bug detection/auto-fixes
php_analyzer: true
php_changetracking: true
# Test coverage
#php_code_coverage: true
php_mess_detector: true
php_cs_fixer:
enabled: true
config:
fixers:
indentation: false
linefeed: true
trailing_spaces: true
unused_use: true
phpdoc_params: false
visibility: true
return: false
short_tag: true
braces: false
include: true
php_closing_tag: true
extra_empty_lines: true
controls_spaces: true
elseif: true
eof_ending: true
sensiolabs_security_checker: true