We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc06242 commit 407e06bCopy full SHA for 407e06b
1 file changed
ScriptHandler.php
@@ -62,6 +62,8 @@ 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
if (!is_array($existingValues)) {
68
throw new \InvalidArgumentException(sprintf('The existing "%s" file does not contain an array', $realFile));
69
}
0 commit comments