Skip to content

Commit 0b2a4f2

Browse files
authored
Merge pull request #216 from php-school/phpunit-8
Drop simple-phpunit & use phpunit-8 with polyfills for phpunit 9
2 parents 31eb126 + 9092fd3 commit 0b2a4f2

File tree

11 files changed

+2165
-382
lines changed

11 files changed

+2165
-382
lines changed

.github/workflows/php-workshop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Run phpunit tests
3333
run: |
3434
mkdir -p build/logs
35-
vendor/bin/simple-phpunit --coverage-clover ./build/logs/clover.xml
35+
vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
3636
3737
- name: Run phpcs
3838
run: composer cs

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@
3131
"nikic/php-parser": "^4.0",
3232
"guzzlehttp/guzzle": "^7.2",
3333
"psr/log": "^1.1",
34-
"ext-json": "*"
34+
"ext-json": "*",
35+
"phpunit/phpunit": "^8.5"
3536
},
3637
"require-dev": {
3738
"composer/composer": "^2.0",
3839
"squizlabs/php_codesniffer": "^3.4",
39-
"symfony/phpunit-bridge": "^5.1",
4040
"phpstan/phpstan": "^0.12.50",
4141
"phpstan/extension-installer": "^1.0",
42-
"phpstan/phpstan-symfony": "^0.12.8"
42+
"phpstan/phpstan-symfony": "^0.12.8",
43+
"yoast/phpunit-polyfills": "^0.2.0"
4344
},
4445
"autoload" : {
4546
"psr-4" : {

0 commit comments

Comments
 (0)