add Paste code to submit feature #4086
Annotations
10 errors and 9 warnings
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L9
Expected "function abc(...)"; found "function\nabc(...)"
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L9
Expected 1 space after FUNCTION keyword; newline found
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L10
Expected 1 space between comma and argument "$jc"; 0 found
|
Run domjudge/action-php-codesniffer@master:
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
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L10
No space found after comma in argument list
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L10
Each PHP statement must be on a line by itself
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L10
No space found after comma in argument list
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L10
Each PHP statement must be on a line by itself
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L10
No space found after comma in argument list
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L10
Each PHP statement must be on a line by itself
|
Run domjudge/action-php-codesniffer@master:
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.
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L217
Property name "$_result" should not be prefixed with an underscore to indicate visibility
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L234
Property name "$_offset" should not be prefixed with an underscore to indicate visibility
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L240
Property name "$_conn" should not be prefixed with an underscore to indicate visibility
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L396
Property name "$_link" should not be prefixed with an underscore to indicate visibility
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L396
Property name "$_result" should not be prefixed with an underscore to indicate visibility
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L416
Property name "$_result" should not be prefixed with an underscore to indicate visibility
|
Run domjudge/action-php-codesniffer@master:
webapp/resources/adminer.php#L416
Property name "$_offset" should not be prefixed with an underscore to indicate visibility
|
Run domjudge/action-php-codesniffer@master:
webapp/src/Controller/Team/SubmissionController.php#L175
Usage of ELSE IF is discouraged; use ELSEIF instead
|
Loading