From 0db7376cfa71b5f67fb4ad52c7edebd71900d030 Mon Sep 17 00:00:00 2001 From: Sebastiaan Stok Date: Fri, 14 Oct 2016 11:32:41 +0200 Subject: [PATCH] Fix PHPUnit breaks on dep=low And resolve xdebug warning --- .travis.yml | 3 +++ composer.json | 2 ++ phpunit.xml.dist | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index e0bb3a7..896b7b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,9 @@ cache: directories: - $HOME/.composer/cache +before_install: + - composer self-update --preview + install: - export SYMFONY_DEPRECATIONS_HELPER=strict - if [ "$DEPENDENCIES" == "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi; diff --git a/composer.json b/composer.json index 35546ad..de63ee7 100644 --- a/composer.json +++ b/composer.json @@ -27,6 +27,8 @@ "matthiasnoback/symfony-dependency-injection-test": "^1.0.0", "matthiasnoback/symfony-service-definition-validator": "^1.2.6", "phpunit/phpunit": "^5.6.1", + "phpdocumentor/type-resolver": ">=0.2", + "sllh/php-cs-fixer-styleci-bridge": "^2.1" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index ed0e8af..5c397a0 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -8,6 +8,10 @@ beStrictAboutTestsThatDoNotTestAnything="false" beStrictAboutOutputDuringTests="true" beStrictAboutTodoAnnotatedTests="true" + + convertWarningsToExceptions="false" + convertErrorsToExceptions="false" + convertNoticesToExceptions="false" >