if (!
$input->
getOption('fix'
)) { $io->
error('Invalid snippets found!'
);
$table =
new Table($output);
$table->
setHeaders([ 'Snippet', 'Missing for ISO', 'Found in file',
]);
foreach ($missingSnippetsCollection->
getIterator() as $missingSnippetStruct) { $table->
addRow([ $missingSnippetStruct->
getKeyPath(),
$missingSnippetStruct->
getMissingForISO(),
$missingSnippetStruct->
getFilePath(),
]);
} $table->
render();
return -1;
} $questionHelper =
$this->
getHelper('question'
);