You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
422 B
12 lines
422 B
@echo off |
|
REM PHP_CodeSniffer detects violations of a defined coding standard. |
|
REM |
|
REM @author Greg Sherwood <gsherwood@squiz.net> |
|
REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) |
|
REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence |
|
|
|
if "%PHP_PEAR_PHP_BIN%" neq "" ( |
|
set PHPBIN=%PHP_PEAR_PHP_BIN% |
|
) else set PHPBIN=php |
|
|
|
"%PHPBIN%" "%~dp0\phpcs" %*
|
|
|