|
|
|
@ -72,8 +72,10 @@ class CheckApp extends Base { |
|
|
|
|
$result = $this->checker->verifyAppSignature($appid, $path, true); |
|
|
|
|
$this->writeArrayInOutputFormat($input, $output, $result); |
|
|
|
|
if (count($result) > 0) { |
|
|
|
|
$output->writeln('<error>' . count($result) . ' errors found</error>', OutputInterface::VERBOSITY_VERBOSE); |
|
|
|
|
return 1; |
|
|
|
|
} |
|
|
|
|
$output->writeln('<info>No errors found</info>', OutputInterface::VERBOSITY_VERBOSE); |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|