# Env Variable Analyzer
Category | Severity | Time To Fix |
---|---|---|
✅ Reliability | Major | 10 minutes |
Class: Enlightn\Enlightn\Analyzers\Reliability\EnvVariableAnalyzer
# Introduction
This analyzer confirms that all your env variables defined in your .env.example
file are also defined in your .env
file.
In case there are some missing variables, you may have forgotten to define them in your .env
file. If you excluded these variables to set them as null, you can do this in your definition as well:
YOUR_VARIABLE=null
# How To Fix
This analyzer displays the variables that are not defined in your .env
file. To fix this issue, simply define these variables in the file.