File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -532,8 +532,8 @@ public function start($contents=null)
532
532
533
533
unset($ this ->_warnings [$ line ]);
534
534
}
535
- }
536
-
535
+ }//end foreach
536
+
537
537
if ($ this ->_recordErrors === false ) {
538
538
$ this ->_errors = array ();
539
539
$ this ->_warnings = array ();
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
26
26
</stability >
27
27
<license uri =" https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt" >BSD 3-Clause License</license >
28
28
<notes >
29
+ - Ignored lines no longer cause the summary report to show incorrect error and warning counts
30
+ -- Thanks to Bert Van Hauwaert for the patch
29
31
- Added PSR2 ControlStructureSpacingSniff to ensure there are no spaces before and after parenthesis in control structures
30
32
-- Fixes bug #19732 : PSR2: some control structures errors not reported
31
33
- PSR1 SideEffectsSniff no longer reports constant declarations as side effects
You can’t perform that action at this time.
0 commit comments