mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
This fix will apply quotes around string environment variables which contain either a single, or double, quote as well as any variables with a hash symbol - escaping any double-quotes encountered. When artisan october:env is run, this should correctly transfer all configuration values from the config files to the .env file. Fixes #4979.
12 lines
265 B
PHP
12 lines
265 B
PHP
<?php
|
|
// Fixture used for `october:env` unit tests in `tests/unit/system/console/OctoberEnvTest.php
|
|
|
|
return [
|
|
'driver' => 'smtp',
|
|
'host' => 'smtp.mailgun.org',
|
|
'port' => 587,
|
|
'encryption' => 'tls',
|
|
'username' => null,
|
|
'password' => null,
|
|
];
|