-
Notifications
You must be signed in to change notification settings - Fork 12
/
phpstan.neon
25 lines (25 loc) · 1.66 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
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
level: 8
paths:
- src
- tests
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
message: '#^Parameter \#2 \$value of method Inspirum\\Balikobot\\Model\\BasePerCarrierCollection\<TItemKey of \(int\|string\),TItemValue,TValue of Inspirum\\Arrayable\\Arrayable\<TItemKey of \(int\|string\), TItemValue\>&Inspirum\\Balikobot\\Model\\WithCarrierId\>\:\:offsetSet\(\) expects TValue of Inspirum\\Arrayable\\Arrayable\<TItemKey of \(int\|string\), TItemValue\>&Inspirum\\Balikobot\\Model\\WithCarrierId, Inspirum\\Arrayable\\Arrayable\<TItemKey of \(int\|string\), TItemValue\>&Inspirum\\Balikobot\\Model\\WithCarrierId given\.$#'
count: 1
path: src/Model/BasePerCarrierCollection.php
-
message: '#^Parameter \#1 of callable callable\(TValue\): bool expects TValue of Inspirum\\Arrayable\\Arrayable<TItemKey of \(int\|string\), TItemValue>&Inspirum\\Balikobot\\Model\\WithCarrierId, Inspirum\\Arrayable\\Arrayable<TItemKey of \(int\|string\), TItemValue>&Inspirum\\Balikobot\\Model\\WithCarrierId given\.$#'
count: 1
path: src/Model/BasePerCarrierCollection.php
-
message: '#^Method Inspirum\\Balikobot\\Model\\BasePerCarrierCollection\:\:first\(\) should return \(TValue of Inspirum\\Arrayable\\Arrayable\<TItemKey of \(int\|string\), TItemValue\>&Inspirum\\Balikobot\\Model\\WithCarrierId\)\|null but returns Inspirum\\Arrayable\\Arrayable\<TItemKey of \(int\|string\), TItemValue\>&Inspirum\\Balikobot\\Model\\WithCarrierId\.$#'
count: 1
path: src/Model/BasePerCarrierCollection.php
-
message: '#^PHPDoc tag \@return contains unresolvable type\.$#'
count: 35
path: src/**