mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Remove the require on autoload, as it's already loaded by Behat before
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
|
||||
require __DIR__.'/../../vendor/autoload.php';
|
||||
|
||||
// The check is to ensure we don't use .env in production
|
||||
if (!getenv('APP_ENV')) {
|
||||
(new Dotenv())->load(__DIR__.'/../../.env');
|
||||
|
||||
Reference in New Issue
Block a user