pelican-panel-mirror/phpstan.neon
2025-05-01 16:47:52 -04:00

26 lines
650 B
Plaintext

includes:
- vendor/larastan/larastan/extension.neon
rules:
- App\PHPStan\ForbiddenGlobalFunctionsRule
parameters:
paths:
- app
level: 6
ignoreErrors:
- identifier: argument.templateType
- identifier: missingType.generics
# We are getting and setting environment variables directly
-
identifier: larastan.noEnvCallsOutsideOfConfig
paths:
- app/Console/Commands/Environment/*.php
- app/Extensions/Captcha/Providers/*.php
- app/Extensions/OAuth/Schemas/*.php
- app/Filament/Admin/Pages/Settings.php