diff --git a/tests/app/TestKernel.php b/tests/app/TestKernel.php index 38b7e03c..7589a6f1 100644 --- a/tests/app/TestKernel.php +++ b/tests/app/TestKernel.php @@ -35,7 +35,8 @@ public function registerContainerConfiguration(LoaderInterface $loader) 'resource' => __DIR__ . '/routing.yml', ], // turn this off - otherwise we need doctrine/annotation - 'annotations' => false, + // the change that required this was in Symfony 3.2.0 + 'annotations' => Kernel::VERSION_ID >= 30200 ? false : [], ]); $container->loadFromExtension('knpu_oauth2_client', [