Skip to content

Add Override attribute where applicable#164

Merged
greg0ire merged 1 commit intodoctrine:4.0.xfrom
greg0ire:override
Jan 12, 2026
Merged

Add Override attribute where applicable#164
greg0ire merged 1 commit intodoctrine:4.0.xfrom
greg0ire:override

Conversation

@greg0ire
Copy link
Copy Markdown
Member

No description provided.

@greg0ire greg0ire added this to the 4.0.0 milestone Jan 12, 2026
@greg0ire greg0ire merged commit 66f3349 into doctrine:4.0.x Jan 12, 2026
8 checks passed
@greg0ire greg0ire deleted the override branch January 12, 2026 12:55
@greg0ire greg0ire restored the override branch January 15, 2026 07:54
@@ -322,6 +327,7 @@ protected function getCatchablePatterns(): array
}

/** {@inheritDoc} */
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.

shouldn't you also remove those {@inheritDoc} phpdoc that were (ab)used to document that it is an override with types documented in the parent) ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Definitely, however I plan to do it at least when slevomat/coding-standard#1828 is released. And maybe there could be a fixer to automate that.

@greg0ire greg0ire deleted the override branch January 23, 2026 13:56
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.

3 participants