Skip to content

feat: generate OpenAPI JSON from APIB #1201

feat: generate OpenAPI JSON from APIB

feat: generate OpenAPI JSON from APIB #1201

Triggered via pull request September 29, 2024 09:33
Status Failure
Total duration 51s
Artifacts

test.yml

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

Annotations

15 errors
PHP 8.4
Process completed with exit code 1.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L24
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toOpenApiObject() return type has no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L41
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getApiInfo() return type has no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L60
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getServers() return type has no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L110
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toParameters() has parameter $objects with no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L110
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toParameters() return type has no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L138
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toBody() return type has no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L147
Construct empty() is not allowed. Use more strict comparison.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L174
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toResponses() has parameter $responses with no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L174
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::toResponses() return type has no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L225
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getSecurity() return type has no value type specified in iterable type array.
PHP 8.2
The job was canceled because "_8_1_false" failed.
PHP 8.2
The operation was canceled.
PHP 8.3
The job was canceled because "_8_1_false" failed.
PHP 8.3
The operation was canceled.