Skip to content

Commit 92ad775

Browse files
JeroenDeDauwthiemowmde
authored andcommitted
Avoid PHPUnit deprecation warnings (#701)
Recent versions of PHPUnit deprecated some stuff that we can't get rid off since that would mean using new stuff only available in versions of PHPUnit that do not support PHP 5.5. Yay for supporting legacy PHP /o\
1 parent fcd2482 commit 92ad775

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"wikimedia/assert": "~0.2.2"
2929
},
3030
"require-dev": {
31+
"phpunit/phpunit": "~4.8",
3132
"ockcyp/covers-validator": "~0.4.0",
3233
"squizlabs/php_codesniffer": "~2.3",
3334
"phpmd/phpmd": "~2.3"
@@ -47,17 +48,17 @@
4748
},
4849
"scripts": {
4950
"test": [
50-
"composer validate --no-interaction",
51-
"phpunit",
51+
"@validate --no-interaction",
52+
"vendor/bin/phpunit",
5253
"vendor/bin/covers-validator"
5354
],
5455
"cs": [
55-
"composer phpcs",
56-
"composer phpmd"
56+
"@phpcs",
57+
"@phpmd"
5758
],
5859
"ci": [
59-
"composer test",
60-
"composer cs"
60+
"@test",
61+
"@cs"
6162
],
6263
"phpcs": [
6364
"vendor/bin/phpcs src/* tests/* --standard=phpcs.xml --extensions=php -sp"

0 commit comments

Comments
 (0)