Update dependency phpunit/phpunit to v11 #12
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~4.0->~11.0Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
v11.3.6: PHPUnit 11.3.6Compare Source
Changed
E_STRICTconstant in PHP 8.4Fixed
trim()med when it contains$characterHow to install or update PHPUnit
v11.3.5: PHPUnit 11.3.5Compare Source
Fixed
staticreturn type declaration is not properly initializednameproperty on<testsuites>element in JUnit XML logfileCallbackthrows aTypeErrorwhen checking acallablehas variadic parametersHow to install or update PHPUnit
v11.3.4: PHPUnit 11.3.4Compare Source
Fixed
assertJsonStringEqualsJsonString()considers objects with sequential numeric keys equal to be arraysCallbackconstraint does not handle variadic arguments correctly when used for mock object expectations$at the beginning gets truncated when used with a data providerdefaultgroupHow to install or update PHPUnit
v11.3.3: PHPUnit 11.3.3Compare Source
Added
failOnPhpunitDeprecationattribute on the<phpunit>element of the XML configuration file and--fail-on-phpunit-deprecationCLI option for controlling whether PHPUnit deprecations should be considered when determining the test runner's shell exit code (default: do not consider)displayDetailsOnPhpunitDeprecationsattribute on the<phpunit>element of the XML configuration file and--display-phpunit-deprecationsCLI option for controlling whether details on PHPUnit deprecations should be displayed (default: do not display)Changed
--fail-on-phpunit-deprecationCLI option or thefailOnPhpunitDeprecation="true"attribute on the<phpunit>element of the XML configuration file.--display-phpunit-deprecationsCLI option or thedisplayDetailsOnPhpunitDeprecationsattribute on the<phpunit>element of the XML configuration file.How to install or update PHPUnit
v11.3.2: PHPUnit 11.3.2Compare Source
Changed
nameproperty on<testsuites>element in JUnit XML logfile.phpstorm.meta.phpfile as methods such asTestCase::createStub()use generics / template types for their return types and PhpStorm, for example, uses that informationFixed
@operatorHow to install or update PHPUnit
v11.3.1: PHPUnit 11.3.1Compare Source
Changed
How to install or update PHPUnit
v11.3.0: PHPUnit 11.3.0Compare Source
Added
shortenArraysForExportThresholdattribute on the<phpunit>element of the XML configuration file to limit the export of arrays to a specified number of elements (default:0/ do not limit the export of arrays)--extensionCLI option to register a test runner extensionChanged
--generate-configurationnow limits the export of arrays to 10 elements in order to improve performanceHow to install or update PHPUnit
v11.2.9: PHPUnit 11.2.9Compare Source
Fixed
--list-testsand--list-tests-xmlCLI options do not report error when data provider method throws exceptionHow to install or update PHPUnit
v11.2.8: PHPUnit 11.2.8Compare Source
Fixed
Test\Passedevent is not emitted for PHPT tests--coverage-filterCLI option could not be used multiple timesHow to install or update PHPUnit
v11.2.7: PHPUnit 11.2.7Compare Source
Changed
--prefer-lowestCLI option also get recent versions)Fixed
phpunit.xmlare not handled correctly when--generate-configurationis usedHow to install or update PHPUnit
v11.2.6: PHPUnit 11.2.6Compare Source
Changed
How to install or update PHPUnit
v11.2.5: PHPUnit 11.2.5Compare Source
Changed
array_pop()instead ofarray_shift()for processingTestobjects inTestSuite::run()and optimizeTestSuite::isEmpty()How to install or update PHPUnit
v11.2.4: PHPUnit 11.2.4Compare Source
Changed
TestCaseobjects early that use a data providerHow to install or update PHPUnit
v11.2.3: PHPUnit 11.2.3Compare Source
Changed
debug_backtrace()How to install or update PHPUnit
v11.2.2: PHPUnit 11.2.2Compare Source
Changed
TestCaseobject after its test was runFixed
How to install or update PHPUnit
v11.2.1: PHPUnit 11.2.1Compare Source
Fixed
cacheDirectoryattribute from<coverage>element when migrating from PHPUnit 11.1 to PHPUnit 11.2How to install or update PHPUnit
v11.2.0: PHPUnit 11.2.0Compare Source
Added
#[CoversTrait]and#[UsesTrait]attributesreadonlyclassesassertObjectNotEquals()Deprecated
#[CoversClass]and#[UsesClass]attributesHow to install or update PHPUnit
v11.1.3: PHPUnit 11.1.3Compare Source
Fixed
How to install or update PHPUnit
v11.1.2: PHPUnit 11.1.2Compare Source
Fixed
@testWithannotation may generatePHP Warning: Uninitialized string offset 0#[CoversMethod]attribute is not considered for risky test checkHow to install or update PHPUnit
v11.1.1: PHPUnit 11.1.1Compare Source
Fixed
#[CoversClass]and#[UsesClass]attributes can no longer target traitsHow to install or update PHPUnit
v11.1.0: PHPUnit 11.1.0Compare Source
Added
#[DisableReturnValueGenerationForTestDoubles]attribute for disabling return value generation for test doubles created usingcreateMock(),createMockForIntersectionOfInterfaces(),createPartialMock(),createStub(), andcreateStubForIntersectionOfInterfaces()#[CoversMethod]and#[UsesMethod]attributes for more fine-grained code coverage targeting--filter,--exclude-filter,--group, and--exclude-groupwhen listing tests using--list-testsand--list-tests-xmlas well as listing groups with--list-groups#[CoversClass]and#[UsesClass]attributes--only-summary-for-coverage-textCLI option to reduce the code coverage report in text format to a summary--show-uncovered-for-coverage-textCLI option to expand the code coverage report in text format to include a list of uncovered filesChanged
--generate-configurationnow generates<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">instead of<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">--group,--exclude-group,--covers,--uses, and--test-suffixCLI options to be used multiple timesPHPUnit\Framework\TestCase::__construct()is now annotated to be final in preparation for declaring itfinalin PHPUnit 12DeprecationTriggered,ErrorTriggered,NoticeTriggered,PhpDeprecationTriggered,PhpNoticeTriggered,PhpWarningTriggered, andWarningTriggeredevents are represented as textDeprecated
restrictDeprecationsattribute on the<source>element of the XML configuration file is now deprecated in favor of theignoreSelfDeprecations,ignoreDirectDeprecations, andignoreIndirectDeprecationsattributes--group,--exclude-group,--covers,--uses, and--test-suffixCLI optionsHow to install or update PHPUnit
v11.0.10: PHPUnit 11.0.10Compare Source
Changed
PHPUnitPHARinstead of justPHPUnitfor the PHAR distribution of PHPUnitHow to install or update PHPUnit
v11.0.9: PHPUnit 11.0.9Compare Source
Changed
proc_open()if not really neededFixed
How to install or update PHPUnit
v11.0.8: PHPUnit 11.0.8Compare Source
Fixed
How to install or update PHPUnit
v11.0.7: PHPUnit 11.0.7Compare Source
Changed
Groups::groups()NamePrettifier::prettifyTestMethodName()NamePrettifier::prettifyTestMethodName()once againFixed
How to install or update PHPUnit
v11.0.6: PHPUnit 11.0.6Compare Source
Changed
NamePrettifier::prettifyTestMethodName()NamePrettifier::prettifyTestMethodName()TestRunner::runTestWithTimeout()Telemetry\System::snapshot()ExecutionOrderDependency::getTarget()callNamePrettifier::prettifyTestMethodName()Fixed
assertArrayIsIdenticalToArrayOnlyConsideringListOfKeys()does not correctly handle array order-dCLI option multiple times triggers warningHow to install or update PHPUnit
v11.0.5: PHPUnit 11.0.5Compare Source
Fixed
HRTime::duration()throwsInvalidArgumentException--exclude-filterCLI option does not workHow to install or update PHPUnit
v11.0.4Compare Source
v11.0.3Compare Source
v11.0.2Compare Source
v11.0.1Compare Source
v11.0.0Compare Source
v10.5.35: PHPUnit 10.5.35Compare Source
Changed
E_STRICTconstant in PHP 8.4Fixed
trim()med when it contains$characterHow to install or update PHPUnit
v10.5.34: PHPUnit 10.5.34Compare Source
Fixed
nameproperty on<testsuites>element in JUnit XML logfileCallbackthrows aTypeErrorwhen checking acallablehas variadic parametersHow to install or update PHPUnit
v10.5.33: PHPUnit 10.5.33Compare Source
Fixed
assertJsonStringEqualsJsonString()considers objects with sequential numeric keys equal to be arraysCallbackconstraint does not handle variadic arguments correctly when used for mock object expectations$at the beginning gets truncated when used with a data providerHow to install or update PHPUnit
v10.5.32: PHPUnit 10.5.32Compare Source
Added
failOnPhpunitDeprecationattribute on the<phpunit>element of the XML configuration file and--fail-on-phpunit-deprecationCLI option for controlling whether PHPUnit deprecations should be considered when determining the test runner's shell exit code (default: do not consider)displayDetailsOnPhpunitDeprecationsattribute on the<phpunit>element of the XML configuration file and--display-phpunit-deprecationsCLI option for controlling whether details on PHPUnit deprecations should be displayed (default: do not display)Changed
--fail-on-phpunit-deprecationCLI option or thefailOnPhpunitDeprecation="true"attribute on the<phpunit>element of the XML configuration file.--display-phpunit-deprecationsCLI option or thedisplayDetailsOnPhpunitDeprecationsattribute on the<phpunit>element of the XML configuration file.How to install or update PHPUnit
v10.5.31: PHPUnit 10.5.31Compare Source
Changed
nameproperty on<testsuites>element in JUnit XML logfile.phpstorm.meta.phpfile as methods such asTestCase::createStub()use generics / template types for their return types and PhpStorm, for example, uses that informationFixed
@operatorHow to install or update PHPUnit
v10.5.30: PHPUnit 10.5.30Compare Source
Changed
How to install or update PHPUnit
v10.5.29: PHPUnit 10.5.29Compare Source
Fixed
--list-testsand--list-tests-xmlCLI options do not report error when data provider method throws exceptionHow to install or update PHPUnit
v10.5.28: PHPUnit 10.5.28Compare Source
Fixed
Test\Passedevent is not emitted for PHPT tests--coverage-filterCLI option could not be used multiple timesHow to install or update PHPUnit
v10.5.27: PHPUnit 10.5.27Compare Source
Changed
--prefer-lowestCLI option also get recent versions)Fixed
phpunit.xmlare not handled correctly when--generate-configurationis usedHow to install or update PHPUnit
v10.5.26: PHPUnit 10.5.26Compare Source
Added
--only-summary-for-coverage-textCLI option to reduce the code coverage report in text format to a summary--show-uncovered-for-coverage-textCLI option to expand the code coverage report in text format to include a list of uncovered filesHow to install or update PHPUnit
v10.5.25: PHPUnit 10.5.25Compare Source
Changed
How to install or update PHPUnit
v10.5.24: PHPUnit 10.5.24Compare Source
Changed
array_pop()instead ofarray_shift()for processingTestobjects inTestSuite::run()and optimizeTestSuite::isEmpty()How to install or update PHPUnit
v10.5.23: PHPUnit 10.5.23Compare Source
Changed
TestCaseobjects early that use a data providerHow to install or update PHPUnit
v10.5.22: PHPUnit 10.5.22Compare Source
Changed
debug_backtrace()How to install or update PHPUnit
v10.5.21: PHPUnit 10.5.21Compare Source
Changed
TestCaseobject after its test was runHow to install or update PHPUnit
v10.5.20: PHPUnit 10.5.20Compare Source
How to install or update PHPUnit
v10.5.19: PHPUnit 10.5.19Compare Source
Fixed
method()on a test stub created usingcreateStubForIntersectionOfInterfaces()throws an unexpected exceptionHow to install or update PHPUnit
v10.5.18: PHPUnit 10.5.18Compare Source
Deprecated
Fixed
@testWithannotation may generatePHP Warning: Uninitialized string offset 0How to install or update PHPUnit
v10.5.17: PHPUnit 10.5.17Compare Source
Changed
PHPUnitPHARinstead of justPHPUnitfor the PHAR distribution of PHPUnitHow to install or update PHPUnit
v10.5.16: PHPUnit 10.5.16Compare Source
Changed
proc_open()if not really neededFixed
How to install or update PHPUnit
v10.5.15: PHPUnit 10.5.15Compare Source
Fixed
How to install or update PHPUnit
v10.5.14: PHPUnit 10.5.14Compare Source
Changed
Groups::groups()NamePrettifier::prettifyTestMethodName()NamePrettifier::prettifyTestMethodName()once againFixed
How to install or update PHPUnit
v10.5.13: PHPUnit 10.5.13Compare Source
Changed
NamePrettifier::prettifyTestMethodName()NamePrettifier::prettifyTestMethodName()TestRunner::runTestWithTimeout()Telemetry\System::snapshot()ExecutionOrderDependency::getTarget()callNamePrettifier::prettifyTestMethodName()Fixed
-dCLI option multiple times triggers warningHow to install or update PHPUnit
v10.5.12: PHPUnit 10.5.12Compare Source
Fixed
HRTime::duration()throwsInvalidArgumentExceptionHow to install or update PHPUnit
v10.5.11Compare Source
v10.5.10Compare Source
v10.5.9Compare Source
v10.5.8Compare Source
v10.5.7Compare Source
v10.5.6Compare Source
v10.5.5Compare Source
v10.5.4Compare Source
v10.5.3Compare Source
v10.5.2Compare Source
v10.5.1Compare Source
v10.5.0Compare Source
v10.4.2Compare Source
v10.4.1Compare Source
v10.4.0Compare Source
v10.3.5Compare Source
v10.3.4Compare Source
v10.3.3Compare Source
v10.3.2Compare Source
v10.3.1Compare Source
v10.3.0Compare Source
v10.2.7Compare Source
v10.2.6Compare Source
v10.2.5Compare Source
v10.2.4Compare Source
v10.2.3Compare Source
v10.2.2Compare Source
v10.2.1Compare Source
v10.2.0Compare Source
v10.1.3Compare Source
v10.1.2Compare Source
v10.1.1Compare Source
v10.1.0Compare Source
v10.0.19Compare Source
v10.0.18Compare Source
v10.0.17Compare Source
v10.0.16Compare Source
v10.0.15Compare Source
v10.0.14Compare Source
v10.0.13Compare Source
v10.0.12Compare Source
v10.0.11Compare Source
v10.0.10Compare Source
v10.0.9Compare Source
v10.0.8Compare Source
v10.0.7Compare Source
v10.0.6Compare Source
v10.0.5Compare Source
v10.0.4Compare Source
v10.0.3Compare Source
v10.0.2Compare Source
v10.0.1Compare Source
v10.0.0Compare Source
v9.6.21: PHPUnit 9.6.21Compare Source
Changed
E_STRICTconstant in PHP 8.4.phpstorm.meta.phpfile as methods such asTestCase::createStub()use generics / template types for their return types and PhpStorm, for example, uses that informationHow to install or update PHPUnit
v9.6.20: PHPUnit 9.6.20Compare Source
Changed
--prefer-lowestCLI option also get recent versions)How to install or update PHPUnit
v9.6.19: PHPUnit 9.6.19Compare Source
Changed
PHPUnitPHARinstead of justPHPUnitfor the PHAR distribution of PHPUnitHow to install or update PHPUnit
v9.6.18: PHPUnit 9.6.18Compare Source
Changed
How to install or update PHPUnit
v9.6.17Compare Source
v9.6.16Compare Source
v9.6.15Compare Source
v9.6.14Compare Source
v9.6.13Compare Source
v9.6.12Compare Source
v9.6.11Compare Source
v9.6.10Compare Source
v9.6.9Compare Source
v9.6.8Compare Source
v9.6.7Compare Source
v9.6.6Compare Source
v9.6.5Compare Source
v9.6.4Compare Source
v9.6.3Compare Source
v9.6.2Compare Source
v9.6.1Compare Source
v9.6.0Compare Source
v9.5.28Compare Source
v9.5.27Compare Source
v9.5.26Compare Source
v9.5.25Compare Source
v9.5.24Compare Source
v9.5.23Compare Source
v9.5.22Compare Source
v9.5.21Compare Source
v9.5.20Compare Source
v9.5.19Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.