PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/scripts/phpcbf

Recommend this page to a friend!
  Classes of Simo   CodeIgniter Plugin for Z-Ray   zray/vendor/PHP_CodeSniffer-2.2.0/scripts/phpcbf   Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/scripts/phpcbf
Role: Example script
Content type: text/plain
Description: Example script
Class: CodeIgniter Plugin for Z-Ray
Show CodeIgniter application information in Z-Ray
Author: By
Last change:
Date: 2 years ago
Size: 640 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php
/**
 * PHP Code Beautifier and Fixer
 *
 * PHP version 5
 *
 * @category PHP
 * @package PHP_CodeSniffer
 * @author Greg Sherwood <gsherwood@squiz.net>
 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
 * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
 * @link http://pear.php.net/package/PHP_CodeSniffer
 */

if (is_file(dirname(__FILE__).'/../CodeSniffer/CLI.php') === true) {
    include_once
dirname(__FILE__).'/../CodeSniffer/CLI.php';
} else {
    include_once
'PHP/CodeSniffer/CLI.php';
}

$cli = new PHP_CodeSniffer_CLI();
$cli->runphpcbf();