Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 0bfb328

Browse files
committed
Merge branch 'Slamdunk-hotfix/phpunit-alias'
2 parents fe5e300 + b8c0c33 commit 0bfb328

File tree

12 files changed

+36
-9
lines changed

12 files changed

+36
-9
lines changed

library/Zend/Test/PHPUnit/Constraint/DomQuery.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,17 @@
2222

2323
if (version_compare(PHPUnit_Runner_Version::id(), '4.1', '>=')) {
2424
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'DomQuery41.php');
25+
26+
class Zend_Test_PHPUnit_Constraint_DomQuery extends Zend_Test_PHPUnit_Constraint_DomQuery41
27+
{}
2528
} elseif (version_compare(PHPUnit_Runner_Version::id(), '3.5', '>=')) {
2629
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'DomQuery37.php');
30+
31+
class Zend_Test_PHPUnit_Constraint_DomQuery extends Zend_Test_PHPUnit_Constraint_DomQuery37
32+
{}
2733
} else {
2834
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'DomQuery34.php');
35+
36+
class Zend_Test_PHPUnit_Constraint_DomQuery extends Zend_Test_PHPUnit_Constraint_DomQuery34
37+
{}
2938
}

library/Zend/Test/PHPUnit/Constraint/DomQuery34.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
3434
* @license http://framework.zend.com/license/new-bsd New BSD License
3535
*/
36-
class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
36+
class Zend_Test_PHPUnit_Constraint_DomQuery34 extends PHPUnit_Framework_Constraint
3737
{
3838
/**#@+
3939
* Assertion type constants

library/Zend/Test/PHPUnit/Constraint/DomQuery37.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
3434
* @license http://framework.zend.com/license/new-bsd New BSD License
3535
*/
36-
class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
36+
class Zend_Test_PHPUnit_Constraint_DomQuery37 extends PHPUnit_Framework_Constraint
3737
{
3838
/**#@+
3939
* Assertion type constants

library/Zend/Test/PHPUnit/Constraint/DomQuery41.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
3434
* @license http://framework.zend.com/license/new-bsd New BSD License
3535
*/
36-
class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint
36+
class Zend_Test_PHPUnit_Constraint_DomQuery41 extends PHPUnit_Framework_Constraint
3737
{
3838
/**#@+
3939
* Assertion type constants

library/Zend/Test/PHPUnit/Constraint/Redirect.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,17 @@
2222

2323
if (version_compare(PHPUnit_Runner_Version::id(), '4.1', '>=')) {
2424
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Redirect41.php');
25+
26+
class Zend_Test_PHPUnit_Constraint_Redirect extends Zend_Test_PHPUnit_Constraint_Redirect41
27+
{}
2528
} elseif (version_compare(PHPUnit_Runner_Version::id(), '3.5', '>=')) {
2629
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Redirect37.php');
30+
31+
class Zend_Test_PHPUnit_Constraint_Redirect extends Zend_Test_PHPUnit_Constraint_Redirect37
32+
{}
2733
} else {
2834
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Redirect34.php');
35+
36+
class Zend_Test_PHPUnit_Constraint_Redirect extends Zend_Test_PHPUnit_Constraint_Redirect34
37+
{}
2938
}

library/Zend/Test/PHPUnit/Constraint/Redirect34.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
3131
* @license http://framework.zend.com/license/new-bsd New BSD License
3232
*/
33-
class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
33+
class Zend_Test_PHPUnit_Constraint_Redirect34 extends PHPUnit_Framework_Constraint
3434
{
3535
/**#@+
3636
* Assertion type constants

library/Zend/Test/PHPUnit/Constraint/Redirect37.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
3131
* @license http://framework.zend.com/license/new-bsd New BSD License
3232
*/
33-
class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
33+
class Zend_Test_PHPUnit_Constraint_Redirect37 extends PHPUnit_Framework_Constraint
3434
{
3535
/**#@+
3636
* Assertion type constants

library/Zend/Test/PHPUnit/Constraint/Redirect41.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
3131
* @license http://framework.zend.com/license/new-bsd New BSD License
3232
*/
33-
class Zend_Test_PHPUnit_Constraint_Redirect extends PHPUnit_Framework_Constraint
33+
class Zend_Test_PHPUnit_Constraint_Redirect41 extends PHPUnit_Framework_Constraint
3434
{
3535
/**#@+
3636
* Assertion type constants

library/Zend/Test/PHPUnit/Constraint/ResponseHeader.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,17 @@
2222

2323
if (version_compare(PHPUnit_Runner_Version::id(), '4.1', '>=')) {
2424
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'ResponseHeader41.php');
25+
26+
class Zend_Test_PHPUnit_Constraint_ResponseHeader extends Zend_Test_PHPUnit_Constraint_ResponseHeader41
27+
{}
2528
} elseif (version_compare(PHPUnit_Runner_Version::id(), '3.5', '>=')) {
2629
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'ResponseHeader37.php');
30+
31+
class Zend_Test_PHPUnit_Constraint_ResponseHeader extends Zend_Test_PHPUnit_Constraint_ResponseHeader37
32+
{}
2733
} else {
2834
include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'ResponseHeader34.php');
35+
36+
class Zend_Test_PHPUnit_Constraint_ResponseHeader extends Zend_Test_PHPUnit_Constraint_ResponseHeader34
37+
{}
2938
}

library/Zend/Test/PHPUnit/Constraint/ResponseHeader34.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
3131
* @license http://framework.zend.com/license/new-bsd New BSD License
3232
*/
33-
class Zend_Test_PHPUnit_Constraint_ResponseHeader extends PHPUnit_Framework_Constraint
33+
class Zend_Test_PHPUnit_Constraint_ResponseHeader34 extends PHPUnit_Framework_Constraint
3434
{
3535
/**#@+
3636
* Assertion type constants

0 commit comments

Comments
 (0)