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; }