Skip to content

build: Add rector as part of the process #1515

build: Add rector as part of the process

build: Add rector as part of the process #1515

Triggered via pull request November 25, 2023 09:52
Status Failure
Total duration 5m 1s
Artifacts

unit-tests.yaml

on: pull_request
Matrix: infection
Matrix: unit-tests
Unit tests status
0s
Unit tests status
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
Infection (PHP 8.2)
Process completed with exit code 2.
Unit tests status
Process completed with exit code 1.
Infection (PHP 8.2): src/Console/Application.php#L46
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ private readonly string $version; private readonly string $releaseDate; private string $header; - public function __construct(private readonly string $name = 'Box', ?string $version = null, string $releaseDate = '@release-date@', private readonly bool $autoExit = true, private readonly bool $catchExceptions = true) + public function __construct(private readonly string $name = 'Box', ?string $version = null, string $releaseDate = '@release-date@', private readonly bool $autoExit = false, private readonly bool $catchExceptions = true) { $this->version = $version ?? get_box_version(); $this->releaseDate = !str_contains($releaseDate, '@') ? $releaseDate : '';
Infection (PHP 8.2): src/Console/Application.php#L47
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ private readonly string $version; private readonly string $releaseDate; private string $header; - public function __construct(private readonly string $name = 'Box', ?string $version = null, string $releaseDate = '@release-date@', private readonly bool $autoExit = true, private readonly bool $catchExceptions = true) + public function __construct(private readonly string $name = 'Box', ?string $version = null, string $releaseDate = '@release-date@', private readonly bool $autoExit = true, private readonly bool $catchExceptions = false) { $this->version = $version ?? get_box_version(); $this->releaseDate = !str_contains($releaseDate, '@') ? $releaseDate : '';