10000 Forward compatibility with PHPUnit 7 and use legacy PHPUnit 5 on HHVM · reedy/reactphp-event-loop@e86f14b · GitHub
[go: up one dir, main page]

Skip to content

Commit e86f14b

Browse files
committed
Forward compatibility with PHPUnit 7 and use legacy PHPUnit 5 on HHVM
1 parent dbdf527 commit e86f14b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ php:
99
- 7.1
1010
- 7.2
1111
- 7.3
12-
- hhvm # ignore errors, see below
12+
# - hhvm # requires legacy phpunit & ignore errors, see below
1313

1414
# lock distro so new future defaults will not break the build
1515
dist: trusty
@@ -18,6 +18,8 @@ matrix:
1818
include:
1919
- php: 5.3
2020
dist: precise
21+
- php: hhvm
22+
install: composer require phpunit/phpunit:^5 --dev --no-interaction
2123
allow_failures:
2224
- php: hhvm
2325

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"php": ">=5.3.0"
88
},
99
"require-dev": {
10-
"phpunit/phpunit": "~4.8.35 || ^5.7 || ^6.4"
10+
"phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35"
1111
},
1212
"suggest": {
1313
"ext-event": "~1.0 for ExtEventLoop",

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
convertWarningsToExceptions="true"
99
processIsolation="false"
1010
stopOnFailure="false"
11-
syntaxCheck="false"
1211
bootstrap="vendor/autoload.php"
1312
>
1413
<testsuites>

0 commit comments

Comments
 (0)
0