Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/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.
PHPUnit 8.5.50
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 8.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.0
Immutable
release. Only release title and notes can be modified.
Added
- #6376:
--allCLI option to ignore test selection configured in XML configuration file - #6422: Make
<source>element in XML code coverage report optional
Changed
- #6380: Allow
ThrowableinexpectExceptionObject() - A PHPUnit notice is now emitted 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.4.5
Immutable
release. Only release title and notes can be modified.
Changed
- Updated list of deprecated PHP configuration settings for PHP 8.4, PHP 8.5, and PHP 8.6
Fixed
- #6426: Fix migration of configuration without schema location
Learn how to install or update PHPUnit 12.4 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.