From 318262fea7cc8664c594a683f56acdad9d5ff599 Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Mon, 17 Apr 2023 19:57:04 -0400 Subject: [PATCH] Implement temp solution for PHPStan issues See https://github.com/phpstan/phpstan/issues/8550 --- phpstan.neon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index e296026..d41beb5 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -4,6 +4,11 @@ parameters: ignoreErrors: - '#Dynamic call to static method PHPUnit\\Framework\\.*#' - '#Call to an undefined method Mockery\\Expectation::.*#' + universalObjectCratesClasses: + - UserFrosting\Sprinkle\Account\Database\Models\Interfaces\GroupInterface + - UserFrosting\Sprinkle\Account\Database\Models\Interfaces\UserInterface + - UserFrosting\Sprinkle\Account\Database\Models\Interfaces\RoleInterface + - UserFrosting\Sprinkle\Account\Database\Models\Interfaces\PermissionInterface includes: - vendor/phpstan/phpstan-strict-rules/rules.neon - vendor/phpstan/phpstan-deprecation-rules/rules.neon