-
Notifications
You must be signed in to change notification settings - Fork 3
/
.scrutinizer.yml
73 lines (61 loc) · 1.26 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
build:
environment:
php: 7.2
dependencies:
before:
- 'composer require typo3/minimal="^9"'
nodes:
analysis:
cache:
disabled: false
directories:
- ~/.composer/cache
tests:
override:
- php-scrutinizer-run
- js-scrutinizer-run
tests:
override:
-
command: './.build/bin/phpunit -c Build/UnitTests.xml --coverage-clover=coverage'
coverage:
file: 'coverage'
format: 'clover'
filter:
excluded_paths:
- ".build/"
checks:
javascript: true
php:
code_rating: true
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
verify_property_names: true
verify_argument_usable_as_reference: true
tools:
external_code_coverage:
enabled: false
php_cpd:
enabled: true
php_cs_fixer:
enabled: true
config:
level: psr2
php_hhvm:
enabled: true
config:
use_undeclared_constant: false
php_mess_detector:
enabled: true
config:
controversial_rules:
superglobals: false
php_pdepend:
enabled: true
php_analyzer:
enabled: false
php_code_coverage:
enabled: false
sensiolabs_security_checker:
enabled: true