Skip to content

Update OembedController.php #2

Update OembedController.php

Update OembedController.php #2

Triggered via pull request August 3, 2023 22:26
Status Failure
Total duration 32s
Artifacts

phpcs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
phpcs: protected/humhub/controllers/OembedController.php#L1
Header blocks must be separated by a single blank line
phpcs: protected/humhub/controllers/OembedController.php#L9
Header blocks must be separated by a single blank line
phpcs: protected/humhub/controllers/OembedController.php#L29
Whitespace found at end of line
phpcs: protected/humhub/controllers/OembedController.php#L42
The first expression of a multi-line control structure must be on the line after the opening parenthesis
phpcs: protected/humhub/controllers/OembedController.php#L42
Whitespace found at end of line
phpcs: protected/humhub/controllers/OembedController.php#L43
The closing parenthesis of a multi-line control structure must be on the line after the last expression
phpcs
Error: Command failed: php phpcs.phar --report=checkstyle --standard=phpcs.xml protected/humhub/controllers/OembedController.php
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/
phpcs: protected/humhub/controllers/OembedController.php#L41
Short array syntax must be used to define arrays