[PR #10567] Forbid PHPUnit annotations #12465

Closed
opened 2026-01-22 16:14:07 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/10567

State: closed
Merged: Yes


Following up on #10559, this PR introduces a PHPCS rule that will fail on PHPUnit annotations. This should serve as a constant reminder to switch them to attributes when merging up tests.

I've tested the rule locally by running PHPCS on the commits before and after @chr-hertel's changes.

**Original Pull Request:** https://github.com/doctrine/orm/pull/10567 **State:** closed **Merged:** Yes --- Following up on #10559, this PR introduces a PHPCS rule that will fail on PHPUnit annotations. This should serve as a constant reminder to switch them to attributes when merging up tests. I've tested the rule locally by running PHPCS on the commits before and after @chr-hertel's changes.
admin added the pull-request label 2026-01-22 16:14:07 +01:00
admin closed this issue 2026-01-22 16:14:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#12465