Skip to content

add Paste code to submit feature #4086

add Paste code to submit feature

add Paste code to submit feature #4086

Triggered via pull request November 16, 2024 12:06
Status Success
Total duration 39s
Artifacts

phpcodesniffer.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
phpcs: webapp/resources/adminer.php#L9
Expected "function abc(...)"; found "function\nabc(...)"
phpcs: webapp/resources/adminer.php#L9
Expected 1 space after FUNCTION keyword; newline found
phpcs: webapp/resources/adminer.php#L10
Expected 1 space between comma and argument "$jc"; 0 found
phpcs: webapp/resources/adminer.php#L10
There must be a single space between the closing parenthesis and the opening brace of a multi-line function declaration; found 0 spaces
phpcs: webapp/resources/adminer.php#L10
No space found after comma in argument list
phpcs: webapp/resources/adminer.php#L10
Each PHP statement must be on a line by itself
phpcs: webapp/resources/adminer.php#L10
No space found after comma in argument list
phpcs: webapp/resources/adminer.php#L10
Each PHP statement must be on a line by itself
phpcs: webapp/resources/adminer.php#L10
No space found after comma in argument list
phpcs: webapp/resources/adminer.php#L10
Each PHP statement must be on a line by itself
phpcs: webapp/resources/adminer.php#L1
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 9 and the first side effect is on line 10.
phpcs: webapp/resources/adminer.php#L217
Property name "$_result" should not be prefixed with an underscore to indicate visibility
phpcs: webapp/resources/adminer.php#L234
Property name "$_offset" should not be prefixed with an underscore to indicate visibility
phpcs: webapp/resources/adminer.php#L240
Property name "$_conn" should not be prefixed with an underscore to indicate visibility
phpcs: webapp/resources/adminer.php#L396
Property name "$_link" should not be prefixed with an underscore to indicate visibility
phpcs: webapp/resources/adminer.php#L396
Property name "$_result" should not be prefixed with an underscore to indicate visibility
phpcs: webapp/resources/adminer.php#L416
Property name "$_result" should not be prefixed with an underscore to indicate visibility
phpcs: webapp/resources/adminer.php#L416
Property name "$_offset" should not be prefixed with an underscore to indicate visibility
phpcs: webapp/src/Controller/Team/SubmissionController.php#L175
Usage of ELSE IF is discouraged; use ELSEIF instead