Bump phpunit/phpunit from 10.5.20 to 11.1.3 #522

Closed
dependabot[bot] wants to merge 1 commits from dependabot/composer/phpunit/phpunit-11.1.3 into main
dependabot[bot] commented 2024-04-24 08:12:48 +00:00 (Migrated from github.com)

Bumps phpunit/phpunit from 10.5.20 to 11.1.3.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 11.1.3

Fixed

  • #5771: JUnit XML logger may crash when test that is run in separate process exits unexpectedly
  • #5819: Duplicate keys from different data providers are not handled properly

How to install or update PHPUnit

PHPUnit 11.1.2

Fixed

  • #5795: Using @testWith annotation may generate PHP Warning: Uninitialized string offset 0
  • #5807: The #[CoversMethod] attribute is not considered for risky test check

How to install or update PHPUnit

PHPUnit 11.1.1

Fixed

  • #5798: The #[CoversClass] and #[UsesClass] attributes can no longer target traits

How to install or update PHPUnit

PHPUnit 11.1.0

Added

  • #5689: Distinguish between self, direct and indirect deprecations
  • #5696: #[DisableReturnValueGenerationForTestDoubles] attribute for disabling return value generation for test doubles created using createMock(), createMockForIntersectionOfInterfaces(), createPartialMock(), createStub(), and createStubForIntersectionOfInterfaces()
  • #5175: #[CoversMethod] and #[UsesMethod] attributes for more fine-grained code coverage targeting
  • #5720: Support filtering using --filter, --exclude-filter, --group, and --exclude-group when listing tests using --list-tests and --list-tests-xml as well as listing groups with --list-groups
  • #5733: Implicitly include (abstract) parent class(es) with #[CoversClass] and #[UsesClass] attributes
  • --only-summary-for-coverage-text CLI option to reduce the code coverage report in text format to a summary
  • --show-uncovered-for-coverage-text CLI option to expand the code coverage report in text format to include a list of uncovered files

Changed

  • #5689: The XML configuration file generated using --generate-configuration now generates <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true"> instead of <source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
  • #5708: Allow the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options to be used multiple times
  • PHPUnit\Framework\TestCase::__construct() is now annotated to be final in preparation for declaring it final in PHPUnit 12
  • Changed how the DeprecationTriggered, ErrorTriggered, NoticeTriggered, PhpDeprecationTriggered, PhpNoticeTriggered, PhpWarningTriggered, and WarningTriggered events are represented as text

Deprecated

  • #5689: The restrictDeprecations attribute on the <source> element of the XML configuration file is now deprecated in favor of the ignoreSelfDeprecations, ignoreDirectDeprecations, and ignoreIndirectDeprecations attributes
  • #5709: Deprecate support for using comma-separated values with the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options

How to install or update PHPUnit

PHPUnit 11.0.10

Changed

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

11.1.3 - 2024-04-24

Fixed

  • #5771: JUnit XML logger may crash when test that is run in separate process exits unexpectedly
  • #5819: Duplicate keys from different data providers are not handled properly

11.1.2 - 2024-04-14

Fixed

  • #5795: Using @testWith annotation may generate PHP Warning: Uninitialized string offset 0
  • #5807: The #[CoversMethod] attribute is not considered for risky test check

11.1.1 - 2024-04-06

Fixed

  • #5798: The #[CoversClass] and #[UsesClass] attributes can no longer target traits

11.1.0 - 2024-04-05

Added

  • #5689: Distinguish between self, direct and indirect deprecations
  • #5696: #[DisableReturnValueGenerationForTestDoubles] attribute for disabling return value generation for test doubles created using createMock(), createMockForIntersectionOfInterfaces(), createPartialMock(), createStub(), and createStubForIntersectionOfInterfaces()
  • #5175: #[CoversMethod] and #[UsesMethod] attributes for more fine-grained code coverage targeting
  • #5720: Support filtering using --filter, --exclude-filter, --group, and --exclude-group when listing tests using --list-tests and --list-tests-xml as well as listing groups with --list-groups
  • #5733: Implicitly include (abstract) parent class(es) with #[CoversClass] and #[UsesClass] attributes
  • --only-summary-for-coverage-text CLI option to reduce the code coverage report in text format to a summary
  • --show-uncovered-for-coverage-text CLI option to expand the code coverage report in text format to include a list of uncovered files

Changed

  • #5689: The XML configuration file generated using --generate-configuration now generates <source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true"> instead of <source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
  • #5708: Allow the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options to be used multiple times
  • PHPUnit\Framework\TestCase::__construct() is now annotated to be final in preparation for declaring it final in PHPUnit 12
  • Changed how the DeprecationTriggered, ErrorTriggered, NoticeTriggered, PhpDeprecationTriggered, PhpNoticeTriggered, PhpWarningTriggered, and WarningTriggered events are represented as text

Deprecated

  • #5689: The restrictDeprecations attribute on the <source> element of the XML configuration file is now deprecated in favor of the ignoreSelfDeprecations, ignoreDirectDeprecations, and ignoreIndirectDeprecations attributes
  • #5709: Deprecate support for using comma-separated values with the --group, --exclude-group, --covers, --uses, and --test-suffix CLI options
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note


Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.20 to 11.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/releases">phpunit/phpunit's releases</a>.</em></p> <blockquote> <h2>PHPUnit 11.1.3</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5771">#5771</a>: JUnit XML logger may crash when test that is run in separate process exits unexpectedly</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5819">#5819</a>: Duplicate keys from different data providers are not handled properly</li> </ul> <hr /> <p><a href="https://docs.phpunit.de/en/11.1/installation.html">How to install or update PHPUnit</a></p> <h2>PHPUnit 11.1.2</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5795">#5795</a>: Using <code>@testWith</code> annotation may generate <code>PHP Warning: Uninitialized string offset 0</code></li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5807">#5807</a>: The <code>#[CoversMethod]</code> attribute is not considered for risky test check</li> </ul> <hr /> <p><a href="https://docs.phpunit.de/en/11.1/installation.html">How to install or update PHPUnit</a></p> <h2>PHPUnit 11.1.1</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5798">#5798</a>: The <code>#[CoversClass]</code> and <code>#[UsesClass]</code> attributes can no longer target traits</li> </ul> <hr /> <p><a href="https://docs.phpunit.de/en/11.1/installation.html">How to install or update PHPUnit</a></p> <h2>PHPUnit 11.1.0</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5689">#5689</a>: Distinguish between self, direct and indirect deprecations</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5696">#5696</a>: <code>#[DisableReturnValueGenerationForTestDoubles]</code> attribute for disabling return value generation for test doubles created using <code>createMock()</code>, <code>createMockForIntersectionOfInterfaces()</code>, <code>createPartialMock()</code>, <code>createStub()</code>, and <code>createStubForIntersectionOfInterfaces()</code></li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5175">#5175</a>: <code>#[CoversMethod]</code> and <code>#[UsesMethod]</code> attributes for more fine-grained code coverage targeting</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5720">#5720</a>: Support filtering using <code>--filter</code>, <code>--exclude-filter</code>, <code>--group</code>, and <code>--exclude-group</code> when listing tests using <code>--list-tests</code> and <code>--list-tests-xml</code> as well as listing groups with <code>--list-groups</code></li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5733">#5733</a>: Implicitly include (abstract) parent class(es) with <code>#[CoversClass]</code> and <code>#[UsesClass]</code> attributes</li> <li><code>--only-summary-for-coverage-text</code> CLI option to reduce the code coverage report in text format to a summary</li> <li><code>--show-uncovered-for-coverage-text</code> CLI option to expand the code coverage report in text format to include a list of uncovered files</li> </ul> <h3>Changed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5689">#5689</a>: The XML configuration file generated using <code>--generate-configuration</code> now generates <code>&lt;source ignoreIndirectDeprecations=&quot;true&quot; restrictNotices=&quot;true&quot; restrictWarnings=&quot;true&quot;&gt;</code> instead of <code>&lt;source restrictDeprecations=&quot;true&quot; restrictNotices=&quot;true&quot; restrictWarnings=&quot;true&quot;&gt;</code></li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5708">#5708</a>: Allow the <code>--group</code>, <code>--exclude-group</code>, <code>--covers</code>, <code>--uses</code>, and <code>--test-suffix</code> CLI options to be used multiple times</li> <li><code>PHPUnit\Framework\TestCase::__construct()</code> is now annotated to be final in preparation for declaring it <code>final</code> in PHPUnit 12</li> <li>Changed how the <code>DeprecationTriggered</code>, <code>ErrorTriggered</code>, <code>NoticeTriggered</code>, <code>PhpDeprecationTriggered</code>, <code>PhpNoticeTriggered</code>, <code>PhpWarningTriggered</code>, and <code>WarningTriggered</code> events are represented as text</li> </ul> <h3>Deprecated</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5689">#5689</a>: The <code>restrictDeprecations</code> attribute on the <code>&lt;source&gt;</code> element of the XML configuration file is now deprecated in favor of the <code>ignoreSelfDeprecations</code>, <code>ignoreDirectDeprecations</code>, and <code>ignoreIndirectDeprecations</code> attributes</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5709">#5709</a>: Deprecate support for using comma-separated values with the <code>--group</code>, <code>--exclude-group</code>, <code>--covers</code>, <code>--uses</code>, and <code>--test-suffix</code> CLI options</li> </ul> <hr /> <p><a href="https://docs.phpunit.de/en/11.1/installation.html">How to install or update PHPUnit</a></p> <h2>PHPUnit 11.0.10</h2> <h3>Changed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/blob/11.1.3/ChangeLog-11.1.md">phpunit/phpunit's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/sebastianbergmann/phpunit/compare/11.1.2...11.1.3">11.1.3</a> - 2024-04-24</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5771">#5771</a>: JUnit XML logger may crash when test that is run in separate process exits unexpectedly</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5819">#5819</a>: Duplicate keys from different data providers are not handled properly</li> </ul> <h2><a href="https://github.com/sebastianbergmann/phpunit/compare/11.1.1...11.1.2">11.1.2</a> - 2024-04-14</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5795">#5795</a>: Using <code>@testWith</code> annotation may generate <code>PHP Warning: Uninitialized string offset 0</code></li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5807">#5807</a>: The <code>#[CoversMethod]</code> attribute is not considered for risky test check</li> </ul> <h2><a href="https://github.com/sebastianbergmann/phpunit/compare/11.1.0...11.1.1">11.1.1</a> - 2024-04-06</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5798">#5798</a>: The <code>#[CoversClass]</code> and <code>#[UsesClass]</code> attributes can no longer target traits</li> </ul> <h2><a href="https://github.com/sebastianbergmann/phpunit/compare/11.0.10...11.1.0">11.1.0</a> - 2024-04-05</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5689">#5689</a>: Distinguish between self, direct and indirect deprecations</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5696">#5696</a>: <code>#[DisableReturnValueGenerationForTestDoubles]</code> attribute for disabling return value generation for test doubles created using <code>createMock()</code>, <code>createMockForIntersectionOfInterfaces()</code>, <code>createPartialMock()</code>, <code>createStub()</code>, and <code>createStubForIntersectionOfInterfaces()</code></li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5175">#5175</a>: <code>#[CoversMethod]</code> and <code>#[UsesMethod]</code> attributes for more fine-grained code coverage targeting</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5720">#5720</a>: Support filtering using <code>--filter</code>, <code>--exclude-filter</code>, <code>--group</code>, and <code>--exclude-group</code> when listing tests using <code>--list-tests</code> and <code>--list-tests-xml</code> as well as listing groups with <code>--list-groups</code></li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5733">#5733</a>: Implicitly include (abstract) parent class(es) with <code>#[CoversClass]</code> and <code>#[UsesClass]</code> attributes</li> <li><code>--only-summary-for-coverage-text</code> CLI option to reduce the code coverage report in text format to a summary</li> <li><code>--show-uncovered-for-coverage-text</code> CLI option to expand the code coverage report in text format to include a list of uncovered files</li> </ul> <h3>Changed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5689">#5689</a>: The XML configuration file generated using <code>--generate-configuration</code> now generates <code>&lt;source ignoreIndirectDeprecations=&quot;true&quot; restrictNotices=&quot;true&quot; restrictWarnings=&quot;true&quot;&gt;</code> instead of <code>&lt;source restrictDeprecations=&quot;true&quot; restrictNotices=&quot;true&quot; restrictWarnings=&quot;true&quot;&gt;</code></li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5708">#5708</a>: Allow the <code>--group</code>, <code>--exclude-group</code>, <code>--covers</code>, <code>--uses</code>, and <code>--test-suffix</code> CLI options to be used multiple times</li> <li><code>PHPUnit\Framework\TestCase::__construct()</code> is now annotated to be final in preparation for declaring it <code>final</code> in PHPUnit 12</li> <li>Changed how the <code>DeprecationTriggered</code>, <code>ErrorTriggered</code>, <code>NoticeTriggered</code>, <code>PhpDeprecationTriggered</code>, <code>PhpNoticeTriggered</code>, <code>PhpWarningTriggered</code>, and <code>WarningTriggered</code> events are represented as text</li> </ul> <h3>Deprecated</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5689">#5689</a>: The <code>restrictDeprecations</code> attribute on the <code>&lt;source&gt;</code> element of the XML configuration file is now deprecated in favor of the <code>ignoreSelfDeprecations</code>, <code>ignoreDirectDeprecations</code>, and <code>ignoreIndirectDeprecations</code> attributes</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5709">#5709</a>: Deprecate support for using comma-separated values with the <code>--group</code>, <code>--exclude-group</code>, <code>--covers</code>, <code>--uses</code>, and <code>--test-suffix</code> CLI options</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/d475be032238173ca3b0a516f5cc291d174708ae"><code>d475be0</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/eeb58ad1ad3c2f075a4eee84e1716470dcd58e03"><code>eeb58ad</code></a> Merge branch '10.5' into 11.1</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/5fc31bd28dd12be3a78293e2a650b80ed64212e9"><code>5fc31bd</code></a> Merge branch '10.5' into 11.1</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/d02eef17dbf321fd6ce9d050d18f4687c447fa70"><code>d02eef1</code></a> Merge branch '10.5' into 11.1</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/97222d73244698d837413758adbf84ab7fd464e3"><code>97222d7</code></a> Merge branch '10.5' into 11.1</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/b083438a24b7d15a75e898513832d7d6c00b8db8"><code>b083438</code></a> Merge branch '10.5' into 11.1</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/4a6b558889db1ca187cb1c32153fc31709cdcba5"><code>4a6b558</code></a> Merge branch '10.5' into 11.1</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/69cd67a78c24dd8d97ab42f28a6d99ab6ea4b9b9"><code>69cd67a</code></a> Merge branch '10.5' into 11.1</li> <li>See full diff in <a href="https://github.com/sebastianbergmann/phpunit/compare/10.5.20...11.1.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phpunit/phpunit&package-manager=composer&previous-version=10.5.20&new-version=11.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
nomadjimbob commented 2025-12-31 22:15:27 +00:00 (Migrated from github.com)

@dependabot rebase

@dependabot rebase
dependabot[bot] commented 2025-12-31 22:16:05 +00:00 (Migrated from github.com)

Looks like phpunit/phpunit is no longer updatable, so this is no longer needed.

Looks like phpunit/phpunit is no longer updatable, so this is no longer needed.

Pull request closed

Sign in to join this conversation.