forked from mpoiriert/draw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
23 lines (22 loc) · 1.21 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
includes:
- phpstan-baseline.neon
- packages/tester-bundle/extension.neon
parameters:
level: 5
paths:
- app
- packages
- tests
excludePaths:
- packages/fixer/Tests/fixtures/*
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- '#Call to an undefined method Symfony\\Component\\HttpFoundation\\Session\\SessionInterface::getFlashBag\(\).#'
- '#Trying to mock an undefined method [a-zA-Z0-9\\_]#'
#- '#provideTestArgument\(\) return type has no value type specified in iterable type (iterable|array).#'
#- '#provideTestOption\(\) return type has no value type specified in iterable type (iterable|array).#'
#- '#getHandledMessages\(\) return type has no value type specified in iterable type (iterable|array).#'
#- '#Test::getDefaultConfiguration\(\) return type has no value type specified in iterable type array.#'
#- '#Test::getConfiguration\(\) return type has no value type specified in iterable type array.#'
#- '#Test::provide[a-zA-Z0-9]*\(\) return type has no value type specified in iterable type (iterable|array).#'
#- '#Method [a-zA-Z0-9\\]*::getForEmails\(\) return type has no value type specified in iterable type (iterable|array).#'