Skip to content

fix: add OpenAPI fields #1261

fix: add OpenAPI fields

fix: add OpenAPI fields #1261

Triggered via pull request October 21, 2024 07:46
Status Failure
Total duration 47s
Artifacts

test.yml

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

Annotations

34 errors
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L181
Only booleans are allowed in an if condition, string given.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L204
Call to function in_array() requires parameter #3 to be set.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L204
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::isRef() should return string but returns bool.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L358
Variable $value in PHPDoc tag @var does not exist.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L364
Call to function in_array() requires parameter #3 to be set.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L393
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getSchemaProperty() return type has no value type specified in iterable type array.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L406
Only booleans are allowed in &&, string given on the left side.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L413
Call to function in_array() requires parameter #3 to be set.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L439
Call to function in_array() requires parameter #3 to be set.
PHP 8.1: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L469
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getTags() should return array<string> but returns array<int<0, max>, array<string, string>>.
PHP 8.3
The job was canceled because "_8_1_false" failed.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L181
Only booleans are allowed in an if condition, string given.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L204
Call to function in_array() requires parameter #3 to be set.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L204
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::isRef() should return string but returns bool.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L358
Variable $value in PHPDoc tag @var does not exist.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L364
Call to function in_array() requires parameter #3 to be set.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L393
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getSchemaProperty() return type has no value type specified in iterable type array.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L406
Only booleans are allowed in &&, string given on the left side.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L413
Call to function in_array() requires parameter #3 to be set.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L439
Call to function in_array() requires parameter #3 to be set.
PHP 8.3: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L469
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getTags() should return array<string> but returns array<int<0, max>, array<string, string>>.
PHP 8.4
The job was canceled because "_8_1_false" failed.
PHP 8.4
The operation was canceled.
PHP 8.2
The job was canceled because "_8_1_false" failed.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L181
Only booleans are allowed in an if condition, string given.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L204
Call to function in_array() requires parameter #3 to be set.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L204
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::isRef() should return string but returns bool.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L358
Variable $value in PHPDoc tag @var does not exist.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L364
Call to function in_array() requires parameter #3 to be set.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L393
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getSchemaProperty() return type has no value type specified in iterable type array.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L406
Only booleans are allowed in &&, string given on the left side.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L413
Call to function in_array() requires parameter #3 to be set.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L439
Call to function in_array() requires parameter #3 to be set.
PHP 8.2: src/PHPDraft/Out/OpenAPI/OpenApiRenderer.php#L469
Method PHPDraft\Out\OpenAPI\OpenApiRenderer::getTags() should return array<string> but returns array<int<0, max>, array<string, string>>.