Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

analyse/laravel/no-env-outside-config

In the analyse-recommended preset and every stricter one. Report only. Runs when laravel is installed. Upstream gates: noEnvCallsOutsideOfConfig (default true).

Configuration

[analyse.rules]
"laravel/no-env-outside-config" = "on"

To skip it in some files or lines, add an ignore comment.

Replaces

More analyse/laravel rules · Edit this page

Last updated on

Was this page helpful?