Skip to content

Extract implicitly ignored annotation names to separate class#242

Merged
Ocramius merged 1 commit intodoctrine:masterfrom
Majkl578:extract-ignored-annotation-names
Feb 26, 2019
Merged

Extract implicitly ignored annotation names to separate class#242
Ocramius merged 1 commit intodoctrine:masterfrom
Majkl578:extract-ignored-annotation-names

Conversation

@Majkl578
Copy link
Copy Markdown
Contributor

  • To improve readability and maintainability of this list.
  • Categorized, each category ordered alphabetically.
  • Will be further used in Annotations 2.0.

'Annotation' => true,
'Attribute' => true,
'Attributes' => true,
/* Can we enable this? 'Enum' => true, */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about this question? This is from 5 years ago. I think it can be removed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't really want to do side-effects during just extracting the annotations. Also in 2.0 these reserved annotations will likely not be needed anymore.

];

public const LIST = self::Reserved
+ self::WidelyUsedNonStandard
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooooooh, I like this style of merging stuff in constants!

@Ocramius Ocramius self-assigned this Feb 26, 2019
@Ocramius Ocramius added this to the 1.7.0 milestone Feb 26, 2019
@Ocramius
Copy link
Copy Markdown
Member

This can go to master into 1.x as-is.

@Ocramius Ocramius merged commit 02f6c20 into doctrine:master Feb 26, 2019
@Majkl578 Majkl578 deleted the extract-ignored-annotation-names branch February 26, 2019 15:25
@Ocramius Ocramius modified the milestones: 1.7.0, v2.0.0 Feb 26, 2019
@Ocramius
Copy link
Copy Markdown
Member

As per discussion with @alcaeus and @Majkl578, master is already 2.0.0, so this is going there.

@alcaeus alcaeus modified the milestones: 2.0.0, 1.11.0 May 7, 2020
@alcaeus alcaeus mentioned this pull request May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants