-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathphpstan.neon
More file actions
70 lines (57 loc) · 2.05 KB
/
phpstan.neon
File metadata and controls
70 lines (57 loc) · 2.05 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
62
63
64
65
66
67
68
69
70
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- database/
- src/
- tests/
excludePaths:
- src/Filament/Actions/CommentsTableAction.php
- src/Filament/Actions/SubscriptionTableAction.php
# Level 10 is the highest level
level: 1
ignoreErrors:
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: src/Actions/HtmlToMarkdown.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: src/Actions/ParseComment.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: src/Actions/SaveComment.php
-
message: '#^Cannot instantiate interface Kirschbaum\\Commentions\\Contracts\\RenderableComment\.$#'
identifier: new.interface
count: 1
path: src/Livewire/RenderableCommentSynth.php
-
message: '#^Unsafe usage of new static\(\)\.$#'
identifier: new.static
count: 1
path: src/RenderableComment.php
-
message: '#^Call to an undefined method PHPUnit\\Framework\\TestCase::[a-zA-Z0-9_]+\(\)\.$#'
identifier: method.notFound
count: 3
path: tests/**/*.php
-
message: '#^Undefined variable\: \$this$#'
identifier: variable.undefined
path: tests/Pest.php
-
message: '#^Call to an undefined method PHPUnit\\Framework\\TestCase\:\:assertDatabaseHas\(\)\.$#'
identifier: method.notFound
count: 2
path: tests/Livewire/CommentReactionTest.php
-
message: '#^Call to an undefined method PHPUnit\\Framework\\TestCase\:\:assertDatabaseMissing\(\)\.$#'
identifier: method.notFound
count: 3
path: tests/Livewire/CommentReactionTest.php