Question: How to check php code for psr 2 validation in Netbeans

Question

How to check php code for psr 2 validation in Netbeans

Answers 0
Added at 2017-01-04 08:01
Tags
Question

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.

Answers
Source Show
◀ Wstecz