Skip to content

Commit a2b07b9

Browse files
committed
Upgrade PHPUnit to version 11.5
- Upgrading amphp/amp (v3.0.2 => v3.1.0) - Upgrading phpmyadmin/sql-parser (dev-master ab0d173 => dev-master 00c8e55) - Upgrading phpstan/phpstan-phpunit (2.0.3 => 2.0.4) - Upgrading phpunit/php-code-coverage (10.1.16 => 11.0.8) - Upgrading phpunit/php-file-iterator (4.1.0 => 5.1.0) - Upgrading phpunit/php-invoker (4.0.0 => 5.0.1) - Upgrading phpunit/php-text-template (3.0.1 => 4.0.1) - Upgrading phpunit/php-timer (6.0.0 => 7.0.1) - Upgrading phpunit/phpunit (10.5.41 => 11.5.4) - Upgrading roave/security-advisories (dev-latest e7a38fc => dev-latest 3f5a01e) - Upgrading sebastian/cli-parser (2.0.1 => 3.0.2) - Upgrading sebastian/code-unit (2.0.0 => 3.0.2) - Upgrading sebastian/code-unit-reverse-lookup (3.0.0 => 4.0.1) - Upgrading sebastian/comparator (5.0.3 => 6.3.0) - Upgrading sebastian/complexity (3.2.0 => 4.0.1) - Upgrading sebastian/diff (5.1.1 => 6.0.2) - Upgrading sebastian/environment (6.1.0 => 7.2.0) - Upgrading sebastian/exporter (5.1.2 => 6.3.0) - Upgrading sebastian/global-state (6.0.2 => 7.0.2) - Upgrading sebastian/lines-of-code (2.0.2 => 3.0.1) - Upgrading sebastian/object-enumerator (5.0.0 => 6.0.1) - Upgrading sebastian/object-reflector (3.0.0 => 4.0.1) - Upgrading sebastian/recursion-context (5.0.0 => 6.0.2) - Upgrading sebastian/type (4.0.0 => 5.1.0) - Upgrading sebastian/version (4.0.1 => 5.0.2) - Upgrading squizlabs/php_codesniffer (3.11.2 => 3.11.3) - Locking staabm/side-effects-detector (1.0.5) - Upgrading tecnickcom/tcpdf (6.8.0 => 6.8.2) Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
1 parent 1cd46b0 commit a2b07b9

7 files changed

Lines changed: 380 additions & 315 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
include:
23-
- { php-version: '82', experimental: false, arch: 'amd64', exclude-phpunit-groups: 'extension-iconv' }
24-
- { php-version: '82', experimental: false, arch: 'arm64/v8', exclude-phpunit-groups: 'extension-iconv' }
25-
- { php-version: '82', experimental: false, arch: 'arm/v7', exclude-phpunit-groups: 'extension-iconv,32bit-incompatible' }
26-
- { php-version: '82', experimental: false, arch: 'i386', exclude-phpunit-groups: 'extension-iconv,32bit-incompatible' }
27-
- { php-version: '82', experimental: true, arch: 'ppc64le', exclude-phpunit-groups: 'extension-iconv' }
28-
- { php-version: '82', experimental: false, arch: 's390x', exclude-phpunit-groups: 'extension-iconv,32bit-incompatible' }
23+
- { php-version: '82', experimental: false, arch: 'amd64', exclude-phpunit-groups: '--exclude-group extension-iconv' }
24+
- { php-version: '82', experimental: false, arch: 'arm64/v8', exclude-phpunit-groups: '--exclude-group extension-iconv' }
25+
- { php-version: '82', experimental: false, arch: 'arm/v7', exclude-phpunit-groups: '--exclude-group extension-iconv --exclude-group 32bit-incompatible' }
26+
- { php-version: '82', experimental: false, arch: 'i386', exclude-phpunit-groups: '--exclude-group extension-iconv --exclude-group 32bit-incompatible' }
27+
- { php-version: '82', experimental: true, arch: 'ppc64le', exclude-phpunit-groups: '--exclude-group extension-iconv' }
28+
- { php-version: '82', experimental: false, arch: 's390x', exclude-phpunit-groups: '--exclude-group extension-iconv --exclude-group 32bit-incompatible' }
2929
steps:
3030
- name: Checkout code
3131
uses: actions/checkout@v4
@@ -48,7 +48,7 @@ jobs:
4848
composer config version "$(php -r "define('VERSION_SUFFIX', ''); require_once('src/Version.php'); echo \PhpMyAdmin\Version::VERSION;")" && \
4949
composer install && \
5050
./bin/generate-mo && \
51-
php\$V -d memory_limit=512M ./vendor/bin/phpunit --no-logging --no-coverage --testsuite unit --exclude-group=%s" \
51+
php\$V -d memory_limit=512M ./vendor/bin/phpunit --no-logging --no-coverage --testsuite unit %s" \
5252
"${{ matrix.php-version }}" "${{ matrix.exclude-phpunit-groups }}" > ./do-tests.sh
5353
5454
- name: Set up multi arch support

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@
113113
"phpstan/phpstan-phpunit": "^2.0",
114114
"phpstan/phpstan-strict-rules": "^2.0",
115115
"phpstan/phpstan-webmozart-assert": "^2.0",
116-
"phpunit/phpunit": "^10.4",
116+
"phpunit/phpunit": "^11.5",
117117
"pragmarx/google2fa-qrcode": "^3.0",
118118
"psalm/plugin-phpunit": "^0.19",
119119
"roave/security-advisories": "dev-latest",
120120
"symfony/console": "^7.1",
121121
"tecnickcom/tcpdf": "^6.4.4",
122-
"vimeo/psalm": "^6",
122+
"vimeo/psalm": "^6.0",
123123
"web-auth/webauthn-lib": "^4.9"
124124
},
125125
"extra": {

0 commit comments

Comments
 (0)