-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
20 lines (20 loc) · 940 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
level: 3
paths:
- src
excludePaths:
- */node_modules/*
- */bower_components/*
- */static/*
ignoreErrors:
- '#Class GeneratedNodeSources\\NS([a-zA-Z]+) not found#'
- '#Call to method ([a-zA-Z]+)\(\) on an unknown class GeneratedNodeSources\\NS([a-zA-Z]+)#'
- '#Call to an undefined method ([^:]+)\:\:get(?:External|Internal)Link(?:Sources)?\(\)#'
- '#Call to an undefined method Doctrine\\ORM\\EntityRepository\:\:findOneByApiKey\(\)#'
- '#NodesSources\|null but returns GeneratedNodeSources\\NS(?:[a-zA-Z]+)#'
- '#GeneratedNodeSources\\NS(?:[a-zA-Z]+)#'
- '#Call to an undefined method RZ\\Roadiz\\Core\\AbstractEntities\\LeafInterface#'
- '#Doctrine\\Persistence\\ObjectRepository#'
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false