Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Git Master
-
Fix Version/s: 2.4, 2.x, Git Master
-
Component/s: ORM
-
Security Level: All
-
Labels:None
Description
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
Existing PR at https://github.com/doctrine/doctrine2/pull/361