Skip to content

feat: Update OpenAPI implementation #1265

feat: Update OpenAPI implementation

feat: Update OpenAPI implementation #1265

Triggered via pull request October 22, 2024 15:48
Status Failure
Total duration 41s
Artifacts

test.yml

on: pull_request
Matrix: test
Matrix: Analytics
Matrix: File generation
Fit to window
Zoom out
Zoom in

Annotations

15 errors
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L113
Parameter #1 $objects of method PHPDraft\Out\OpenAPI\OpenApiRenderer::toParameters() expects array<object>, array<int, array<PHPDraft\Model\Elements\StructureElement>> given.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L135
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toOperation() has parameter $tags with no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L135
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toOperation() return type has no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L478
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getSecurity() should return array<string> but returns array<int, array<string, array>>.
PHP 8.1
Process completed with exit code 1.
PHP 8.2
The job was canceled because "_8_1_false" failed.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L113
Parameter #1 $objects of method PHPDraft\Out\OpenAPI\OpenApiRenderer::toParameters() expects array<object>, array<int, array<PHPDraft\Model\Elements\StructureElement>> given.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L135
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toOperation() has parameter $tags with no value type specified in iterable type array.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L135
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toOperation() return type has no value type specified in iterable type array.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L478
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getSecurity() should return array<string> but returns array<int, array<string, array>>.
PHP 8.2
Process completed with exit code 1.
PHP 8.4
The job was canceled because "_8_1_false" failed.
PHP 8.4
The operation was canceled.
PHP 8.3
The job was canceled because "_8_1_false" failed.
PHP 8.3
The operation was canceled.