Skip to content

Add env as a forbidden function #1

Description

@phillipdebruin

Laravel config cache is great, but when it's enabled .env values are all null. We tend not to enable it on our dev environment, but on production. The use of the env() helper could easily slip into our code. A sniffer for it would be a good idea then.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions