Skip to content

hw5

hw5 #101

Triggered via pull request February 16, 2024 22:40
Status Failure
Total duration 15s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
phpcs: public/index.php#L1
Header blocks must be separated by a single blank line
phpcs: src/Chat.php#L8
Opening brace must not be followed by a blank line
phpcs: src/Chat.php#L15
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
phpcs: src/Chat.php#L71
Expected 1 blank line at end of file; 2 found
phpcs: src/Client.php#L6
Opening brace must not be followed by a blank line
phpcs
Error: Command failed: php phpcs.phar --report=checkstyle --standard=phpcs.xml public/index.php src/App.php src/Chat.php src/Client.php src/Config.php src/Server.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/