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
I think we should consider adding some more PHP tools for code quality
PHP Unit - I recently setup a project and added 10up/wp_mock and Pest PHP.
PHPMD - Similar to PHP Stan we can add a baseline to ignore all the existing errors
Rector - Auto refactor code, this is really good to make sure you keep code up to date and make things like PHP upgrades seamless
All of these tools can be and should be opt in. If you don't run the commands or have a blocking CI job then they just stay silently unused in the repository. We can add documentation and/or commands to remove them for projects that definitely do not want them
The text was updated successfully, but these errors were encountered:
I think we should consider adding some more PHP tools for code quality
All of these tools can be and should be opt in. If you don't run the commands or have a blocking CI job then they just stay silently unused in the repository. We can add documentation and/or commands to remove them for projects that definitely do not want them
The text was updated successfully, but these errors were encountered: