Skip to content

hw4

hw4 #2325

Triggered via pull request January 18, 2025 14:19
Status Failure
Total duration 21s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
phpcs: code/src/Controller/IndexController.php#L15
Parentheses must be used when instantiating a new class
phpcs: code/src/Controller/IndexController.php#L16
Parentheses must be used when instantiating a new class
phpcs: code/src/Core/App.php#L8
Opening brace must not be followed by a blank line
phpcs: code/src/Core/App.php#L12
Visibility must be declared on method "__construct"
phpcs: code/src/Service/RequestHandler.php#L8
Opening brace must not be followed by a blank line
phpcs: code/src/Service/RequestHandler.php#L12
Visibility must be declared on method "__construct"
phpcs
Error: Command failed: php phpcs.phar --report=checkstyle --standard=phpcs.xml code/public/index.php code/src/Controller/IndexController.php code/src/Core/App.php code/src/Service/RequestHandler.php code/src/Service/SessionService.php code/src/Service/StringService.php
phpcs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636