Skip to content

add php 8.3 support #278

add php 8.3 support

add php 8.3 support #278

Triggered via push December 18, 2023 09:06
Status Failure
Total duration 3m 4s
Artifacts

ci_build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
PHP 8.3
Process completed with exit code 255.
PHP 8.3
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.1
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.1: src/Controllers/Album.php#L74
Escaped Mutant for Mutator "IfNegation": --- Original +++ New @@ @@ 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); }
PHP 8.1: src/Controllers/Track.php#L99
Escaped Mutant for Mutator "IfNegation": --- Original +++ New @@ @@ /** @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]); }
PHP 8.1: src/Infrastructure/Persistence/Track/SQLTrackRepository.php#L104
Escaped Mutant for Mutator "Throw_": --- Original +++ New @@ @@ 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']);
PHP 8.1
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']