ChangeLog-13.1.md
All notable changes of the PHPUnit 13.1 release series are documented in this file using the Keep a CHANGELOG principles.
testStarted and testFinishedassertArrays*IgnoringOrder() fails on mixed scalar types and on reordered nested associative arraysMockBuilder::setMockClassName() and TestStubBuilder::setStubClassName() now reject values that are not valid unqualified PHP class identifiers, throwing the new InvalidClassNameExceptionGenerator::ensureValidMethods() to validate method names passed to MockBuilder::onlyMethods() and addMethods() was not anchored, so any string containing a valid identifier substring (including strings with parentheses, braces, comments, or newlines) was acceptedLIBXML_NONET when parsing/validating XML configuration files to make explicit that no network I/O is performed; and " are not preserved when forwarding settings to child processes-d settings are not forwarded to child processes for process isolationRequiresPhp (e.g. <=8.5) is compared against full PHP version, causing unexpected skipsdataSetAsStringWithData() raises "float is not representable as int" warning for large floats in data setsDefaultJobRunner deadlocks on child processes that write large amounts of stderr output$_SERVER entries leak from parent into child processfailOnEmptyTestSuite="false" in phpunit.xml is ignored when --group/--filter/--testsuite matches no tests--random-order-seed is used when test execution order is not random--filter does not work when filter string starts with #TestSuiteSkipped event--filter, --group, --testsuite) yields no teststearDown() and handler restoration, causing subsequent tests to be marked as riskyexit was called from some testcolors="true" in XML configuration file does not unconditionally enable colored output--migrate-configuration does not update schema location when XML content already validates against current schemawillReturnCallback() is silently swallowed when code under test catches exceptionsset_include_path()TestDoubleBuilder method chainingincludeInCodeCoverage attribute for <directory> and <file> children of <source>#[Group] information in Open Test Reporting (OTR) XML logfile#[DataProviderClosure] for static closures<issueTriggerResolvers> in the XML configuration file%r...%r in EXPECTF sectionoutputDirectory attribute, allowing the output directory to be specified later with the --coverage-html CLI optionStringMatchesFormatDescription constraint which is used by assertFileMatchesFormat(), assertFileMatchesFormatFile(), assertStringMatchesFormat(), assertStringMatchesFormatFile(), and EXPECTF sections of PHPT test filesPHPUnit\Runner\Extension\Facade from a concrete class to an interface and introduced an internal ExtensionFacade implementation, so that extensions only depend on the Facade interface while PHPUnit internally uses the ExtensionFacade class that also provides query methods--log-events-verbose-text <file> CLI optionid() and after() for mock object expectationsFILE_EXTERNAL breaks __DIR__TestSuiteLoader is brittle and causes "Class FooTest not found" even for valid tests in valid filenames