From d30c8bbdb9193af38732caa10a1d952d76211d47 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 10 Feb 2026 16:19:55 +0100 Subject: [PATCH] Add phpstan.neon config --- phpstan.neon | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 phpstan.neon diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 000000000..a90fa27a8 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,15 @@ +includes: + - vendor/larastan/larastan/extension.neon + +parameters: + level: 5 + paths: + - app + - routes + treatPhpDocTypesAsCertain: false + ignoreErrors: + # Laravel models use $dateFormat = false to disable date formatting, + # but the parent Model class declares it as string|null + - + identifier: property.defaultValue + message: '#dateFormat#'