Sylius / Sylius-Standard

Open Source eCommerce Application on top of Symfony
https://sylius.com
MIT License
243 stars 320 forks source link

Update bootstrap.php #962

Closed anzweidrej closed 5 months ago

anzweidrej commented 6 months ago

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'); https://github.com/symfony/symfony/discussions/46127

Br,