Skip to content

Домашнее задание к уроку №5 #2489

Домашнее задание к уроку №5

Домашнее задание к уроку №5 #2489

Triggered via pull request April 2, 2024 19:10
Status Failure
Total duration 19s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpcs: code/src/Application.php#L1
Header blocks must be separated by a single blank line
phpcs: code/src/Application.php#L6
Header blocks must be separated by a single blank line
phpcs: code/src/Application.php#L11
Opening brace should be on a new line
phpcs: code/src/Application.php#L20
Expected 1 newline at end of file; 0 found
phpcs: code/src/Validator.php#L17
Expected 1 space(s) after IF keyword; 0 found
phpcs: code/src/Validator.php#L28
Expected 1 space(s) after IF keyword; 0 found
phpcs: code/src/Validator.php#L39
Expected 1 newline at end of file; 0 found
phpcs: code/src/index.php#L1
Header blocks must be separated by a single blank line
phpcs: code/src/index.php#L8
Expected 1 blank line at end of file; 2 found
phpcs
Error: Command failed: php phpcs.phar --report=checkstyle --standard=phpcs.xml code/src/Application.php code/src/Validator.php code/src/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/