Skip to content

Feature/add laravel 11 support and improve test quality #144

Feature/add laravel 11 support and improve test quality

Feature/add laravel 11 support and improve test quality #144

Triggered via pull request March 19, 2024 05:50
Status Failure
Total duration 7m 28s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
PHP 8.1
Process completed with exit code 1.
PHP 8.2
Process completed with exit code 1.
PHP 8.1
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.3
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.3: src/Http/Responses/ResponseFactory.php#L121
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ */ private function getResponse(string $content) : Response { - if ($this->serializeType === Contracts\Config::SERIALIZE_TYPE_XML) { + if ($this->serializeType !== Contracts\Config::SERIALIZE_TYPE_XML) { return new LaravelResponse(content: $content, status: $this->status, headers: [self::HEADER_NAME_CONTENT_TYPE => self::HEADER_VALUE_APPLICATION_XML]); } return new JsonResponse(data: $content, status: $this->status, headers: [self::HEADER_NAME_CONTENT_TYPE => self::HEADER_VALUE_APPLICATION_JSON], json: true);
PHP 8.3: src/Http/Responses/ResponseFactory.php#L125
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ private function getResponse(string $content) : Response { if ($this->serializeType === Contracts\Config::SERIALIZE_TYPE_XML) { - return new LaravelResponse(content: $content, status: $this->status, headers: [self::HEADER_NAME_CONTENT_TYPE => self::HEADER_VALUE_APPLICATION_XML]); + return new LaravelResponse(content: $content, status: $this->status, headers: []); } return new JsonResponse(data: $content, status: $this->status, headers: [self::HEADER_NAME_CONTENT_TYPE => self::HEADER_VALUE_APPLICATION_JSON], json: true); }
PHP 8.3: src/Http/Responses/ResponseFactory.php#L132
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ if ($this->serializeType === Contracts\Config::SERIALIZE_TYPE_XML) { return new LaravelResponse(content: $content, status: $this->status, headers: [self::HEADER_NAME_CONTENT_TYPE => self::HEADER_VALUE_APPLICATION_XML]); } - return new JsonResponse(data: $content, status: $this->status, headers: [self::HEADER_NAME_CONTENT_TYPE => self::HEADER_VALUE_APPLICATION_JSON], json: true); + return new JsonResponse(data: $content, status: $this->status, headers: [], json: true); } private function getInitialType(object $jmsResponse) : ?string {