Skip to content

Commit

Permalink
OP-352 - Add phpstan configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonKostrubiec committed Jul 8, 2024
1 parent 4d604e9 commit 855e5da
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -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.*#'

0 comments on commit 855e5da

Please sign in to comment.