From ba7d95ee4fa2847069e71e545cb43366516b5a4c Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Tue, 28 Feb 2017 16:39:14 -0500 Subject: [PATCH] Misc meta updates --- .gitlab-ci.yml | 2 -- build/phpunit.xml | 1 - composer.json | 3 ++- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db11eb3..49c50ee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,6 @@ test:7: - sh build/docker_install.sh > /dev/null - apk add --no-cache php7-phpdbg - curl -sS https://getcomposer.org/installer | php - - php composer.phar update --ignore-platform-reqs - php composer.phar install --ignore-platform-reqs image: php:7-alpine script: @@ -14,7 +13,6 @@ test:7.1: - sh build/docker_install.sh > /dev/null - apk add --no-cache php7.1-phpdbg - curl -sS https://getcomposer.org/installer | php - - php composer.phar update --ignore-platform-reqs - php composer.phar install --ignore-platform-reqs image: php:7.1-alpine script: diff --git a/build/phpunit.xml b/build/phpunit.xml index 8b7823a..a7401a9 100644 --- a/build/phpunit.xml +++ b/build/phpunit.xml @@ -4,7 +4,6 @@ stopOnFailure="false" bootstrap="../tests/bootstrap.php" beStrictAboutTestsThatDoNotTestAnything="true" - checkForUnintentionallyCoveredCode="true" > diff --git a/composer.json b/composer.json index b3d18d4..f244e5d 100644 --- a/composer.json +++ b/composer.json @@ -41,9 +41,10 @@ "phpstan/phpstan": "^0.6.4" }, "scripts": { - "coverage": "vendor/bin/phpunit -c build", + "coverage": "phpdbg -qrr -- vendor/bin/phpunit -c build", "build": "vendor/bin/robo build", "docs": "cd build && ../vendor/bin/phpdox && cd ..", + "phpstan": "phpstan analyse src tests", "test": "vendor/bin/phpunit" }, "suggest": {