Skip to content

Exclude the tests directory from env() ban#202

Open
mattstauffer wants to merge 1 commit into
3.xfrom
mes/exclude-tests-env-check
Open

Exclude the tests directory from env() ban#202
mattstauffer wants to merge 1 commit into
3.xfrom
mes/exclude-tests-env-check

Conversation

@mattstauffer
Copy link
Copy Markdown
Member

@mattstauffer mattstauffer commented Apr 20, 2026

Tests don't cache config() and Dusk uses env() by default, so it's safe (and Laravel-default-friendly) to allow env() usage in tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant