Skip to content

Commit 0f080c6

Browse files
authored
Merge pull request #40 from plesk/upgrade-phpunit
Upgrade PHPUnit 7.x, PHP 7.2 and Plesk 17.8
2 parents e3712f7 + fb1a469 commit 0f080c6

File tree

10 files changed

+392
-447
lines changed

10 files changed

+392
-447
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:5.6-cli
1+
FROM php:7.2-cli
22

33
RUN mkdir /opt/api-php-lib
44
RUN docker-php-ext-install pcntl \

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
],
1111
"minimum-stability": "dev",
1212
"require": {
13-
"php": ">=5.6.0"
13+
"php": "^5.6|^7.1"
1414
},
1515
"require-dev": {
16-
"phpunit/phpunit": "5.7.*",
17-
"phpunit/php-invoker": "*",
18-
"phpunit/dbunit": ">=1.2",
19-
"sebastian/environment": "^2.0"
16+
"phpunit/phpunit": "^7"
2017
},
2118
"config": {
2219
"process-timeout": 0
@@ -29,6 +26,9 @@
2926
"PleskX\\": "src/PleskX/"
3027
}
3128
},
29+
"autoload-dev": {
30+
"classmap": ["tests/"]
31+
},
3232
"extra": {
3333
"branch-alias": {
3434
"dev-master": "0.1.x-dev"

0 commit comments

Comments
 (0)