Any tool (online may be) to automatically fix PHP coding standards issues


I’m working on WordPress plugin, and I’m at a point to solve php coding standards.

I can solve standard issues but for me that is kind of boring and time-consuming.
There for I’m looking for any package that could do the same for me.

Is there any tool or package(online or offline) that could solve the php costandards issues for my file/s.

For Example:

if(a == 'yes'){
echo "yes"; 
echo "no";

Should be converted to

if (a == 'yes') {
    echo 'yes';
} else {
    echo 'no';
mehmood 7 months 0 Answers 90 views 0

Leave an answer