more updates yay
This commit is contained in:
19
vendor/squizlabs/php_codesniffer/bin/phpcbf
vendored
Executable file
19
vendor/squizlabs/php_codesniffer/bin/phpcbf
vendored
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
/**
|
||||
* PHP Code Beautifier and Fixer fixes violations of a defined coding standard.
|
||||
*
|
||||
* @author Greg Sherwood <gsherwood@squiz.net>
|
||||
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
*/
|
||||
|
||||
if (is_file(__DIR__.'/../autoload.php') === true) {
|
||||
include_once __DIR__.'/../autoload.php';
|
||||
} else {
|
||||
include_once 'PHP/CodeSniffer/autoload.php';
|
||||
}
|
||||
|
||||
$runner = new PHP_CodeSniffer\Runner();
|
||||
$exitCode = $runner->runPHPCBF();
|
||||
exit($exitCode);
|
12
vendor/squizlabs/php_codesniffer/bin/phpcbf.bat
vendored
Normal file
12
vendor/squizlabs/php_codesniffer/bin/phpcbf.bat
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
REM PHP Code Beautifier and Fixer fixes violations of a defined coding standard.
|
||||
REM
|
||||
REM @author Greg Sherwood <gsherwood@squiz.net>
|
||||
REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
|
||||
if "%PHP_PEAR_PHP_BIN%" neq "" (
|
||||
set PHPBIN=%PHP_PEAR_PHP_BIN%
|
||||
) else set PHPBIN=php
|
||||
|
||||
"%PHPBIN%" "%~dp0\phpcbf" %*
|
19
vendor/squizlabs/php_codesniffer/bin/phpcs
vendored
Executable file
19
vendor/squizlabs/php_codesniffer/bin/phpcs
vendored
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
/**
|
||||
* PHP_CodeSniffer detects violations of a defined coding standard.
|
||||
*
|
||||
* @author Greg Sherwood <gsherwood@squiz.net>
|
||||
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
*/
|
||||
|
||||
if (is_file(__DIR__.'/../autoload.php') === true) {
|
||||
include_once __DIR__.'/../autoload.php';
|
||||
} else {
|
||||
include_once 'PHP/CodeSniffer/autoload.php';
|
||||
}
|
||||
|
||||
$runner = new PHP_CodeSniffer\Runner();
|
||||
$exitCode = $runner->runPHPCS();
|
||||
exit($exitCode);
|
12
vendor/squizlabs/php_codesniffer/bin/phpcs.bat
vendored
Executable file
12
vendor/squizlabs/php_codesniffer/bin/phpcs.bat
vendored
Executable file
@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
REM PHP_CodeSniffer detects violations of a defined coding standard.
|
||||
REM
|
||||
REM @author Greg Sherwood <gsherwood@squiz.net>
|
||||
REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
|
||||
if "%PHP_PEAR_PHP_BIN%" neq "" (
|
||||
set PHPBIN=%PHP_PEAR_PHP_BIN%
|
||||
) else set PHPBIN=php
|
||||
|
||||
"%PHPBIN%" "%~dp0\phpcs" %*
|
Reference in New Issue
Block a user