Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Oct 26, 2025

goal: speedup infection process

see phpstan/build-infection#11 (comment)

@staabm staabm changed the title Added @covers-class informtation to *RuleTests Added @covers-class information to *RuleTests Oct 26, 2025
@staabm staabm marked this pull request as ready for review October 26, 2025 09:01
@staabm
Copy link
Contributor Author

staabm commented Oct 26, 2025

we could add this annotations (or attributes equivalent on new phpversions) with a auto-fixable phpstan rule.

doing manually for now to see whether its worth it

@ondrejmirtes
Copy link
Member

What exactly @covers achieves in Infection? What if we fix a bug in NodeScopeResolver but write a test for a specific rule?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants