-
-
Notifications
You must be signed in to change notification settings - Fork 269
/
phpstan.neon
26 lines (26 loc) · 1.03 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
24
25
26
parameters:
level: 6
treatPhpDocTypesAsCertain: false
paths:
- src
- tests
ignoreErrors:
-
identifier: missingType.generics
-
identifier: method.alreadyNarrowedType
-
message: '#internal(G|S)etItem\(\) has parameter \$(casToken|value) with no type specified#'
path: src/Cache/DoctrineCacheStorage.php
- '#(Class|Instantiated class) Doctrine\\Common\\Cache\\(.*) not found#'
- '#Call to method (.*) on an unknown class Doctrine\\Common\\Cache\\(.*)#'
-
message: '#class DoctrineModule\\Cache\\DoctrineCacheStorage constructor expects#'
path: tests/Cache/DoctrineCacheStorageTest.php
-
message: '#mock an undefined method save\(\) on class Doctrine\\Common\\Cache\\ArrayCache#'
path: tests/Cache/DoctrineCacheStorageTest.php
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/jangregor/phpstan-prophecy/extension.neon