Skip to content

Commit 0cea0cc

Browse files
authored
Merge pull request #84 from PHPCSStandards/php-8.3/ruleset-explain-fix-deprecation-notice
PHP 8.3 | Ruleset::explain(): fix deprecation notice
2 parents 814d4a7 + 1f1d3bb commit 0cea0cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ruleset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function explain()
243243
ob_start();
244244

245245
$lastStandard = null;
246-
$lastCount = '';
246+
$lastCount = 0;
247247
$sniffCount = count($sniffs);
248248

249249
// Add a dummy entry to the end so we loop

0 commit comments

Comments
 (0)