Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/phpunit
PHPUnit 11.5.48
Immutable
release. Only release title and notes can be modified.
Changed
- Reverted a change that caused a build failure for the PHP project's nightly community job
Learn how to install or update PHPUnit 11.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 12.5.5
Immutable
release. Only release title and notes can be modified.
Deprecated
- #6461:
any()matcher (soft deprecation)
Fixed
- #6470: Mocking a class with a property hook setter accepting more types than the property results in a fatal error
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 11.5.47
Immutable
release. Only release title and notes can be modified.
Fixed
- #6470: Mocking a class with a property hook setter accepting more types than the property results in a fatal error
Learn how to install or update PHPUnit 11.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 12.5.4
Immutable
release. Only release title and notes can be modified.
Changed
- The
#[AllowMockObjectsWithoutExpectations]attribute can now be used on the method level
Fixed
- #6446: Test runner crashes with
Timer::start() has to be called before Timer::stop()
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 12.5.3
Immutable
release. Only release title and notes can be modified.
Changed
- The message emitted when a test method creates a mock object but does not configure any expectations for it has been improved
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 12.5.2
Immutable
release. Only release title and notes can be modified.
Added
- Attribute
#[AllowMockObjectsWithoutExpectations]for excluding tests from the check that emits the notice for test methods that create a mock object but do not configure an expectation for 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 12.5.1
Immutable
release. Only release title and notes can be modified.
Added
TestCase::getStubBuilder()(analogous toTestCase::getMockBuilder()) for creating (partial) test stubs using a fluent API
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 11.5.46
Immutable
release. Only release title and notes can be modified.
- No changes;
phpunit.pharrebuilt with PHP 8.4 to work around PHP-Scoper issue #1139
Learn how to install or update PHPUnit 11.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 10.5.60
Immutable
release. Only release title and notes can be modified.
- No changes;
phpunit.pharrebuilt with PHP 8.4 to work around PHP-Scoper issue #1139
Learn how to install or update PHPUnit 10.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 9.6.31
Immutable
release. Only release title and notes can be modified.
- No changes;
phpunit.pharrebuilt with PHP 8.4 to work around PHP-Scoper issue #1139
Learn how to install or update PHPUnit 9.6 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.