Tag: PHP CodeSniffer
-
Setup PHP CodeSniffer along with WordPress Coding Standards [ Windows, XAMPP ]
The other day, I had some problem setting up latest WordPress coding standard for PHP CodeSniffer on a Windows machine. It was throwing some errors/warnings like the below. There were some others, but eventually we had fixed some of those. However the WP coding standards were not getting listed in phpcs. 🙁 Warning: file_put_contents(C:\php\pear\data/PHP_CodeSniffer/CodeSniffer.conf): failed…
-
Integrate PHP CodeSniffer with NetBeans IDE [Steps]
CodeSniffer, an essential development tool that ensures your code remains clean and consistent, should always be with you while writing code to check and fix the messy things. For those people who use NetBeans IDE to write PHP applications, here are the steps to integrate PHP CodeSniffer with NetBeans IDE. Steps: Open NetBeans IDE. (…