Add phpstan

This commit is contained in:
2024-10-07 11:41:21 +02:00
parent 98576daa67
commit 1f74bbfc0d
3 changed files with 79 additions and 3 deletions

14
phpstan.neon Normal file
View File

@@ -0,0 +1,14 @@
parameters:
level: 5
excludePaths:
- doc
- vendor
- var
- tests
# Paths to include in the analysis
paths:
- src
treatPhpDocTypesAsCertain: false