Skip to content

Instantly share code, notes, and snippets.

@cmfcmf
Created June 23, 2015 21:05
Show Gist options
  • Save cmfcmf/c9447d102395b084eb83 to your computer and use it in GitHub Desktop.
Save cmfcmf/c9447d102395b084eb83 to your computer and use it in GitHub Desktop.
Find all not allowed PHP Annotations causing errors with Doctrine AnnotationReader
@((?!(Annotation|Attribute|Attributes|Required|Target|fix|fixme|override|abstract|code|deprec|endcode|access|exception|final|ingroup|inheritdoc|inheritDoc|magic|name|toc|tutorial|private|static|staticvar|staticVar|throw|api|author|copyright|category|deprecated|example|filesource|global|ignore|internal|license|link|method|package|param|property|property-read|property-write|return|see|since|source|subpackage|throws|todo|TODO|usedby|uses|var|version|codeCoverageIgnore|codeCoverageIgnoreStart|codeCoverageIgnoreEnd|SuppressWarnings|noinspection|package_version|startuml|enduml)).)+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment