X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fchangetags%2FChangeTagsLogList.php;h=6977172619f3430b8bfa1065ec04420e556e89ad;hb=925c20a9ca669c67cc44f4468d0e0f3b33b94213;hp=271005f465ce1cd55810ebfc5530e56297d6fd70;hpb=4d609f015dd64528e772bbaa088d378aa26334eb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changetags/ChangeTagsLogList.php b/includes/changetags/ChangeTagsLogList.php index 271005f465..6977172619 100644 --- a/includes/changetags/ChangeTagsLogList.php +++ b/includes/changetags/ChangeTagsLogList.php @@ -71,12 +71,9 @@ class ChangeTagsLogList extends ChangeTagsList { * @param User $user * @return Status */ - public function updateChangeTagsOnAll( $tagsToAdd, $tagsToRemove, $params, - $reason, $user ) { - - // @codingStandardsIgnoreStart Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed + public function updateChangeTagsOnAll( $tagsToAdd, $tagsToRemove, $params, $reason, $user ) { + // phpcs:ignore Generic.CodeAnalysis.ForLoopWithTestFunctionCall for ( $this->reset(); $this->current(); $this->next() ) { - // @codingStandardsIgnoreEnd $item = $this->current(); $status = ChangeTags::updateTagsWithChecks( $tagsToAdd, $tagsToRemove, null, null, $item->getId(), $params, $reason, $user );