Skip to content

use success instead of primary #88

use success instead of primary

use success instead of primary #88

Triggered via push January 23, 2025 13:13
Status Failure
Total duration 34s
Artifacts

test.yml

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

Annotations

7 errors and 7 warnings
PHP 8.4 test on ubuntu-24.04
Process completed with exit code 1.
PHP 8.2 test on ubuntu-24.04
The job was canceled because "ubuntu-24_04_8_4" failed.
PHP 8.2 test on ubuntu-24.04
The operation was canceled.
PHP 8.3 test on ubuntu-24.04
The job was canceled because "ubuntu-24_04_8_4" failed.
PHP 8.3 test on ubuntu-24.04
The operation was canceled.
PHP 8.1 test on ubuntu-24.04
The job was canceled because "ubuntu-24_04_8_4" failed.
PHP 8.1 test on ubuntu-24.04
The operation was canceled.
PHP 8.4 test on ubuntu-24.04: src/Controller.php#L76
Escaped Mutant for Mutator "CastArray": @@ @@ { $new = clone $this; $new->_query = arguments($new::acceptQuery()->parameters(), $serverRequest->getQueryParams()); - $new->_body = arguments($new::acceptBody()->parameters(), (array) ($serverRequest->getParsedBody() ?? [])); + $new->_body = arguments($new::acceptBody()->parameters(), $serverRequest->getParsedBody() ?? []); $new->_serverParams = $serverRequest->getServerParams(); $new->_attributes = $serverRequest->getAttributes(); $new->setFiles($serverRequest->getUploadedFiles());
PHP 8.4 test on ubuntu-24.04: src/Controller.php#L93
Escaped Mutant for Mutator "AssignCoalesce": @@ @@ } final public function body(): ArgumentsInterface { - return $this->_body ??= arguments(static::acceptBody()->parameters(), []); + return $this->_body = arguments(static::acceptBody()->parameters(), []); } final public function files(): ArgumentsInterface {
PHP 8.4 test on ubuntu-24.04: src/Controller.php#L123
Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ /** * @param array<string, UploadedFileInterface> $files */ - protected function setFiles(array $files): void + private function setFiles(array $files): void { $arguments = []; $parameters = $this->acceptFiles()->parameters();
PHP 8.4 test on ubuntu-24.04: src/Controller.php#L129
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $parameters = $this->acceptFiles()->parameters(); foreach ($files as $key => $file) { $key = strval($key); - $parameters->assertHas($key); + $array = ['error' => $file->getError(), 'name' => $file->getClientFilename(), 'type' => $file->getClientMediaType(), 'size' => $file->getSize(), 'tmp_name' => $file->getStream()->getMetadata('uri')]; $arguments[$key] = $array; }
PHP 8.4 test on ubuntu-24.04: src/ControllerName.php#L24
Escaped Mutant for Mutator "PublicVisibility": @@ @@ final class ControllerName implements ControllerNameInterface { use ActionNameTrait; - public static function symbol(): string + protected static function symbol(): string { return 'HTTP Controller'; }
PHP 8.4 test on ubuntu-24.04: src/ControllerName.php#L29
Escaped Mutant for Mutator "PublicVisibility": @@ @@ { return 'HTTP Controller'; } - public static function interface(): string + protected static function interface(): string { return ControllerInterface::class; } }
PHP 8.4 test on ubuntu-24.04: src/MiddlewareName.php#L57
Escaped Mutant for Mutator "PublicVisibility": @@ @@ { return $this->arguments; } - public static function interface(): string + protected static function interface(): string { return MiddlewareInterface::class; } }