Skip to content

Commit c7dee48

Browse files
committed
PHPStan error format updated
1 parent b0f0da9 commit c7dee48

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

Diff for: phpstan-baseline.neon

-20
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: "#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<static\\(MongoDB\\\\Laravel\\\\Auth\\\\User\\)\\>\\:\\:pull\\(\\)\\.$#"
5-
count: 1
6-
path: src/Auth/User.php
7-
8-
-
9-
message: "#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<static\\(MongoDB\\\\Laravel\\\\Auth\\\\User\\)\\>\\:\\:push\\(\\)\\.$#"
10-
count: 1
11-
path: src/Auth/User.php
12-
13-
-
14-
message: "#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<static\\(MongoDB\\\\Laravel\\\\Eloquent\\\\Model\\)\\>\\:\\:pull\\(\\)\\.$#"
15-
count: 1
16-
path: src/Eloquent/Model.php
17-
18-
-
19-
message: "#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<static\\(MongoDB\\\\Laravel\\\\Eloquent\\\\Model\\)\\>\\:\\:push\\(\\)\\.$#"
20-
count: 1
21-
path: src/Eloquent/Model.php
22-
233
-
244
message: "#^Access to an undefined property Illuminate\\\\Container\\\\Container\\:\\:\\$config\\.$#"
255
count: 3

Diff for: phpstan.neon.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ parameters:
1313

1414
ignoreErrors:
1515
- '#Unsafe usage of new static#'
16-
- '#Call to an undefined method [a-zA-Z0-9\\_\<\>]+::[a-zA-Z]+\(\)#'
16+
- '#Call to an undefined method [a-zA-Z0-9\\_\<\>\(\)]+::[a-zA-Z]+\(\)#'
1717

1818
services:
1919
errorFormatter.sarif:

0 commit comments

Comments
 (0)