Skip to content

Commit

Permalink
feat: allow PHPUnit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Feb 4, 2024
1 parent db56b19 commit 981d5a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
Tests:
runs-on: 'ubuntu-latest'
env:
SYMFONY_DEPRECATIONS_HELPER: disabled
SYMFONY_DEPRECATIONS_HELPER: disabled
strategy:
matrix:
php:
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
coverage: ${{ matrix.coverage }}
- run: composer remove --dev facile-it/facile-coding-standard --no-update
- run: composer remove --dev facile-it/facile-coding-standard vimeo/psalm --no-update
if: matrix.dependencies == 'lowest'
- uses: ramsey/composer-install@v2
with:
Expand Down
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ext-dom": "*",
"ext-json": "*",
"jean85/pretty-package-versions": "^1.5.1||^2.0.1",
"phpunit/php-code-coverage": "^10.0",
"phpunit/php-code-coverage": "^10.0||^11.0",
"phpunit/php-file-iterator": "^4.0",
"phpunit/phpunit": "^10.5.4||^11.0",
"psr/event-dispatcher": "^1.0",
Expand Down Expand Up @@ -85,5 +85,9 @@
"suggest": {
"ext-pcov": "A coverage driver for faster collection",
"dama/doctrine-test-bundle": "Useful for Symfony+Doctrine functional testing, providing DB isolation"
},
"scripts": {
"cs-check": "php-cs-fixer fix --dry-run --diff",
"cs-fix": "php-cs-fixer fix --diff"
}
}

0 comments on commit 981d5a9

Please sign in to comment.