Skip to content

Commit 51c05ec

Browse files
committed
update: limit phpunit version to 7.5
1 parent dd651ef commit 51c05ec

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: php
22

33
php:
4-
- 7.1
5-
- 7.2
6-
- 7.3
4+
- '7.1'
5+
- '7.2'
6+
- '7.3'
77

88
#matrix:
99
# include:

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
"toolkit/php-utils": "~1.0",
2929
"toolkit/sys-utils": "~1.0"
3030
},
31+
"require-dev": {
32+
"phpunit/phpunit": "^7.5"
33+
},
3134
"autoload": {
3235
"psr-4": {
3336
"Inhere\\Console\\": "src/"

test/boot.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@
2929

3030
if (is_file(dirname(__DIR__, 3) . '/autoload.php')) {
3131
require dirname(__DIR__, 3) . '/autoload.php';
32+
} elseif (is_file(dirname(__DIR__) . '/vendor/autoload.php')) {
33+
require dirname(__DIR__) . '/vendor/autoload.php';
3234
}

0 commit comments

Comments
 (0)