Closed anzweidrej closed 5 months ago
Running vendor/bin/phpstan analyse with level 6, throws following error:
vendor/bin/phpstan analyse
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,
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,