forked from squizlabs/PHP_CodeSniffer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial attempt at a namespace-based cleanup of the code. Almost noth…
…ing is working right now.
- Loading branch information
Showing
921 changed files
with
6,837 additions
and
7,241 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,17 +9,14 @@ | |
* @category PHP | ||
* @package PHP_CodeSniffer | ||
* @author Greg Sherwood <[email protected]> | ||
* @author Marc McIntyre <[email protected]> | ||
* @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'; | ||
} | ||
require_once 'vendor/autoload.php'; | ||
|
||
$cli = new PHP_CodeSniffer_CLI(); | ||
$cli->runphpcs(); | ||
use PHP_CodeSniffer\Runner; | ||
|
||
$runner = new Runner(); | ||
$runner->runPHPCS(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.