From 88e46cba6266a15931e2d3a8b396fee6e73ced9a Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 11 Jan 2026 19:57:57 +0700 Subject: [PATCH 1/2] Update webmozart/assert version to ^2.1 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 13b7878..f230f54 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "php": "^8.2", "symfony/console": "^6.4|^7.0", "nategood/httpful": "^1.0", - "webmozart/assert": "^1.11", + "webmozart/assert": "^2.1", "symfony/process": "^6.4|^7.0" }, "require-dev": { From c567552f9b148cb56d8bacd011374c3b73f8211e Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 11 Jan 2026 20:01:56 +0700 Subject: [PATCH 2/2] fix phpunit --- tests/ChangelogContentsFactory/Fixture/generated_changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ChangelogContentsFactory/Fixture/generated_changelog.md b/tests/ChangelogContentsFactory/Fixture/generated_changelog.md index 4cc134d..eec931f 100644 --- a/tests/ChangelogContentsFactory/Fixture/generated_changelog.md +++ b/tests/ChangelogContentsFactory/Fixture/generated_changelog.md @@ -1,6 +1,7 @@ ## New Features :partying_face: * Add new rule +* Enable PHPStan on tests as well + add "unused public" ([#3238](https://github.com/rectorphp/rector-src/pull/3238))