mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-19 17:34:45 +02:00

* 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>
26 lines
652 B
Plaintext
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
|