aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/storage/compressOld.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/storage/compressOld.php')
-rw-r--r--maintenance/storage/compressOld.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/maintenance/storage/compressOld.php b/maintenance/storage/compressOld.php
index 0ae46ae22a2e..4d56ef07d582 100644
--- a/maintenance/storage/compressOld.php
+++ b/maintenance/storage/compressOld.php
@@ -361,10 +361,9 @@ class CompressOld extends Maintenance {
$usedChunk = false;
$primaryOldid = $revs[$i]->rev_text_id;
- // @codingStandardsIgnoreStart Ignore avoid function calls in a FOR loop test part warning
# Get the text of each revision and add it to the object
+ // phpcs:ignore Generic.CodeAnalysis.ForLoopWithTestFunctionCall
for ( $j = 0; $j < $thisChunkSize && $chunk->isHappy(); $j++ ) {
- // @codingStandardsIgnoreEnd
$oldid = $revs[$i + $j]->rev_text_id;
# Get text