Skip to content


DDC-1852: Doctrine\ORM\Tools\SchemaValidator should check validity of lifecycle callbacks #2513

doctrinebot opened this Issue · 1 comment

2 participants


Jira issue originally created by user @ocramius:

The schema validator should analyze mapped lifecycle callbacks and:

a) if some lifecycle callbacks were defined, but no @HasLifecycleCallbacks annotation/mapping was set, warn the user
b) if some lifecycle callbacks were defined, but methods are not public, warn the user


Comment created by @ocramius:

Existing PR at #361

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.x milestone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.