comparison vendor/squizlabs/php_codesniffer/scripts/phpcbf.bat @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 @echo off
2 REM PHP Code Beautifier and Fixer
3 REM
4 REM PHP version 5
5 REM
6 REM @category PHP
7 REM @package PHP_CodeSniffer
8 REM @author Greg Sherwood <gsherwood@squiz.net>
9 REM @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
10 REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
11 REM @link http://pear.php.net/package/PHP_CodeSniffer
12
13 if "%PHPBIN%" == "" set PHPBIN=@php_bin@
14 if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH
15 GOTO RUN
16 :USE_PEAR_PATH
17 set PHPBIN=%PHP_PEAR_PHP_BIN%
18 :RUN
19 "%PHPBIN%" "@bin_dir@\phpcbf" %*