annotate vendor/squizlabs/php_codesniffer/bin/phpcs.bat @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author |
Chris Cannam |
date |
Thu, 28 Feb 2019 13:11:55 +0000 |
parents |
|
children |
|
rev |
line source |
Chris@4
|
1 @echo off
|
Chris@4
|
2 REM PHP_CodeSniffer detects violations of a defined coding standard.
|
Chris@4
|
3 REM
|
Chris@4
|
4 REM @author Greg Sherwood <gsherwood@squiz.net>
|
Chris@4
|
5 REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
Chris@4
|
6 REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
Chris@4
|
7
|
Chris@4
|
8 if "%PHP_PEAR_PHP_BIN%" neq "" (
|
Chris@4
|
9 set PHPBIN=%PHP_PEAR_PHP_BIN%
|
Chris@4
|
10 ) else set PHPBIN=php
|
Chris@4
|
11
|
Chris@4
|
12 "%PHPBIN%" "%~dp0\phpcs" %*
|