X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=blobdiff_plain;f=includes%2Fchangetags%2FChangeTagsLogList.php;h=6977172619f3430b8bfa1065ec04420e556e89ad;hb=e2f61aa44095d56af0d4b25a59e25b55a6c297bc;hp=271005f465ce1cd55810ebfc5530e56297d6fd70;hpb=b170b4a14a94fb509c4b15ca4c5717c6976a32cc;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 );