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
16if (is_file(dirname(__FILE__).'/../CodeSniffer/CLI.php') === true) {
17    include_once dirname(__FILE__).'/../CodeSniffer/CLI.php';
18} else {
19    include_once 'PHP/CodeSniffer/CLI.php';
20}
21
22$cli = new PHP_CodeSniffer_CLI();
23$cli->runphpcbf();
24