From 8d109df851c0fe83868cacab58fa6557d99b52b7 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Fri, 7 Sep 2018 13:56:35 +0200 Subject: [PATCH] Jump to the new Scrutinizer PHP analysis engine --- .scrutinizer.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index dee92922a..194297f67 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -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