From e159c845c14a4cbe82c2dea6f08c29218b1ef57c Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Fri, 23 Oct 2015 01:09:09 +0200 Subject: [PATCH] Make sure tests are run with full error reporting This is also done in all symfony components. It makes sure that tests report all errors and warnings including strict ones. Often this is not the case otherwise. The other advantage is that it makes tests more equal in PHP 5 and PHP 7. PHP 7 removed strict errors and changed them to warnings or notices. So in PHP 7 those errors might cause failures but they do not cause failures in PHP 5 when strict is ignored. --- app/phpunit.xml.dist | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/phpunit.xml.dist b/app/phpunit.xml.dist index 2b41503b75..0a09d52b13 100644 --- a/app/phpunit.xml.dist +++ b/app/phpunit.xml.dist @@ -7,6 +7,10 @@ colors="true" bootstrap="bootstrap.php.cache" > + + + + ../src/*/*Bundle/Tests