-
-
Notifications
You must be signed in to change notification settings - Fork 0
deps(deps): update dependency phpunit/phpunit to v11 #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: composer.lock |
e101e2d to
9d1cce6
Compare
|
11dabe9 to
e6956bc
Compare
8d1fee8 to
7a6dc22
Compare
7a6dc22 to
9d69636
Compare
2b7d32a to
2eac3c7
Compare
2eac3c7 to
d118f1f
Compare
61a42b2 to
61b6f49
Compare
33104fc to
d3067ad
Compare
e0eca3d to
f0aa233
Compare
f0aa233 to
627d1b5
Compare
627d1b5 to
60434d0
Compare
60434d0 to
0206492
Compare
bb79e89 to
4bcdc78
Compare
dfcba02 to
185eb5b
Compare
68ecb35 to
7a745a0
Compare
7a745a0 to
da7a51c
Compare
da7a51c to
3e7fbd6
Compare
3e7fbd6 to
dfe00a3
Compare
dfe00a3 to
c484616
Compare
faad205 to
b5498e9
Compare
28d915d to
b1e2d9a
Compare
d5a837f to
ff141a9
Compare
ff141a9 to
4a51660
Compare
6c2c86c to
ee9b561
Compare
861dea2 to
68d0317
Compare
c144306 to
cc29e21
Compare
84232d9 to
dd4ed59
Compare
eb299d3 to
9dd7340
Compare
9dd7340 to
171522f
Compare
This PR contains the following updates:
^10.5 || 11.0->^10.5 || 11.0 || 11.5.43Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
v11.5.43: PHPUnit 11.5.43Compare Source
Changed
Fixed
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.42: PHPUnit 11.5.42Compare Source
Fixed
failOnPhpunitWarning="false"has no effectLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.41: PHPUnit 11.5.41Compare Source
phpunit.pharrebuilt with updated dependenciesLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.40: PHPUnit 11.5.40Compare Source
phpunit.pharrebuilt with updated dependenciesLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.39: PHPUnit 11.5.39Compare Source
Changed
__sleep()and__wakeup()from test double code generation on PHP >= 8.5Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.38: PHPUnit 11.5.38Compare Source
Changed
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.37: PHPUnit 11.5.37Compare Source
Changed
__sleep()method (which will be deprecated in PHP 8.5)Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.36: PHPUnit 11.5.36Compare Source
Fixed
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.35: PHPUnit 11.5.35Compare Source
Changed
#[IgnorePhpunitDeprecations]is now considered for test runner deprecations (where applicable)Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.34Compare Source
v11.5.33: PHPUnit 11.5.33Compare Source
Changed
error_reporting=E_ALLfor--check-php-configurationFixed
expectUserDeprecationMessage*()fails when test is run in separate processLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.32: PHPUnit 11.5.32Compare Source
Changed
--check-php-configurationFixed
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.31: PHPUnit 11.5.31Compare Source
Fixed
#[IgnorePhpunitDeprecations]is now considered for test runner deprecations" from PHPUnit 11.5.29)Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.30: PHPUnit 11.5.30Compare Source
Changed
testSplObjectStoragemethods that will be deprecated in PHP 8.5Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.29: PHPUnit 11.5.29Compare Source
Added
--check-php-configurationCLI option for checking whether PHP is configured for testingChanged
#[IgnorePhpunitDeprecations]is now considered for test runner deprecations (where applicable)Fixed
#[TestWith]or#[TestWithJson]attributes are now properly reportedDataProviderMethodFinishedevent is now also emitted when the provided data set has an invalid keyLearn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
v11.5.28: PHPUnit 11.5.28Compare Source
Fixed
fileattribute of<testClass>node of XML test list can be wrongHow to install or update PHPUnit
v11.5.27: PHPUnit 11.5.27Compare Source
Fixed
defects,randomconfiguration is supported by implementation, but it is not allowed by the XML configuration file schematestprefixHow to install or update PHPUnit
v11.5.26: PHPUnit 11.5.26Compare Source
Fixed
@no-named-argumentsleads to static analysis errors for variadic argumentsHow to install or update PHPUnit
v11.5.25: PHPUnit 11.5.25Compare Source
Fixed
<testsuite>element is missing requirednameattributeHow to install or update PHPUnit
v11.5.24: PHPUnit 11.5.24Compare Source
Added
failOnPhpunitWarningattribute on the<phpunit>element of the XML configuration file and--fail-on-phpunit-warningCLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default:true)--do-not-fail-on-deprecation,--do-not-fail-on-phpunit-warning,--do-not-fail-on-phpunit-deprecation,--do-not-fail-on-empty-test-suite,--do-not-fail-on-incomplete,--do-not-fail-on-notice,--do-not-fail-on-risky,--do-not-fail-on-skipped, and--do-not-fail-on-warningCLI options--do-not-report-useless-testsCLI option as a replacement for--dont-report-useless-testsDeprecated
--dont-report-useless-testsCLI option (use--do-not-report-useless-testsinstead)Fixed
ExpectationFailedExceptionHow to install or update PHPUnit
v11.5.23: PHPUnit 11.5.23Compare Source
Fixed
shortenArraysForExportThresholdXML configuration setting has no effect on all arrays exported for event-related value objectsHow to install or update PHPUnit
v11.5.22: PHPUnit 11.5.22Compare Source
Changed
How to install or update PHPUnit
v11.5.21: PHPUnit 11.5.21Compare Source
Changed
createStubForIntersectionOfInterfaces()is called with a classHow to install or update PHPUnit
v11.5.20: PHPUnit 11.5.20Compare Source
Fixed
assertEmpty()andassertNotEmpty()use overly restrictivephpstan-assert emptydirectivesHow to install or update PHPUnit
v11.5.19: PHPUnit 11.5.19Compare Source
Added
displayDetailsOnAllIssuesattribute on the<phpunit>element of the XML configuration file and--display-all-issuesCLI option for controlling whether PHPUnit should display details on all issues that are triggered (default:false)failOnAllIssuesattribute on the<phpunit>element of the XML configuration file and--fail-on-all-issuesCLI option for controlling whether PHPUnit should fail on all issues that are triggered (default:false)Changed
E_STRICTconstantFixed
%aand%Amatches are not ignored from diff whenEXPECTFfailsHow to install or update PHPUnit
v11.5.18: PHPUnit 11.5.18Compare Source
Changed
memory_get_peak_usage()is now reset immediately before theTest\Preparedevent is emitted usingmemory_reset_peak_usage()so that (memory usage atTest\Finished- memory usage atTest\Prepared) is a better approximation of the memory usage of the testTelemetry\Infonow uses peak memory usage instead of memory usage (this affects--log-events-verbose-text)Fixed
How to install or update PHPUnit
v11.5.17: PHPUnit 11.5.17Compare Source
Fixed
How to install or update PHPUnit
v11.5.16: PHPUnit 11.5.16Compare Source
Fixed
willReturnMap()fails with nullable parameters when their default isnulland no argument is passed for themHow to install or update PHPUnit
v11.5.15: PHPUnit 11.5.15Compare Source
Changed
How to install or update PHPUnit
v11.5.14: PHPUnit 11.5.14Compare Source
Changed
How to install or update PHPUnit
v11.5.13: PHPUnit 11.5.13Compare Source
Changed
How to install or update PHPUnit
v11.5.12: PHPUnit 11.5.12Compare Source
Fixed
How to install or update PHPUnit
v11.5.11: PHPUnit 11.5.11Compare Source
Fixed
$expectedand$actualare mixed up in failure description whenassertJsonFileEqualsJsonFile()failsHow to install or update PHPUnit
v11.5.10: PHPUnit 11.5.10Compare Source
Fixed
How to install or update PHPUnit
v11.5.9: PHPUnit 11.5.9Compare Source
Fixed
How to install or update PHPUnit
v11.5.8: PHPUnit 11.5.8Compare Source
Fixed
Test\PreparationFailedevent is now emitted in addition to aTest\Erroredevent when an unexpected exception is triggered in a before-test methodTest\Passedevent is no longer emitted in addition to aTest\FailedorTest\Erroredevent when an assertion failure or an unexpected exception is triggered in an after-test methodTestSuite\Finishedevent is now emitted when a before-first-test method errorsHow to install or update PHPUnit
v11.5.7: PHPUnit 11.5.7Compare Source
Changed
includeUncoveredFilesconfiguration option is no longer deprecated--debugoutputHow to install or update PHPUnit
v11.5.6: PHPUnit 11.5.6Compare Source
Changed
SourceMapperFixed
stringcannot be used in customized TestDox outputHow to install or update PHPUnit
v11.5.5: PHPUnit 11.5.5Compare Source
Changed
How to install or update PHPUnit
v11.5.4: PHPUnit 11.5.4Compare Source
Changed
#[CoversTrait]and#[UsesTrait]attributes is no longer deprecated#[CoversMethod]and#[UsesMethod]attributes is no longer deprecatedFixed
SourceMapperto scan all<source/>filesHow to install or update PHPUnit
v11.5.3: PHPUnit 11.5.3Compare Source
Added
Test\AfterLastTestMethodErrored,Test\AfterTestMethodErrored,Test\BeforeTestMethodErrored,Test\PostConditionErrored, andTest\PreConditionErroredeventsFixed
--list-tests-xmlis broken when a group with a numeric name is definedsystem-outelement in JUnit XML logfileHow to install or update PHPUnit
v11.5.2: PHPUnit 11.5.2Compare Source
Fixed
assertArrayHasKey(),assertArrayNotHasKey(),arrayHasKey(), andArrayHasKey::__construct()do not support all possible key types--migrate-configurationdoes not removebeStrictAboutTodoAnnotatedTestsattribute from XML configuration fileHow to install or update PHPUnit
v11.5.1: PHPUnit 11.5.1Compare Source
Added
DefaultResultCache::mergeWith()for merging result cache instancesFixed
How to install or update PHPUnit
v11.5.0: PHPUnit 11.5.0Compare Source
Added
assertContainsNotOnlyInstancesOf()in thePHPUnit\Framework\Assertclass as the inverse of theassertContainsOnlyInstancesOf()methodassertContainsOnlyArray(),assertContainsOnlyBool(),assertContainsOnlyCallable(),assertContainsOnlyFloat(),assertContainsOnlyInt(),assertContainsOnlyIterable(),assertContainsOnlyNull(),assertContainsOnlyNumeric(),assertContainsOnlyObject(),assertContainsOnlyResource(),assertContainsOnlyClosedResource(),assertContainsOnlyScalar(), andassertContainsOnlyString()in thePHPUnit\Framework\Assertclass as specialized alternatives for the genericassertContainsOnly()methodassertContainsNotOnlyArray(),assertContainsNotOnlyBool(),assertContainsNotOnlyCallable(),assertContainsNotOnlyFloat(),assertContainsNotOnlyInt(),assertContainsNotOnlyIterable(),assertContainsNotOnlyNull(),assertContainsNotOnlyNumeric(),assertContainsNotOnlyObject(),assertContainsNotOnlyResource(),assertContainsNotOnlyClosedResource(),assertContainsNotOnlyScalar(), andassertContainsNotOnlyString()in thePHPUnit\Framework\Assertclass as specialized alternatives for the genericassertNotContainsOnly()methodcontainsOnlyArray(),containsOnlyBool(),containsOnlyCallable(),containsOnlyFloat(),containsOnlyInt(),containsOnlyIterable(),containsOnlyNull(),containsOnlyNumeric(),containsOnlyObject(),containsOnlyResource(),containsOnlyClosedResource(),containsOnlyScalar(), andcontainsOnlyString()in thePHPUnit\Framework\Assertclass as specialized alternatives for the genericcontainsOnly()methodisArray(),isBool(),isCallable(),isFloat(),isInt(),isIterable(),isNumeric(),isObject(),isResource(),isClosedResource(),isScalar(),isString()in thePHPUnit\Framework\Assertclass as specialized alternatives for the genericisType()methodTestRunner\ChildProcessStartedandTestRunner\ChildProcessFinishedeventsChanged
SKIPIFsection of PHPT test in separate process when it is free of side effectsCLEANsection of PHPT test in separate process when it is free of side effects that modify the parent processDeprecated
isType()(useisArray(),isBool(),isCallable(),isFloat(),isInt(),isIterable(),isNull(),isNumeric(),isObject(),isResource(),isClosedResource(),isScalar(), orisString()instead)assertContainsOnly()(useassertContainsOnlyArray(),assertContainsOnlyBool(),assertContainsOnlyCallable(),assertContainsOnlyFloat(),assertContainsOnlyInt(),assertContainsOnlyIterable(),assertContainsOnlyNumeric(),assertContainsOnlyObject(),assertContainsOnlyResource(),assertContainsOnlyClosedResource(),assertContainsOnlyScalar(), orassertContainsOnlyString()instead)assertNotContainsOnly()(useassertContainsNotOnlyArray(),assertContainsNotOnlyBool(),assertContainsNotOnlyCallable(),assertContainsNotOnlyFloat(),assertContainsNotOnlyInt(),assertContainsNotOnlyIterable(),assertContainsNotOnlyNumeric(),assertContainsNotOnlyObject(),assertContainsNotOnlyResource(),assertContainsNotOnlyClosedResource(),assertContainsNotOnlyScalar(), orassertContainsNotOnlyString()instead)containsOnly()(usecontainsOnlyArray(),containsOnlyBool(),containsOnlyCallable(),containsOnlyFloat(),containsOnlyInt(),containsOnlyIterable(),containsOnlyNumeric(),containsOnlyObject(),containsOnlyResource(),containsOnlyClosedResource(),containsOnlyScalar(), orcontainsOnlyString()instead)How to install or update PHPUnit
v11.4.4: PHPUnit 11.4.4Compare Source
Fixed
ignoreIndirectDeprecations=truesuppresses deprecations triggered in test codeHow to install or update PHPUnit
v11.4.3: PHPUnit 11.4.3Compare Source
Changed
assertGreaterThan(),assertGreaterThanOrEqual(),assertLessThan(), andassertLessThanOrEqual()Fixed
How to install or update PHPUnit
v11.4.2: PHPUnit 11.4.2Compare Source
Changed
Fixed
How to install or update PHPUnit
v11.4.1: PHPUnit 11.4.1Compare Source
Changed
StringMatchesFormatDescriptionconstraint to be consistent with PHP'srun-tests.phpFixed
E_DEPRECATEDissuesHow to install or update PHPUnit
v11.4.0: PHPUnit 11.4.0Compare Source
Changed
#[RequiresPhpunitExtension]attributevendor/phpunit/phpunit/phpunit.xsd(instead ofhttps://schema.phpunit.de/X.Y/phpunit.xsd) when PHPUnit was installed using Composer andphpunit --generate-configurationwas invoked in the directory wherevendoris located--migrate-configurationcommand no longer replacesvendor/phpunit/phpunit/phpunit.xsdwithhttps://schema.phpunit.de/X.Y/phpunit.xsd--list-groupsnow shows how many tests a group contains--list-suitesnow shows how many tests a test suite containsDeprecated
includeUncoveredFilesconfiguration option#[CoversTrait]and#[UsesTrait]attributes#[CoversMethod]and#[UsesMethod]attributes (and respective annotations)How to install or update 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.2[Compare Source](https://redir
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.