Skip to content

Resolved PHP_CodeSniffer issues ✨ #1504

Resolved PHP_CodeSniffer issues ✨

Resolved PHP_CodeSniffer issues ✨ #1504

Triggered via push October 16, 2023 05:07
Status Failure
Total duration 7m 11s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 10 warnings
Test
Process completed with exit code 1.
Lint: module/SyllabusBundle/Repository/Poc.php#L134
Useless variable $result.
Lint: module/SyllabusBundle/Component/Socket/Update.php#L33
Multi-line arrays must have a trailing comma after the last element.
Lint: module/SyllabusBundle/Component/Socket/Update.php#L210
Multi-line arrays must have a trailing comma after the last element.
Lint: module/SyllabusBundle/Component/Parser/Study.php#L440
Multi-line arrays must have a trailing comma after the last element.
Lint: module/SyllabusBundle/Controller/Admin/GroupController.php#L131
Multi-line arrays must have a trailing comma after the last element.
Lint: module/PromBundle/Controller/Admin/CodeController.php#L80
Multi-line arrays must have a trailing comma after the last element.
Lint: module/PromBundle/Controller/Admin/CodeController.php#L91
Multi-line arrays must have a trailing comma after the last element.
Lint: module/PromBundle/Form/Admin/ReservationCode/Academic.php#L31
Multi-line arrays must have a trailing comma after the last element.
Lint: module/PromBundle/Form/Admin/ReservationCode/Academic.php#L52
Multi-line arrays must have a trailing comma after the last element.
Lint: module/PromBundle/Form/Admin/ReservationCode/Academic.php#L53
Multi-line arrays must have a trailing comma after the last element.
Lint: module/BrBundle/Controller/Admin/Match/ProfileController.php#L140
Variable $pmap might not be defined.
Lint: module/BrBundle/Controller/Admin/Match/ProfileController.php#L165
Variable $profile might not be defined.
Lint: module/BrBundle/Controller/Career/EventController.php#L284
Variable $person might not be defined.
Lint: module/BrBundle/Controller/Career/EventController.php#L371
Variable $color might not be defined.
Lint: module/BrBundle/Controller/Career/EventController.php#L372
Variable $textColor might not be defined.
Lint: module/BrBundle/Controller/Career/EventController.php#L421
Variable $person might not be defined.
Lint: module/BrBundle/Controller/Career/EventController.php#L470
Variable $gradesMapEnabled might not be defined.
Lint: module/BrBundle/Controller/Career/EventController.php#L471
Variable $gradesMap might not be defined.
Lint: module/BrBundle/Controller/Career/EventController.php#L496
Variable $person might not be defined.
Lint: module/BrBundle/Controller/Career/MatchController.php#L169
Class BrBundle\Controller\Career\Match\Profile\CompanyProfile not found.
Lint: migrations/Version20230829110409.php#L14
Missing parameter comment
Lint: migrations/Version20230829110409.php#L19
Line exceeds 120 characters; contains 153 characters
Lint: migrations/Version20230829110409.php#L22
Line exceeds 120 characters; contains 188 characters
Lint: migrations/Version20230829110409.php#L36
Missing parameter comment
Lint: migrations/Version20211117175503.php#L14
Missing parameter comment
Lint: migrations/Version20211117175503.php#L19
Line exceeds 120 characters; contains 153 characters
Lint: migrations/Version20211117175503.php#L24
Line exceeds 120 characters; contains 293 characters
Lint: migrations/Version20211117175503.php#L26
Line exceeds 120 characters; contains 446 characters
Lint: migrations/Version20211117175503.php#L29
Line exceeds 120 characters; contains 141 characters
Lint: migrations/Version20211117175503.php#L30
Line exceeds 120 characters; contains 204 characters