Skip to content

fix: use fully qualified ArrayAccess in PHPDoc - #21

Merged
W0rma merged 1 commit into
Codeception:masterfrom
W0rma:fix-phpdoc-fqcn
Nov 16, 2026
Merged

W0rma merged 1 commit into
Codeception:masterfrom
W0rma:fix-phpdoc-fqcn

Conversation

@W0rma

@W0rma W0rma commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Codeception copies module docblocks verbatim into generated actor
traits without their imports, so the short `ArrayAccess` name used in
assertArrayHasKey() and assertArrayNotHasKey() resolved to the
generated namespace. This brings back the problem from Codeception#10, which Codeception#11
had fixed and Codeception#15 accidentally undid.
@W0rma
W0rma merged commit fe78fb4 into Codeception:master Nov 16, 2026
4 checks passed
@W0rma
W0rma deleted the fix-phpdoc-fqcn branch November 16, 2026 14:23
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 3.2.1 🎉

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