Skip to content

hw4 Validator + balancer #2549

hw4 Validator + balancer

hw4 Validator + balancer #2549

Triggered via pull request September 11, 2024 16:23
Status Failure
Total duration 16s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpcs: hw4/code/phpcs-test/sample.php#L3
Each class must be in a namespace of at least one level (a top-level vendor name)
phpcs: hw4/code/phpcs-test/sample.php#L3
Opening brace of a class must be on the line after the definition
phpcs: hw4/code/phpcs-test/sample.php#L6
Method name "Person::set_name" is not in camel caps format
phpcs: hw4/code/phpcs-test/sample.php#L6
Expected 0 spaces after opening parenthesis; 1 found
phpcs: hw4/code/phpcs-test/sample.php#L6
Expected 0 spaces before closing parenthesis; 1 found
phpcs: hw4/code/phpcs-test/sample.php#L8
Expected at least 1 space before "="; 0 found
phpcs: hw4/code/phpcs-test/sample.php#L8
Expected at least 1 space after "="; 0 found
phpcs: hw4/code/phpcs-test/sample.php#L11
Opening brace should be on a new line
phpcs: hw4/code/phpcs-test/sample.php#L14
Expected 1 newline at end of file; 0 found
phpcs: hw4/code/phpcs-test/sample.php#L14
Whitespace found at end of line
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, tinovyatkin/action-php-codesniffer@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/