Skip to content

Commit dc5f4d7

Browse files
fix: Update PHPStan baseline for PHPStan 2.x compatibility
- Remove identifier fields from baseline (not needed in v2.x format) - Update path for $createdLog error (now in BalanceOperation.php context) - Keep all 11 errors that PHPStan 2.x still reports - Fixes GitHub Actions PHPStan workflow failures
1 parent c6f7d01 commit dc5f4d7

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

phpstan-baseline.neon

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ parameters:
1212
count: 1
1313
path: src/Interfaces/WalletOperations.php
1414

15-
-
16-
message: '#^Property HPWebdeveloper\\LaravelPayPocket\\Models\\Wallet\:\:\$createdLog \(HPWebdeveloper\\LaravelPayPocket\\Models\\WalletsLog\) does not accept Illuminate\\Database\\Eloquent\\Model\.$#'
17-
identifier: assign.propertyType
18-
count: 1
19-
path: src/Models/Wallet.php
20-
2115
-
2216
message: '#^Method HPWebdeveloper\\LaravelPayPocket\\Services\\PocketServices\:\:pay\(\) has invalid return type HPWebdeveloper\\LaravelPayPocket\\Services\\TKey\.$#'
2317
identifier: class.notFound
@@ -36,32 +30,32 @@ parameters:
3630
count: 1
3731
path: src/Services/PocketServices.php
3832

33+
-
34+
message: '#^Property HPWebdeveloper\\LaravelPayPocket\\Models\\Wallet\:\:\$createdLog \(HPWebdeveloper\\LaravelPayPocket\\Models\\WalletsLog\) does not accept Illuminate\\Database\\Eloquent\\Model\.$#'
35+
count: 1
36+
path: src/Traits/BalanceOperation.php
37+
3938
-
4039
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\GetWallets is used zero times and is not analysed\.$#'
41-
identifier: trait.unused
4240
count: 1
4341
path: src/Traits/GetWallets.php
4442

4543
-
4644
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\HandlesDeposit is used zero times and is not analysed\.$#'
47-
identifier: trait.unused
4845
count: 1
4946
path: src/Traits/HandlesDeposit.php
5047

5148
-
5249
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\HandlesPayment is used zero times and is not analysed\.$#'
53-
identifier: trait.unused
5450
count: 1
5551
path: src/Traits/HandlesPayment.php
5652

5753
-
5854
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\HasWallet is used zero times and is not analysed\.$#'
59-
identifier: trait.unused
6055
count: 1
6156
path: src/Traits/HasWallet.php
6257

6358
-
6459
message: '#^Trait HPWebdeveloper\\LaravelPayPocket\\Traits\\ManagesWallet is used zero times and is not analysed\.$#'
65-
identifier: trait.unused
6660
count: 1
6761
path: src/Traits/ManagesWallet.php

0 commit comments

Comments
 (0)