forked from moonshine-software/moonshine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
25 lines (23 loc) · 1.01 KB
/
phpstan.neon.dist
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
includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
editorUrl: 'anything'
editorUrlTitle: "\nat packages/moonshine/%%relFile%%:%%line%%"
paths:
- src/
level: 5
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Cannot cast Closure to string#'
- '#Cannot cast Closure\|null to string#'
- '#mixin contains invalid type Illuminate\\Support\\Traits\\Conditionable#'
- '#does not accept Illuminate\\View\\ComponentAttributeBag#'
- '#should return MoonShine\\Contracts\\UI\\ComponentAttributesBagContract but returns Illuminate\\View\\ComponentAttributeBag#'
- '#getResource\(\) should return#'
- '#getParentResource\(\) should return#'
- '#when\(\) expects#'
- '#Call to an undefined method Illuminate\\Http\\Request::getScalar#'
excludePaths:
- ./src/Support/src/Traits/Makeable.php
- ./src/Laravel/routes/moonshine.php
- ./src/Laravel/src/Providers/MoonShineServiceProvider.php