Skip to content

D palm/hw17

D palm/hw17 #2394

Triggered via pull request February 19, 2024 14:52
Status Failure
Total duration 17s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
phpcs: src/App.php#L18
Expected 1 space between type hint and argument "$orderBuilder"; 3 found
phpcs: src/App.php#L19
Expected 1 space between type hint and argument "$preparationObserver"; 7 found
phpcs: src/App.php#L21
The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
phpcs: src/App.php#L23
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 public/index.php src/App.php src/Patterns/AbstractFactory/BurgerFactory.php src/Patterns/AbstractFactory/HotDogFactory.php src/Patterns/AbstractFactory/ProductFactoryInterface.php src/Patterns/AbstractFactory/SandwichFactory.php src/Patterns/Adapter/PizzaAdapter.php src/Patterns/Builder/OrderBuilder.php src/Patterns/Builder/OrderBuilderInterface.php src/Patterns/Decorator/IngredientsDecorator.php src/Patterns/Decorator/ProductDecorator.php src/Patterns/Observer/ObserverInterface.php src/Patterns/Observer/PreparationObserver.php src/Products/Burger.php src/Products/HotDog.php src/Products/Pizza.php src/Products/ProductInterface.php src/Products/Sandwich.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/