@@ -41,6 +41,10 @@ |
||
41 | 41 | |
42 | 42 | protected $file2; |
43 | 43 | |
44 | + /** |
|
45 | + * @param string $file1 |
|
46 | + * @param string $file2 |
|
47 | + */ |
|
44 | 48 | public function __construct(StyleInterface $style, $file1, $file2) |
45 | 49 | { |
46 | 50 | $this->style = $style; |
@@ -40,6 +40,9 @@ |
||
40 | 40 | |
41 | 41 | private $verbosity; |
42 | 42 | |
43 | + /** |
|
44 | + * @param integer $verbosity |
|
45 | + */ |
|
43 | 46 | public function __construct(StyleInterface $style, $verbosity = Output::VERBOSITY_NORMAL) |
44 | 47 | { |
45 | 48 | $this->style = $style; |
@@ -41,12 +41,12 @@ |
||
41 | 41 | protected function configure() |
42 | 42 | { |
43 | 43 | $this->setName('diff') |
44 | - ->setDescription('Shows a diff between two JUnit log files') |
|
45 | - ->setDefinition([ |
|
46 | - new InputOption('input1', '1', InputOption::VALUE_REQUIRED, 'First input file'), |
|
47 | - new InputOption('input2', '2', InputOption::VALUE_REQUIRED, 'Second input file') |
|
48 | - ]) |
|
49 | - ->setHelp(''); |
|
44 | + ->setDescription('Shows a diff between two JUnit log files') |
|
45 | + ->setDefinition([ |
|
46 | + new InputOption('input1', '1', InputOption::VALUE_REQUIRED, 'First input file'), |
|
47 | + new InputOption('input2', '2', InputOption::VALUE_REQUIRED, 'Second input file') |
|
48 | + ]) |
|
49 | + ->setHelp(''); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 |
@@ -49,12 +49,12 @@ |
||
49 | 49 | protected function configure() |
50 | 50 | { |
51 | 51 | $this->setName('compare') |
52 | - ->setDescription('Compares two JUnit log files') |
|
53 | - ->setDefinition([ |
|
54 | - new InputArgument('base', InputArgument::REQUIRED, 'Base file for the comparison'), |
|
55 | - new InputArgument('current', InputArgument::REQUIRED, 'Current file to compare against the base file') |
|
56 | - ]) |
|
57 | - ->setHelp(''); |
|
52 | + ->setDescription('Compares two JUnit log files') |
|
53 | + ->setDefinition([ |
|
54 | + new InputArgument('base', InputArgument::REQUIRED, 'Base file for the comparison'), |
|
55 | + new InputArgument('current', InputArgument::REQUIRED, 'Current file to compare against the base file') |
|
56 | + ]) |
|
57 | + ->setHelp(''); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 |