From d131e6d3cf2080c2227174533029b484765c5f22 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 14 Jan 2024 09:25:32 +0100 Subject: [PATCH] Add a deprecation when a Node uses echo/print --- Tests/Fixture/Kernel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Fixture/Kernel.php b/Tests/Fixture/Kernel.php index 3283af2..857ed95 100644 --- a/Tests/Fixture/Kernel.php +++ b/Tests/Fixture/Kernel.php @@ -30,7 +30,7 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load 'router' => ['utf8' => true], 'http_method_override' => false, ]; - if (Kernel::MAJOR_VERSION >= 6 && Kernel::MINOR_VERSION >= 2) { + if (6 === Kernel::MAJOR_VERSION) { $config['handle_all_throwables'] = true; $config['php_errors']['log'] = true; }