Skip to content

Commit 02b7acb

Browse files
committed
ignore Eloquent magically passing arguments
1 parent 6c8f41a commit 02b7acb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpstan-baseline.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ parameters:
2020
count: 3
2121
path: src/Relations/BelongsToMany.php
2222

23+
-
24+
message: "#^Method Illuminate\\\\Database\\\\Eloquent\\\\Model\\:\\:push\\(\\) invoked with 3 parameters, 0 required\\.$#"
25+
count: 6
26+
path: src/Relations/MorphToMany.php
27+
2328
-
2429
message: "#^Method Illuminate\\\\Database\\\\Schema\\\\Blueprint\\:\\:create\\(\\) invoked with 1 parameter, 0 required\\.$#"
2530
count: 1

0 commit comments

Comments
 (0)