Skip to content

Add ReplaceTestFunctionPrefixWithAttributeRector#386

Merged
samsonasik merged 3 commits intorectorphp:mainfrom
blackwolf12333:main
Oct 30, 2024
Merged

Add ReplaceTestFunctionPrefixWithAttributeRector#386
samsonasik merged 3 commits intorectorphp:mainfrom
blackwolf12333:main

Conversation

@blackwolf12333
Copy link
Contributor

We have a project with lots of phpunit tests that were defined using just the test prefix on the function name. We'd like to move these to using the #[Test] attribute.

Since we probably aren't the only people with this setup we thought we'd contribute it back :)

@TomasVotruba
Copy link
Member

Awesome 👍😎 thanks for pushing this rule

@blackwolf12333
Copy link
Contributor Author

I've fixed the rector failure manually since the action seems to have failed

@samsonasik
Copy link
Member

Thank you @blackwolf12333

@samsonasik samsonasik merged commit 8026eca into rectorphp:main Oct 30, 2024
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.

3 participants