Mercurial > hg > isophonics-drupal-site
comparison vendor/squizlabs/php_codesniffer/bin/phpcbf @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
1 #!/usr/bin/env php | |
2 <?php | |
3 /** | |
4 * PHP Code Beautifier and Fixer fixes violations of a defined coding standard. | |
5 * | |
6 * @author Greg Sherwood <gsherwood@squiz.net> | |
7 * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) | |
8 * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence | |
9 */ | |
10 | |
11 if (is_file(__DIR__.'/../autoload.php') === true) { | |
12 include_once __DIR__.'/../autoload.php'; | |
13 } else { | |
14 include_once 'PHP/CodeSniffer/autoload.php'; | |
15 } | |
16 | |
17 $runner = new PHP_CodeSniffer\Runner(); | |
18 $exitCode = $runner->runPHPCBF(); | |
19 exit($exitCode); |