X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueFederated.php;h=118b0f9525fa64de22559a58f2f68fc195729e29;hp=e74331113d4cf822fcc6bfd669247b08a168a656;hb=7babd362babcbf7f20adb8e12edb4f4bc1d4249f;hpb=d19826aa35b206847a568a4b2c1c9ffaa615fca5 diff --git a/includes/jobqueue/JobQueueFederated.php b/includes/jobqueue/JobQueueFederated.php index e74331113d..118b0f9525 100644 --- a/includes/jobqueue/JobQueueFederated.php +++ b/includes/jobqueue/JobQueueFederated.php @@ -184,9 +184,8 @@ class JobQueueFederated extends JobQueue { // Try to insert the jobs and update $partitionsTry on any failures. // Retry to insert any remaning jobs again, ignoring the bad partitions. $jobsLeft = $jobs; - // @codingStandardsIgnoreStart Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed + // phpcs:ignore Generic.CodeAnalysis.ForLoopWithTestFunctionCall for ( $i = $this->maxPartitionsTry; $i > 0 && count( $jobsLeft ); --$i ) { - // @codingStandardsIgnoreEnd try { $partitionRing->getLiveRing(); } catch ( UnexpectedValueException $e ) {