Skip to content

Commit

Permalink
Merge pull request #4 from EdgedesignCZ/develop
Browse files Browse the repository at this point in the history
Refine CLI output - closes #3
  • Loading branch information
zdenekdrahos committed Jul 27, 2015
2 parents 920edec + 88eca5e commit 316bc8d
Show file tree
Hide file tree
Showing 6 changed files with 425 additions and 299 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ phpqa --ignoredDirs build,vendor --ignoredFiles RoboFile.php
# run selected tools
phpqa --tools phploc,phpcs

# show output from executed tools
phpqa -v
phpqa --verbose

# show no output at all
phpqa -q
phpqa --quiet

# CLI output instead of creating files (default output are files in --buildDir)
phpqa --output cli

## show versions of available tools
phpqa tools
```
Expand Down Expand Up @@ -121,6 +132,7 @@ other non-code directories. Otherwise the analysis could take a very long time.
<arg value="--buildDir=./build/logs" />
<arg value="--ignoredDirs=app,bin,build,vendor,web" />
<arg value="--ignoredFiles= " />
<arg value="--verbose" />
</exec>
</target>
```
Expand All @@ -131,6 +143,7 @@ other non-code directories. Otherwise the analysis could take a very long time.
public function ciPhpqa()
{
$this->taskExec('phpqa')
->option('verbose')
->option('analyzedDir', './')
->option('buildDir', './build')
->option('ignoredDirs', 'build,bin,vendor')
Expand Down
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"hamcrest/hamcrest-php": "*"
},
"autoload": {
"files": ["src/IgnoredPaths.php", "src/CodeAnalysisTasks.php"]
"files": ["src/IgnoredPaths.php", "src/CodeAnalysisTasks.php", "src/Options.php"]
},
"config": {
"optimize-autoloader": true
}
}
Loading

0 comments on commit 316bc8d

Please sign in to comment.