Mercurial > hg > isophonics-drupal-site
view vendor/squizlabs/php_codesniffer/scripts/phpcs.bat @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
@echo off REM PHP_CodeSniffer tokenizes PHP code and detects violations of a REM defined set of coding standards. REM REM PHP version 5 REM REM @category PHP REM @package PHP_CodeSniffer REM @author Greg Sherwood <gsherwood@squiz.net> REM @author Marc McIntyre <mmcintyre@squiz.net> REM @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence REM @link http://pear.php.net/package/PHP_CodeSniffer if "%PHPBIN%" == "" set PHPBIN=@php_bin@ if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH GOTO RUN :USE_PEAR_PATH set PHPBIN=%PHP_PEAR_PHP_BIN% :RUN "%PHPBIN%" "@bin_dir@\phpcs" %*