Skip to content

Commit 1f83630

Browse files
Update dependency phpunit/phpunit to v12 (#992)
--------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Frank Dekker <[email protected]>
1 parent 3c0ef70 commit 1f83630

File tree

5 files changed

+233
-328
lines changed

5 files changed

+233
-328
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v4
30-
- name: Use Node.js 21.x
30+
- name: Use Node.js 22.x
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: 21.x
33+
node-version: 22.x
3434

3535
# Docs: https://github.com/shivammathur/setup-php
3636
- name: Setup PHP
@@ -64,12 +64,12 @@ jobs:
6464
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/symfony?serverVersion=8.0&charset=utf8mb4
6565

6666
- name: Run functional and integration test suite
67-
run: php -dmax_execution_time=300 vendor/bin/phpunit --testsuite functional,integration
67+
run: php -dmax_execution_time=300 vendor/bin/phpunit --display-deprecations --testsuite functional,integration
6868
env:
6969
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/symfony?serverVersion=8.0&charset=utf8mb4
7070

7171
- name: Run unit test suite
72-
run: php -dmax_execution_time=300 -dpcov.enabled=1 -dpcov.exclude="~vendor~" vendor/bin/phpunit --testsuite unit --coverage-clover ./.coverage/coverage.xml
72+
run: php -dmax_execution_time=300 -dpcov.enabled=1 -dpcov.exclude="~vendor~" vendor/bin/phpunit --display-deprecations --testsuite unit --coverage-clover ./.coverage/coverage.xml
7373
env:
7474
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports['3306'] }}/symfony?serverVersion=8.0&charset=utf8mb4
7575

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"phpstan/phpstan-phpunit": "^2.0",
109109
"phpstan/phpstan-strict-rules": "^2.0",
110110
"phpstan/phpstan-symfony": "^2.0",
111-
"phpunit/phpunit": "11.5.*",
111+
"phpunit/phpunit": "12.0.*",
112112
"roave/security-advisories": "dev-latest",
113113
"slevomat/coding-standard": "^8.15",
114114
"squizlabs/php_codesniffer": "^3.9",

0 commit comments

Comments
 (0)