Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in package #42

Open
Tjoosten opened this issue Jan 18, 2018 · 1 comment
Open

Error in package #42

Tjoosten opened this issue Jan 18, 2018 · 1 comment

Comments

@Tjoosten
Copy link
Contributor

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
@Brotzka
Copy link
Owner

Brotzka commented Jan 20, 2018

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

Brotzka added a commit that referenced this issue Jul 2, 2018
Resolves blank line in env error #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants