-
Notifications
You must be signed in to change notification settings - Fork 47
/
phpstan-baseline.neon
31 lines (27 loc) · 1.15 KB
/
phpstan-baseline.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
27
28
29
30
31
parameters:
ignoreErrors:
-
message: '#^Creating callable from array\{mixed, non\-falsy\-string\} but it might not be a callable\.$#'
identifier: callable.nonCallable
count: 2
path: src/AuthorizationService.php
-
message: '#^Method Authorization\\Controller\\Component\\AuthorizationComponent\:\:can\(\) should return bool but returns Authorization\\Policy\\ResultInterface\|bool\.$#'
identifier: return.type
count: 1
path: src/Controller/Component/AuthorizationComponent.php
-
message: '#^Method Authorization\\Controller\\Component\\AuthorizationComponent\:\:canResult\(\) should return Authorization\\Policy\\ResultInterface but returns Authorization\\Policy\\ResultInterface\|bool\.$#'
identifier: return.type
count: 1
path: src/Controller/Component/AuthorizationComponent.php
-
message: '#^Cannot call method getIdentifier\(\) on array\|Authentication\\IdentityInterface\.$#'
identifier: method.nonObject
count: 1
path: src/Identity.php
-
message: '#^Cannot call method getOriginalData\(\) on array\|Authentication\\IdentityInterface\.$#'
identifier: method.nonObject
count: 1
path: src/Identity.php