laravel-dotenv-editor icon indicating copy to clipboard operation
laravel-dotenv-editor copied to clipboard

Error in package

Open Tjoosten opened this issue 7 years ago • 2 comments

Hi i have the follwing code in my artisan command.

$environment = new DotenvEditor();
$environment->changeEnv(['MOLLIE_ACTIVE' => 'true']);

$this->info('Mollie is in onderhoud geplaatst.');

but it gives to follwing output when i run my command.

PHP Warning:  putenv(): Invalid parameter syntax in C:\Users\Gebruiker\Downloads\Activisme.be\vendor\vlucas\phpdotenv\src
\Loader.php on line 345

Tjoosten avatar Jan 18 '18 09:01 Tjoosten

Unfortunatelly this is a known bug/error. Right now it is only possible to save content without whitespace.

Brotzka avatar Jan 20 '18 05:01 Brotzka