Skip to content

merged with swagger branch #920

merged with swagger branch

merged with swagger branch #920

Triggered via push December 11, 2024 14:44
Status Failure
Total duration 2m 43s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: push
Matrix: phpstan-tests
Matrix: phpstan
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors
phpstan (8.3): app/commands/MetaTester.php#L32
Method App\Model\View\TestView::endpoint() invoked with 3 parameters, 2 required.
phpstan (8.3): app/helpers/Swagger/AnnotationHelper.php#L261
Call to an undefined method ReflectionType::getName().
phpstan (8.3): app/helpers/Swagger/AnnotationHelper.php#L269
Method App\Helpers\Swagger\AnnotationHelper::getClassFormats() should return array{format: string|null, type: string|null} but returns array<array{type: mixed, format: mixed}>.
phpstan (8.3): app/model/view/MetaView.php#L118
Call to private static method getValidators() of class App\Helpers\Swagger\AnnotationHelper.
phpstan (8.3): app/model/view/MetaView.php#L133
Method App\Model\View\MetaFormat::validate() should return bool but return statement is missing.
phpstan (8.3): app/model/view/MetaView.php#L136
Access to an undefined property App\Model\View\MetaFormat::$format.
phpstan (8.3): app/model/view/MetaView.php#L136
Access to an undefined property App\Model\View\MetaFormat::$type.
phpstan (8.3): app/model/view/MetaView.php#L137
Offset 'format' does not exist on string.
phpstan (8.3)
Process completed with exit code 1.
phpstan (8.2): app/commands/MetaTester.php#L32
Method App\Model\View\TestView::endpoint() invoked with 3 parameters, 2 required.
phpstan (8.2): app/helpers/Swagger/AnnotationHelper.php#L261
Call to an undefined method ReflectionType::getName().
phpstan (8.2): app/helpers/Swagger/AnnotationHelper.php#L269
Method App\Helpers\Swagger\AnnotationHelper::getClassFormats() should return array{format: string|null, type: string|null} but returns array<array{type: mixed, format: mixed}>.
phpstan (8.2): app/model/view/MetaView.php#L118
Call to private static method getValidators() of class App\Helpers\Swagger\AnnotationHelper.
phpstan (8.2): app/model/view/MetaView.php#L133
Method App\Model\View\MetaFormat::validate() should return bool but return statement is missing.
phpstan (8.2): app/model/view/MetaView.php#L136
Access to an undefined property App\Model\View\MetaFormat::$format.
phpstan (8.2): app/model/view/MetaView.php#L136
Access to an undefined property App\Model\View\MetaFormat::$type.
phpstan (8.2): app/model/view/MetaView.php#L137
Offset 'format' does not exist on string.
phpstan (8.2)
Process completed with exit code 1.