From bb84e9e42352da039d53a4f94e4f46a5f9016332 Mon Sep 17 00:00:00 2001 From: David Maus <maus@hab.de> Date: Mon, 5 Mar 2012 09:57:36 +0100 Subject: [PATCH] unit-tests/bootstrap: Set error level to check E_STRICT compliance --- src/tests/unit-tests/bootstrap.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/unit-tests/bootstrap.php b/src/tests/unit-tests/bootstrap.php index c5203ba..f13e5c8 100644 --- a/src/tests/unit-tests/bootstrap.php +++ b/src/tests/unit-tests/bootstrap.php @@ -31,3 +31,6 @@ if (class_exists('Phix_Project\ContractLib\Contract')) { \Phix_Project\ContractLib\Contract::EnforceWrappedContracts(); } + +// step 5: Set error level to include E_STRICT +\error_reporting(\E_ALL | \E_STRICT); \ No newline at end of file -- GitLab