@@ -707,18 +707,18 @@ public function pushRule(int|string $project_id): mixed
707707 /**
708708 * @param array $parameters {
709709 *
710- * @var string $author_email_regex All commit author emails must match this regular expression.
711- * @var string $branch_name_regex All branch names must match this regular expression.
712- * @var bool $commit_committer_check Only allow commits when the committer email is one of the user's verified emails.
713- * @var bool $commit_committer_name_check Only allow commits when the author name matches the user's GitLab account name.
714- * @var string $commit_message_negative_regex Reject commit messages matching this regular expression.
715- * @var string $commit_message_regex Require commit messages to match this regular expression.
716- * @var bool $deny_delete_tag Deny deleting tags.
717- * @var string $file_name_regex Reject committed filenames matching this regular expression.
718- * @var int $max_file_size Maximum file size in MB.
719- * @var bool $member_check Restrict commit authors by email to existing GitLab users.
720- * @var bool $prevent_secrets Reject files likely to contain secrets.
721- * @var bool $reject_non_dco_commits Reject commits that are not DCO certified.
710+ * @var string $author_email_regex all commit author emails must match this regular expression
711+ * @var string $branch_name_regex all branch names must match this regular expression
712+ * @var bool $commit_committer_check only allow commits when the committer email is one of the user's verified emails
713+ * @var bool $commit_committer_name_check only allow commits when the author name matches the user's GitLab account name
714+ * @var string $commit_message_negative_regex reject commit messages matching this regular expression
715+ * @var string $commit_message_regex require commit messages to match this regular expression
716+ * @var bool $deny_delete_tag deny deleting tags
717+ * @var string $file_name_regex reject committed filenames matching this regular expression
718+ * @var int $max_file_size maximum file size in MB
719+ * @var bool $member_check restrict commit authors by email to existing GitLab users
720+ * @var bool $prevent_secrets reject files likely to contain secrets
721+ * @var bool $reject_non_dco_commits reject commits that are not DCO certified
722722 * @var bool $reject_unsigned_commits Reject unsigned commits.
723723 * }
724724 *
@@ -733,18 +733,18 @@ public function createPushRule(int|string $project_id, array $parameters = []):
733733 /**
734734 * @param array $parameters {
735735 *
736- * @var string $author_email_regex All commit author emails must match this regular expression.
737- * @var string $branch_name_regex All branch names must match this regular expression.
738- * @var bool $commit_committer_check Only allow commits when the committer email is one of the user's verified emails.
739- * @var bool $commit_committer_name_check Only allow commits when the author name matches the user's GitLab account name.
740- * @var string $commit_message_negative_regex Reject commit messages matching this regular expression.
741- * @var string $commit_message_regex Require commit messages to match this regular expression.
742- * @var bool $deny_delete_tag Deny deleting tags.
743- * @var string $file_name_regex Reject committed filenames matching this regular expression.
744- * @var int $max_file_size Maximum file size in MB.
745- * @var bool $member_check Restrict commit authors by email to existing GitLab users.
746- * @var bool $prevent_secrets Reject files likely to contain secrets.
747- * @var bool $reject_non_dco_commits Reject commits that are not DCO certified.
736+ * @var string $author_email_regex all commit author emails must match this regular expression
737+ * @var string $branch_name_regex all branch names must match this regular expression
738+ * @var bool $commit_committer_check only allow commits when the committer email is one of the user's verified emails
739+ * @var bool $commit_committer_name_check only allow commits when the author name matches the user's GitLab account name
740+ * @var string $commit_message_negative_regex reject commit messages matching this regular expression
741+ * @var string $commit_message_regex require commit messages to match this regular expression
742+ * @var bool $deny_delete_tag deny deleting tags
743+ * @var string $file_name_regex reject committed filenames matching this regular expression
744+ * @var int $max_file_size maximum file size in MB
745+ * @var bool $member_check restrict commit authors by email to existing GitLab users
746+ * @var bool $prevent_secrets reject files likely to contain secrets
747+ * @var bool $reject_non_dco_commits reject commits that are not DCO certified
748748 * @var bool $reject_unsigned_commits Reject unsigned commits.
749749 * }
750750 *
0 commit comments