Skip to content

composer(deps-dev): update rector/rector requirement from ^1.2.8 to ^1.2.9 #1177

composer(deps-dev): update rector/rector requirement from ^1.2.8 to ^1.2.9

composer(deps-dev): update rector/rector requirement from ^1.2.8 to ^1.2.9 #1177

Triggered via pull request November 5, 2024 03:18
Status Success
Total duration 59m 26s
Artifacts

continuous-integration.yml

on: pull_request
Matrix: Validate Project / Check composer dependencies with composer-dependency-analyser
Matrix: Validate Project / Check composer with composer-normalize
Matrix: Validate Project / Check composer dependencies with composer-unused
Matrix: Validate Project / Check with editorconfig-checker
Matrix: Validate Project / Lint PHP
Matrix: Validate Project / Validate markdown files
Matrix: Validate Project / Linting with overtrue/phplint
Matrix: Validate Project / Validate composer
Matrix: Validate Project / Validate yaml
Validate Project  /  Lint & Validate Status
0s
Validate Project / Lint & Validate Status
Matrix: Install Project / Install Node dependencies
Matrix: Install Project / Install PHP dependencies
Install Project  /  Install Status
0s
Install Project / Install Status
Matrix: Project Analysis / Run eslint
Matrix: Project Analysis / Check Coding Standards with PHP-CS-Fixer
Matrix: Project Analysis / Check Coding Standards with PHPCS
Matrix: Project Analysis / Check Rules with PHPMD
Matrix: Project Analysis / Run prettier
Matrix: Project Analysis / Checks with Rector
Matrix: Project Analysis / Static Code Analysis with PHPStan
Matrix: Project Analysis / Run stylelint
Project Analysis  /  Status Analytics
0s
Project Analysis / Status Analytics
Matrix: UnitTests / Code Coverage with PHPUnit
Matrix: UnitTests / UnitTests with PHPUnit
Matrix: UnitTests / UnitTests with stryker
Matrix: UnitTests / UnitTests with vitest
UnitTests  /  finish-code-coverage
4s
UnitTests / finish-code-coverage
UnitTests  /  Unit & Integration Tests Status
0s
UnitTests / Unit & Integration Tests Status
Unit & Integration Tests Status
0s
Unit & Integration Tests Status
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L81
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ public function __call(string $method, array $arguments) : mixed { - ErrorHandler::start(E_WARNING); + $result = preg_match('/(?P<function>find(?:One|All)By)(?P<property>.+)/', $method, $match); $error = ErrorHandler::stop(); if (!$result) {
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L125
Escaped Mutant for Mutator "Throw_": --- Original +++ New @@ @@ public final function addPage(PageInterface $page) : void { if ($page === $this) { - throw new InvalidArgumentException('A page cannot have itself as a parent'); + new InvalidArgumentException('A page cannot have itself as a parent'); } $hash = $page->hashCode(); if (array_key_exists($hash, $this->index)) {
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L199
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ * * @throws void */ - public final function removePage(int|PageInterface $page, bool $recursive = false) : bool + public final function removePage(int|PageInterface $page, bool $recursive = true) : bool { if ($page instanceof PageInterface) { $hash = $page->hashCode();
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L216
Escaped Mutant for Mutator "TrueValue": --- Original +++ New @@ @@ } if (isset($this->pages[$hash])) { unset($this->pages[$hash], $this->index[$hash]); - $this->dirtyIndex = true; + $this->dirtyIndex = false; return true; } if ($recursive) {
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L257
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ * * @throws void */ - public final function hasPage(int|PageInterface $page, bool $recursive = false) : bool + public final function hasPage(int|PageInterface $page, bool $recursive = true) : bool { if ($page instanceof PageInterface) { $hash = $page->hashCode();
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L359
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ foreach ($iterator as $page) { assert($page instanceof PageInterface); if ($page->get($property) !== $value) { - continue; + break; } $found[] = $page; }
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L410
Escaped Mutant for Mutator "LogicalOr": --- Original +++ New @@ @@ } $this->sort(); $hash = key($this->index); - if ($hash === null || !isset($this->pages[$hash])) { + if ($hash === null && !isset($this->pages[$hash])) { throw new OutOfBoundsException('Corruption detected in container; invalid key found in internal iterator'); } return $this->pages[$hash];
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L430
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ public final function key() : string { - $this->sort(); + return (string) key($this->index); } /**
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L444
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ public final function next() : void { - $this->sort(); + next($this->index); } /**
UnitTests / Code Coverage with PHPUnit (ubuntu-24.04, 8.1, lowest): src/ContainerTrait.php#L458
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ public final function rewind() : void { - $this->sort(); + reset($this->index); } /**