-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
21 lines (21 loc) · 985 Bytes
/
phpstan.neon
File metadata and controls
21 lines (21 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
level: max
paths:
- src
excludePaths:
- */node_modules/*
- */bower_components/*
- */static/*
- */vendor/*
ignoreErrors:
- identifier: missingType.generics
- '#type has no value type specified in iterable type#'
- '#with no value type specified in iterable type#'
- '#has no return typehint specified\.#'
- '#on an unknown class (Memcached|Redis)#'
- '#Call to an undefined method Doctrine\\ORM\\EntityRepository\<#'
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder#'
- '#Parameter \#2 \$value of method Symfony\\Component\\DependencyInjection\\Container::setParameter\(\)#'
- '#Cannot call method (end|info|prototype|booleanNode|arrayNode|defaultValue|defaultNull|defaultTrue|isRequired|children|cannotBeEmpty|scalarNode)\(\) on mixed#'
reportUnmatchedIgnoredErrors: false
treatPhpDocTypesAsCertain: false