Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

fixed env value, should always be a string #88

Merged
merged 1 commit into from
Sep 30, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Automatic/Configurator/EnvConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function configure(PackageContract $package): void
continue;
}

$value = self::expandTargetDir($this->options, $value);
$value = self::expandTargetDir($this->options, (string) $value);

if (\strpbrk($value, " \t\n&!\"") !== false) {
$value = '"' . \str_replace(['\\', '"', "\t", "\n"], ['\\\\', '\\"', '\t', '\n'], $value) . '"';
Expand Down