Files
filament/phpstan.neon.dist
T
Dan Harrin 5de1d8ec2a push
2025-02-25 09:22:22 +00:00

29 lines
1.2 KiB
Plaintext

includes:
- phpstan-baseline.neon
parameters:
level: 6
paths:
- packages
excludePaths:
- packages/upgrade/*
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#Unable to resolve the template type TKey in call to function collect#'
- '#Unable to resolve the template type TValue in call to function collect#'
- '#.*Illuminate\\Database\\Eloquent\\Relations\\HasOneOrManyThrough.*#'
-
message: "#^Parameter \\#1 \\$value of method Filament\\\\Support\\\\Components\\\\Component\\:\\:evaluate\\(\\) expects \\(callable\\(\\)\\: void\\)\\|void, Closure\\(Filament\\\\Forms\\\\Components\\\\BaseFileUpload, Filament\\\\Forms\\\\Get, Filament\\\\Forms\\\\Set\\)\\: void given\\.$#"
count: 2
path: packages/forms/src/Components/BaseFileUpload.php
-
message: "#^Parameter \\#1 \\$value of method Filament\\\\Support\\\\Components\\\\Component\\:\\:evaluate\\(\\) expects \\(callable\\(\\)\\: \\(string\\|null\\)\\)\\|string\\|null, Closure\\(Filament\\\\Forms\\\\Get\\)\\: \\(string\\|null\\) given\\.$#"
count: 1
path: packages/forms/src/Components/MorphToSelect.php
-
identifier: missingType.generics