Skip to content

Commit fa87be2

Browse files
authored
Update PHPUnit (#115)
1 parent 54cad51 commit fa87be2

File tree

8 files changed

+646
-159
lines changed

8 files changed

+646
-159
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
language: php
22
php:
3-
- nightly
3+
- 8.0
44
- 7.4
55
- 7.3
66
- 7.2
77
- 7.1
88
- 7.0
99
- 5.6
10-
- 5.5
11-
- 5.4
1210

1311
sudo: false
14-
dist: trusty
1512

1613
## Cache composer bits
1714
cache:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ test:
1515
@php -derror_reporting="E_ALL & ~E_DEPRECATED" vendor/bin/phpunit --configuration phpunit.xml
1616

1717
test-coverage:
18-
@php -derror_reporting="E_ALL & ~E_DEPRECATED" -dzend_extension=xdebug.so vendor/bin/phpunit --configuration phpunit.xml --coverage-text --coverage-clover=coverage.xml
18+
@php -derror_reporting="E_ALL & ~E_DEPRECATED" -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit --configuration phpunit.xml --coverage-text --coverage-clover=coverage.xml
1919

2020
phpbench:
2121
@test -f ${HOME}/.cache/composer/phpbench-${PHPBENCH_VERSION}.phar || (mkdir -p ${HOME}/.cache/composer/ && wget https://github.com/phpbench/phpbench/releases/download/${PHPBENCH_VERSION}/phpbench.phar -O ${HOME}/.cache/composer/phpbench-${PHPBENCH_VERSION}.phar)

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"swaggest/json-diff": "^3.5.1"
1111
},
1212
"require-dev": {
13-
"phpunit/phpunit": "4.8.35",
14-
"phpunit/php-code-coverage": "2.2.4"
13+
"phpunit/phpunit": "^5",
14+
"phpunit/php-code-coverage": "^4"
1515
},
1616
"license": "MIT",
1717
"authors": [
@@ -36,7 +36,7 @@
3636
},
3737
"config": {
3838
"platform": {
39-
"php": "5.4.45"
39+
"php": "5.6.0"
4040
}
4141
}
4242
}

0 commit comments

Comments
 (0)