Skip to content

MergeRequests ​

php
final readonly class Zairakai\LaravelDevTools\Update\MergeRequests

The merge requests of the update: the ones that are open, the new ones, and their merge when the pipeline succeeds.

Source: src/Update/MergeRequests.php

Constants ​

NameValueDescription
BRANCH_PREFIX'chore/update-dependencies'
COMMIT_SUBJECT'chore(deps): update the dependencies'

Methods ​

__construct() ​

php
public function __construct(GitLabApi $api, Shell $shell)

hasOpenUpdate() ​

php
public function hasOpenUpdate(): bool

mergeWhenGreen() ​

php
public function mergeWhenGreen(int $iid): void

Merge the request when its pipeline succeeds. GitLab needs a moment to create the pipeline of a new request.

open() ​

php
public function open(string $source, string $target, string $description, bool $removeSource, string $title = self::COMMIT_SUBJECT): void

opened() ​

php
public function opened(string $query = ''): array

Returns list<array<string, mixed>>

Documentation of 5.5.0 , built from 92a7387 on 5.5.0 by pipeline #3086393151 on 2026-11-18.