Update dependency phpunit/phpunit to v11.5.42 #2

Merged
matt merged 1 commit from renovate/phpunit-phpunit-11.x-lockfile into main 2025-10-10 08:50:45 -04:00
matt commented 2025-10-10 01:14:34 -04:00 (Migrated from gitlab.goober.cloud)

This MR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) 11.4.3 -> 11.5.42 age confidence

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v11.5.42: PHPUnit 11.5.42

Compare Source

Fixed
  • #​6368: failOnPhpunitWarning="false" has no effect

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.41: PHPUnit 11.5.41

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.40: PHPUnit 11.5.40

Compare Source

  • No changes; phpunit.phar rebuilt with updated dependencies

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.39: PHPUnit 11.5.39

Compare Source

Changed
  • #​6366: Exclude __sleep() and __wakeup() from test double code generation on PHP >= 8.5

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.38: PHPUnit 11.5.38

Compare Source

Changed
  • #​6353: Disable performance optimization for tests requiring Xdebug

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.37: PHPUnit 11.5.37

Compare Source

Changed
  • Do not use __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.36

Compare Source

Fixed
  • #​6340: Implicitly enabled display of deprecation details is not disabled when it should be

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.35: PHPUnit 11.5.35

Compare 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.34

Compare Source

v11.5.33: PHPUnit 11.5.33

Compare Source

Changed
  • #​6321: Allow error_reporting=E_ALL for --check-php-configuration
Fixed
  • #​5863: TestDox printer does not show previous exception
  • #​6102: expectUserDeprecationMessage*() fails when test is run in separate process

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.32: PHPUnit 11.5.32

Compare Source

Changed
  • #​6308: Improve output of --check-php-configuration
  • The version number for the test result cache file has been incremented to reflect that its structure for PHPUnit 11.5 is not compatible with its structure for PHPUnit 8.5 and PHPUnit 9.6
Fixed
  • #​6281: Exceptions raised in after-test method are not reported for skipped tests

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.31: PHPUnit 11.5.31

Compare Source

Fixed
  • #​6304: PHPUnit 11.5.29 hangs when a test runner deprecation is triggered and process isolation is used (this reverts "#[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.30

Compare Source

Changed
  • #​6300: Emit warning when the name of a data provider method begins with test
  • Do not use SplObjectStorage methods that 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.29: PHPUnit 11.5.29

Compare Source

Added
  • #​6297: --check-php-configuration CLI option for checking whether PHP is configured for testing
Changed
  • #[IgnorePhpunitDeprecations] is now considered for test runner deprecations (where applicable)
Fixed
  • #​6160: Baseline file in a subdirectory contains absolute paths
  • Errors due to invalid data provided using #[TestWith] or #[TestWithJson] attributes are now properly reported
  • The DataProviderMethodFinished event is now also emitted when the provided data set has an invalid key

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

v11.5.28: PHPUnit 11.5.28

Compare Source

Fixed
  • #​6097: The file attribute of <testClass> node of XML test list can be wrong

How to install or update PHPUnit

v11.5.27: PHPUnit 11.5.27

Compare Source

Fixed
  • #​6254: defects,randomconfiguration is supported by implementation, but it is not allowed by the XML configuration file schema
  • #​6259: Order of tests which use data from data providers is not affected by test sorting
  • #​6266: Superfluous whitespace in TestDox output when test method name has a number after the test prefix

How to install or update PHPUnit

v11.5.26: PHPUnit 11.5.26

Compare Source

Fixed
  • #​6104: Test with dependencies and data provider fails
  • #​6163: @no-named-arguments leads to static analysis errors for variadic arguments

How to install or update PHPUnit

v11.5.25: PHPUnit 11.5.25

Compare Source

Fixed
  • #​6249: No meaningful error when <testsuite> element is missing required name attribute

How to install or update PHPUnit

v11.5.24: PHPUnit 11.5.24

Compare Source

Added
  • #​6236: failOnPhpunitWarning attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-warning CLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default: true)
  • #​6239: --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-warning CLI options
  • --do-not-report-useless-tests CLI option as a replacement for --dont-report-useless-tests
Deprecated
  • --dont-report-useless-tests CLI option (use --do-not-report-useless-tests instead)
Fixed
  • #​6243: Constraints cannot be implemented without using internal class ExpectationFailedException

How to install or update PHPUnit

v11.5.23: PHPUnit 11.5.23

Compare Source

Fixed
  • #​6222: Data Provider seems to mess up Test Dependencies
  • shortenArraysForExportThreshold XML configuration setting has no effect on all arrays exported for event-related value objects

How to install or update PHPUnit

v11.5.22: PHPUnit 11.5.22

Compare Source

Changed
  • Do not treat warnings differently than other issues in summary section of default output

How to install or update PHPUnit

v11.5.21: PHPUnit 11.5.21

Compare Source

Changed
  • #​6210: Set default Clover coverage project name
  • #​6217: Improve the error message when createStubForIntersectionOfInterfaces() is called with a class

How to install or update PHPUnit

v11.5.20: PHPUnit 11.5.20

Compare Source

Fixed
  • #​6199: assertEmpty() and assertNotEmpty() use overly restrictive phpstan-assert empty directives
  • #​6192: Reverted change made in PHPUnit 11.5.19 due to regression

How to install or update PHPUnit

v11.5.19: PHPUnit 11.5.19

Compare Source

Added
  • displayDetailsOnAllIssues attribute on the <phpunit> element of the XML configuration file and --display-all-issues CLI option for controlling whether PHPUnit should display details on all issues that are triggered (default: false)
  • failOnAllIssues attribute on the <phpunit> element of the XML configuration file and --fail-on-all-issues CLI option for controlling whether PHPUnit should fail on all issues that are triggered (default: false)
Changed
  • #​5956: Improved handling of deprecated E_STRICT constant
Fixed
  • #​6192: Positive %a and %A matches are not ignored from diff when EXPECTF fails

How to install or update PHPUnit

v11.5.18: PHPUnit 11.5.18

Compare Source

Changed
  • When gathering the telemetry information that each event has, the real size of memory allocated from the operating system is no longer used as this is grown by PHP's memory manager in chunks that are so large that small(er) increases in peak memory usage cannot be seen
  • The peak memory usage returned by memory_get_peak_usage() is now reset immediately before the Test\Prepared event is emitted using memory_reset_peak_usage() so that (memory usage at Test\Finished - memory usage at Test\Prepared) is a better approximation of the memory usage of the test
  • The string representation of Telemetry\Info now uses peak memory usage instead of memory usage (this affects --log-events-verbose-text)
Fixed
  • A "Before Test Method Errored" event is no longer emitted when a test is skipped in a "before test" method

How to install or update PHPUnit

v11.5.17: PHPUnit 11.5.17

Compare Source

Fixed
  • #​6104: Reverted change introduced in PHPUnit 11.5.16

How to install or update PHPUnit

v11.5.16: PHPUnit 11.5.16

Compare Source

Fixed
  • #​6104: Test with dependencies and data provider fails
  • #​6174: willReturnMap() fails with nullable parameters when their default is null and no argument is passed for them

How to install or update PHPUnit

v11.5.15: PHPUnit 11.5.15

Compare Source

Changed
  • #​6150: Reverted change introduced in PHPUnit 11.5.13

How to install or update PHPUnit

v11.5.14: PHPUnit 11.5.14

Compare Source

Changed
  • Updated dependencies for PHAR distribution

How to install or update PHPUnit

v11.5.13: PHPUnit 11.5.13

Compare Source

Changed
  • #​6150: Trigger warning when code coverage analysis is performed and no cache directory is configured

How to install or update PHPUnit

v11.5.12: PHPUnit 11.5.12

Compare Source

Fixed
  • #​5976: TestDox result printer does not display details about errors triggered in before-first-test and after-last-test methods

How to install or update PHPUnit

v11.5.11: PHPUnit 11.5.11

Compare Source

Fixed
  • #​6142: $expected and $actual are mixed up in failure description when assertJsonFileEqualsJsonFile() fails

How to install or update PHPUnit

v11.5.10: PHPUnit 11.5.10

Compare Source

Fixed
  • #​6138: Test with failed expectation on value passed to mocked method is incorrectly considered risky

How to install or update PHPUnit

v11.5.9: PHPUnit 11.5.9

Compare Source

Fixed
  • #​6134: Missing event when child process ends unexpectedly

How to install or update PHPUnit

v11.5.8: PHPUnit 11.5.8

Compare Source

Fixed
  • A Test\PreparationFailed event is now emitted in addition to a Test\Errored event when an unexpected exception is triggered in a before-test method
  • A Test\Passed event is no longer emitted in addition to a Test\Failed or Test\Errored event when an assertion failure or an unexpected exception is triggered in an after-test method
  • A TestSuite\Finished event is now emitted when a before-first-test method errors

How to install or update PHPUnit

v11.5.7: PHPUnit 11.5.7

Compare Source

Changed
  • #​5951: The includeUncoveredFiles configuration option is no longer deprecated
  • #​6117: Include source location information for issues triggered during test in --debug output
  • #​6119: Improve message for errors that occur while parsing attributes
  • #​6120: Allow negative priorities for hook methods

How to install or update PHPUnit

v11.5.6: PHPUnit 11.5.6

Compare Source

Changed
  • #​6112: Improve performance of SourceMapper
Fixed
  • #​6115: Backed enumerations with values not of type string cannot be used in customized TestDox output

How to install or update PHPUnit

v11.5.5: PHPUnit 11.5.5

Compare Source

Changed
  • Do not skip execution of test that depends on a test that is larger than itself

How to install or update PHPUnit

v11.5.4: PHPUnit 11.5.4

Compare Source

Changed
  • #​5958: Support for #[CoversTrait] and #[UsesTrait] attributes is no longer deprecated
  • #​5960: Support for targeting trait methods with the #[CoversMethod] and #[UsesMethod] attributes is no longer deprecated
Fixed
  • #​6103: Output from test run in separate process is printed twice
  • #​6109: Skipping a test in a before-class method crashes JUnit XML logger
  • #​6111: Deprecations cause SourceMapper to scan all <source/> files

How to install or update PHPUnit

v11.5.3: PHPUnit 11.5.3

Compare Source

Added
  • Test\AfterLastTestMethodErrored, Test\AfterTestMethodErrored, Test\BeforeTestMethodErrored, Test\PostConditionErrored, and Test\PreConditionErrored events
Fixed
  • #​6093: Test Double Code Generator does not work when PHPUnit is used from PHAR on PHP 8.4
  • #​6094: Errors in after-last-test methods are not reported
  • #​6095: Expectation is not counted correctly when a doubled method is called more often than is expected
  • #​6096: --list-tests-xml is broken when a group with a numeric name is defined
  • #​6098: No system-out element in JUnit XML logfile
  • #​6100: Suppressed deprecations incorrectly stop test execution when execution should be stopped on deprecation

How to install or update PHPUnit

v11.5.2: PHPUnit 11.5.2

Compare Source

Fixed
  • #​6082: assertArrayHasKey(), assertArrayNotHasKey(), arrayHasKey(), and ArrayHasKey::__construct() do not support all possible key types
  • #​6087: --migrate-configuration does not remove beStrictAboutTodoAnnotatedTests attribute from XML configuration file

How to install or update PHPUnit

v11.5.1: PHPUnit 11.5.1

Compare Source

Added
  • #​6081: DefaultResultCache::mergeWith() for merging result cache instances
Fixed
  • #​6066: TeamCity logger does not handle error/skipped events in before-class methods correctly

How to install or update PHPUnit

v11.5.0: PHPUnit 11.5.0

Compare Source

Added
  • #​5948: Support for Property Hooks in Test Doubles
  • #​5954: Provide a way to stop execution at a particular deprecation
  • Method assertContainsNotOnlyInstancesOf() in the PHPUnit\Framework\Assert class as the inverse of the assertContainsOnlyInstancesOf() method
  • Methods assertContainsOnlyArray(), assertContainsOnlyBool(), assertContainsOnlyCallable(), assertContainsOnlyFloat(), assertContainsOnlyInt(), assertContainsOnlyIterable(), assertContainsOnlyNull(), assertContainsOnlyNumeric(), assertContainsOnlyObject(), assertContainsOnlyResource(), assertContainsOnlyClosedResource(), assertContainsOnlyScalar(), and assertContainsOnlyString() in the PHPUnit\Framework\Assert class as specialized alternatives for the generic assertContainsOnly() method
  • Methods assertContainsNotOnlyArray(), assertContainsNotOnlyBool(), assertContainsNotOnlyCallable(), assertContainsNotOnlyFloat(), assertContainsNotOnlyInt(), assertContainsNotOnlyIterable(), assertContainsNotOnlyNull(), assertContainsNotOnlyNumeric(), assertContainsNotOnlyObject(), assertContainsNotOnlyResource(), assertContainsNotOnlyClosedResource(), assertContainsNotOnlyScalar(), and assertContainsNotOnlyString() in the PHPUnit\Framework\Assert class as specialized alternatives for the generic assertNotContainsOnly() method
  • Methods containsOnlyArray(), containsOnlyBool(), containsOnlyCallable(), containsOnlyFloat(), containsOnlyInt(), containsOnlyIterable(), containsOnlyNull(), containsOnlyNumeric(), containsOnlyObject(), containsOnlyResource(), containsOnlyClosedResource(), containsOnlyScalar(), and containsOnlyString() in the PHPUnit\Framework\Assert class as specialized alternatives for the generic containsOnly() method
  • Methods isArray(), isBool(), isCallable(), isFloat(), isInt(), isIterable(), isNumeric(), isObject(), isResource(), isClosedResource(), isScalar(), isString() in the PHPUnit\Framework\Assert class as specialized alternatives for the generic isType() method
  • TestRunner\ChildProcessStarted and TestRunner\ChildProcessFinished events
Changed
  • #​5998: Do not run SKIPIF section of PHPT test in separate process when it is free of side effects
  • #​5999: Do not run CLEAN section of PHPT test in separate process when it is free of side effects that modify the parent process
Deprecated
  • #​6052: isType() (use isArray(), isBool(), isCallable(), isFloat(), isInt(), isIterable(), isNull(), isNumeric(), isObject(), isResource(), isClosedResource(), isScalar(), or isString() instead)
  • #​6055: assertContainsOnly() (use assertContainsOnlyArray(), assertContainsOnlyBool(), assertContainsOnlyCallable(), assertContainsOnlyFloat(), assertContainsOnlyInt(), assertContainsOnlyIterable(), assertContainsOnlyNumeric(), assertContainsOnlyObject(), assertContainsOnlyResource(), assertContainsOnlyClosedResource(), assertContainsOnlyScalar(), or assertContainsOnlyString() instead)
  • #​6055: assertNotContainsOnly() (use assertContainsNotOnlyArray(), assertContainsNotOnlyBool(), assertContainsNotOnlyCallable(), assertContainsNotOnlyFloat(), assertContainsNotOnlyInt(), assertContainsNotOnlyIterable(), assertContainsNotOnlyNumeric(), assertContainsNotOnlyObject(), assertContainsNotOnlyResource(), assertContainsNotOnlyClosedResource(), assertContainsNotOnlyScalar(), or assertContainsNotOnlyString() instead)
  • #​6059: containsOnly() (use containsOnlyArray(), containsOnlyBool(), containsOnlyCallable(), containsOnlyFloat(), containsOnlyInt(), containsOnlyIterable(), containsOnlyNumeric(), containsOnlyObject(), containsOnlyResource(), containsOnlyClosedResource(), containsOnlyScalar(), or containsOnlyString() instead)

How to install or update PHPUnit

v11.4.4: PHPUnit 11.4.4

Compare Source

Fixed
  • #​6028: ignoreIndirectDeprecations=true suppresses deprecations triggered in test code

How to install or update PHPUnit


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

This MR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [phpunit/phpunit](https://phpunit.de/) ([source](https://github.com/sebastianbergmann/phpunit)) | `11.4.3` -> `11.5.42` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/11.5.42?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpunit%2fphpunit/11.4.3/11.5.42?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sebastianbergmann/phpunit (phpunit/phpunit)</summary> ### [`v11.5.42`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.42): PHPUnit 11.5.42 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.41...11.5.42) ##### Fixed - [#&#8203;6368](https://github.com/sebastianbergmann/phpunit/issues/6368): `failOnPhpunitWarning="false"` has no effect *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.41`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.41): PHPUnit 11.5.41 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.40...11.5.41) - No changes; `phpunit.phar` rebuilt with updated dependencies *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.40`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.40): PHPUnit 11.5.40 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.39...11.5.40) - No changes; `phpunit.phar` rebuilt with updated dependencies *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.39`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.39): PHPUnit 11.5.39 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.38...11.5.39) ##### Changed - [#&#8203;6366](https://github.com/sebastianbergmann/phpunit/issues/6366): Exclude `__sleep()` and `__wakeup()` from test double code generation on PHP >= 8.5 *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.38`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.38): PHPUnit 11.5.38 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.37...11.5.38) ##### Changed - [#&#8203;6353](https://github.com/sebastianbergmann/phpunit/pull/6353): Disable performance optimization for tests requiring Xdebug *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.37`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.37): PHPUnit 11.5.37 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.36...11.5.37) ##### Changed - Do not use `__sleep()` method (which will be deprecated in PHP 8.5) *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.36`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.36): PHPUnit 11.5.36 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.35...11.5.36) ##### Fixed - [#&#8203;6340](https://github.com/sebastianbergmann/phpunit/issues/6340): Implicitly enabled display of deprecation details is not disabled when it should be *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.35`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.35): PHPUnit 11.5.35 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.34...11.5.35) ##### Changed - `#[IgnorePhpunitDeprecations]` is now considered for test runner deprecations (where applicable) *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.34`](https://github.com/sebastianbergmann/phpunit/compare/11.5.33...11.5.34) [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.33...11.5.34) ### [`v11.5.33`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.33): PHPUnit 11.5.33 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.32...11.5.33) ##### Changed - [#&#8203;6321](https://github.com/sebastianbergmann/phpunit/issues/6321): Allow `error_reporting=E_ALL` for `--check-php-configuration` ##### Fixed - [#&#8203;5863](https://github.com/sebastianbergmann/phpunit/issues/5863): TestDox printer does not show previous exception - [#&#8203;6102](https://github.com/sebastianbergmann/phpunit/issues/6102): `expectUserDeprecationMessage*()` fails when test is run in separate process *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.32`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.32): PHPUnit 11.5.32 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.31...11.5.32) ##### Changed - [#&#8203;6308](https://github.com/sebastianbergmann/phpunit/pull/6308): Improve output of `--check-php-configuration` - The version number for the test result cache file has been incremented to reflect that its structure for PHPUnit 11.5 is not compatible with its structure for PHPUnit 8.5 and PHPUnit 9.6 ##### Fixed - [#&#8203;6281](https://github.com/sebastianbergmann/phpunit/issues/6281): Exceptions raised in after-test method are not reported for skipped tests *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.31`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.31): PHPUnit 11.5.31 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.30...11.5.31) ##### Fixed - [#&#8203;6304](https://github.com/sebastianbergmann/phpunit/issues/6304): PHPUnit 11.5.29 hangs when a test runner deprecation is triggered and process isolation is used (this reverts "`#[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](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.30`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.30): PHPUnit 11.5.30 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.29...11.5.30) ##### Changed - [#&#8203;6300](https://github.com/sebastianbergmann/phpunit/issues/6300): Emit warning when the name of a data provider method begins with `test` - Do not use `SplObjectStorage` methods that will be deprecated in PHP 8.5 *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.29`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.29): PHPUnit 11.5.29 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.28...11.5.29) ##### Added - [#&#8203;6297](https://github.com/sebastianbergmann/phpunit/issues/6297): `--check-php-configuration` CLI option for checking whether PHP is configured for testing ##### Changed - `#[IgnorePhpunitDeprecations]` is now considered for test runner deprecations (where applicable) ##### Fixed - [#&#8203;6160](https://github.com/sebastianbergmann/phpunit/issues/6160): Baseline file in a subdirectory contains absolute paths - Errors due to invalid data provided using `#[TestWith]` or `#[TestWithJson]` attributes are now properly reported - The `DataProviderMethodFinished` event is now also emitted when the provided data set has an invalid key *** Learn how to install or update PHPUnit 11.5 in the [documentation](https://docs.phpunit.de/en/11.5/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://t8cbf4509.emailsys1a.net/275/973/33ad04f4be/subscribe/form.html?_g=1752156344) newsletter to receive updates about and tips for PHPUnit. ### [`v11.5.28`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.28): PHPUnit 11.5.28 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.27...11.5.28) ##### Fixed - [#&#8203;6097](https://github.com/sebastianbergmann/phpunit/issues/6097): The `file` attribute of `<testClass>` node of XML test list can be wrong *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.27`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.27): PHPUnit 11.5.27 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.26...11.5.27) ##### Fixed - [#&#8203;6254](https://github.com/sebastianbergmann/phpunit/issues/6254): `defects,random`configuration is supported by implementation, but it is not allowed by the XML configuration file schema - [#&#8203;6259](https://github.com/sebastianbergmann/phpunit/issues/6259): Order of tests which use data from data providers is not affected by test sorting - [#&#8203;6266](https://github.com/sebastianbergmann/phpunit/issues/6266): Superfluous whitespace in TestDox output when test method name has a number after the `test` prefix *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.26`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.26): PHPUnit 11.5.26 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.25...11.5.26) ##### Fixed - [#&#8203;6104](https://github.com/sebastianbergmann/phpunit/issues/6104): Test with dependencies and data provider fails - [#&#8203;6163](https://github.com/sebastianbergmann/phpunit/issues/6163): `@no-named-arguments` leads to static analysis errors for variadic arguments *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.25`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.25): PHPUnit 11.5.25 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.24...11.5.25) ##### Fixed - [#&#8203;6249](https://github.com/sebastianbergmann/phpunit/issues/6249): No meaningful error when `<testsuite>` element is missing required `name` attribute *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.24`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.24): PHPUnit 11.5.24 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.23...11.5.24) ##### Added - [#&#8203;6236](https://github.com/sebastianbergmann/phpunit/issues/6236): `failOnPhpunitWarning` attribute on the `<phpunit>` element of the XML configuration file and `--fail-on-phpunit-warning` CLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default: `true`) - [#&#8203;6239](https://github.com/sebastianbergmann/phpunit/issues/6239): `--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-warning` CLI options - `--do-not-report-useless-tests` CLI option as a replacement for `--dont-report-useless-tests` ##### Deprecated - `--dont-report-useless-tests` CLI option (use `--do-not-report-useless-tests` instead) ##### Fixed - [#&#8203;6243](https://github.com/sebastianbergmann/phpunit/issues/6243): Constraints cannot be implemented without using internal class `ExpectationFailedException` *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.23`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.23): PHPUnit 11.5.23 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.22...11.5.23) ##### Fixed - [#&#8203;6222](https://github.com/sebastianbergmann/phpunit/issues/6222): Data Provider seems to mess up Test Dependencies - `shortenArraysForExportThreshold` XML configuration setting has no effect on all arrays exported for event-related value objects *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.22`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.22): PHPUnit 11.5.22 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.21...11.5.22) ##### Changed - Do not treat warnings differently than other issues in summary section of default output *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.21`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.21): PHPUnit 11.5.21 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.20...11.5.21) ##### Changed - [#&#8203;6210](https://github.com/sebastianbergmann/phpunit/pull/6210): Set default Clover coverage project name - [#&#8203;6217](https://github.com/sebastianbergmann/phpunit/pull/6217): Improve the error message when `createStubForIntersectionOfInterfaces()` is called with a class *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.20`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.20): PHPUnit 11.5.20 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.19...11.5.20) ##### Fixed - [#&#8203;6199](https://github.com/sebastianbergmann/phpunit/issues/6199): `assertEmpty()` and `assertNotEmpty()` use overly restrictive `phpstan-assert empty` directives - [#&#8203;6192](https://github.com/sebastianbergmann/phpunit/issues/6192): Reverted change made in PHPUnit 11.5.19 due to regression *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.19`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.19): PHPUnit 11.5.19 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.18...11.5.19) ##### Added - `displayDetailsOnAllIssues` attribute on the `<phpunit>` element of the XML configuration file and `--display-all-issues` CLI option for controlling whether PHPUnit should display details on all issues that are triggered (default: `false`) - `failOnAllIssues` attribute on the `<phpunit>` element of the XML configuration file and `--fail-on-all-issues` CLI option for controlling whether PHPUnit should fail on all issues that are triggered (default: `false`) ##### Changed - [#&#8203;5956](https://github.com/sebastianbergmann/phpunit/issues/5956): Improved handling of deprecated `E_STRICT` constant ##### Fixed - [#&#8203;6192](https://github.com/sebastianbergmann/phpunit/issues/6192): Positive `%a` and `%A` matches are not ignored from diff when `EXPECTF` fails *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.18`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.18): PHPUnit 11.5.18 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.17...11.5.18) ##### Changed - When gathering the telemetry information that each event has, the real size of memory allocated from the operating system is no longer used as this is grown by PHP's memory manager in chunks that are so large that small(er) increases in peak memory usage cannot be seen - The peak memory usage returned by `memory_get_peak_usage()` is now reset immediately before the `Test\Prepared` event is emitted using `memory_reset_peak_usage()` so that (memory usage at `Test\Finished` - memory usage at `Test\Prepared`) is a better approximation of the memory usage of the test - The string representation of `Telemetry\Info` now uses peak memory usage instead of memory usage (this affects `--log-events-verbose-text`) ##### Fixed - A "Before Test Method Errored" event is no longer emitted when a test is skipped in a "before test" method *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.17`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.17): PHPUnit 11.5.17 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.16...11.5.17) ##### Fixed - [#&#8203;6104](https://github.com/sebastianbergmann/phpunit/issues/6104): Reverted change introduced in PHPUnit 11.5.16 *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.16`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.16): PHPUnit 11.5.16 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.15...11.5.16) ##### Fixed - [#&#8203;6104](https://github.com/sebastianbergmann/phpunit/issues/6104): Test with dependencies and data provider fails - [#&#8203;6174](https://github.com/sebastianbergmann/phpunit/issues/6174): `willReturnMap()` fails with nullable parameters when their default is `null` and no argument is passed for them *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.15`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.15): PHPUnit 11.5.15 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.14...11.5.15) ##### Changed - [#&#8203;6150](https://github.com/sebastianbergmann/phpunit/issues/6150): Reverted change introduced in PHPUnit 11.5.13 *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.14`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.14): PHPUnit 11.5.14 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.13...11.5.14) ##### Changed - Updated dependencies for PHAR distribution *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.13`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.13): PHPUnit 11.5.13 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.12...11.5.13) ##### Changed - [#&#8203;6150](https://github.com/sebastianbergmann/phpunit/issues/6150): Trigger warning when code coverage analysis is performed and no cache directory is configured *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.12`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.12): PHPUnit 11.5.12 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.11...11.5.12) ##### Fixed - [#&#8203;5976](https://github.com/sebastianbergmann/phpunit/issues/5976): TestDox result printer does not display details about errors triggered in before-first-test and after-last-test methods *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.11`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.11): PHPUnit 11.5.11 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.10...11.5.11) ##### Fixed - [#&#8203;6142](https://github.com/sebastianbergmann/phpunit/issues/6142): `$expected` and `$actual` are mixed up in failure description when `assertJsonFileEqualsJsonFile()` fails *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.10`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.10): PHPUnit 11.5.10 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.9...11.5.10) ##### Fixed - [#&#8203;6138](https://github.com/sebastianbergmann/phpunit/issues/6138): Test with failed expectation on value passed to mocked method is incorrectly considered risky *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.9`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.9): PHPUnit 11.5.9 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.8...11.5.9) ##### Fixed - [#&#8203;6134](https://github.com/sebastianbergmann/phpunit/issues/6134): Missing event when child process ends unexpectedly *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.8`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.8): PHPUnit 11.5.8 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.7...11.5.8) ##### Fixed - A `Test\PreparationFailed` event is now emitted in addition to a `Test\Errored` event when an unexpected exception is triggered in a before-test method - A `Test\Passed` event is no longer emitted in addition to a `Test\Failed` or `Test\Errored` event when an assertion failure or an unexpected exception is triggered in an after-test method - A `TestSuite\Finished` event is now emitted when a before-first-test method errors *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.7`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.7): PHPUnit 11.5.7 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.6...11.5.7) ##### Changed - [#&#8203;5951](https://github.com/sebastianbergmann/phpunit/issues/5951): The `includeUncoveredFiles` configuration option is no longer deprecated - [#&#8203;6117](https://github.com/sebastianbergmann/phpunit/issues/6117): Include source location information for issues triggered during test in `--debug` output - [#&#8203;6119](https://github.com/sebastianbergmann/phpunit/issues/6119): Improve message for errors that occur while parsing attributes - [#&#8203;6120](https://github.com/sebastianbergmann/phpunit/issues/6120): Allow negative priorities for hook methods *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.6`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.6): PHPUnit 11.5.6 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.5...11.5.6) ##### Changed - [#&#8203;6112](https://github.com/sebastianbergmann/phpunit/pull/6112): Improve performance of `SourceMapper` ##### Fixed - [#&#8203;6115](https://github.com/sebastianbergmann/phpunit/issues/6115): Backed enumerations with values not of type `string` cannot be used in customized TestDox output *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.5`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.5): PHPUnit 11.5.5 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.4...11.5.5) ##### Changed - Do not skip execution of test that depends on a test that is larger than itself *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.4`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.4): PHPUnit 11.5.4 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.3...11.5.4) ##### Changed - [#&#8203;5958](https://github.com/sebastianbergmann/phpunit/issues/5958): Support for `#[CoversTrait]` and `#[UsesTrait]` attributes is no longer deprecated - [#&#8203;5960](https://github.com/sebastianbergmann/phpunit/issues/5960): Support for targeting trait methods with the `#[CoversMethod]` and `#[UsesMethod]` attributes is no longer deprecated ##### Fixed - [#&#8203;6103](https://github.com/sebastianbergmann/phpunit/issues/6103): Output from test run in separate process is printed twice - [#&#8203;6109](https://github.com/sebastianbergmann/phpunit/issues/6109): Skipping a test in a before-class method crashes JUnit XML logger - [#&#8203;6111](https://github.com/sebastianbergmann/phpunit/issues/6111): Deprecations cause `SourceMapper` to scan all `<source/>` files *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.3`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.3): PHPUnit 11.5.3 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.2...11.5.3) ##### Added - `Test\AfterLastTestMethodErrored`, `Test\AfterTestMethodErrored`, `Test\BeforeTestMethodErrored`, `Test\PostConditionErrored`, and `Test\PreConditionErrored` events ##### Fixed - [#&#8203;6093](https://github.com/sebastianbergmann/phpunit/issues/6093): Test Double Code Generator does not work when PHPUnit is used from PHAR on PHP 8.4 - [#&#8203;6094](https://github.com/sebastianbergmann/phpunit/issues/6094): Errors in after-last-test methods are not reported - [#&#8203;6095](https://github.com/sebastianbergmann/phpunit/issues/6095): Expectation is not counted correctly when a doubled method is called more often than is expected - [#&#8203;6096](https://github.com/sebastianbergmann/phpunit/issues/6096): `--list-tests-xml` is broken when a group with a numeric name is defined - [#&#8203;6098](https://github.com/sebastianbergmann/phpunit/issues/6098): No `system-out` element in JUnit XML logfile - [#&#8203;6100](https://github.com/sebastianbergmann/phpunit/issues/6100): Suppressed deprecations incorrectly stop test execution when execution should be stopped on deprecation *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.2`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.2): PHPUnit 11.5.2 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.1...11.5.2) ##### Fixed - [#&#8203;6082](https://github.com/sebastianbergmann/phpunit/issues/6082): `assertArrayHasKey()`, `assertArrayNotHasKey()`, `arrayHasKey()`, and `ArrayHasKey::__construct()` do not support all possible key types - [#&#8203;6087](https://github.com/sebastianbergmann/phpunit/issues/6087): `--migrate-configuration` does not remove `beStrictAboutTodoAnnotatedTests` attribute from XML configuration file *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.1`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.1): PHPUnit 11.5.1 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.5.0...11.5.1) ##### Added - [#&#8203;6081](https://github.com/sebastianbergmann/phpunit/pull/6081): `DefaultResultCache::mergeWith()` for merging result cache instances ##### Fixed - [#&#8203;6066](https://github.com/sebastianbergmann/phpunit/pull/6066): TeamCity logger does not handle error/skipped events in before-class methods correctly *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.5.0`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.0): PHPUnit 11.5.0 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.4.4...11.5.0) ##### Added - [#&#8203;5948](https://github.com/sebastianbergmann/phpunit/pull/5948): Support for Property Hooks in Test Doubles - [#&#8203;5954](https://github.com/sebastianbergmann/phpunit/issues/5954): Provide a way to stop execution at a particular deprecation - Method `assertContainsNotOnlyInstancesOf()` in the `PHPUnit\Framework\Assert` class as the inverse of the `assertContainsOnlyInstancesOf()` method - Methods `assertContainsOnlyArray()`, `assertContainsOnlyBool()`, `assertContainsOnlyCallable()`, `assertContainsOnlyFloat()`, `assertContainsOnlyInt()`, `assertContainsOnlyIterable()`, `assertContainsOnlyNull()`, `assertContainsOnlyNumeric()`, `assertContainsOnlyObject()`, `assertContainsOnlyResource()`, `assertContainsOnlyClosedResource()`, `assertContainsOnlyScalar()`, and `assertContainsOnlyString()` in the `PHPUnit\Framework\Assert` class as specialized alternatives for the generic `assertContainsOnly()` method - Methods `assertContainsNotOnlyArray()`, `assertContainsNotOnlyBool()`, `assertContainsNotOnlyCallable()`, `assertContainsNotOnlyFloat()`, `assertContainsNotOnlyInt()`, `assertContainsNotOnlyIterable()`, `assertContainsNotOnlyNull()`, `assertContainsNotOnlyNumeric()`, `assertContainsNotOnlyObject()`, `assertContainsNotOnlyResource()`, `assertContainsNotOnlyClosedResource()`, `assertContainsNotOnlyScalar()`, and `assertContainsNotOnlyString()` in the `PHPUnit\Framework\Assert` class as specialized alternatives for the generic `assertNotContainsOnly()` method - Methods `containsOnlyArray()`, `containsOnlyBool()`, `containsOnlyCallable()`, `containsOnlyFloat()`, `containsOnlyInt()`, `containsOnlyIterable()`, `containsOnlyNull()`, `containsOnlyNumeric()`, `containsOnlyObject()`, `containsOnlyResource()`, `containsOnlyClosedResource()`, `containsOnlyScalar()`, and `containsOnlyString()` in the `PHPUnit\Framework\Assert` class as specialized alternatives for the generic `containsOnly()` method - Methods `isArray()`, `isBool()`, `isCallable()`, `isFloat()`, `isInt()`, `isIterable()`, `isNumeric()`, `isObject()`, `isResource()`, `isClosedResource()`, `isScalar()`, `isString()` in the `PHPUnit\Framework\Assert` class as specialized alternatives for the generic `isType()` method - `TestRunner\ChildProcessStarted` and `TestRunner\ChildProcessFinished` events ##### Changed - [#&#8203;5998](https://github.com/sebastianbergmann/phpunit/pull/5998): Do not run `SKIPIF` section of PHPT test in separate process when it is free of side effects - [#&#8203;5999](https://github.com/sebastianbergmann/phpunit/pull/5999): Do not run `CLEAN` section of PHPT test in separate process when it is free of side effects that modify the parent process ##### Deprecated - [#&#8203;6052](https://github.com/sebastianbergmann/phpunit/issues/6052): `isType()` (use `isArray()`, `isBool()`, `isCallable()`, `isFloat()`, `isInt()`, `isIterable()`, `isNull()`, `isNumeric()`, `isObject()`, `isResource()`, `isClosedResource()`, `isScalar()`, or `isString()` instead) - [#&#8203;6055](https://github.com/sebastianbergmann/phpunit/issues/6055): `assertContainsOnly()` (use `assertContainsOnlyArray()`, `assertContainsOnlyBool()`, `assertContainsOnlyCallable()`, `assertContainsOnlyFloat()`, `assertContainsOnlyInt()`, `assertContainsOnlyIterable()`, `assertContainsOnlyNumeric()`, `assertContainsOnlyObject()`, `assertContainsOnlyResource()`, `assertContainsOnlyClosedResource()`, `assertContainsOnlyScalar()`, or `assertContainsOnlyString()` instead) - [#&#8203;6055](https://github.com/sebastianbergmann/phpunit/issues/6055): `assertNotContainsOnly()` (use `assertContainsNotOnlyArray()`, `assertContainsNotOnlyBool()`, `assertContainsNotOnlyCallable()`, `assertContainsNotOnlyFloat()`, `assertContainsNotOnlyInt()`, `assertContainsNotOnlyIterable()`, `assertContainsNotOnlyNumeric()`, `assertContainsNotOnlyObject()`, `assertContainsNotOnlyResource()`, `assertContainsNotOnlyClosedResource()`, `assertContainsNotOnlyScalar()`, or `assertContainsNotOnlyString()` instead) - [#&#8203;6059](https://github.com/sebastianbergmann/phpunit/issues/6059): `containsOnly()` (use `containsOnlyArray()`, `containsOnlyBool()`, `containsOnlyCallable()`, `containsOnlyFloat()`, `containsOnlyInt()`, `containsOnlyIterable()`, `containsOnlyNumeric()`, `containsOnlyObject()`, `containsOnlyResource()`, `containsOnlyClosedResource()`, `containsOnlyScalar()`, or `containsOnlyString()` instead) *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.5/installation.html) ### [`v11.4.4`](https://github.com/sebastianbergmann/phpunit/releases/tag/11.4.4): PHPUnit 11.4.4 [Compare Source](https://github.com/sebastianbergmann/phpunit/compare/11.4.3...11.4.4) ##### Fixed - [#&#8203;6028](https://github.com/sebastianbergmann/phpunit/issues/6028): `ignoreIndirectDeprecations=true` suppresses deprecations triggered in test code *** [How to install or update PHPUnit](https://docs.phpunit.de/en/11.4/installation.html) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDQuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0NC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
matt commented 2025-10-10 01:15:09 -04:00 (Migrated from gitlab.goober.cloud)

mentioned in issue #1

mentioned in issue #1
matt commented 2025-10-10 08:50:45 -04:00 (Migrated from gitlab.goober.cloud)

mentioned in commit 595b05bafa

mentioned in commit 595b05bafad2cd947ebd0a2271825415f7385a5d
matt (Migrated from gitlab.goober.cloud) merged commit 595b05bafa into main 2025-10-10 08:50:45 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
matt-archive/mediawiki-to-gfm!2
No description provided.