We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 05026e8 + fbf923c commit 6c75b04Copy full SHA for 6c75b04
1 file changed
ScriptHandler.php
@@ -62,6 +62,9 @@ private static function processFile(array $config, IOInterface $io)
62
$actualValues = array($parameterKey => array());
63
if ($exists) {
64
$existingValues = $yamlParser->parse(file_get_contents($realFile));
65
+ if ($existingValues === null) {
66
+ $existingValues = array();
67
+ }
68
if (!is_array($existingValues)) {
69
throw new \InvalidArgumentException(sprintf('The existing "%s" file does not contain an array', $realFile));
70
}
0 commit comments