Skip to content

Commit 91fb4e9

Browse files
committed
Use PHPUnit
1 parent 5c7809e commit 91fb4e9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
- uses: shivammathur/setup-php@v2
2424
with:
2525
php-version: ${{ matrix.php-version }}
26-
extensions: none
26+
extensions: none, mbstring
2727

2828
- run: composer update
29-
- run: vendor/bin/simple-phpunit
29+
30+
- if: matrix.php-version != '7.4' && matrix.php-version != '8.0' # These run PHPUnit 9, which does not have the option
31+
run: vendor/bin/phpunit --check-php-configuration
32+
33+
- run: vendor/bin/phpunit --no-configuration tests

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"php": "^5.6 || ^7.0 || ^8.0"
1818
},
1919
"require-dev": {
20-
"symfony/phpunit-bridge": "^5.1 || ^7.3.1"
20+
"phpunit/phpunit": "^9.6.23 || ^10.5.47 || ^11.5.33"
2121
},
2222
"config": {
2323
"optimize-autoloader": true,

0 commit comments

Comments
 (0)