Skip to content

Commit

Permalink
Fixed bug #20139 : No report file generated on success
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Dec 4, 2013
1 parent 61917c2 commit f08443f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions CodeSniffer/Reporting.php
Expand Up @@ -179,11 +179,6 @@ public function printReport(
$reportFile='',
$reportWidth=80
) {
if ($this->totalFiles === 0) {
// No files generated errors.
return 0;
}

$reportClass = self::factory($report);

if ($reportFile !== null) {
Expand Down
1 change: 1 addition & 0 deletions package.xml
Expand Up @@ -39,6 +39,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
- Fixed bug #20136 : Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff and Traits
- Fixed bug #20138 : Protected property underscore and camel caps issue (in trait with Zend)
-- Thanks to Gaetan Rousseau for the patch
- Fixed bug #20139 : No report file generated on success
</notes>
<contents>
<dir name="/">
Expand Down

0 comments on commit f08443f

Please sign in to comment.