From f637edea6a11ce48d8e7db6df9dbb4dc776d2220 Mon Sep 17 00:00:00 2001 From: Stanislas Poisson Date: Sun, 8 Nov 2026 16:50:24 +0100 Subject: [PATCH] chore(phpstan): #141 ignore the strict rules not followed yet Five identifiers, to reduce rule by rule. The base of laravel-dev-tools now includes the strict rules of php-dev-tools and no longer hides them. --- phpstan.neon | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index e3a55da..b0f8b6d 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -10,3 +10,15 @@ parameters: - app - tests tmpDir: build/phpstan + # Strict rules of php-dev-tools that this project does not follow yet. TEMPORARY: reduce this list rule by rule. + ignoreErrors: + - + identifier: staticMethod.dynamicCall # $this->assertSame() in the tests + - + identifier: method.childReturnType + - + identifier: ternary.shortNotAllowed + - + identifier: ternary.condNotBoolean + - + identifier: booleanNot.exprNotBoolean