This repository was archived by the owner on Oct 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +27
-24
lines changed
library/Zend/Test/PHPUnit/Constraint Expand file tree Collapse file tree 3 files changed +27
-24
lines changed Original file line number Diff line number Diff line change 22
22
23
23
if (version_compare (PHPUnit_Runner_Version::id (), '4.1 ' , '>= ' )) {
24
24
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'DomQuery41.php ' );
25
- $ alias = 'Zend_Test_PHPUnit_Constraint_DomQuery41 ' ;
25
+
26
+ class Zend_Test_PHPUnit_Constraint_DomQuery extends Zend_Test_PHPUnit_Constraint_DomQuery41
27
+ {}
26
28
} elseif (version_compare (PHPUnit_Runner_Version::id (), '3.5 ' , '>= ' )) {
27
29
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'DomQuery37.php ' );
28
- $ alias = 'Zend_Test_PHPUnit_Constraint_DomQuery37 ' ;
30
+
31
+ class Zend_Test_PHPUnit_Constraint_DomQuery extends Zend_Test_PHPUnit_Constraint_DomQuery37
32
+ {}
29
33
} else {
30
34
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'DomQuery34.php ' );
31
- $ alias = 'Zend_Test_PHPUnit_Constraint_DomQuery34 ' ;
32
- }
33
35
34
- class_alias (
35
- $ alias ,
36
- 'Zend_Test_PHPUnit_Constraint_DomQuery '
37
- );
36
+ class Zend_Test_PHPUnit_Constraint_DomQuery extends Zend_Test_PHPUnit_Constraint_DomQuery34
37
+ {}
38
+ }
Original file line number Diff line number Diff line change 22
22
23
23
if (version_compare (PHPUnit_Runner_Version::id (), '4.1 ' , '>= ' )) {
24
24
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'Redirect41.php ' );
25
- $ alias = 'Zend_Test_PHPUnit_Constraint_Redirect41 ' ;
25
+
26
+ class Zend_Test_PHPUnit_Constraint_Redirect extends Zend_Test_PHPUnit_Constraint_Redirect41
27
+ {}
26
28
} elseif (version_compare (PHPUnit_Runner_Version::id (), '3.5 ' , '>= ' )) {
27
29
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'Redirect37.php ' );
28
- $ alias = 'Zend_Test_PHPUnit_Constraint_Redirect37 ' ;
30
+
31
+ class Zend_Test_PHPUnit_Constraint_Redirect extends Zend_Test_PHPUnit_Constraint_Redirect37
32
+ {}
29
33
} else {
30
34
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'Redirect34.php ' );
31
- $ alias = 'Zend_Test_PHPUnit_Constraint_Redirect34 ' ;
32
- }
33
35
34
- class_alias (
35
- $ alias ,
36
- 'Zend_Test_PHPUnit_Constraint_Redirect '
37
- );
36
+ class Zend_Test_PHPUnit_Constraint_Redirect extends Zend_Test_PHPUnit_Constraint_Redirect34
37
+ {}
38
+ }
Original file line number Diff line number Diff line change 22
22
23
23
if (version_compare (PHPUnit_Runner_Version::id (), '4.1 ' , '>= ' )) {
24
24
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'ResponseHeader41.php ' );
25
- $ alias = 'Zend_Test_PHPUnit_Constraint_ResponseHeader41 ' ;
25
+
26
+ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends Zend_Test_PHPUnit_Constraint_ResponseHeader41
27
+ {}
26
28
} elseif (version_compare (PHPUnit_Runner_Version::id (), '3.5 ' , '>= ' )) {
27
29
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'ResponseHeader37.php ' );
28
- $ alias = 'Zend_Test_PHPUnit_Constraint_ResponseHeader37 ' ;
30
+
31
+ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends Zend_Test_PHPUnit_Constraint_ResponseHeader37
32
+ {}
29
33
} else {
30
34
include (dirname (__FILE__ ) . DIRECTORY_SEPARATOR . 'ResponseHeader34.php ' );
31
- $ alias = 'Zend_Test_PHPUnit_Constraint_ResponseHeader34 ' ;
32
- }
33
35
34
- class_alias (
35
- $ alias ,
36
- 'Zend_Test_PHPUnit_Constraint_ResponseHeader '
37
- );
36
+ class Zend_Test_PHPUnit_Constraint_ResponseHeader extends Zend_Test_PHPUnit_Constraint_ResponseHeader34
37
+ {}
38
+ }
You can’t perform that action at this time.
0 commit comments