Jump to the new Scrutinizer PHP analysis engine

This commit is contained in:
Jeremy Benoist 2018-09-07 13:56:35 +02:00
parent 17476f4d8d
commit 8d109df851
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C
1 changed files with 15 additions and 0 deletions

View File

@ -26,3 +26,18 @@ tools:
checks:
php:
code_rating: true
# use the new PHP analysis engine
# https://scrutinizer-ci.com/docs/tools/php/php-analyzer/guides/migrate_to_new_php_analysis
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
dependencies:
override:
- npm install -g 'yarn'
- yarn install --force
- COMPOSER_MEMORY_LIMIT=-1 composer install -o --no-interaction --no-progress --prefer-dist