Expected result: the console outputs a warning that .env file does not exist. Ideally, proposes to create one then from the .env-example.
Actual result: The fatal error "PHP Fatal error: Uncaught Dotenv\Exception\InvalidPathException: Unable to read the environment file"
Steps to reproduce
php yii hello
Expected result: the console outputs a warning that .env file does not exist. Ideally, proposes to create one then from the
.env-example
. Actual result: The fatal error "PHP Fatal error: Uncaught Dotenv\Exception\InvalidPathException: Unable to read the environment file"