Commit 07cd70ee authored by Stefan Bürk's avatar Stefan Bürk Committed by Andreas Fernandez
Browse files

[BUGFIX] Update composer dev dependencies to min required versions

phpunit has released new versions for 8.5.x and 9.5.x, which
do not longer automaticly throw exception for user depcrecations.
As there are tests expecting this exception, the min version must
be increased and the explicity configuration option set. Otherwise
nightly composerMax unit tests will fail.

Furthermore there was a patch merged which needs to have
'phpspec/prophecy' on ^1.14.0 as minimum requirement. Otherwise
nightly composerMin php7.4 tests will fail.

This patch increase the min version for the two dev dependencies
and apply the needed phpunit configuration option to throw
user deprectation excetions again.

Used composer commands:

composer req --dev --with-dependencies phpunit/phpunit:^9.5.10
composer req --dev phpspec/prophecy:^1.14.0

Tests:

Build/Scripts/runTests.sh -s composerInstallMin -p 7.4 ;  \
  Build/Scripts/runTests.sh -s unit -p 7.4

Build/Scripts/runTests.sh -s composerInstallMax -p 7.4 ;  \
  Build/Scripts/runTests.sh -s unit -p 7.4

Build/Scripts/runTests.sh -s composerInstallMax -p 7.4 ;  \
  Build/Scripts/runTests.sh -s unit -p 8.0

Resolves: #95360
Related: #95210
Releases: master, 10.4
Change-Id: Ia009fe20a0b53b3d1bdef097b00c1993d3b8c596
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71292

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent ddc53073
......@@ -16,6 +16,7 @@
backupGlobals="true"
bootstrap="UnitTestsBootstrap.php"
colors="true"
convertDeprecationsToExceptions="true"
convertErrorsToExceptions="true"
convertWarningsToExceptions="true"
convertNoticesToExceptions="true"
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "f6c55eb3c1ad5e1b2c1eded16010e70d",
"content-hash": "c3bbfb9ee66e4b87ed1d946f4cab98a6",
"packages": [
{
"name": "bacon/bacon-qr-code",
......@@ -6503,23 +6503,23 @@
},
{
"name": "phpunit/php-code-coverage",
"version": "9.2.6",
"version": "9.2.7",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "f6293e1b30a2354e8428e004689671b83871edde"
"reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde",
"reference": "f6293e1b30a2354e8428e004689671b83871edde",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d4c798ed8d51506800b441f7a13ecb0f76f12218",
"reference": "d4c798ed8d51506800b441f7a13ecb0f76f12218",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-libxml": "*",
"ext-xmlwriter": "*",
"nikic/php-parser": "^4.10.2",
"nikic/php-parser": "^4.12.0",
"php": ">=7.3",
"phpunit/php-file-iterator": "^3.0.3",
"phpunit/php-text-template": "^2.0.2",
......@@ -6568,7 +6568,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6"
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.7"
},
"funding": [
{
......@@ -6576,7 +6576,7 @@
"type": "github"
}
],
"time": "2021-03-28T07:26:59+00:00"
"time": "2021-09-17T05:39:03+00:00"
},
{
"name": "phpunit/php-file-iterator",
......@@ -6821,16 +6821,16 @@
},
{
"name": "phpunit/phpunit",
"version": "9.5.9",
"version": "9.5.10",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b"
"reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b",
"reference": "ea8c2dfb1065eb35a79b3681eee6e6fb0a6f273b",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c814a05837f2edb0d1471d6e3f4ab3501ca3899a",
"reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a",
"shasum": ""
},
"require": {
......@@ -6846,7 +6846,7 @@
"phar-io/version": "^3.0.2",
"php": ">=7.3",
"phpspec/prophecy": "^1.12.1",
"phpunit/php-code-coverage": "^9.2.3",
"phpunit/php-code-coverage": "^9.2.7",
"phpunit/php-file-iterator": "^3.0.5",
"phpunit/php-invoker": "^3.1.1",
"phpunit/php-text-template": "^2.0.3",
......@@ -6908,7 +6908,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.9"
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.10"
},
"funding": [
{
......@@ -6920,7 +6920,7 @@
"type": "github"
}
],
"time": "2021-08-31T06:47:40+00:00"
"time": "2021-09-25T07:38:51+00:00"
},
{
"name": "sebastian/cli-parser",
......@@ -7775,7 +7775,6 @@
"type": "github"
}
],
"abandoned": true,
"time": "2020-09-28T06:45:17+00:00"
},
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment