-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
61 lines (52 loc) · 2.87 KB
/
phpstan-baseline.neon
File metadata and controls
61 lines (52 loc) · 2.87 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
parameters:
ignoreErrors:
-
message: '#^Method HPWebdeveloper\\LaravelPayPocket\\Interfaces\\WalletOperations\:\:pay\(\) has invalid return type HPWebdeveloper\\LaravelPayPocket\\Interfaces\\TKey\.$#'
identifier: class.notFound
count: 1
path: src/Interfaces/WalletOperations.php
-
message: '#^Type HPWebdeveloper\\LaravelPayPocket\\Interfaces\\TKey in generic type Illuminate\\Support\\Collection\<HPWebdeveloper\\LaravelPayPocket\\Interfaces\\TKey, HPWebdeveloper\\LaravelPayPocket\\Models\\WalletsLog\> in PHPDoc tag @return is not subtype of template type TKey of \(int\|string\) of class Illuminate\\Support\\Collection\.$#'
identifier: generics.notSubtype
count: 1
path: src/Interfaces/WalletOperations.php
-
message: '#^Method HPWebdeveloper\\LaravelPayPocket\\Services\\PocketServices\:\:pay\(\) has invalid return type HPWebdeveloper\\LaravelPayPocket\\Services\\TKey\.$#'
identifier: class.notFound
count: 1
path: src/Services/PocketServices.php
-
message: '#^Method HPWebdeveloper\\LaravelPayPocket\\Services\\PocketServices\:\:pay\(\) should return Illuminate\\Support\\Collection\<HPWebdeveloper\\LaravelPayPocket\\Services\\TKey, HPWebdeveloper\\LaravelPayPocket\\Models\\WalletsLog\> but returns Illuminate\\Support\\Collection\<HPWebdeveloper\\LaravelPayPocket\\Interfaces\\TKey, HPWebdeveloper\\LaravelPayPocket\\Models\\WalletsLog\>\.$#'
identifier: return.type
count: 1
path: src/Services/PocketServices.php
-
message: '#^Type HPWebdeveloper\\LaravelPayPocket\\Services\\TKey in generic type Illuminate\\Support\\Collection\<HPWebdeveloper\\LaravelPayPocket\\Services\\TKey, HPWebdeveloper\\LaravelPayPocket\\Models\\WalletsLog\> in PHPDoc tag @return is not subtype of template type TKey of \(int\|string\) of class Illuminate\\Support\\Collection\.$#'
identifier: generics.notSubtype
count: 1
path: src/Services/PocketServices.php
-
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\GetWallets is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Traits/GetWallets.php
-
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\HandlesDeposit is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Traits/HandlesDeposit.php
-
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\HandlesPayment is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Traits/HandlesPayment.php
-
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\HasWallet is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Traits/HasWallet.php
-
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\ManagesWallet is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/Traits/ManagesWallet.php