mirror of
https://github.com/pestphp/pest.git
synced 2026-09-05 22:33:35 +02:00
22 lines
361 B
PHP
22 lines
361 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\Plugins\Tia\Cis;
|
|
|
|
use Pest\Plugins\Tia\Cis\Concerns\ReadsEnvironment;
|
|
use Pest\Plugins\Tia\Contracts\Ci;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final readonly class GitLab implements Ci
|
|
{
|
|
use ReadsEnvironment;
|
|
|
|
public function defaultBranch(): ?string
|
|
{
|
|
return $this->environment('CI_DEFAULT_BRANCH');
|
|
}
|
|
}
|