Sylius/Sylius-Standard

Update bootstrap.php

Closed this issue · 0 comments

Running vendor/bin/phpstan analyse with level 6, throws following error:

Parameter #1 $envKey of class Symfony\Component\Dotenv\Dotenv constructor expects string, true given.

Solution:

(new Dotenv('true'))->loadEnv(dirname(DIR) . '/.env'); symfony/symfony#46127

Br,