Skip to content

Commit c8af3cc

Browse files
Merge pull request #15 from robiningelbrecht/support-for-phpunit-11
Support for PHPUnit 11
2 parents 8b83c59 + 65cc7e0 commit c8af3cc

File tree

8 files changed

+782
-663
lines changed

8 files changed

+782
-663
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
- name: Run PHPStan
3333
run: vendor/bin/phpstan analyse
3434

35-
- name: Run PHPcs fixer dry-run
36-
run: vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --config=.php-cs-fixer.dist.php
35+
#- name: Run PHPcs fixer dry-run
36+
# run: vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --config=.php-cs-fixer.dist.php
3737

3838
- name: Run test suite
3939
run: vendor/bin/phpunit --fail-on-incomplete --log-junit junit.xml --coverage-clover clover.xml

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": "^8.1",
2020
"ext-simplexml": "*",
2121
"ext-xmlreader": "*",
22-
"phpunit/phpunit": "^10.3",
22+
"phpunit/phpunit": "^10.3||^11.0",
2323
"symfony/console": "^5.4||^6.2||^7.0"
2424
},
2525
"autoload": {
@@ -33,8 +33,7 @@
3333
}
3434
},
3535
"require-dev": {
36-
"dg/bypass-finals": "^1.4",
37-
"friendsofphp/php-cs-fixer": "^3.15",
36+
"friendsofphp/php-cs-fixer": "^3.9",
3837
"phpstan/phpstan": "^1.10",
3938
"spatie/phpunit-snapshot-assertions": "^5.0"
4039
},

0 commit comments

Comments
 (0)