How to use PHP_CodeSniffer with XAMPP?

I am running XAMPP with windows XP. I just download PHP_CodeSniffer and cannot figure out how to run it.

Thank you


The documentation has it all.


The first line of phpcs is:


you need to replace @php_bin@ with correct path to php to make a meaningful shebang as(In linux):


Since windows does not have the concept of shebang, you can delete the first line of phpcsand then run it as:

C:\>path\to\php\bin\php.exe path\to\phpcs path\to\file\to\analyze

Need Your Help

How can i deploy Session Bean on another computer with Client JSP/Servlet

jsp servlets java-ee ejb-3.0 ejb

Hello Everybody i'm new in EJB3, i know how to deploy Session Bean (Stateless or stateful) on Glassfish server in one computer. My question is: how can i deploy session bean on Computer A and Deploy

How to append HTML content into a string in CurlSharp?

c# libcurl

I'm using CurlSharp library to GET HTTP. This is the code I got at the moment: