File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
28
28
<notes>
29
29
- Fixed bug #2848 : PSR12.Files.FileHeader false positive for file with mixed PHP and HTML and no file header
30
30
- Fixed bug #2849 : Generic.WhiteSpace.ScopeIndent false positive with arrow function inside array
31
+ - Fixed bug #2853 : Undefined variable error when using Info report
32
+ -- Thanks to Juliette Reinders Folmer for the patch
31
33
</notes>
32
34
<contents>
33
35
<dir name="/">
Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ public function generate(
116
116
117
117
// Length of the total string, plus however many
118
118
// thousands separators there are.
119
- $ countWidth = strlen ($ totalCount );
120
- $ nrOfThousandSeps = floor ($ countWidth / 3 );
121
- $ countWidth += $ nrOfThousandSeps ;
119
+ $ countWidth = strlen ($ totalCount );
120
+ $ thousandSeparatorCount = floor ($ countWidth / 3 );
121
+ $ countWidth += $ thousandSeparatorCount ;
122
122
123
123
// Account for 'total' line.
124
124
$ valueWidth = max (5 , $ valueWidth );
You can’t perform that action at this time.
0 commit comments