Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/phpunit
PHPUnit 13.1.8
Immutable
release. Only release title and notes can be modified.
Fixed
- #6595: Crash when before-class or after-class method fails with assertion failure
- #6599: TeamCity logger does not wrap failures in before-test methods with
testStartedandtestFinished - #6601: Anonymous classes are not rejected with a clear error when creating a test double
- #6603:
assertArrays*IgnoringOrder()fails on mixed scalar types and on reordered nested associative arrays MockBuilder::setMockClassName()andTestStubBuilder::setStubClassName()now reject values that are not valid unqualified PHP class identifiers, throwing the newInvalidClassNameException- The regular expression used by
Generator::ensureValidMethods()to validate method names passed toMockBuilder::onlyMethods()andaddMethods()was not anchored, so any string containing a valid identifier substring (including strings with parentheses, braces, comments, or newlines) was accepted
Learn how to install or update PHPUnit 13.1 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 12.5.24
Immutable
release. Only release title and notes can be modified.
Added
- #6596: Backport
TestCase::invokeTestMethod()method for customizing test method invocation from PHPUnit 13
Fixed
- #6595: Crash when before-class or after-class method fails with assertion failure
- #6599: TeamCity logger does not wrap failures in before-test methods with
testStartedandtestFinished - #6601: Anonymous classes are not rejected with a clear error when creating a test double
MockBuilder::setMockClassName()andTestStubBuilder::setStubClassName()now reject values that are not valid unqualified PHP class identifiers, throwing the newInvalidClassNameException- The regular expression used by
Generator::ensureValidMethods()to validate method names passed toMockBuilder::onlyMethods()andaddMethods()was not anchored, so any string containing a valid identifier substring (including strings with parentheses, braces, comments, or newlines) was accepted
Learn how to install or update PHPUnit 12.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 13.1.7
Immutable
release. Only release title and notes can be modified.
Changed
- Pass
LIBXML_NONETwhen parsing/validating XML configuration files to make explicit that no network I/O is performed - Verify the result file written by an isolated child process with a random nonce before deserializing it
Learn how to install or update PHPUnit 13.1 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 12.5.23
Immutable
release. Only release title and notes can be modified.
Changed
- Pass
LIBXML_NONETwhen parsing/validating XML configuration files to make explicit that no network I/O is performed - Verify the result file written by an isolated child process with a random nonce before deserializing it
Learn how to install or update PHPUnit 12.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 13.1.6
Immutable
release. Only release title and notes can be modified.
Fixed
- #6590: Silent failure when configuration file is invalid
- #6592: INI metacharacters
;and"are not preserved when forwarding settings to child processes
Learn how to install or update PHPUnit 13.1 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 12.5.22
Immutable
release. Only release title and notes can be modified.
Fixed
- #6590: Silent failure when configuration file is invalid
- #6592: INI metacharacters
;and"are not preserved when forwarding settings to child processes
Learn how to install or update PHPUnit 12.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 13.1.5
Immutable
release. Only release title and notes can be modified.
Fixed
- #5860: PHP CLI
-dsettings are not forwarded to child processes for process isolation - #6451: Incomplete version in
RequiresPhp(e.g.<=8.5) is compared against full PHP version, causing unexpected skips - #6589:
dataSetAsStringWithData()raises "float is not representable as int" warning for large floats in data sets
Learn how to install or update PHPUnit 13.1 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 12.5.21
Immutable
release. Only release title and notes can be modified.
Fixed
- #5860: PHP CLI
-dsettings are not forwarded to child processes for process isolation - #6451: Incomplete version in
RequiresPhp(e.g.<=8.5) is compared against full PHP version, causing unexpected skips
Learn how to install or update PHPUnit 12.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 13.1.4
Immutable
release. Only release title and notes can be modified.
Fixed
- #5993:
DefaultJobRunnerdeadlocks on child processes that write large amounts of stderr output - #6465: SAPI-populated
$_SERVERentries leak from parent into child process - #6587:
failOnEmptyTestSuite="false"inphpunit.xmlis ignored when--group/--filter/--testsuitematches no tests - #6588: Order of issue baseline entries is not canonicalized
Learn how to install or update PHPUnit 13.1 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 12.5.20
Immutable
release. Only release title and notes can be modified.
Fixed
- #5993:
DefaultJobRunnerdeadlocks on child processes that write large amounts of stderr output - #6465: SAPI-populated
$_SERVERentries leak from parent into child process - #6587:
failOnEmptyTestSuite="false"inphpunit.xmlis ignored when--group/--filter/--testsuitematches no tests - #6588: Order of issue baseline entries is not canonicalized
Learn how to install or update PHPUnit 12.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.