[PHP-WEBMASTER] [web-php] dependabot/composer/phpstan/phpstan-phpunit-2.0.18: composer(deps-dev): bump phpstan/phpstan-phpunit from 2.0.16 to 2.0.18

Author: dependabot[bot] (dependabot[bot])
Committer: GitHub (web-flow)
Pusher: dependabot[bot]
Date: 2026-07-06T15:03:11Z

Commit: composer(deps-dev): bump phpstan/phpstan-phpunit from 2.0.16 to 2.0.18 · php/web-php@c7c1ef6 · GitHub
Raw diff: https://github.com/php/web-php/commit/c7c1ef6735962db9395425a7be6102a8abcb6294.diff

composer(deps-dev): bump phpstan/phpstan-phpunit from 2.0.16 to 2.0.18

Bumps [phpstan/phpstan-phpunit](GitHub - phpstan/phpstan-phpunit: PHPUnit extensions and rules for PHPStan · GitHub) from 2.0.16 to 2.0.18.
- [Release notes](Releases · phpstan/phpstan-phpunit · GitHub)
- [Commits](Comparing 2.0.16...2.0.18 · phpstan/phpstan-phpunit · GitHub)

---
updated-dependencies:
- dependency-name: phpstan/phpstan-phpunit
  dependency-version: 2.0.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Changed paths:
  M composer.lock

Diff:

diff --git a/composer.lock b/composer.lock
index 5e6e4d9cfc..6978751462 100644
--- a/composer.lock
+++ b/composer.lock
@@ -858,11 +858,11 @@
         },
         {
             "name": "phpstan/phpstan",
- "version": "2.2.2",
+ "version": "2.2.5",
             "dist": {
                 "type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e5cc34d491a90e79c216d824f60fe21fd4d93bd6&quot;,
- "reference": "e5cc34d491a90e79c216d824f60fe21fd4d93bd6",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/909c1e5fef7989ac0d0c1c5c42e32a5c4f6198a0&quot;,
+ "reference": "909c1e5fef7989ac0d0c1c5c42e32a5c4f6198a0",
                 "shasum": ""
             },
             "require": {
@@ -918,25 +918,26 @@
                     "type": "github"
                 }
             ],
- "time": "2026-06-05T09:00:01+00:00"
+ "time": "2026-07-05T06:31:06+00:00"
         },
         {
             "name": "phpstan/phpstan-phpunit",
- "version": "2.0.16",
+ "version": "2.0.18",
             "source": {
                 "type": "git",
                 "url": "https://github.com/phpstan/phpstan-phpunit.git&quot;,
- "reference": "6ab598e1bc106e6827fd346ae4a12b4a5d634c32"
+ "reference": "f5dc20ff8082d02339b60cab68ec3eb0d859fb30"
             },
             "dist": {
                 "type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/6ab598e1bc106e6827fd346ae4a12b4a5d634c32&quot;,
- "reference": "6ab598e1bc106e6827fd346ae4a12b4a5d634c32",
+ "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/f5dc20ff8082d02339b60cab68ec3eb0d859fb30&quot;,
+ "reference": "f5dc20ff8082d02339b60cab68ec3eb0d859fb30",
                 "shasum": ""
             },
             "require": {
+ "phar-io/version": "^3.2",
                 "php": "^7.4 || ^8.0",
- "phpstan/phpstan": "^2.1.32"
+ "phpstan/phpstan": "^2.2.3"
             },
             "conflict": {
                 "phpunit/phpunit": "<7.0"
@@ -946,7 +947,8 @@
                 "php-parallel-lint/php-parallel-lint": "^1.2",
                 "phpstan/phpstan-deprecation-rules": "^2.0",
                 "phpstan/phpstan-strict-rules": "^2.0",
- "phpunit/phpunit": "^9.6"
+ "phpunit/phpunit": "^9.6",
+ "shipmonk/name-collision-detector": "^2.1"
             },
             "type": "phpstan-extension",
             "extra": {
@@ -972,9 +974,9 @@
             ],
             "support": {
                 "issues": "https://github.com/phpstan/phpstan-phpunit/issues&quot;,
- "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.16&quot;
+ "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.18&quot;
             },
- "time": "2026-02-14T09:05:21+00:00"
+ "time": "2026-07-04T12:16:09+00:00"
         },
         {
             "name": "phpunit/php-code-coverage",