Skip to content

Commit

Permalink
build(deps-dev): bump phpunit/phpunit from 10.5.20 to 11.1.3 (#121)
Browse files Browse the repository at this point in the history
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)

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>
  • Loading branch information
Nicklas373 committed Apr 29, 2024
2 parents 535edb4 + c537269 commit a1208a9
Show file tree
Hide file tree
Showing 2 changed files with 231 additions and 223 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^10.1",
"phpunit/phpunit": "^11.1",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
Expand Down

0 comments on commit a1208a9

Please sign in to comment.