From 2e18f5637d527abbc004435eba5bafa1e1beddf6 Mon Sep 17 00:00:00 2001 From: Sonata CI Date: Mon, 18 Oct 2021 09:30:55 +0100 Subject: [PATCH] DevKit updates (#692) --- tests/bootstrap.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index f7fae580..a66e04e2 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -11,6 +11,8 @@ * file that was distributed with this source code. */ +use Doctrine\Deprecations\Deprecation; + /* * DO NOT EDIT THIS FILE! * @@ -24,6 +26,10 @@ require_once __DIR__.'/../vendor/autoload.php'; +if (class_exists(Deprecation::class)) { + Deprecation::enableWithTriggerError(); +} + if (file_exists($file = __DIR__.'/custom_bootstrap.php')) { require_once $file; }