From b2f5f7a44c5a0e4759d6b0172d7ce756b3d019ff Mon Sep 17 00:00:00 2001 From: Paul Rock Date: Thu, 23 Aug 2018 01:02:58 +0300 Subject: [PATCH] code coverage via sc enabled --- .scrutinizer.yml | 15 +++++++++++++++ tests/ConfigTest.php | 30 ++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 tests/ConfigTest.php diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 22bd85f..a49940b 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -5,3 +5,18 @@ filter: excluded_paths: - "extra/" - "tests/" + +coding_style: + php: + spaces: + around_operators: + concatenation: true + +build: + tests: + override: + - + command: 'php ./vendor/bin/phpunit --coverage-clover=coverage-clover' + coverage: + file: 'coverage-clover' + format: 'php-clover' diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php new file mode 100644 index 0000000..8956028 --- /dev/null +++ b/tests/ConfigTest.php @@ -0,0 +1,30 @@ +