Skip to content

phpcs

phpcs #425

Triggered via push May 17, 2024 16:05
Status Failure
Total duration 51s
Artifacts

tests.yml

on: push
Tests on PHP 8.2
42s
Tests on PHP 8.2
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Tests on PHP 8.2: src/Generator/EnumGenerator.php#L25
Method DoclerLabs\ApiClientGenerator\Generator\EnumGenerator::getCaseName() should return string but returns string|null.
Tests on PHP 8.2: src/Generator/EnumGenerator.php#L70
Argument of an invalid type array|null supplied for foreach, only iterables are supported.
Tests on PHP 8.2: src/Generator/RequestGenerator.php#L154
Parameter #1 $value of static method DoclerLabs\ApiClientGenerator\Generator\EnumGenerator::getCaseName() expects string, mixed given.
Tests on PHP 8.2
Process completed with exit code 1.
Tests on PHP 8.2
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/