-
Notifications
You must be signed in to change notification settings - Fork 91
/
.scrutinizer.yml
38 lines (36 loc) · 1.1 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
# .scrutinizer.yml
imports:
- javascript
- php
filter:
excluded_paths: [ attic/*, html/includes/jpgraph/*, html/js/*, includes/pear/*, includes/debug/ref.inc.php ]
tools:
external_code_coverage: false # phpunit?
php_mess_detector:
enabled: true
config:
controversial_rules:
superglobals: false
php_code_sniffer:
enabled: true
config:
sniffs:
generic:
php:
disallow_short_open_tag_sniff: true
character_before_php_opening_tag_sniff: false # "<?php should be on the first line of the file"
squiz:
php:
global_keyword_sniff: false # "Code is accessing $GLOBALS or $_SESSION" // FIXME still flagged..
psr2:
files:
end_file_newline_sniff: true
sensiolabs_security_checker: true
php_code_coverage: false # phpunit?
php_pdepend: true
php_loc:
enabled: true
excluded_dirs: [vendor, tests]
php_cpd:
enabled: true
excluded_dirs: [vendor, tests]