Drupal investigation

phpcbf 640B

123456789101112131415161718192021222324
  1. #!/usr/bin/env php
  2. <?php
  3. /**
  4. * PHP Code Beautifier and Fixer
  5. *
  6. * PHP version 5
  7. *
  8. * @category PHP
  9. * @package PHP_CodeSniffer
  10. * @author Greg Sherwood <gsherwood@squiz.net>
  11. * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
  12. * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
  13. * @link http://pear.php.net/package/PHP_CodeSniffer
  14. */
  15. if (is_file(dirname(__FILE__).'/../CodeSniffer/CLI.php') === true) {
  16. include_once dirname(__FILE__).'/../CodeSniffer/CLI.php';
  17. } else {
  18. include_once 'PHP/CodeSniffer/CLI.php';
  19. }
  20. $cli = new PHP_CodeSniffer_CLI();
  21. $cli->runphpcbf();