This repository was archived by the owner on Apr 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ matrix:
25
25
env :
26
26
- DEPS=locked
27
27
- TEST_COVERAGE=true
28
- - LEGACY_DEPS="phpunit/phpunit"
28
+ - LEGACY_DEPS="phpunit/phpunit zendframework/zend-code "
29
29
- php : 5.6
30
30
env :
31
31
- DEPS=latest
@@ -36,7 +36,7 @@ matrix:
36
36
env :
37
37
- DEPS=locked
38
38
- CS_CHECK=true
39
- - LEGACY_DEPS="phpunit/phpunit"
39
+ - LEGACY_DEPS="phpunit/phpunit zendframework/zend-code "
40
40
- php : 7
41
41
env :
42
42
- DEPS=latest
Original file line number Diff line number Diff line change 17
17
"ZendTest\\ XmlRpc\\ " : " test/"
18
18
},
19
19
"files" : [
20
+ " test/autoload.php" ,
20
21
" test/TestAsset/functions.php"
21
22
]
22
23
},
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * @see https://github.com/zendframework/zend-xmlrpc for the canonical source repository
4
+ * @copyright Copyright (c) 2018 Zend Technologies USA Inc. (https://www.zend.com)
5
+ * @license https://github.com/zendframework/zend-xmlrpc/blob/master/LICENSE.md New BSD License
6
+ */
7
+
8
+ /**
9
+ * @todo This file may be removed once we drop support for PHP 5.
10
+ */
11
+ if (! class_exists (PHPUnit \Framework \ExpectationFailedException::class)) {
12
+ class_alias (
13
+ PHPUnit_Framework_ExpectationFailedException::class,
14
+ PHPUnit \Framework \ExpectationFailedException::class,
15
+ true
16
+ );
17
+ }
You can’t perform that action at this time.
0 commit comments