Skip to content

AYamaliev/hw13

AYamaliev/hw13 #2439

Triggered via pull request March 17, 2024 17:11
Status Failure
Total duration 22s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
phpcs: app/www/application.local/src/DataMapper/NewsMapper.php#L115
Function closing brace must go on the next line following the body; found 1 blank lines before brace
phpcs
Error: Command failed: php phpcs.phar --report=checkstyle --standard=phpcs.xml app/www/application.local/public/index.php app/www/application.local/src/App.php app/www/application.local/src/DataMapper/News.php app/www/application.local/src/DataMapper/NewsMapper.php app/www/application.local/src/Db/Connection.php app/www/application.local/src/IdentityMap/IdentityMap.php app/www/application.local/src/IdentityMap/IdentityMapInterface.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/