This repository was archived by the owner on Oct 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +33
-18
lines changed
library/Zend/Test/PHPUnit/Constraint Expand file tree Collapse file tree 12 files changed +33
-18
lines changed Original file line number Diff line number Diff line change 21
21
*/
22
22
23
23
if (version_compare (PHPUnit_Runner_Version::id (), '4.1 ' , '>= ' )) {
24
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' DomQuery41.php ' ) ;
24
+ $ alias = ' Zend_Test_PHPUnit_Constraint_DomQuery41 ' ;
25
25
} elseif (version_compare (PHPUnit_Runner_Version::id (), '3.5 ' , '>= ' )) {
26
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' DomQuery37.php ' ) ;
26
+ $ alias = ' Zend_Test_PHPUnit_Constraint_DomQuery37 ' ;
27
27
} else {
28
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' DomQuery34.php ' ) ;
28
+ $ alias = ' Zend_Test_PHPUnit_Constraint_DomQuery34 ' ;
29
29
}
30
+
31
+ class_alias (
32
+ $ alias ,
33
+ 'Zend_Test_PHPUnit_Constraint_DomQuery '
34
+ );
Original file line number Diff line number Diff line change 33
33
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
34
34
* @license http://framework.zend.com/license/new-bsd New BSD License
35
35
*/
36
- class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
36
+ class Zend_Test_PHPUnit_Constraint_DomQuery34 extends PHPUnit_Framework_Constraint
37
37
{
38
38
/**#@+
39
39
* Assertion type constants
Original file line number Diff line number Diff line change 33
33
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
34
34
* @license http://framework.zend.com/license/new-bsd New BSD License
35
35
*/
36
- class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
36
+ class Zend_Test_PHPUnit_Constraint_DomQuery37 extends PHPUnit_Framework_Constraint
37
37
{
38
38
/**#@+
39
39
* Assertion type constants
Original file line number Diff line number Diff line change 33
33
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
34
34
* @license http://framework.zend.com/license/new-bsd New BSD License
35
35
*/
36
- class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
36
+ class Zend_Test_PHPUnit_Constraint_DomQuery41 extends PHPUnit_Framework_Constraint
37
37
{
38
38
/**#@+
39
39
* Assertion type constants
Original file line number Diff line number Diff line change 21
21
*/
22
22
23
23
if (version_compare (PHPUnit_Runner_Version::id (), '4.1 ' , '>= ' )) {
24
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' Redirect41.php ' ) ;
24
+ $ alias = ' Zend_Test_PHPUnit_Constraint_Redirect41 ' ;
25
25
} elseif (version_compare (PHPUnit_Runner_Version::id (), '3.5 ' , '>= ' )) {
26
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' Redirect37.php ' ) ;
26
+ $ alias = ' Zend_Test_PHPUnit_Constraint_Redirect37 ' ;
27
27
} else {
28
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' Redirect34.php ' ) ;
28
+ $ alias = ' Zend_Test_PHPUnit_Constraint_Redirect34 ' ;
29
29
}
30
+
31
+ class_alias (
32
+ $ alias ,
33
+ 'Zend_Test_PHPUnit_Constraint_Redirect '
34
+ );
Original file line number Diff line number Diff line change 30
30
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
31
31
* @license http://framework.zend.com/license/new-bsd New BSD License
32
32
*/
33
- class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
33
+ class Zend_Test_PHPUnit_Constraint_Redirect34 extends PHPUnit_Framework_Constraint
34
34
{
35
35
/**#@+
36
36
* Assertion type constants
Original file line number Diff line number Diff line change 30
30
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
31
31
* @license http://framework.zend.com/license/new-bsd New BSD License
32
32
*/
33
- class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
33
+ class Zend_Test_PHPUnit_Constraint_Redirect37 extends PHPUnit_Framework_Constraint
34
34
{
35
35
/**#@+
36
36
* Assertion type constants
Original file line number Diff line number Diff line change 30
30
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
31
31
* @license http://framework.zend.com/license/new-bsd New BSD License
32
32
*/
33
- class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
33
+ class Zend_Test_PHPUnit_Constraint_Redirect41 extends PHPUnit_Framework_Constraint
34
34
{
35
35
/**#@+
36
36
* Assertion type constants
Original file line number Diff line number Diff line change 21
21
*/
22
22
23
23
if (version_compare (PHPUnit_Runner_Version::id (), '4.1 ' , '>= ' )) {
24
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' ResponseHeader41.php ' ) ;
24
+ $ alias = ' Zend_Test_PHPUnit_Constraint_ResponseHeader41 ' ;
25
25
} elseif (version_compare (PHPUnit_Runner_Version::id (), '3.5 ' , '>= ' )) {
26
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' ResponseHeader37.php ' ) ;
26
+ $ alias = ' Zend_Test_PHPUnit_Constraint_ResponseHeader37 ' ;
27
27
} else {
28
- include ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . ' ResponseHeader34.php ' ) ;
28
+ $ alias = ' Zend_Test_PHPUnit_Constraint_ResponseHeader34 ' ;
29
29
}
30
+
31
+ class_alias (
32
+ $ alias ,
33
+ 'Zend_Test_PHPUnit_Constraint_ResponseHeader '
34
+ );
Original file line number Diff line number Diff line change 30
30
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
31
31
* @license http://framework.zend.com/license/new-bsd New BSD License
32
32
*/
33
- class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Constraint
33
+ class Zend_Test_PHPUnit_Constraint_ResponseHeader34 extends PHPUnit_Framework_Constraint
34
34
{
35
35
/**#@+
36
36
* Assertion type constants
You can’t perform that action at this time.
0 commit comments