diff --git a/configs/phpstan.neon b/configs/phpstan.neon index e6990f7..ec8ec09 100644 --- a/configs/phpstan.neon +++ b/configs/phpstan.neon @@ -52,6 +52,6 @@ parameters: - '#Cannot access property \$[a-zA-Z0-9\\_]+ on App\\Models\\User\|null#' - '#Cannot call method [a-zA-Z0-9\\_]+\(\) on App\\Models\\User\|null#' - message: '/Undefined variable: \$this/' - path: tests/ + path: %currentWorkingDirectory%/tests/ - identifier: method.childReturnType - path: database/factories/ + path: %currentWorkingDirectory%/database/factories/