pelican-panel-mirror/phpstan.neon
Boy132 45db06a1bd
Refactor captcha (#1068)
* refactor captcha

* add default error message

* prevent rule from being called multiple times

* fixes

* use config

* Update this to latest

* Remove this

---------

Co-authored-by: Lance Pioch <git@lance.sh>
2025-03-15 15:52:38 -04:00

26 lines
652 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/Providers/*.php
- app/Filament/Admin/Pages/Settings.php