How to check php code for psr 2 validation in Netbeans

1.3k views Asked by At

Is there any Plugin in Netbeans for checking PSR2 Violation and fix the same.

I tried adding php-cs-fixer.phar in Netbeans > Options > php > frameworks and tools > PHP CS Fixer.Then click on Fix option PHP CS Fixer.This option can be seen by right clicking on filename.php in netbeans.

This fix only removes extra spaces from code but not fixing camel cases.

Is there any other option to fix psr-2.

0

There are 0 answers