-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.scrutinizer.yml
54 lines (53 loc) · 1.34 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
build:
environment:
php: '5.6.9'
mysql: true
timezone: 'Europe/London'
dependencies:
before:
- sudo apt-get update
project_setup:
before:
- echo "{\"config\":{\"github-oauth\":{\"github.com\":\"b570db4db20d2cb79386fe8e55485bbe3f6141dc\"}}}" | sudo tee ~/.composer/config.json
- sudo composer self-update
- composer update --prefer-source --no-interaction
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=coverage.clover'
coverage:
file: 'coverage.clover'
format: 'php-clover'
tools:
php_sim:
enabled: true
min_mass: 16
php_pdepend:
enabled: true
configuration_file: null
suffixes:
- php
php_analyzer:
enabled: true
extensions:
- php
php_changetracking:
enabled: true
bug_patterns:
- '\bfix(?:es|ed)?\b'
feature_patterns:
- '\badd(?:s|ed)?\b'
- '\bimplement(?:s|ed)?\b'
sensiolabs_security_checker:
enabled: true
filter:
excluded_paths:
- tests/*
- bin/*
- build/*
- vendor/*
- examples/*
checks:
php:
code_rating: true
duplication: true