From d64fea05bf2273a80a4359614b73d5480e913d2e Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sun, 24 May 2026 17:46:15 -0500 Subject: [PATCH] fix(ci): mark node_modules as optional in phpstan.neon PHPStan 2.x requires non-existent exclude paths to be marked with (?) to indicate they are optional. Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) --- phpstan.neon | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 80b5431..b9fb9c4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -13,8 +13,9 @@ parameters: - automation - cli excludePaths: - - vendor - - node_modules + analyseAndScan: + - vendor + - node_modules (?) # Report unknown classes and functions reportUnmatchedIgnoredErrors: false