From 855e5da54900129206c0a38dcd0c76088d249f9d Mon Sep 17 00:00:00 2001 From: Szymon Kostrubiec Date: Mon, 8 Jul 2024 09:52:06 +0200 Subject: [PATCH] OP-352 - Add phpstan configuration file --- phpstan.neon | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 phpstan.neon diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 00000000..109ffc4a --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,17 @@ +parameters: + level: 8 + reportUnmatchedIgnoredErrors: false + paths: + - src + + excludePaths: + # Sitemap dependent providers + - 'src/SitemapProvider' + - 'src/Importer/AbstractImporter' + - 'tests/Application/config/bootstrap.php' + - 'tests/Fixture/PageFixtureTest.php' + - 'src/Controller/Helper' + ignoreErrors: + - identifier: missingType.iterableValue + - identifier: missingType.generics + - '#.*NodeParentInterface.*#'