Skip to content

Commit

Permalink
phpstan fixes for spatie invader
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Jan 21, 2025
1 parent c239239 commit 8f2cb89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
includes:
- ./vendor/larastan/larastan/extension.neon
- ./vendor/spatie/invade/phpstan-extension.neon

parameters:
paths:
Expand All @@ -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#'
Expand Down

0 comments on commit 8f2cb89

Please sign in to comment.