github-actions: bump the minor-patch-dependencies group with 2 updates #362
continuous-integration.yml
on: pull_request
Matrix: Validate Project / Check with editorconfig-checker
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 / 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
Matrix: Install Project / Install Node dependencies
Matrix: Install Project / Install PHP dependencies
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 / Checks with Rector
Matrix: Project Analysis / Static Code Analysis with PHPStan
Matrix: Code Coverage with PHPUnit
Matrix: UnitTests with PHPUnit
finish-code-coverage
7s
Unit & Integration Tests Status
0s
Annotations
7 warnings
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/ConvertToPages.php#L66
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
// value is a container; return pages in it
$pages = [];
foreach ($mixed as $page) {
- assert($page instanceof PageInterface || $page instanceof AbstractPage);
+ assert(true || $page instanceof AbstractPage);
$pages[] = $page;
}
return $pages;
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/ConvertToPages.php#L66
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
// value is a container; return pages in it
$pages = [];
foreach ($mixed as $page) {
- assert($page instanceof PageInterface || $page instanceof AbstractPage);
+ assert($page instanceof PageInterface || true);
$pages[] = $page;
}
return $pages;
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/ConvertToPages.php#L66
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
--- Original
+++ New
@@ @@
// value is a container; return pages in it
$pages = [];
foreach ($mixed as $page) {
- assert($page instanceof PageInterface || $page instanceof AbstractPage);
+ assert(!$page instanceof PageInterface || !$page instanceof AbstractPage);
$pages[] = $page;
}
return $pages;
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/ConvertToPages.php#L82
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
if (is_string($mixed)) {
// value is a string; make a URI page
try {
- $page = $this->pageFactory?->factory(['type' => 'uri', 'uri' => $mixed]) ?? AbstractPage::factory(['type' => 'uri', 'uri' => $mixed]);
+ $page = $this->pageFactory?->factory(['type' => 'uri', 'uri' => $mixed]) ?? AbstractPage::factory(['uri' => $mixed]);
return [$page];
} catch (InvalidArgumentException|\Laminas\Navigation\Exception\InvalidArgumentException $e) {
$this->logger->error($e);
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/ConvertToPages.php#L89
Escaped Mutant for Mutator "Catch_":
--- Original
+++ New
@@ @@
try {
$page = $this->pageFactory?->factory(['type' => 'uri', 'uri' => $mixed]) ?? AbstractPage::factory(['type' => 'uri', 'uri' => $mixed]);
return [$page];
- } catch (InvalidArgumentException|\Laminas\Navigation\Exception\InvalidArgumentException $e) {
+ } catch (InvalidArgumentException $e) {
$this->logger->error($e);
return [];
}
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/ConvertToPages.php#L106
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
return array_map(
/** @return AbstractPage|PageInterface */
function (AbstractContainer|AbstractPage|iterable|ContainerInterface|int|PageInterface|string $value) {
- [$page] = $this->convert($value, false);
+ [$page] = $this->convert($value, true);
return $page;
},
$mixed
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/ConvertToPages.php#L119
Escaped Mutant for Mutator "Catch_":
--- Original
+++ New
@@ @@
try {
$page = $this->pageFactory?->factory($mixed) ?? AbstractPage::factory($mixed);
return [$page];
- } catch (InvalidArgumentException|\Laminas\Navigation\Exception\InvalidArgumentException $e) {
+ } catch (InvalidArgumentException $e) {
$this->logger->error($e);
}
}
|