Skip to content

fix: add PHP test attribute standard#11

Merged
bnymn merged 1 commit into
mainfrom
codex/php-test-attribute-rule
Jun 20, 2026
Merged

fix: add PHP test attribute standard#11
bnymn merged 1 commit into
mainfrom
codex/php-test-attribute-rule

Conversation

@bnymn

@bnymn bnymn commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a coding standards rule requiring PHP test methods to use the #[Test] attribute instead of relying on test... method prefixes or @test docblock annotations.

Why

This makes the preferred PHPUnit style explicit and keeps future tests consistent while allowing descriptive method names.

Impact

Documentation-only standards update for agents and contributors using the engineering playbook.

Root Cause

The engineering playbook did not previously document the preferred PHP test discovery style.

Checks

  • npm run validate-pr-title -- "fix: add PHP test attribute standard"

@bnymn bnymn marked this pull request as ready for review June 20, 2026 21:02
@bnymn bnymn merged commit 011debb into main Jun 20, 2026
2 checks passed
@bnymn bnymn deleted the codex/php-test-attribute-rule branch June 20, 2026 21:02
github-actions Bot pushed a commit that referenced this pull request Jun 20, 2026
## [1.3.4](v1.3.3...v1.3.4) (2026-06-20)

### Bug Fixes

* add PHP test attribute standard ([#11](#11)) ([011debb](011debb))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant