From 0b5a0f48232f234417dbdf42e9599aecb2b827c0 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Tue, 24 Feb 2026 00:30:28 +0100 Subject: [PATCH] chore(tooling): add new larastan options --- phpstan.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index d6b9d28fd..314df9516 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -18,12 +18,15 @@ parameters: tipsOfTheDay: false # Additional Larastan Rules + enableMigrationCache: true noUnnecessaryEnumerableToArrayCalls: true checkModelProperties: true + parseModelCastsMethod: true checkOctaneCompatibility: true checkModelMethodVisibility: true checkAuthCallsWhenInRequestScope: true checkConfigTypes: true + generalizeEnvReturnType: true tmpDir: ./storage/phpstan paths: