-
-
Notifications
You must be signed in to change notification settings - Fork 269
/
phpstan.neon
22 lines (22 loc) · 958 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
parameters:
level: 6
checkGenericClassInNonGenericObjectType: false
paths:
- src
- tests
ignoreErrors:
-
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