phpcs.bat 410 B

123456789101112
  1. @echo off
  2. REM PHP_CodeSniffer detects violations of a defined coding standard.
  3. REM
  4. REM @author Greg Sherwood <gsherwood@squiz.net>
  5. REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
  6. REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
  7. if "%PHP_PEAR_PHP_BIN%" neq "" (
  8. set PHPBIN=%PHP_PEAR_PHP_BIN%
  9. ) else set PHPBIN=php
  10. "%PHPBIN%" "%~dp0\phpcs" %*