From a910bacf9b33b81a8af0f055f7d76879880cd163 Mon Sep 17 00:00:00 2001 From: Johannes Weberhofer Date: Sun, 5 Nov 2017 14:00:30 +0100 Subject: [PATCH] Enabled code rating (#106) * Enabled code rating * Fixes for #105 * Fixed version * override tests * Re-wrote config * Added phpunit * Added forgotten build section * Try to fix format * Fixed command * Enable code rating and duplication checks * php-clover->clover --- .scrutinizer.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index bbc6af51..c8d3c103 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,4 +1,16 @@ build: environment: + php: '7.1' + + tests: + override: + - + command: ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml ./test + coverage: + file: build/logs/clover.xml + format: clover + +checks: php: - version: 5.6.9 # Common versions: 5.4, 5.5, 5.6, 7.0 or hhvm + code_rating: true + duplication: true