This repository has been archived by the owner on Apr 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
phpstan-baseline.neon
42 lines (34 loc) · 1.63 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
32
33
34
35
36
37
38
39
40
41
parameters:
ignoreErrors:
-
message: "#^Method Cakasim\\\\Payone\\\\Sdk\\\\Api\\\\Message\\\\AbstractMessage\\:\\:unserialize\\(\\) has parameter \\$serialized with no typehint specified\\.$#"
count: 1
path: src\Api\Message\AbstractMessage.php
-
message: "#^Method Cakasim\\\\Payone\\\\Sdk\\\\Api\\\\Message\\\\BinaryResponse\\:\\:unserialize\\(\\) has parameter \\$serialized with no typehint specified\\.$#"
count: 1
path: src\Api\Message\BinaryResponse.php
-
message: "#^Method Cakasim\\\\Payone\\\\Sdk\\\\Api\\\\Message\\\\JsonResponse\\:\\:unserialize\\(\\) has parameter \\$serialized with no typehint specified\\.$#"
count: 1
path: src\Api\Message\JsonResponse.php
-
message: "#^Parameter \\#1 \\$name of class ReflectionFunction constructor expects Closure\\|string, callable\\(\\)\\: mixed given\\.$#"
count: 1
path: src\Container\Binding\CallableBinding.php
-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 1
path: src\Container\Binding\ClassBinding.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: src\Container\Container.php
-
message: "#^Method Cakasim\\\\Payone\\\\Sdk\\\\Notification\\\\Message\\\\AbstractMessage\\:\\:unserialize\\(\\) has parameter \\$serialized with no typehint specified\\.$#"
count: 1
path: src\Notification\Message\AbstractMessage.php
-
message: "#^PHPDoc tag @throws with type Psr\\\\Container\\\\ContainerExceptionInterface is not subtype of Throwable$#"
count: 4
path: src\Sdk.php