diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-05-05 13:57:23 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-05-05 13:57:23 +0200 |
commit | 56b1c93a79ccb1e5bf34f5b5b27744795d5a2457 (patch) | |
tree | 291a38c434373c73479ec879f0c5678dc66cd001 /lib/private | |
parent | 5aa3525479a29ea0521db9050d3ef22e17729e94 (diff) | |
download | nextcloud-server-56b1c93a79ccb1e5bf34f5b5b27744795d5a2457.tar.gz nextcloud-server-56b1c93a79ccb1e5bf34f5b5b27744795d5a2457.zip |
Add verbosity option to app:check-code
* by default only lists files with errors
* option -v lists all files even if there are no errors
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/app/codechecker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/app/codechecker.php b/lib/private/app/codechecker.php index 75db9ab3560..f0a328d93fb 100644 --- a/lib/private/app/codechecker.php +++ b/lib/private/app/codechecker.php @@ -118,7 +118,7 @@ class CodeChecker extends BasicEmitter { /** @var SplFileInfo $file */ $this->emit('CodeChecker', 'analyseFileBegin', [$file->getPathname()]); $fileErrors = $this->analyseFile($file); - $this->emit('CodeChecker', 'analyseFileFinished', [$fileErrors]); + $this->emit('CodeChecker', 'analyseFileFinished', [$file->getPathname(), $fileErrors]); $errors = array_merge($fileErrors, $errors); } |