forked from commercetools/commercetools-php-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.scrutinizer.yml
33 lines (33 loc) · 946 Bytes
/
.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
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
php_code_sniffer: true
php_changetracking: true
php_mess_detector: true
sensiolabs_security_checker: true
php_cs_fixer:
config: { level: psr2 }
before_commands:
- composer config -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
- composer global require hirak/prestissimo
- composer install --prefer-dist -o
build:
environment:
php:
version: '7.3'
ini:
apc.enabled: 1
apc.enable_cli: 1
nodes:
my-tests:
tests:
override:
-
command: vendor/bin/phpunit --coverage-clover=coverage0
coverage:
file: 'coverage0'
format: 'php-clover'
- command: php-scrutinizer-run --enable-security-analysis
filter:
excluded_paths: [build/*, tests/*, docroot/*, features/*, src/Core/Helper/Annotate/*, src/Core/Helper/State/*, src/Core/Helper/Subscriber/*]