]>
Commit | Line | Data |
---|---|---|
0c80f75f ER |
1 | --- PHP_CodeSniffer-2.0.0/usr/share/pear/PHP/CodeSniffer/CLI.php~ 2014-12-18 15:33:47.000000000 +0200 |
2 | +++ PHP_CodeSniffer-2.0.0/usr/share/pear/PHP/CodeSniffer/CLI.php 2014-12-18 15:35:53.698306987 +0200 | |
3 | @@ -80,11 +80,7 @@ | |
4 | define('PHP_CODESNIFFER_CBF', false); | |
5 | } | |
adbd773a | 6 | |
0c80f75f ER |
7 | - if (is_file(dirname(__FILE__).'/../CodeSniffer/Reporting.php') === true) { |
8 | - include_once dirname(__FILE__).'/../CodeSniffer/Reporting.php'; | |
9 | - } else { | |
10 | - include_once 'PHP/CodeSniffer/Reporting.php'; | |
11 | - } | |
12 | + include_once 'PHP/CodeSniffer/Reporting.php'; | |
adbd773a | 13 | |
0c80f75f ER |
14 | PHP_CodeSniffer_Reporting::startTiming(); |
15 | $this->checkRequirements(); | |
16 | @@ -105,11 +105,7 @@ | |
17 | define('PHP_CODESNIFFER_CBF', true); | |
18 | } | |
19 | ||
20 | - if (is_file(dirname(__FILE__).'/../CodeSniffer/Reporting.php') === true) { | |
21 | - include_once dirname(__FILE__).'/../CodeSniffer/Reporting.php'; | |
22 | - } else { | |
23 | - include_once 'PHP/CodeSniffer/Reporting.php'; | |
24 | - } | |
e1239feb | 25 | + include_once 'PHP/CodeSniffer/Reporting.php'; |
0c80f75f ER |
26 | |
27 | PHP_CodeSniffer_Reporting::startTiming(); | |
28 | $this->checkRequirements(); |