You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.
Let's create a new rector which orders the test alphabetically
The reason for using a new rector is so we can optionally enable/disable it and decouple it from the base rector which is about just refactoring to pest test cases, not making them nicer.
The text was updated successfully, but these errors were encountered:
I've been looking into this, and I can't work out if this is actually possible. This is what I've started with, however the FuncCall doesn't appear to have access to other functions in the same file. I was looking at this set for ideas, but that's all about re-ordering class nodes, etc. 🤔
@TomasVotruba how do we create a rector for reordering function calls in a file?
Normally I would take the parent node, but the parent node is the file itself and I can't find a node type for that.
Any help would be highly appreciated ❤️
Let's create a new rector which orders the test alphabetically
The reason for using a new rector is so we can optionally enable/disable it and decouple it from the base rector which is about just refactoring to pest test cases, not making them nicer.
The text was updated successfully, but these errors were encountered: