[web-php] PR #975: composer(deps-dev): bump phpunit/phpunit from 11.0.5 to 11.1.2
| From: | dependabot[bot] | Date: | Mon, 15 Apr 2024 15:46:22 +0000 |
| Subject: | [web-php] PR #975: composer(deps-dev): bump phpunit/phpunit from 11.0.5 to 11.1.2 | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-31589@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/web-php/pull/975
Author: dependabot[bot]
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 11.0.5 to 11.1.2.
<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.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><source ignoreIndirectDeprecations="true"
restrictNotices="true"
restrictWarnings="true"></code> instead of <code><source
restrictDeprecations="true" restrictNotices="true"
restrictWarnings="true"></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><source></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>
<ul>
<li>The namespaces of dependencies are now prefixed with <code>PHPUnitPHAR</code>
instead of just <code>PHPUnit</code> for the PHAR distribution of PHPUnit</li>
</ul>
<hr />
<p><a href="https://docs.phpunit.de/en/11.0/installation.html">How
to install or update PHPUnit</a></p>
<h2>PHPUnit 11.0.9</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.2/ChangeLog-11.1.md">phpunit/phpunit's
changelog</a>.</em></p>
<blockquote>
<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><source ignoreIndirectDeprecations="true"
restrictNotices="true"
restrictWarnings="true"></code> instead of <code><source
restrictDeprecations="true" restrictNotices="true"
restrictWarnings="true"></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><source></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/51e342a0bc987e0ea8418105d0711f08ae116de3"><code>51e342a</code></a>
Prepare release</li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/00061ddf68428326c9af69c90d8e573dfea8e7ff"><code>00061dd</code></a>
Merge branch '10.5' into 11.1</li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/835df1709ac6c968ba34bf23f3c30e5d5a266de8"><code>835df17</code></a>
Prepare release</li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/c083f31151368dc8c4bfc6ee240b2db1db756903"><code>c083f31</code></a>
Document <a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5812">#5812</a></li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/ce5d086d14695dc232be81e3fdde40f4b7f3692a"><code>ce5d086</code></a>
Update ChangeLog</li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/75709ca35d152014b928eb593761e4aee29fd509"><code>75709ca</code></a>
Fix "PHP Warning: Uninitialized string offset 0"</li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/741f67fd95a6ee68003c2286dafa3534642531c6"><code>741f67f</code></a>
Update .php-cs-fixer.dist.php</li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/97f6878e3ce748d6c74e427ea0b4bdc4c7f2c37f"><code>97f6878</code></a>
try reproducing bug5795</li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/5b215d03c714e18e1ecb38c3765fd2faf9614ff5"><code>5b215d0</code></a>
Merge branch '10.5' into 11.1</li>
<li><a href="https://github.com/sebastianbergmann/phpunit/commit/1a63f0d9baf107b04a2efa01163fd21e9b080b46"><code>1a63f0d</code></a>
Improve test names</li>
<li>Additional commits viewable in <a href="https://github.com/sebastianbergmann/phpunit/compare/11.0.5...11.1.2">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You
can also trigger a rebase manually 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>