Skip to content

generator php 8

generator php 8 #370

Triggered via pull request December 13, 2023 17:36
Status Failure
Total duration 44s
Artifacts

tests.yml

on: pull_request
Tests on PHP 8.2
35s
Tests on PHP 8.2
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Tests on PHP 8.2: src/Command/GenerateCommand.php#L113
Cannot access property $fileName on mixed.
Tests on PHP 8.2: src/Command/GenerateCommand.php#L115
Parameter #2 $file of method DoclerLabs\ApiClientGenerator\Output\PhpFilePrinter::print() expects DoclerLabs\ApiClientGenerator\Output\Php\PhpFile, mixed given.
Tests on PHP 8.2: src/Command/GenerateCommand.php#L134
Cannot access property $filePath on mixed.
Tests on PHP 8.2: src/Command/GenerateCommand.php#L135
Parameter #2 $file of method DoclerLabs\ApiClientGenerator\Output\MetaFilePrinter::print() expects DoclerLabs\ApiClientGenerator\Output\Meta\MetaFile, mixed given.
Tests on PHP 8.2: src/Entity/FieldCollection.php#L33
Cannot call method getPhpClassName() on mixed.
Tests on PHP 8.2: src/Entity/FieldCollection.php#L38
Cannot call method getPhpClassName() on mixed.
Tests on PHP 8.2: src/Entity/FieldCollection.php#L49
Cannot call method getPhpClassName() on mixed.
Tests on PHP 8.2: src/Generator/SchemaMapperGenerator.php#L31
Parameter #2 $root of method DoclerLabs\ApiClientGenerator\Generator\SchemaMapperGenerator::generateMapper() expects DoclerLabs\ApiClientGenerator\Entity\Field, mixed given.
Tests on PHP 8.2: src/Input/Specification.php#L91
Anonymous function should return cebe\openapi\spec\SecurityScheme but returns array|cebe\openapi\SpecObjectInterface|null.
Tests on PHP 8.2
Process completed with exit code 1.
Tests on PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/