Repository navigation
Report malformed PHPUnit annotations in the class docblocks of used traits - #234
Merged
alies-dev merged 36 commits intoNov 9, 2026
Merged
Conversation
…thod, like PHPUnit psalm#216
…lm-tag # Conflicts: # src/Hooks/TestCaseHandler.php # tests/acceptance/TestCase.feature
alies-dev
force-pushed
the
feat/220-trait-docblock-annotations
branch
from
November 9, 2026 21:46
f5bccfd to
e1ff3d4
Compare
…als-boolean # Conflicts: # README.md
…lm-tag # Conflicts: # src/Hooks/TestCaseHandler.php # tests/acceptance/TestCase.feature
…lm-tag # Conflicts: # tests/acceptance/TestCase.feature
…lock-annotations # Conflicts: # tests/acceptance/TestCase.feature
…rides without a parent call psalm#221
…lm-tag # Conflicts: # tests/acceptance/TestCase.feature
…-method # Conflicts: # tests/acceptance/TestCase.feature
alies-dev
marked this pull request as ready for review
November 9, 2026 22:09
…lock-annotations # Conflicts: # README.md
…onditions-parent-call
…to feat/221-pre-post-conditions-parent-call
…t-call' into feat/223-mock-union-method # Conflicts: # tests/acceptance/TestCase.feature
…ix/219-unknown-psalm-tag # Conflicts: # tests/acceptance/TestCase.feature
…at/216-attribute-provider-scope
… into feat/220-trait-docblock-annotations # Conflicts: # tests/acceptance/TestCase.feature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A malformed PHPUnit annotation in the class docblock of a trait used by a test case is not reported, although PHPUnit 11 merges that docblock into the test class and ignores the annotation.
Before
After
* @group // InvalidPhpUnitAnnotation: Annotation "@group" has no valueOnly traits the test case uses directly are checked, like PHPUnit does.
Fixes #220