1@echo off 2REM PHP Code Beautifier and Fixer 3REM 4REM PHP version 5 5REM 6REM @category PHP 7REM @package PHP_CodeSniffer 8REM @author Greg Sherwood <gsherwood@squiz.net> 9REM @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) 10REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence 11REM @link http://pear.php.net/package/PHP_CodeSniffer 12 13if "%PHPBIN%" == "" set PHPBIN=@php_bin@ 14if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH 15GOTO RUN 16:USE_PEAR_PATH 17set PHPBIN=%PHP_PEAR_PHP_BIN% 18:RUN 19"%PHPBIN%" "@bin_dir@\phpcbf" %*