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