composer(deps-dev): bump the minor-patch-dependencies group with 2 up… #85
continuous-integration.yml
on: push
Matrix: Validate Project / Check composer dependencies with composer-dependency-analyser
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
Matrix: Install Project / Install 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 & Code Coverage
finish-code-coverage
4s
Unit & Integration Tests Status
0s
Annotations
11 warnings
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: paambaati/codeclimate-action@v5.0.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L47
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
/** @throws InvalidArgumentException */
public function handle(ServerRequestInterface $request) : ResponseInterface
{
- $layout = new ViewModel(['request' => $request]);
+ $layout = new ViewModel([]);
$layout->setTemplate('layout::default');
$id = $request->getAttribute('id');
assert(is_string($id) || $id === null);
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L49
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
public function handle(ServerRequestInterface $request) : ResponseInterface
{
$layout = new ViewModel(['request' => $request]);
- $layout->setTemplate('layout::default');
+
$id = $request->getAttribute('id');
assert(is_string($id) || $id === null);
$file = sprintf('src/App/config/forms/%s.config.php', $id);
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L53
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
--- Original
+++ New
@@ @@
$layout = new ViewModel(['request' => $request]);
$layout->setTemplate('layout::default');
$id = $request->getAttribute('id');
- assert(is_string($id) || $id === null);
+ assert(!is_string($id) || !($id === null));
$file = sprintf('src/App/config/forms/%s.config.php', $id);
if ($id === null || !file_exists($file)) {
$form = null;
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L53
Escaped Mutant for Mutator "LogicalOrSingleSubExprNegation":
--- Original
+++ New
@@ @@
$layout = new ViewModel(['request' => $request]);
$layout->setTemplate('layout::default');
$id = $request->getAttribute('id');
- assert(is_string($id) || $id === null);
+ assert(!is_string($id) || $id === null);
$file = sprintf('src/App/config/forms/%s.config.php', $id);
if ($id === null || !file_exists($file)) {
$form = null;
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L57
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
$id = $request->getAttribute('id');
assert(is_string($id) || $id === null);
$file = sprintf('src/App/config/forms/%s.config.php', $id);
- if ($id === null || !file_exists($file)) {
+ if ($id !== null || !file_exists($file)) {
$form = null;
} else {
try {
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L57
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
$id = $request->getAttribute('id');
assert(is_string($id) || $id === null);
$file = sprintf('src/App/config/forms/%s.config.php', $id);
- if ($id === null || !file_exists($file)) {
+ if ($id === null || file_exists($file)) {
$form = null;
} else {
try {
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L57
Escaped Mutant for Mutator "LogicalOr":
--- Original
+++ New
@@ @@
$id = $request->getAttribute('id');
assert(is_string($id) || $id === null);
$file = sprintf('src/App/config/forms/%s.config.php', $id);
- if ($id === null || !file_exists($file)) {
+ if ($id === null && !file_exists($file)) {
$form = null;
} else {
try {
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L70
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
$form = null;
}
}
- $layout = new ViewModel(['request' => $request]);
+ $layout = new ViewModel([]);
$layout->setTemplate('layout::default');
try {
$html = $this->template->render('app::home-page', ['page' => $id, 'form' => $form, 'layout' => $layout, 'request' => $request]);
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L72
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
}
$layout = new ViewModel(['request' => $request]);
- $layout->setTemplate('layout::default');
+
try {
$html = $this->template->render('app::home-page', ['page' => $id, 'form' => $form, 'layout' => $layout, 'request' => $request]);
} catch (Throwable $e) {
|
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest):
src/App/src/Handler/HomePageHandler.php#L77
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
$layout = new ViewModel(['request' => $request]);
$layout->setTemplate('layout::default');
try {
- $html = $this->template->render('app::home-page', ['page' => $id, 'form' => $form, 'layout' => $layout, 'request' => $request]);
+ $html = $this->template->render('app::home-page', ['form' => $form, 'layout' => $layout, 'request' => $request]);
} catch (Throwable $e) {
$this->logger->error($e, ['Page' => $id, 'File' => $file]);
$html = '';
|