Skip to content

Commit

Permalink
Merge pull request #15 from robiningelbrecht/support-for-phpunit-11
Browse files Browse the repository at this point in the history
Support for PHPUnit 11
  • Loading branch information
robiningelbrecht committed Feb 18, 2024
2 parents 8b83c59 + 65cc7e0 commit c8af3cc
Show file tree
Hide file tree
Showing 8 changed files with 782 additions and 663 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Run PHPStan
run: vendor/bin/phpstan analyse

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

- name: Run test suite
run: vendor/bin/phpunit --fail-on-incomplete --log-junit junit.xml --coverage-clover clover.xml
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"php": "^8.1",
"ext-simplexml": "*",
"ext-xmlreader": "*",
"phpunit/phpunit": "^10.3",
"phpunit/phpunit": "^10.3||^11.0",
"symfony/console": "^5.4||^6.2||^7.0"
},
"autoload": {
Expand All @@ -33,8 +33,7 @@
}
},
"require-dev": {
"dg/bypass-finals": "^1.4",
"friendsofphp/php-cs-fixer": "^3.15",
"friendsofphp/php-cs-fixer": "^3.9",
"phpstan/phpstan": "^1.10",
"spatie/phpunit-snapshot-assertions": "^5.0"
},
Expand Down
Loading

0 comments on commit c8af3cc

Please sign in to comment.