-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
26 lines (20 loc) · 1.12 KB
/
phpstan.neon
File metadata and controls
26 lines (20 loc) · 1.12 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
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- src
level: 8
ignoreErrors:
# OpenTelemetry is an optional dependency
- '#Call to static method .+\(\) on an unknown class OpenTelemetry\\#'
# WithStation trait is used by package consumers
- '#Trait Station\\Testing\\WithStation is used zero times#'
# Laravel Application supports array access (factory closures receive contract type)
- '#Cannot access offset .+ on Illuminate\\Contracts\\Foundation\\Application#'
# Properties used for job serialization
- '#Property Station\\Workflows\\WorkflowBranchJob::\$.+ is never read, only written#'
# Larastan collection type inference issues
- '#should return Illuminate\\Support\\Collection<int, array<string, mixed>> but returns Illuminate\\Support\\Collection<int, array>#'
- '#Called .pluck. on Laravel collection, but could have been retrieved as a query#'
# Missing array key type specifications (false positives)
- '#has parameter \$.+ with no value type specified in iterable type array#'