mirror of
https://github.com/doctrine/orm.git
synced 2026-04-23 22:48:08 +02:00
DDC-77: PHP Warning when trying to skip non-existaint Annotations #95
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Oct 30, 2009).
Jira issue originally created by user @beberlei:
If you have a docblock that ends with an annotation, for example:
it throws a PHP warnings, because is_subclass_of() requires the $class to be existent.
Fix: Add class_exists($name) before.