annotate vendor/squizlabs/php_codesniffer/scripts/phpcbf.bat @ 2:92f882872392

Trusted hosts, + remove migration modules
author Chris Cannam
date Tue, 05 Dec 2017 09:26:43 +0000
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 @echo off
Chris@0 2 REM PHP Code Beautifier and Fixer
Chris@0 3 REM
Chris@0 4 REM PHP version 5
Chris@0 5 REM
Chris@0 6 REM @category PHP
Chris@0 7 REM @package PHP_CodeSniffer
Chris@0 8 REM @author Greg Sherwood <gsherwood@squiz.net>
Chris@0 9 REM @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
Chris@0 10 REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
Chris@0 11 REM @link http://pear.php.net/package/PHP_CodeSniffer
Chris@0 12
Chris@0 13 if "%PHPBIN%" == "" set PHPBIN=@php_bin@
Chris@0 14 if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH
Chris@0 15 GOTO RUN
Chris@0 16 :USE_PEAR_PATH
Chris@0 17 set PHPBIN=%PHP_PEAR_PHP_BIN%
Chris@0 18 :RUN
Chris@0 19 "%PHPBIN%" "@bin_dir@\phpcbf" %*