File tree Expand file tree Collapse file tree 3 files changed +1
-30
lines changed
Expand file tree Collapse file tree 3 files changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,7 @@ public function __construct()
6767 throw new PHP_CodeCoverage_Exception ('Xdebug is not loaded. ' );
6868 }
6969
70- if (version_compare (phpversion ('xdebug ' ), '2.2.0-dev ' , '>= ' ) &&
71- !ini_get ('xdebug.coverage_enable ' )) {
70+ if (!ini_get ('xdebug.coverage_enable ' )) {
7271 throw new PHP_CodeCoverage_Exception (
7372 'You need to set xdebug.coverage_enable=On in your php.ini. '
7473 );
Original file line number Diff line number Diff line change 4343 * @since File available since Release 1.1.0
4444 */
4545
46- // @codeCoverageIgnoreStart
47- if (!defined ('T_TRAIT ' )) {
48- define ('T_TRAIT ' , 1001 );
49- }
50-
51- if (!defined ('T_INSTEADOF ' )) {
52- define ('T_INSTEADOF ' , 1002 );
53- }
54-
55- if (!defined ('T_CALLABLE ' )) {
56- define ('T_CALLABLE ' , 1003 );
57- }
58- // @codeCoverageIgnoreEnd
59-
6046/**
6147 * Renders a PHP_CodeCoverage_Report_Node_File node.
6248 *
Original file line number Diff line number Diff line change 4343 * @since File available since Release 1.0.0
4444 */
4545
46- // @codeCoverageIgnoreStart
47- // @codingStandardsIgnoreStart
48- /**
49- * @SuppressWarnings(PHPMD)
50- */
51- if (!function_exists ('trait_exists ' )) {
52- function trait_exists ($ name )
53- {
54- return FALSE ;
55- }
56- }
57- // @codingStandardsIgnoreEnd
58- // @codeCoverageIgnoreEnd
59-
6046/**
6147 * Utility methods.
6248 *
You can’t perform that action at this time.
0 commit comments