Tag: CodeSniffer on Windows

  • Setup PHP CodeSniffer along with WordPress Coding Standards [ Windows, XAMPP ]

    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…

  • How to setup PHP CodeSniffer on Windows machine ?

    How to setup PHP CodeSniffer on Windows machine ?

    How to use CodeSniffer on Windows ? How to setup the PHP CodeSniffer on Windows ? These questions come to mind when you see various articles, tutorials which provides ways/steps to setup this on Linux. So here are simple steps to setup PHP CodeSniffer on Windows. Before going into this, for those who don’t know…