diff --git a/tests/bootstrap.php b/tests/bootstrap.php index ee628029f4..05771f6503 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -11,6 +11,7 @@ if (!file_exists(__DIR__ . '/../vendor/autoload.php')) { die('Vendor path not found. Please execute "bin/composer.phar install" on the command line in the web root.'); } +error_reporting(E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED); require __DIR__ . '/../vendor/autoload.php'; // Backward compatibility