Skip to content

Commit 9cf0f8a

Browse files
author
Silvan Thus
committed
Setting 'exception-when-missing' to false will now not throw
1 parent 2ab23ea commit 9cf0f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private function processRenamedValues(array $renameMap, array $actualParams)
140140
private function getParams(array $config, array $expectedParams, array $actualParams)
141141
{
142142
if (!$this->io->isInteractive()) {
143-
if (isset($config['exception-when-missing'])) {
143+
if (!empty($config['exception-when-missing']) && Inline::parse($config['exception-when-missing'])) {
144144
foreach ($expectedParams as $key => $message) {
145145
if (array_key_exists($key, $actualParams)) {
146146
continue;

0 commit comments

Comments
 (0)