You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Config/Parser/AnnotationParser.php
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,12 @@ protected static function getAnnotationReader(): Reader
44
44
thrownewRuntimeException("In order to use annotations, you need to install 'doctrine/annotations' first. See: 'https://www.doctrine-project.org/projects/annotations.html'");
45
45
// @codeCoverageIgnoreEnd
46
46
}
47
+
if (!class_exists(ApcuAdapter::class)) {
48
+
// @codeCoverageIgnoreStart
49
+
thrownewRuntimeException("In order to use annotations, you need to install 'symfony/cache' first. See: 'https://symfony.com/doc/current/components/cache.html'");
0 commit comments