forked from jk/RestServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.scrutinizer.yml
More file actions
41 lines (34 loc) · 725 Bytes
/
Copy path.scrutinizer.yml
File metadata and controls
41 lines (34 loc) · 725 Bytes
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
imports:
- php
filter:
excluded_paths:
- 'bin/*'
- 'vendor/*'
- 'features/*'
- 'spec/*'
- 'tests/*'
before_commands:
- rm -rf vendor composer.lock
- composer self-update
- composer install --prefer-source --dev --optimize-autoloader --no-interaction
tools:
php_sim: true
php_cpd: false
# PHP Code Sniffer
php_code_sniffer:
config:
standard: PSR2
sensiolabs_security_checker: true
build:
dependencies:
before:
- 'pecl install SPL_Types'
environment:
timezone: 'UTC'
tests:
override:
-
command: 'phpunit --coverage-clover=`pwd`/coverage.xml'
coverage:
file: 'coverage.xml'
format: 'php-clover'