Skip to content

Commit 04b4586

Browse files
committed
feat: update PHPStan baseline and configuration for improved type checking
1 parent 73744fe commit 04b4586

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

phpstan-baseline.neon

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ parameters:
33
- message: '#Parameter \#1 \$prefix of static method Illuminate\\Support\\Facades\\Route::prefix\(\) expects string, mixed given\.#'
44
path: routes/*.php
55

6+
- message: '#Part \$routePrefix \(mixed\) of encapsed string cannot be cast to string\.#'
7+
path: routes/*.php
8+
9+
- message: '#Cannot cast mixed to string#'
10+
path: src/*.php
11+
12+
- message: '#Cannot cast mixed to int#'
13+
path: src/*.php
14+
15+
- message: '#Cannot access offset .+ on mixed#'
16+
path: src/*.php
17+
618
- message: '#Parameter \#1 \$view of function view expects view-string\|null, string given\.#'
719
paths:
820
- src/Services/GithubService.php

0 commit comments

Comments
 (0)