Skip to content

Commit 2b1f6b2

Browse files
authored
Tag release 0.2.0 (#26)
1 parent bc370a8 commit 2b1f6b2

3 files changed

Lines changed: 23 additions & 7 deletions

File tree

src/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Application extends BaseApplication
2424

2525
public function __construct()
2626
{
27-
parent::__construct('PHP QA Analyzer', '0.1.0');
27+
parent::__construct('PHP QA Analyzer', '0.2.0');
2828
$this->config = new Config();
2929
}
3030

src/Command/AnalyzeCommand.php

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class AnalyzeCommand extends Command
3838
];
3939

4040
/**
41-
*
41+
* {@inheritdoc}
4242
*/
4343
protected function configure()
4444
{
@@ -239,15 +239,23 @@ private function analyzer(SymfonyStyle $io, $analyzer, $files, $config, $project
239239
$io->info($config->get('application.messages.'.$analyzer.'.info'));
240240

241241
$processArguments = [
242-
'php',
243-
$this->directory.'bin/'.$analyzer
242+
'php',
243+
$this->directory.'bin/'.$analyzer
244244
];
245245

246246
if ($configFile) {
247247
$singleExecution = $config->get('application.analyzer.'.$analyzer.'.file.single-execution');
248248

249249
if ($singleExecution) {
250-
$process = $this->executeProcess($io, $processArguments, $configFile, $prefixes, $postfixes, $arguments, $options);
250+
$process = $this->executeProcess(
251+
$io,
252+
$processArguments,
253+
$configFile,
254+
$prefixes,
255+
$postfixes,
256+
$arguments,
257+
$options
258+
);
251259
$success = $process->isSuccessful();
252260
$files = [];
253261
}
@@ -260,7 +268,15 @@ private function analyzer(SymfonyStyle $io, $analyzer, $files, $config, $project
260268
continue;
261269
}
262270

263-
$process = $this->executeProcess($io, $processArguments, $file, $prefixes, $postfixes, $arguments, $options);
271+
$process = $this->executeProcess(
272+
$io,
273+
$processArguments,
274+
$file,
275+
$prefixes,
276+
$postfixes,
277+
$arguments,
278+
$options
279+
);
264280

265281
if ($success) {
266282
$success = $process->isSuccessful();

src/Command/InitCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function configure()
5252
null,
5353
InputOption::VALUE_REQUIRED,
5454
sprintf(
55-
'Project name to copy config from, must be (%s).',
55+
'Project name to copy config from, should be (%s).',
5656
implode(',', $this->projects)
5757
)
5858
)

0 commit comments

Comments
 (0)