PHP Classes

File: vendor/squizlabs/php_codesniffer/bin/phpcbf

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/bin/phpcbf   Download  
File: vendor/squizlabs/php_codesniffer/bin/phpcbf
Role: Example script
Content type: text/plain
Description: Example script
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 572 bytes
 

Contents

Class file image Download
#!/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);