From ac47d08437d4cff42f4ccd3838f751c2b44960a4 Mon Sep 17 00:00:00 2001 From: Niels Vanpachtenbeke <10651054+Nielsvanpach@users.noreply.github.com> Date: Fri, 22 Mar 2024 13:26:06 +0100 Subject: [PATCH] use a fixed version for phpstan --- composer.json | 2 +- phpstan.neon.dist | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 5937dbf4a..1d2d8065e 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "laravel/pint": "^1.0", "laravel/prompts": "^0.1.15", "pestphp/pest": "^2.31", - "phpstan/phpstan": "^1.10.56", + "phpstan/phpstan": "1.10.60", "spatie/invade": "^2.0", "spatie/ray": "^1.40.1", "symfony/var-dumper": "^6.4" diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 79a6c0fc4..cf486a4f4 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -10,4 +10,3 @@ parameters: - '#Unsafe usage of new static#' - '#Cannot call method startOfDay\(\) on Carbon\\CarbonImmutable\|null#' - '#Cannot call method addDays\(\) on Carbon\\CarbonImmutable\|null#' - - '#Cannot call method previous\(\) on Carbon\\CarbonImmutable\|null#'