fix badge show #4
Annotations
5 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run mutation test:
src/Controllers/Album.php#L74
Escaped Mutant for Mutator "IfNegation":
@@ @@
if ($this->request->getMethod() === 'post') {
/** @var array $post */
$post = $this->request->getPost();
- if ($this->albumRepository->save($post)) {
+ if (!$this->albumRepository->save($post)) {
session()->setFlashdata(self::STATUS, 'New album has been added');
return redirect()->route(self::ALBUM_INDEX);
}
|
Run mutation test:
src/Controllers/Track.php#L99
Escaped Mutant for Mutator "IfNegation":
@@ @@
/** @var array $post */
$post = $this->request->getPost();
try {
- if ($this->trackRepository->save($post)) {
+ if (!$this->trackRepository->save($post)) {
session()->setFlashdata(self::STATUS, 'New album track has been added');
return redirect()->route(self::TRACK_INDEX, [$albumId]);
}
|
Run mutation test:
src/Infrastructure/Persistence/Track/SQLTrackRepository.php#L104
Escaped Mutant for Mutator "Throw_":
@@ @@
if ($result === []) {
return $this->saveData($data);
}
- throw TrackDuplicatedRectorException::forDuplicatedTitle($data['album_id']);
+ TrackDuplicatedRectorException::forDuplicatedTitle($data['album_id']);
}
/** @var array{title: string, album_id:int} $data */
$this->model->builder()->where('album_id', $data['album_id'])->where('title', $data['title']);
|
Upload coverage to Codecov
Unexpected input(s) 'yml', valid inputs are ['token', 'files', 'directory', 'flags', 'aws_curl_args', 'codecov_curl_args', 'commit_parent', 'env_vars', 'fail_ci_if_error', 'file', 'functionalities', 'gcov_args', 'gcov_executable', 'gcov_path_exclude', 'gcov_path_include', 'gcov_prefix', 'gcov_root_dir', 'move_coverage_to_trash', 'name', 'network_filter', 'override_branch', 'override_build', 'override_commit', 'override_pr', 'override_tag', 'path_to_write_report', 'root_dir', 'verbose', 'working-directory', 'xcode_derived_data', 'xcode_package']
|
Set up job
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Setup PHP Action
6s
6s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Setup MySQL
7s
7s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run mysql -uroot -h127.0.0.1 -e 'SELECT version()'
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Checkout
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Create DB
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Validate composer.json and composer.lock
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install dependencies
7s
7s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
CS Check
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Code analyze
7s
7s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run test suite
10s
10s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run mutation test
1m 39s
1m 39s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Upload coverage to Codecov
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Checkout
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Setup MySQL
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading