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