From 068dc28a9581367c34093c61e4bbb01ca9dc1a1b Mon Sep 17 00:00:00 2001 From: Andrew Ivchenkov Date: Sun, 18 Aug 2024 02:31:46 +0300 Subject: [PATCH 1/2] Add 6.x to sebastian comparator because it blocks install in updated projects --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 539cfd9..35d299e 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ }, "require": { "php": "^7.2 || ^8.0", - "sebastian/comparator": "^1.2 | ^2.0 | ^2.1 | ^3.0 | ^4.0 | ^5.0", + "sebastian/comparator": "^1.2 | ^2.0 | ^2.1 | ^3.0 | ^4.0 | ^5.0 | ^6.0", "symfony/property-access": "^2.7 | ^3.0 | ^4.0 | ^5.0 | ^6.0" }, "require-dev": { From e723bd76894e0504b1c0f3ccbdb3331e1b2919cc Mon Sep 17 00:00:00 2001 From: Andrei Ivchenkov Date: Sun, 18 Aug 2024 13:52:23 +0300 Subject: [PATCH 2/2] updated phpstan.neon --- phpstan.neon | 1 - 1 file changed, 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index f537171..08970a1 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -12,5 +12,4 @@ parameters: - src/Lodash.php - src/internal/memoizeCapped.php # Exclude internal function due to dynamic class usage ignoreErrors: - - "#Callable '.*internal.*' invoked with \\d+ parameters, [\\d-]+ required.#" - "#^PHPDoc tag \\@param references unknown parameter\\: \\$[a-zA-Z]+$#"