X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=blobdiff_plain;f=includes%2FSetup.php;h=4936b0b11a49f3177d448fb3884b5513789103e4;hb=255d76f2a13a8378ded9f0cf1c2bb172f7f07a5b;hp=d6f4b2fe4c0b28cf9ee57e240dd0f0ad83ec8fa1;hpb=75160bdd3b4ac3642d147cda46e47c809999937d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index d6f4b2fe4c..4936b0b11a 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -370,9 +370,8 @@ if ( $wgRCFilterByAge ) { // Note that we allow 1 link higher than the max for things like 56 days but a 60 day link. sort( $wgRCLinkDays ); - // @codingStandardsIgnoreStart Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed + // phpcs:ignore Generic.CodeAnalysis.ForLoopWithTestFunctionCall for ( $i = 0; $i < count( $wgRCLinkDays ); $i++ ) { - // @codingStandardsIgnoreEnd if ( $wgRCLinkDays[$i] >= $rcMaxAgeDays ) { $wgRCLinkDays = array_slice( $wgRCLinkDays, 0, $i + 1, false ); break;