1#!/usr/bin/env php
2<?php
3/**
4 * PHP_CodeSniffer tokenizes PHP code and detects violations of a
5 * defined set of coding standards.
6 *
7 * PHP version 5
8 *
9 * @category  PHP
10 * @package   PHP_CodeSniffer
11 * @author    Greg Sherwood <gsherwood@squiz.net>
12 * @author    Marc McIntyre <mmcintyre@squiz.net>
13 * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
14 * @license   https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
15 * @link      http://pear.php.net/package/PHP_CodeSniffer
16 */
17
18if (is_file(dirname(__FILE__).'/../CodeSniffer/CLI.php') === true) {
19    include_once dirname(__FILE__).'/../CodeSniffer/CLI.php';
20} else {
21    include_once 'PHP/CodeSniffer/CLI.php';
22}
23
24$cli = new PHP_CodeSniffer_CLI();
25$cli->runphpcs();
26