[PR #405] [MERGED] chore(deps-dev): bump phpunit/phpunit from 10.5.9 to 11.0.2 #1073

Closed
opened 2026-03-15 15:51:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/flyimg/flyimg/pull/405
Author: @dependabot[bot]
Created: 2/5/2024
Status: Merged
Merged: 2/8/2024
Merged by: @sadok-f

Base: mainHead: dependabot/composer/phpunit/phpunit-11.0.2


📝 Commits (1)

  • 3b38af5 chore(deps-dev): bump phpunit/phpunit from 10.5.9 to 11.0.2

📊 Changes

2 files changed (+232 additions, -223 deletions)

View changed files

📝 composer.json (+1 -1)
📝 composer.lock (+231 -222)

📄 Description

Bumps phpunit/phpunit from 10.5.9 to 11.0.2.

Changelog

Sourced from phpunit/phpunit's changelog.

[11.0.2] - 2024-04-04

Fixed

  • #5692: --log-events-text and --log-events-verbose-text require the destination file to exit

[11.0.1] - 2024-02-02

Fixed

  • #5690: Backward Compatibility break in PHPUnit\Framework\Constraint\Constraint

[11.0.0] - 2024-02-02

Added

  • #4964: Enable named data sets with the #[TestWith*] attributes
  • #5225: Allow providing named arguments from a data provider
  • #5600: Assertions for comparing arrays while ignoring a specified list of keys
  • #5605: expectUserDeprecationMessage() and expectUserDeprecationMessageMatches() for expecting E_USER_DEPRECATED issues
  • #5620: Implement group attribute on <directory> and <file> elements (children of <testsuite>) to add all tests found in a directory or file to a specified group
  • #5629: --exclude-filter CLI option for excluding tests from execution
  • #5642: --list-test-files CLI option to print the list of test files

Changed

  • #5213: Make TestCase methods protected that should have been protected all along
  • #5254: Make TestCase methods final that should have been final all along
  • #5619: Check and restore error/exception global handlers
  • The format of the XML document generated using the --list-tests-xml CLI option has been changed
  • small, medium, and large can no longer be used as group names with the #[Group] attribute
  • A test can no longer be part of multiple test suites that are configured in the XML configuration file
  • --check-version now exits with a shell exit code that indicates failure when the version is not the latest version

Deprecated

  • #4505: Support for metadata in doc-comments
  • #5214: TestCase::iniSet() (this method was already soft-deprecated in PHPUnit 10)
  • #5216: TestCase::setLocale() (this method was already soft-deprecated in PHPUnit 10)
  • #5240: TestCase::createTestProxy() (this method was already soft-deprecated in PHPUnit 10)
  • #5241: TestCase::getMockForAbstractClass() (this method was already soft-deprecated in PHPUnit 10)
  • #5242: TestCase::getMockFromWsdl() (this method was already soft-deprecated in PHPUnit 10)
  • #5243: TestCase::getMockForTrait() (this method was already soft-deprecated in PHPUnit 10)
  • #5244: TestCase::getObjectForTrait() (this method was already soft-deprecated in PHPUnit 10)
  • #5305: MockBuilder::getMockForAbstractClass() (this method was already soft-deprecated in PHPUnit 10)
  • #5306: MockBuilder::getMockForTrait() (this method was already soft-deprecated in PHPUnit 10)
  • #5307: MockBuilder::enableProxyingToOriginalMethods(), MockBuilder::disableProxyingToOriginalMethods(), and MockBuilder::setProxyTarget() (these methods were already soft-deprecated in PHPUnit 10)
  • #5308: MockBuilder::allowMockingUnknownTypes() and MockBuilder::disallowMockingUnknownTypes() (these methods were already soft-deprecated in PHPUnit 10)
  • #5309: MockBuilder::enableAutoload() and MockBuilder::disableAutoload() (these methods were already soft-deprecated in PHPUnit 10)
  • #5315: MockBuilder::enableArgumentCloning() and MockBuilder::disableArgumentCloning() (these methods were already soft-deprecated in PHPUnit 10)

... (truncated)

Commits

Dependabot compatibility score

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/flyimg/flyimg/pull/405 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/5/2024 **Status:** ✅ Merged **Merged:** 2/8/2024 **Merged by:** [@sadok-f](https://github.com/sadok-f) **Base:** `main` ← **Head:** `dependabot/composer/phpunit/phpunit-11.0.2` --- ### 📝 Commits (1) - [`3b38af5`](https://github.com/flyimg/flyimg/commit/3b38af5a75bc3348a971360c0d59dacaf7525e2c) chore(deps-dev): bump phpunit/phpunit from 10.5.9 to 11.0.2 ### 📊 Changes **2 files changed** (+232 additions, -223 deletions) <details> <summary>View changed files</summary> 📝 `composer.json` (+1 -1) 📝 `composer.lock` (+231 -222) </details> ### 📄 Description Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.9 to 11.0.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/blob/11.0.2/ChangeLog-11.0.md">phpunit/phpunit's changelog</a>.</em></p> <blockquote> <h2>[11.0.2] - 2024-04-04</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5692">#5692</a>: <code>--log-events-text</code> and <code>--log-events-verbose-text</code> require the destination file to exit</li> </ul> <h2>[11.0.1] - 2024-02-02</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5690">#5690</a>: Backward Compatibility break in <code>PHPUnit\Framework\Constraint\Constraint</code></li> </ul> <h2>[11.0.0] - 2024-02-02</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/4964">#4964</a>: Enable named data sets with the <code>#[TestWith*]</code> attributes</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5225">#5225</a>: Allow providing named arguments from a data provider</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5600">#5600</a>: Assertions for comparing arrays while ignoring a specified list of keys</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5605">#5605</a>: <code>expectUserDeprecationMessage()</code> and <code>expectUserDeprecationMessageMatches()</code> for expecting <code>E_USER_DEPRECATED</code> issues</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5620">#5620</a>: Implement <code>group</code> attribute on <code>&lt;directory&gt;</code> and <code>&lt;file&gt;</code> elements (children of <code>&lt;testsuite&gt;</code>) to add all tests found in a directory or file to a specified group</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5629">#5629</a>: <code>--exclude-filter</code> CLI option for excluding tests from execution</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5642">#5642</a>: <code>--list-test-files</code> CLI option to print the list of test files</li> </ul> <h3>Changed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5213">#5213</a>: Make <code>TestCase</code> methods <code>protected</code> that should have been <code>protected</code> all along</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5254">#5254</a>: Make <code>TestCase</code> methods <code>final</code> that should have been <code>final</code> all along</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5619">#5619</a>: Check and restore error/exception global handlers</li> <li>The format of the XML document generated using the <code>--list-tests-xml</code> CLI option has been changed</li> <li><code>small</code>, <code>medium</code>, and <code>large</code> can no longer be used as group names with the <code>#[Group]</code> attribute</li> <li>A test can no longer be part of multiple test suites that are configured in the XML configuration file</li> <li><code>--check-version</code> now exits with a shell exit code that indicates failure when the version is not the latest version</li> </ul> <h3>Deprecated</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/4505">#4505</a>: Support for metadata in doc-comments</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5214">#5214</a>: <code>TestCase::iniSet()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5216">#5216</a>: <code>TestCase::setLocale()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5240">#5240</a>: <code>TestCase::createTestProxy()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5241">#5241</a>: <code>TestCase::getMockForAbstractClass()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5242">#5242</a>: <code>TestCase::getMockFromWsdl()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5243">#5243</a>: <code>TestCase::getMockForTrait()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5244">#5244</a>: <code>TestCase::getObjectForTrait()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5305">#5305</a>: <code>MockBuilder::getMockForAbstractClass()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5306">#5306</a>: <code>MockBuilder::getMockForTrait()</code> (this method was already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5307">#5307</a>: <code>MockBuilder::enableProxyingToOriginalMethods()</code>, <code>MockBuilder::disableProxyingToOriginalMethods()</code>, and <code>MockBuilder::setProxyTarget()</code> (these methods were already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5308">#5308</a>: <code>MockBuilder::allowMockingUnknownTypes()</code> and <code>MockBuilder::disallowMockingUnknownTypes()</code> (these methods were already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5309">#5309</a>: <code>MockBuilder::enableAutoload()</code> and <code>MockBuilder::disableAutoload()</code> (these methods were already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5315">#5315</a>: <code>MockBuilder::enableArgumentCloning()</code> and <code>MockBuilder::disableArgumentCloning()</code> (these methods were already <a href="https://phpunit.de/backward-compatibility.html#soft-deprecation">soft-deprecated</a> in PHPUnit 10)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/2f281e7e6776aea920cab5fc5a48d0fefbe1f39e"><code>2f281e7</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/6978be24ec765db1f073fded43556390b06183e7"><code>6978be2</code></a> Merge branch '10.5' into 11.0</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/50b8e314b6d0dd06521dc31d1abffa73f25f850c"><code>50b8e31</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/41a919a806b4f598ac1494ddc65d32454b72f61b"><code>41a919a</code></a> Merge branch '10.5' into 11.0</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/f01a305c12116f32e6aa2f532209eea08a6b5100"><code>f01a305</code></a> Make this test portable</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/0593b342fbddd163bf57e5b0bdbc96bf4451412e"><code>0593b34</code></a> Merge branch '10.5' into 11.0</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/93b9806ae876fcd32a715a3c84613230f385aef0"><code>93b9806</code></a> Closes <a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5692">#5692</a> (which was a regression introduced with the fix for <a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5633">#5633</a>)</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/02c1d45fdb0f9f8e6bbcbc4cde596c36c68c2438"><code>02c1d45</code></a> Reapply &quot;Fix issues identified by Psalm&quot;</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/45fc5ad7c8e904fa77f43e6da90cf09bb67a7c29"><code>45fc5ad</code></a> Revert &quot;Add test&quot;</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/6c7bc20afffc55badedcdb3988ba3c27e7d27626"><code>6c7bc20</code></a> Revert &quot;resolve both relative and absolute paths&quot;</li> <li>Additional commits viewable in <a href="https://github.com/sebastianbergmann/phpunit/compare/10.5.9...11.0.2">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.9&new-version=11.0.2)](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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 15:51:15 +03:00
Sign in to join this conversation.
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
starred/flyimg#1073
No description provided.