annotate vendor/squizlabs/php_codesniffer/scripts/phpcs.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_CodeSniffer tokenizes PHP code and detects violations of a
|
Chris@0
|
3 REM defined set of coding standards.
|
Chris@0
|
4 REM
|
Chris@0
|
5 REM PHP version 5
|
Chris@0
|
6 REM
|
Chris@0
|
7 REM @category PHP
|
Chris@0
|
8 REM @package PHP_CodeSniffer
|
Chris@0
|
9 REM @author Greg Sherwood <gsherwood@squiz.net>
|
Chris@0
|
10 REM @author Marc McIntyre <mmcintyre@squiz.net>
|
Chris@0
|
11 REM @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
|
Chris@0
|
12 REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
Chris@0
|
13 REM @link http://pear.php.net/package/PHP_CodeSniffer
|
Chris@0
|
14
|
Chris@0
|
15 if "%PHPBIN%" == "" set PHPBIN=@php_bin@
|
Chris@0
|
16 if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH
|
Chris@0
|
17 GOTO RUN
|
Chris@0
|
18 :USE_PEAR_PATH
|
Chris@0
|
19 set PHPBIN=%PHP_PEAR_PHP_BIN%
|
Chris@0
|
20 :RUN
|
Chris@0
|
21 "%PHPBIN%" "@bin_dir@\phpcs" %* |