Skip to content

Commit 8b6a23f

Browse files
committed
Coding standards fix + changelog
1 parent 20fcf05 commit 8b6a23f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CodeSniffer/File.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,8 @@ public function start($contents=null)
532532

533533
unset($this->_warnings[$line]);
534534
}
535-
}
536-
535+
}//end foreach
536+
537537
if ($this->_recordErrors === false) {
538538
$this->_errors = array();
539539
$this->_warnings = array();

package.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
2626
</stability>
2727
<license uri="https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt">BSD 3-Clause License</license>
2828
<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
2931
- Added PSR2 ControlStructureSpacingSniff to ensure there are no spaces before and after parenthesis in control structures
3032
-- Fixes bug #19732 : PSR2: some control structures errors not reported
3133
- PSR1 SideEffectsSniff no longer reports constant declarations as side effects

0 commit comments

Comments
 (0)