From 6090d992129dac5714a51279b1b996654aaac653 Mon Sep 17 00:00:00 2001 From: Ali Haider Date: Mon, 14 Sep 2026 16:28:26 +1000 Subject: [PATCH 1/2] [GOVCMSD11-754] add neon file for phpstan config --- phpstan.neon | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 phpstan.neon diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000..bca33b4 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,24 @@ +parameters: + level: 6 + + paths: + - .. + + fileExtensions: + - php + - module + - inc + - install + - profile + - theme + - engine + - test + + excludePaths: + analyseAndScan: + - ../tests/* + - ../vendor/* + - ../web/* + - ../bin/* + - ../node_modules/* + - ../.git/* \ No newline at end of file From 2cd33b41531d56ffaeb9274ede6042fea9108d07 Mon Sep 17 00:00:00 2001 From: Ali Haider Date: Mon, 14 Sep 2026 16:48:46 +1000 Subject: [PATCH 2/2] fixing paths --- phpstan.neon | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index bca33b4..33ea8e0 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -2,7 +2,7 @@ parameters: level: 6 paths: - - .. + - . fileExtensions: - php @@ -16,9 +16,9 @@ parameters: excludePaths: analyseAndScan: - - ../tests/* - - ../vendor/* - - ../web/* - - ../bin/* - - ../node_modules/* - - ../.git/* \ No newline at end of file + - tests/* + - vendor/* + - web/* + - bin/* + - node_modules/* + - .git/* \ No newline at end of file