Skip to content

E spiktarenko/hw18 #2407

E spiktarenko/hw18

E spiktarenko/hw18 #2407

Triggered via pull request March 1, 2024 18:14
Status Failure
Total duration 20s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
phpcs: hw18/fraction.php#L1
Header blocks must be separated by a single blank line
phpcs: hw18/fraction.php#L1
End of line character is invalid; expected "\n" but found "\r\n"
phpcs: hw18/fraction.php#L3
Each class must be in a namespace of at least one level (a top-level vendor name)
phpcs: hw18/fraction.php#L3
Opening brace must not be followed by a blank line
phpcs: hw18/fraction.php#L3
Opening brace of a class must be on the line after the definition
phpcs: hw18/fraction.php#L10
Visibility must be declared on method "fractionToDecimal"
phpcs: hw18/fraction.php#L10
Opening brace should be on a new line
phpcs: hw18/fraction.php#L11
Expected at least 1 space before "/"; 0 found
phpcs: hw18/fraction.php#L11
Expected at least 1 space after "/"; 0 found
phpcs: hw18/fraction.php#L12
Expected at least 1 space before "."; 0 found
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/