Skip to content

feat(hw20): API

feat(hw20): API #2434

Triggered via pull request March 15, 2024 15:27
Status Failure
Total duration 19s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
phpcs: api/models/Request.php#L46
Expected 1 newline at end of file; 0 found
phpcs: config/queue.php#L11
Parentheses must be used when instantiating a new class
phpcs: jobs/ProcessRequestJob.php#L53
Expected 1 newline at end of file; 0 found
phpcs
Error: Command failed: php phpcs.phar --report=checkstyle --standard=phpcs.xml api/controllers/QueueController.php api/controllers/StatusController.php api/middleware/QueueMiddleware.php api/models/Request.php api/routes/QueueRoutes.php api/routes/StatusRoutes.php config/queue.php jobs/ProcessRequestJob.php public/index.php
phpcs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, tinovyatkin/action-php-codesniffer@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpcs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, tinovyatkin/action-php-codesniffer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/