-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan-baseline.neon
56 lines (46 loc) · 2.36 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
parameters:
ignoreErrors:
-
message: "#^Cannot call method getStatus\\(\\) on Src\\\\Domain\\\\Entities\\\\Order\\|null\\.$#"
count: 1
path: app/Http/Controllers/OrdersController.php
-
message: "#^Parameter \\#1 \\$request of method Src\\\\Application\\\\services\\\\OrderService\\:\\:CreateOrder\\(\\) expects array\\{merchantId\\: int, products\\: array\\{product_id\\: int, quantity\\: int\\}\\}, array given\\.$#"
count: 1
path: app/Http/Controllers/OrdersController.php
-
message: "#^Method App\\\\Http\\\\Middleware\\\\RedirectIfAuthenticated\\:\\:handle\\(\\) should return Symfony\\\\Component\\\\HttpFoundation\\\\Response but returns Illuminate\\\\Http\\\\RedirectResponse\\|Illuminate\\\\Routing\\\\Redirector\\.$#"
count: 1
path: app/Http/Middleware/RedirectIfAuthenticated.php
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Routing\\\\ResponseFactory\\|Illuminate\\\\Http\\\\Response\\:\\:json\\(\\)\\.$#"
count: 2
path: app/Http/shared/Respond.php
-
message: "#^Access to an undefined property App\\\\Models\\\\LowStockNotification\\:\\:\\$ingredientStock\\.$#"
count: 1
path: app/Jobs/SendLowStockNotification.php
-
message: "#^Call to an undefined static method App\\\\Models\\\\Order\\:\\:create\\(\\)\\.$#"
count: 1
path: src/Infrastructure/repositories/Eloquent/EloquentOrderRepository.php
-
message: "#^Call to an undefined static method App\\\\Models\\\\OrderItem\\:\\:insert\\(\\)\\.$#"
count: 1
path: src/Infrastructure/repositories/Eloquent/EloquentOrderRepository.php
-
message: "#^Variable \\$orderModel in PHPDoc tag @var does not exist\\.$#"
count: 1
path: src/Infrastructure/repositories/Eloquent/EloquentOrderRepository.php
-
message: "#^Call to an undefined static method App\\\\Models\\\\LowStockNotification\\:\\:where\\(\\)\\.$#"
count: 1
path: src/Infrastructure/repositories/Eloquent/EloquentStockNotificationRepository.php
-
message: "#^Call to an undefined static method App\\\\Models\\\\LowStockNotification\\:\\:whereIn\\(\\)\\.$#"
count: 2
path: src/Infrastructure/repositories/Eloquent/EloquentStockNotificationRepository.php
-
message: "#^Call to an undefined static method App\\\\Models\\\\IngredientStock\\:\\:whereIn\\(\\)\\.$#"
count: 1
path: src/Infrastructure/repositories/Eloquent/EloquentStockRepository.php