Skip to content

Bump dev dependencies, PHPUnit 13 - #490

Merged
TomasVotruba merged 1 commit into
mainfrom
bump-dev-deps
Jul 30, 2026
Merged

Bump dev dependencies, PHPUnit 13#490
TomasVotruba merged 1 commit into
mainfrom
bump-dev-deps

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

composer update + vendor/bin/jack raise-to-installed, with PHPUnit taken to 13.

 "require-dev": {
-    "phpecs/phpecs": "^2.2",
+    "phpecs/phpecs": "^2.3",
-    "phpstan/phpstan": "^2.1.14",
+    "phpstan/phpstan": "^2.2",
-    "phpunit/phpunit": "^12.0",
+    "phpunit/phpunit": "^13.2",
-    "rector/jack": "^0.5",
+    "rector/jack": "^1.0",
-    "rector/swiss-knife": "^2.3",
+    "rector/swiss-knife": "^2.4",
-    "symplify/phpstan-rules": "^14.9",
+    "symplify/phpstan-rules": "^14.12",
-    "tracy/tracy": "^2.11"
+    "tracy/tracy": "^2.12"
 }

doctrine/doctrine-bundle and doctrine/orm were left at ^2.x|^3.0 on purpose - jack raise-to-installed wanted to narrow them to ^3.0, which would drop the Doctrine 2 test coverage.

PHPUnit 13 pulls sebastian/diff 9, which needs rector-src 04b18f6 or newer (rectorphp/rector-src#8220).

The three touched PHP files are pure formatting - phpecs 2.3 tightened the union-type and array-access spacing rules:

-    ClassMethod | Property | ClassLike | Param $node,
+    ClassMethod|Property|ClassLike|Param $node,

Run composer update and vendor/bin/jack raise-to-installed,
then composer fix-cs for the new phpecs 2.3 formatting rules.
@TomasVotruba
TomasVotruba merged commit db9bf1d into main Jul 30, 2026
7 checks passed
@TomasVotruba
TomasVotruba deleted the bump-dev-deps branch July 30, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant