1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 07:04:03 +00:00

phpstan fixes for spatie invader

This commit is contained in:
Samuel Štancl 2025-01-21 14:35:00 +01:00
parent c239239972
commit 8f2cb894ce

View file

@ -1,6 +1,5 @@
includes:
- ./vendor/larastan/larastan/extension.neon
- ./vendor/spatie/invade/phpstan-extension.neon
parameters:
paths:
@ -16,6 +15,12 @@ parameters:
ignoreErrors:
- identifier: trait.unused
- identifier: missingType.iterableValue
-
message: '#Spatie\\Invade\\Invader#'
identifier: method.notFound
-
message: '#Spatie\\Invade\\Invader#'
identifier: property.notFound
- '#FFI#'
- '#Return type(.*?) of method Stancl\\Tenancy\\Database\\Models\\Tenant\:\:newCollection\(\) should be compatible with return type#'
- '#Method Stancl\\Tenancy\\Database\\Models\\Tenant\:\:newCollection\(\) should return#'