-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
38 lines (27 loc) · 1.21 KB
/
phpstan-baseline.neon
File metadata and controls
38 lines (27 loc) · 1.21 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
parameters:
ignoreErrors:
- message: '#Parameter \#1 \$prefix of static method Illuminate\\Support\\Facades\\Route::prefix\(\) expects string, mixed given\.#'
path: routes/blog-api.php
- message: '#Part \$routePrefix \(mixed\) of encapsed string cannot be cast to string\.#'
path: routes/blog-api.php
- message: '#Access to an undefined property CSlant\\Blog\\Api\\Http\\Controllers\\PostController::\$postRepository\.#'
path: src/Http/Controllers/PostController.php
- message: '#Cannot cast mixed to string#'
path: '*'
- message: '#Cannot cast mixed to int#'
path: '*'
- message: '#Method CSlant\\Blog\\Api\\Services\\SlugService::getSlugModel\(\) has no return type specified#'
path: src/Services/SlugService.php
- message: '#.*Botble.*#'
- message: '#.*is used zero times and is not analysed#'
path: *.php
-
identifier: varTag.nativeType
-
identifier: method.notFound
-
identifier: generics.notGeneric
path: src/Supports/Queries/*.php
-
identifier: argument.type
path: src/Services/PostService.php