-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
36 lines (30 loc) · 1.96 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
parameters:
ignoreErrors:
-
message: "#^Relation 'categories' is not found in App\\\\Models\\\\Post model\\.$#"
count: 1
path: app/Http/Controllers/Guest/PostController.php
-
message: "#^Relation 'user' is not found in App\\\\Models\\\\Comment model\\.$#"
count: 1
path: app/Http/Controllers/Writer/WriterController.php
-
message: "#^Method App\\\\Policies\\\\WriterPostPolicy\\:\\:create\\(\\) should return bool\\|Illuminate\\\\Auth\\\\Access\\\\Response but return statement is missing\\.$#"
count: 1
path: app/Policies/WriterPostPolicy.php
-
message: "#^Method App\\\\Policies\\\\WriterPostPolicy\\:\\:forceDelete\\(\\) should return bool\\|Illuminate\\\\Auth\\\\Access\\\\Response but return statement is missing\\.$#"
count: 1
path: app/Policies/WriterPostPolicy.php
-
message: "#^Method App\\\\Policies\\\\WriterPostPolicy\\:\\:restore\\(\\) should return bool\\|Illuminate\\\\Auth\\\\Access\\\\Response but return statement is missing\\.$#"
count: 1
path: app/Policies/WriterPostPolicy.php
-
message: "#^Method App\\\\Policies\\\\WriterPostPolicy\\:\\:viewAny\\(\\) should return bool\\|Illuminate\\\\Auth\\\\Access\\\\Response but return statement is missing\\.$#"
count: 1
path: app/Policies/WriterPostPolicy.php
-
message: "#^Called 'except' on Laravel collection, but could have been retrieved as a query\\.$#"
count: 1
path: app/Rules/CheckPostSlugUniqueRule.php