Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(908 errors, 51 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

plagiarism/pd/classes/forms/pd_setupform.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#27) "require_once" must be immediately followed by an open parenthesis
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#28) "require_once" must be immediately followed by an open parenthesis
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#30) Missing @copyright tag
(#30) Missing @license tag
(#30) Missing docblock for class pd_setupform
(#33) Missing docblock for function definition
(#34) Opening brace should be on the same line as the declaration
(#42) Expected at least 1 space before "."; 0 found
(#42) Expected at least 1 space after "."; 0 found
(#49) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Expected at least 1 space before "."; 0 found
(#50) Expected at least 1 space after "."; 0 found
(#87) Opening brace should be on the same line as the declaration
(#100) Opening brace should be on the same line as the declaration
(#109) Expected at least 1 space before "."; 0 found
(#109) Expected at least 1 space after "."; 0 found
(#110) Expected at least 1 space before "."; 0 found
(#110) Expected at least 1 space after "."; 0 found
(#111) Expected at least 1 space before "."; 0 found
(#111) Expected at least 1 space after "."; 0 found
(#111) Expected at least 1 space before "."; 0 found
(#111) Expected at least 1 space after "."; 0 found
(#112) Expected at least 1 space before "."; 0 found
(#112) Expected at least 1 space after "."; 0 found
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Expected at least 1 space before "."; 0 found
(#139) Expected at least 1 space after "."; 0 found
plagiarism/pd/classes/observer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#24) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#28) "require_once" must be immediately followed by an open parenthesis
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#30) Missing @copyright tag
(#30) Missing @license tag
(#30) Missing docblock for class plagiarism_pd_observer
(#36) The closing parenthesis of a multi-line function declaration must be on a new line
(#37) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#37) Opening brace should be on the same line as the declaration
(#49) The closing parenthesis of a multi-line function declaration must be on a new line
(#50) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#50) Opening brace should be on the same line as the declaration
(#63) The closing parenthesis of a multi-line function declaration must be on a new line
(#64) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#64) Opening brace should be on the same line as the declaration
(#77) The closing parenthesis of a multi-line function declaration must be on a new line
(#78) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#78) Opening brace should be on the same line as the declaration
(#91) The closing parenthesis of a multi-line function declaration must be on a new line
(#92) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#92) Opening brace should be on the same line as the declaration
(#107) The closing parenthesis of a multi-line function declaration must be on a new line
(#108) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#108) Opening brace should be on the same line as the declaration
(#121) The closing parenthesis of a multi-line function declaration must be on a new line
(#122) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#122) Opening brace should be on the same line as the declaration
(#135) The closing parenthesis of a multi-line function declaration must be on a new line
(#136) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#136) Opening brace should be on the same line as the declaration
plagiarism/pd/classes/pd_view.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#27) "require_once" must be immediately followed by an open parenthesis
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#28) "require_once" must be immediately followed by an open parenthesis
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#30) Duplicate class name "pd_setupform" found; first defined in /var/lib/jenkins/git_repositories/prechecker/plagiarism/pd/classes/forms/pd_setupform.php on line 30
(#30) Missing @copyright tag
(#30) Missing @license tag
(#30) Missing docblock for class pd_setupform
(#33) Missing docblock for function definition
(#34) Opening brace should be on the same line as the declaration
(#42) Expected at least 1 space before "."; 0 found
(#42) Expected at least 1 space after "."; 0 found
(#49) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Expected at least 1 space before "."; 0 found
(#50) Expected at least 1 space after "."; 0 found
(#87) Opening brace should be on the same line as the declaration
(#100) Opening brace should be on the same line as the declaration
(#109) Expected at least 1 space before "."; 0 found
(#109) Expected at least 1 space after "."; 0 found
(#110) Expected at least 1 space before "."; 0 found
(#110) Expected at least 1 space after "."; 0 found
(#111) Expected at least 1 space before "."; 0 found
(#111) Expected at least 1 space after "."; 0 found
(#111) Expected at least 1 space before "."; 0 found
(#111) Expected at least 1 space after "."; 0 found
(#112) Expected at least 1 space before "."; 0 found
(#112) Expected at least 1 space after "."; 0 found
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Expected at least 1 space before "."; 0 found
(#139) Expected at least 1 space after "."; 0 found
plagiarism/pd/classes/plagiarism_pd_api_provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Missing @copyright tag
(#26) Missing @license tag
(#29) DocBlock missing a @package tag for class plagiarism_pd_api_provider. Expected @package plagiarism_pd
(#65) Opening brace should be on the same line as the declaration
(#75) Opening brace should be on the same line as the declaration
(#86) Opening brace should be on the same line as the declaration
(#100) Variable "text_content" must not contain underscores.
(#101) Opening brace should be on the same line as the declaration
(#102) Variable "mime_type" must not contain underscores.
(#103) Variable "post_data" must not contain underscores.
(#106) Variable "mime_type" must not contain underscores.
(#115) Expected at least 1 space before "."; 0 found
(#115) Expected at least 1 space after "."; 0 found
(#115) Variable "post_data" must not contain underscores.
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
plagiarism/pd/classes/plagiarism_receipt_message.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#26) Missing @copyright tag
(#26) Missing @license tag
(#26) Missing docblock for class plagiarism_receipt_message
(#36) Opening brace should be on the same line as the declaration
(#65) Opening brace should be on the same line as the declaration
(#72) Expected at least 1 space before "."; 0 found
(#72) Expected at least 1 space after "."; 0 found
plagiarism/pd/classes/privacy/provider.php
(#1) DocBlock missing a @package tag for file provider.php. Expected @package plagiarism_pd
(#2) Moodle boilerplate not found at first line
(#42) DocBlock missing a @package tag for class provider. Expected @package plagiarism_pd
(#42) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\core_userlist_provider, \core_plagiarism\privacy\plagiarism_provider; Found: \core_privacy\local\request\core_userlist_provider, \core_plagiarism\privacy\plagiarism_provider, \core_privacy\local\metadata\provider
(#42) Line exceeds 132 characters; contains 161 characters
(#57) Method name "_get_metadata" must not be prefixed with an underscore to indicate visibility
(#58) Opening brace should be on the same line as the declaration
(#97) Method name "_get_contexts_for_userid" must not be prefixed with an underscore to indicate visibility
(#98) Opening brace should be on the same line as the declaration
(#105) Expected at least 1 space before "."; 0 found
(#106) Expected at least 1 space before "."; 0 found
(#107) Expected at least 1 space before "."; 0 found
(#108) Expected at least 1 space before "."; 0 found
(#109) Expected at least 1 space before "."; 0 found
(#110) Expected at least 1 space before "."; 0 found
(#127) Method name "_export_plagiarism_user_data" must not be prefixed with an underscore to indicate visibility
(#128) Opening brace should be on the same line as the declaration
(#139) Expected at least 1 space before "."; 0 found
(#140) Expected at least 1 space before "."; 0 found
(#161) Method name "_delete_plagiarism_for_context" must not be prefixed with an underscore to indicate visibility
(#162) Opening brace should be on the same line as the declaration
(#183) Method name "_delete_plagiarism_for_user" must not be prefixed with an underscore to indicate visibility
(#184) Opening brace should be on the same line as the declaration
(#200) Opening brace should be on the same line as the declaration
(#209) Whitespace found at end of line within string
(#229) Opening brace should be on the same line as the declaration
(#240) Long list syntax is not allowed
(#244) Whitespace found at end of line within string
(#246) Whitespace found at end of line within string
plagiarism/pd/classes/task/send_submissions.php
(#1) No one-line description found in phpdocs for docblock of file send_submissions.php
(#1) DocBlock missing a @package tag for file send_submissions.php. Expected @package plagiarism_pd
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) DocBlock missing a @package tag for class send_submissions. Expected @package plagiarism_pd
(#40) Opening brace should be on the same line as the declaration
(#51) Opening brace should be on the same line as the declaration
(#54) "require_once" must be immediately followed by an open parenthesis
(#54) Expected at least 1 space before "."; 0 found
(#54) Expected at least 1 space after "."; 0 found
plagiarism/pd/constants.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file constants.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) 3 slashes comments are not allowed; use "// Comment." instead
(#25) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#29) Missing docblock for constant plagiarism_pd_max_file_upload_size
(#29) Class constants must be uppercase; expected PLAGIARISM_PD_MAX_FILE_UPLOAD_SIZE but found plagiarism_pd_max_file_upload_size
(#30) Missing docblock for constant plagiarism_pd_cron_submissions_limit
(#30) Class constants must be uppercase; expected PLAGIARISM_PD_CRON_SUBMISSIONS_LIMIT but found plagiarism_pd_cron_submissions_limit
(#31) Missing docblock for constant plagiarism_accepted_pd_file_exts
(#31) Class constants must be uppercase; expected PLAGIARISM_ACCEPTED_PD_FILE_EXTS but found plagiarism_accepted_pd_file_exts
(#34) Missing docblock for constant plagiarism_pd_api_base_url
(#34) Class constants must be uppercase; expected PLAGIARISM_PD_API_BASE_URL but found plagiarism_pd_api_base_url
(#35) Missing docblock for constant plagiarism_pd_pending_status
(#35) Class constants must be uppercase; expected PLAGIARISM_PD_PENDING_STATUS but found plagiarism_pd_pending_status
(#36) Missing docblock for constant plagiarism_pd_queued_status
(#36) Class constants must be uppercase; expected PLAGIARISM_PD_QUEUED_STATUS but found plagiarism_pd_queued_status
plagiarism/pd/db/access.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
plagiarism/pd/db/events.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file events.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
plagiarism/pd/db/messages.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file messages.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
plagiarism/pd/db/tasks.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file tasks.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
plagiarism/pd/lang/en/plagiarism_pd.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file plagiarism_pd.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#24) Unexpected string end, it should be a line feed after a semicolon
(#25) Unexpected string end, it should be a line feed after a semicolon
(#26) Unexpected string end, it should be a line feed after a semicolon
(#27) Unexpected string end, it should be a line feed after a semicolon
(#28) Unexpected string end, it should be a line feed after a semicolon
(#29) Unexpected string end, it should be a line feed after a semicolon
(#30) Unexpected string end, it should be a line feed after a semicolon
(#31) Unexpected string end, it should be a line feed after a semicolon
(#32) Unexpected string end, it should be a line feed after a semicolon
(#33) Unexpected string end, it should be a line feed after a semicolon
(#34) Unexpected string end, it should be a line feed after a semicolon
(#35) Unexpected string end, it should be a line feed after a semicolon
(#36) Unexpected string end, it should be a line feed after a semicolon
(#37) Unexpected string end, it should be a line feed after a semicolon
(#38) Unexpected string end, it should be a line feed after a semicolon
(#39) Unexpected string end, it should be a line feed after a semicolon
(#40) Unexpected string end, it should be a line feed after a semicolon
(#41) Unexpected string end, it should be a line feed after a semicolon
(#42) Unexpected string end, it should be a line feed after a semicolon
(#43) Unexpected string end, it should be a line feed after a semicolon
(#45) Unexpected string end, it should be a line feed after a semicolon
(#46) Unexpected string end, it should be a line feed after a semicolon
(#47) Unexpected string end, it should be a line feed after a semicolon
(#48) Unexpected string end, it should be a line feed after a semicolon
(#50) Unexpected string end, it should be a line feed after a semicolon
(#51) Unexpected string end, it should be a line feed after a semicolon
(#52) Unexpected string end, it should be a line feed after a semicolon
(#53) Unexpected string end, it should be a line feed after a semicolon
(#54) Unexpected string end, it should be a line feed after a semicolon
(#55) Unexpected string end, it should be a line feed after a semicolon
(#56) Unexpected string end, it should be a line feed after a semicolon
(#57) Unexpected string end, it should be a line feed after a semicolon
(#58) Unexpected string end, it should be a line feed after a semicolon
(#59) Unexpected string end, it should be a line feed after a semicolon
(#60) Unexpected string end, it should be a line feed after a semicolon
(#61) Unexpected string end, it should be a line feed after a semicolon
(#62) Unexpected string end, it should be a line feed after a semicolon
(#63) Unexpected string end, it should be a line feed after a semicolon
(#64) Unexpected string end, it should be a line feed after a semicolon
(#65) Unexpected string end, it should be a line feed after a semicolon
(#66) Unexpected string end, it should be a line feed after a semicolon
(#68) Unexpected string end, it should be a line feed after a semicolon
(#69) Unexpected string end, it should be a line feed after a semicolon
(#71) Unexpected string end, it should be a line feed after a semicolon
(#72) Unexpected string end, it should be a line feed after a semicolon
(#74) Unexpected string end, it should be a line feed after a semicolon
(#75) Unexpected string end, it should be a line feed after a semicolon
(#76) Unexpected string end, it should be a line feed after a semicolon
(#77) Unexpected string end, it should be a line feed after a semicolon
(#78) Unexpected string end, it should be a line feed after a semicolon
(#79) Unexpected string end, it should be a line feed after a semicolon
(#80) Unexpected string end, it should be a line feed after a semicolon
(#81) Unexpected string end, it should be a line feed after a semicolon
(#82) Unexpected string end, it should be a line feed after a semicolon
(#83) Unexpected string end, it should be a line feed after a semicolon
(#84) Unexpected string end, it should be a line feed after a semicolon
(#85) Unexpected string end, it should be a line feed after a semicolon
(#86) Unexpected string end, it should be a line feed after a semicolon
(#87) Unexpected string end, it should be a line feed after a semicolon
(#89) Unexpected string end, it should be a line feed after a semicolon
(#90) Unexpected string end, it should be a line feed after a semicolon
(#92) Unexpected string end, it should be a line feed after a semicolon
(#93) Unexpected string end, it should be a line feed after a semicolon
(#95) Unexpected string end, it should be a line feed after a semicolon
(#97) Unexpected string end, it should be a line feed after a semicolon
(#99) Unexpected string end, it should be a line feed after a semicolon
(#100) Unexpected string end, it should be a line feed after a semicolon
(#101) Unexpected string end, it should be a line feed after a semicolon
(#102) Unexpected string end, it should be a line feed after a semicolon
(#103) Unexpected string end, it should be a line feed after a semicolon
(#104) Unexpected string end, it should be a line feed after a semicolon
(#105) Unexpected string end, it should be a line feed after a semicolon
(#106) Unexpected string end, it should be a line feed after a semicolon
(#107) Unexpected string end, it should be a line feed after a semicolon
(#108) Unexpected string end, it should be a line feed after a semicolon
(#109) Unexpected string end, it should be a line feed after a semicolon
(#110) Unexpected string end, it should be a line feed after a semicolon
(#111) Unexpected string end, it should be a line feed after a semicolon
(#112) Unexpected string end, it should be a line feed after a semicolon
(#113) Unexpected string end, it should be a line feed after a semicolon
plagiarism/pd/lib.php
(#1) Missing docblock for file lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#24) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) 3 slashes comments are not allowed; use "// Comment." instead
(#25) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) No space found before comment text; expected "// get global class" but found "//get global class"
(#31) "require_once" must be immediately followed by an open parenthesis
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#32) "require_once" must be immediately followed by an open parenthesis
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#34) Missing docblock for class plagiarism_plugin_pd
(#42) Opening brace should be on the same line as the declaration
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Expected at least 1 space before "."; 0 found
(#108) Expected at least 1 space after "."; 0 found
(#140) Opening parenthesis of a multi-line function call must be the last content on the line
(#140) Only one argument is allowed per line in a multi-line function call
(#141) Only one argument is allowed per line in a multi-line function call
(#152) Usage of ELSEIF not allowed; use ELSE IF instead
(#154) Usage of ELSEIF not allowed; use ELSE IF instead
(#157) Expected at least 1 space before "."; 0 found
(#158) Expected at least 1 space before "."; 0 found
(#166) Whitespace found at end of line within string
(#167) Expected at least 1 space before "."; 0 found
(#167) Expected at least 1 space after "."; 0 found
(#167) Expected at least 1 space before "."; 0 found
(#167) Expected at least 1 space after "."; 0 found
(#167) Expected at least 1 space before "."; 0 found
(#167) Expected at least 1 space after "."; 0 found
(#167) Expected at least 1 space before "."; 0 found
(#167) Expected at least 1 space after "."; 0 found
(#167) Whitespace found at end of line within string
(#168) Expected at least 1 space before "."; 0 found
(#168) Expected at least 1 space after "."; 0 found
(#168) Expected at least 1 space before "."; 0 found
(#168) Expected at least 1 space after "."; 0 found
(#168) Whitespace found at end of line within string
(#169) Whitespace found at end of line within string
(#170) Whitespace found at end of line within string
(#171) Whitespace found at end of line within string
(#172) Expected at least 1 space before "."; 0 found
(#172) Expected at least 1 space after "."; 0 found
(#172) Expected at least 1 space before "."; 0 found
(#172) Expected at least 1 space after "."; 0 found
(#172) Expected at least 1 space before "."; 0 found
(#172) Expected at least 1 space after "."; 0 found
(#172) Expected at least 1 space before "."; 0 found
(#172) Expected at least 1 space after "."; 0 found
(#172) Expected at least 1 space before "."; 0 found
(#172) Expected at least 1 space after "."; 0 found
(#172) Expected at least 1 space before "."; 0 found
(#172) Expected at least 1 space after "."; 0 found
(#172) Whitespace found at end of line within string
(#178) Expected at least 1 space before "."; 0 found
(#178) Expected at least 1 space after "."; 0 found
(#178) Expected at least 1 space before "."; 0 found
(#178) Expected at least 1 space after "."; 0 found
(#179) Opening parenthesis of a multi-line function call must be the last content on the line
(#179) Only one argument is allowed per line in a multi-line function call
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#179) Expected at least 1 space before "."; 0 found
(#179) Expected at least 1 space after "."; 0 found
(#179) Line exceeds 132 characters; contains 146 characters
(#180) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#180) Closing parenthesis of a multi-line function call must be on a line by itself
(#194) Opening brace should be on the same line as the declaration
(#201) Missing docblock for function save_form_elements
(#202) Opening brace should be on the same line as the declaration
(#206) Expected at least 1 space before "."; 0 found
(#206) Expected at least 1 space after "."; 0 found
(#232) Expected at least 1 space before "."; 0 found
(#232) Expected at least 1 space after "."; 0 found
(#232) Expected at least 1 space before "."; 0 found
(#232) Expected at least 1 space after "."; 0 found
(#259) Opening brace should be on the same line as the declaration
(#260) Variable "supported_mods" must not contain underscores.
(#264) Variable "supported_mods" must not contain underscores.
(#268) Variable "supported_mods" must not contain underscores.
(#277) Opening brace should be on the same line as the declaration
(#293) Opening brace should be on the same line as the declaration
(#407) Opening brace should be on the same line as the declaration
(#420) Expected at least 1 space before "."; 0 found
(#420) Expected at least 1 space after "."; 0 found
(#442) Expected at least 1 space before "."; 0 found
(#447) Expected at least 1 space before "."; 0 found
(#448) Expected at least 1 space before "."; 0 found
(#449) Expected at least 1 space before "."; 0 found
(#450) Expected at least 1 space before "."; 0 found
(#451) Expected at least 1 space before "."; 0 found
(#452) Expected at least 1 space before "."; 0 found
(#453) Expected at least 1 space before "."; 0 found
(#454) Expected at least 1 space before "."; 0 found
(#455) Expected at least 1 space before "."; 0 found
(#456) Expected at least 1 space before "."; 0 found
(#457) Expected at least 1 space before "."; 0 found
(#458) Expected at least 1 space before "."; 0 found
(#459) Expected at least 1 space before "."; 0 found
(#477) Opening brace should be on the same line as the declaration
(#478) Inline comments must start with a capital letter, digit or 3-dots sequence
(#478) Inline comments must end in full-stops, exclamation marks, or question marks
(#478) No space found before comment text; expected "// called at top of submissions/grading pages - allows printing of admin style links or updating status" but found "//called at top of submissions/grading pages - allows printing of admin style links or updating status"
(#484) No one-line description found in phpdocs for docblock of function plagiarism_pd_admin_config
(#485) Opening brace should be on the same line as the declaration
(#495) Opening brace should be on the same line as the declaration
(#510) Opening brace should be on the same line as the declaration
(#518) Expected at least 1 space before "."; 0 found
(#518) Expected at least 1 space after "."; 0 found
(#534) Opening brace should be on the same line as the declaration
(#535) Expected at least 1 space before "."; 0 found
(#535) Expected at least 1 space after "."; 0 found
(#549) Opening brace should be on the same line as the declaration
(#582) Opening brace should be on the same line as the declaration
(#594) Opening brace should be on the same line as the declaration
(#620) Opening brace should be on the same line as the declaration
(#636) Opening brace should be on the same line as the declaration
(#652) Expected at least 1 space before "."; 0 found
(#652) Expected at least 1 space after "."; 0 found
(#652) Expected at least 1 space before "."; 0 found
(#652) Expected at least 1 space after "."; 0 found
(#652) Expected at least 1 space before "."; 0 found
(#652) Expected at least 1 space after "."; 0 found
(#652) Expected at least 1 space before "."; 0 found
(#652) Expected at least 1 space after "."; 0 found
(#664) Opening brace should be on the same line as the declaration
(#682) Expected at least 1 space before "."; 0 found
(#682) Expected at least 1 space after "."; 0 found
(#682) Expected at least 1 space before "."; 0 found
(#682) Expected at least 1 space after "."; 0 found
(#682) Expected at least 1 space before "."; 0 found
(#682) Expected at least 1 space after "."; 0 found
(#682) Expected at least 1 space before "."; 0 found
(#682) Expected at least 1 space after "."; 0 found
(#697) Opening brace should be on the same line as the declaration
(#701) Long list syntax is not allowed
(#706) Expected at least 1 space before "."; 0 found
(#706) Expected at least 1 space after "."; 0 found
(#706) Expected at least 1 space before "."; 0 found
(#706) Expected at least 1 space after "."; 0 found
(#706) Expected at least 1 space before "."; 0 found
(#706) Expected at least 1 space after "."; 0 found
(#725) Line exceeds 132 characters; contains 148 characters
(#726) Opening brace should be on the same line as the declaration
(#748) Inline comments must start with a capital letter, digit or 3-dots sequence
(#748) Inline comments must end in full-stops, exclamation marks, or question marks
(#759) Opening parenthesis of a multi-line function call must be the last content on the line
(#762) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#762) Only one argument is allowed per line in a multi-line function call
(#762) Only one argument is allowed per line in a multi-line function call
(#762) Closing parenthesis of a multi-line function call must be on a line by itself
(#772) The CASE body must start on the line following the statement
(#785) Opening parenthesis of a multi-line function call must be the last content on the line
(#788) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#788) Only one argument is allowed per line in a multi-line function call
(#788) Only one argument is allowed per line in a multi-line function call
(#788) Closing parenthesis of a multi-line function call must be on a line by itself
(#791) Opening parenthesis of a multi-line function call must be the last content on the line
(#793) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#793) Only one argument is allowed per line in a multi-line function call
(#793) Only one argument is allowed per line in a multi-line function call
(#793) Closing parenthesis of a multi-line function call must be on a line by itself
(#805) Opening parenthesis of a multi-line function call must be the last content on the line
(#806) Expected at least 1 space before "."; 0 found
(#806) Expected at least 1 space after "."; 0 found
(#806) Expected at least 1 space before "."; 0 found
(#806) Expected at least 1 space after "."; 0 found
(#808) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#808) Only one argument is allowed per line in a multi-line function call
(#808) Closing parenthesis of a multi-line function call must be on a line by itself
(#813) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#814) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#816) Usage of ELSEIF not allowed; use ELSE IF instead
(#826) Line exceeds 132 characters; contains 151 characters
(#834) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#834) Opening parenthesis of a multi-line function call must be the last content on the line
(#835) Expected at least 1 space before "."; 0 found
(#835) Expected at least 1 space after "."; 0 found
(#835) Expected at least 1 space before "."; 0 found
(#835) Expected at least 1 space after "."; 0 found
(#837) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#837) Closing parenthesis of a multi-line function call must be on a line by itself
(#837) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#846) Line exceeds 132 characters; contains 151 characters
(#849) Line exceeds 132 characters; contains 147 characters
(#857) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#857) Opening parenthesis of a multi-line function call must be the last content on the line
(#860) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#860) Only one argument is allowed per line in a multi-line function call
(#860) Only one argument is allowed per line in a multi-line function call
(#860) Only one argument is allowed per line in a multi-line function call
(#860) Closing parenthesis of a multi-line function call must be on a line by itself
(#860) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#871) Line exceeds 132 characters; contains 143 characters
(#888) Expected at least 1 space before "."; 0 found
(#888) Expected at least 1 space after "."; 0 found
(#895) Expected at least 1 space before "."; 0 found
(#895) Expected at least 1 space after "."; 0 found
(#897) Opening parenthesis of a multi-line function call must be the last content on the line
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#897) Only one argument is allowed per line in a multi-line function call
(#898) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#898) Only one argument is allowed per line in a multi-line function call
(#898) Only one argument is allowed per line in a multi-line function call
(#898) Only one argument is allowed per line in a multi-line function call
(#898) Only one argument is allowed per line in a multi-line function call
(#898) Only one argument is allowed per line in a multi-line function call
(#898) Closing parenthesis of a multi-line function call must be on a line by itself
(#909) Opening brace should be on the same line as the declaration
(#929) Expected at least 1 space before "."; 0 found
(#929) Expected at least 1 space after "."; 0 found
(#931) Line exceeds 132 characters; contains 176 characters
(#941) Inline comments must start with a capital letter, digit or 3-dots sequence
(#941) Inline comments must end in full-stops, exclamation marks, or question marks
(#952) Inline comments must end in full-stops, exclamation marks, or question marks
(#953) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#954) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#966) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#967) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#979) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#979) Opening parenthesis of a multi-line function call must be the last content on the line
(#980) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#980) Only one argument is allowed per line in a multi-line function call
(#980) Closing parenthesis of a multi-line function call must be on a line by itself
(#980) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1006) Inline comments must end in full-stops, exclamation marks, or question marks
(#1007) Expected at least 1 space before "."; 0 found
(#1007) Expected at least 1 space after "."; 0 found
(#1009) Only one argument is allowed per line in a multi-line function call
(#1009) Only one argument is allowed per line in a multi-line function call
(#1009) Only one argument is allowed per line in a multi-line function call
(#1009) Only one argument is allowed per line in a multi-line function call
(#1010) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1010) Only one argument is allowed per line in a multi-line function call
(#1010) Only one argument is allowed per line in a multi-line function call
(#1010) Closing parenthesis of a multi-line function call must be on a line by itself
(#1017) Only one argument is allowed per line in a multi-line function call
(#1017) Only one argument is allowed per line in a multi-line function call
(#1017) Only one argument is allowed per line in a multi-line function call
(#1017) Only one argument is allowed per line in a multi-line function call
(#1018) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#1018) Only one argument is allowed per line in a multi-line function call
(#1018) Only one argument is allowed per line in a multi-line function call
(#1018) Closing parenthesis of a multi-line function call must be on a line by itself
(#1024) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1025) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1038) Only one argument is allowed per line in a multi-line function call
(#1038) Only one argument is allowed per line in a multi-line function call
(#1038) Only one argument is allowed per line in a multi-line function call
(#1038) Only one argument is allowed per line in a multi-line function call
(#1039) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1039) Only one argument is allowed per line in a multi-line function call
(#1039) Only one argument is allowed per line in a multi-line function call
(#1039) Closing parenthesis of a multi-line function call must be on a line by itself
(#1050) Expected at least 1 space before "."; 0 found
(#1050) Expected at least 1 space after "."; 0 found
(#1057) Expected at least 1 space before "."; 0 found
(#1057) Expected at least 1 space after "."; 0 found
(#1059) Expected at least 1 space before "."; 0 found
(#1059) Expected at least 1 space after "."; 0 found
(#1070) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#1070) Only one argument is allowed per line in a multi-line function call
(#1070) Only one argument is allowed per line in a multi-line function call
(#1070) Only one argument is allowed per line in a multi-line function call
(#1070) Only one argument is allowed per line in a multi-line function call
(#1070) Only one argument is allowed per line in a multi-line function call
(#1070) Only one argument is allowed per line in a multi-line function call
(#1070) Only one argument is allowed per line in a multi-line function call
(#1070) Closing parenthesis of a multi-line function call must be on a line by itself
(#1070) Line exceeds 132 characters; contains 142 characters
(#1085) Missing docblock for function get_first_group_author
(#1086) Opening brace should be on the same line as the declaration
(#1105) No one-line description found in phpdocs for docblock of function course_reset
(#1106) Opening brace should be on the same line as the declaration
(#1116) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#1116) Multi-line function declarations must define one parameter per line
(#1116) Multi-line function declarations must define one parameter per line
(#1116) Multi-line function declarations must define one parameter per line
(#1116) Multi-line function declarations must define one parameter per line
(#1116) Multi-line function declarations must define one parameter per line
(#1116) Multi-line function declarations must define one parameter per line
(#1116) Multi-line function declarations must define one parameter per line
(#1117) Multi-line function declaration not indented correctly; expected 8 spaces but found 36
(#1117) Multi-line function declarations must define one parameter per line
(#1117) Multi-line function declarations must define one parameter per line
(#1117) Multi-line function declarations must define one parameter per line
(#1117) Multi-line function declarations must define one parameter per line
(#1117) Multi-line function declarations must define one parameter per line
(#1117) Line exceeds 132 characters; contains 141 characters
(#1117) The closing parenthesis of a multi-line function declaration must be on a new line
(#1118) The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line
(#1118) Opening brace should be on the same line as the declaration
(#1144) Expected at least 1 space before "."; 0 found
(#1144) Expected at least 1 space after "."; 0 found
(#1144) Expected at least 1 space before "."; 0 found
(#1144) Expected at least 1 space after "."; 0 found
(#1144) Expected at least 1 space before "."; 0 found
(#1144) Expected at least 1 space after "."; 0 found
(#1144) Expected at least 1 space before "."; 0 found
(#1144) Expected at least 1 space after "."; 0 found
(#1148) Expected at least 1 space before "."; 0 found
(#1148) Expected at least 1 space after "."; 0 found
(#1148) Expected at least 1 space before "."; 0 found
(#1148) Expected at least 1 space after "."; 0 found
(#1148) Expected at least 1 space before "."; 0 found
(#1148) Expected at least 1 space after "."; 0 found
(#1148) Expected at least 1 space before "."; 0 found
(#1148) Expected at least 1 space after "."; 0 found
(#1159) Opening brace should be on the same line as the declaration
(#1169) Expected at least 1 space before "."; 0 found
(#1169) Expected at least 1 space after "."; 0 found
(#1169) Expected at least 1 space before "."; 0 found
(#1169) Expected at least 1 space after "."; 0 found
(#1179) Opening brace should be on the same line as the declaration
(#1187) Opening parenthesis of a multi-line function call must be the last content on the line
(#1187) Only one argument is allowed per line in a multi-line function call
(#1188) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1188) Only one argument is allowed per line in a multi-line function call
(#1188) Only one argument is allowed per line in a multi-line function call
(#1188) Only one argument is allowed per line in a multi-line function call
(#1188) Only one argument is allowed per line in a multi-line function call
(#1188) Closing parenthesis of a multi-line function call must be on a line by itself
(#1188) Line exceeds 132 characters; contains 149 characters
(#1251) Opening parenthesis of a multi-line function call must be the last content on the line
(#1251) Only one argument is allowed per line in a multi-line function call
(#1251) Only one argument is allowed per line in a multi-line function call
(#1251) Only one argument is allowed per line in a multi-line function call
(#1252) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1252) Closing parenthesis of a multi-line function call must be on a line by itself
(#1258) The CASE body must start on the line following the statement
(#1266) Expected at least 1 space before "."; 0 found
(#1266) Expected at least 1 space after "."; 0 found
(#1267) Expected at least 1 space before "."; 0 found
(#1267) Expected at least 1 space after "."; 0 found
(#1278) Expected at least 1 space before "."; 0 found
(#1278) Expected at least 1 space after "."; 0 found
(#1278) Line exceeds 132 characters; contains 134 characters
(#1280) Expected at least 1 space before "."; 0 found
(#1280) Expected at least 1 space after "."; 0 found
(#1290) Opening parenthesis of a multi-line function call must be the last content on the line
(#1291) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#1291) Only one argument is allowed per line in a multi-line function call
(#1291) Closing parenthesis of a multi-line function call must be on a line by itself
(#1296) Opening parenthesis of a multi-line function call must be the last content on the line
(#1297) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#1297) Only one argument is allowed per line in a multi-line function call
(#1297) Closing parenthesis of a multi-line function call must be on a line by itself
(#1302) Expected at least 1 space before "."; 0 found
(#1302) Expected at least 1 space after "."; 0 found
(#1302) Expected at least 1 space before "."; 0 found
(#1302) Expected at least 1 space after "."; 0 found
(#1302) Expected at least 1 space before "."; 0 found
(#1302) Expected at least 1 space after "."; 0 found
(#1302) Expected at least 1 space before "."; 0 found
(#1302) Expected at least 1 space after "."; 0 found
(#1302) Expected at least 1 space before "."; 0 found
(#1302) Expected at least 1 space after "."; 0 found
(#1302) Expected at least 1 space before "."; 0 found
(#1302) Expected at least 1 space after "."; 0 found
(#1309) Line exceeds 132 characters; contains 144 characters
(#1319) Expected at least 1 space before "."; 0 found
(#1319) Expected at least 1 space after "."; 0 found
(#1319) Expected at least 1 space before "."; 0 found
(#1319) Expected at least 1 space after "."; 0 found
(#1319) Expected at least 1 space before "."; 0 found
(#1319) Expected at least 1 space after "."; 0 found
(#1319) Expected at least 1 space before "."; 0 found
(#1319) Expected at least 1 space after "."; 0 found
(#1319) Expected at least 1 space before "."; 0 found
(#1319) Expected at least 1 space after "."; 0 found
(#1319) Expected at least 1 space before "."; 0 found
(#1319) Expected at least 1 space after "."; 0 found
(#1319) Expected at least 1 space before "."; 0 found
(#1319) Expected at least 1 space after "."; 0 found
(#1319) Expected at least 1 space before "."; 0 found
(#1319) Expected at least 1 space after "."; 0 found
(#1328) "require_once" must be immediately followed by an open parenthesis
(#1328) Expected at least 1 space before "."; 0 found
(#1328) Expected at least 1 space after "."; 0 found
(#1338) Expected at least 1 space before "."; 0 found
(#1338) Expected at least 1 space after "."; 0 found
(#1346) Expected at least 1 space before "."; 0 found
(#1346) Expected at least 1 space after "."; 0 found
(#1346) Expected at least 1 space before "."; 0 found
(#1346) Expected at least 1 space after "."; 0 found
(#1346) Expected at least 1 space before "."; 0 found
(#1346) Expected at least 1 space after "."; 0 found
(#1346) Expected at least 1 space before "."; 0 found
(#1346) Expected at least 1 space after "."; 0 found
(#1346) Expected at least 1 space before "."; 0 found
(#1346) Expected at least 1 space after "."; 0 found
(#1346) Expected at least 1 space before "."; 0 found
(#1346) Expected at least 1 space after "."; 0 found
(#1346) Expected at least 1 space before "."; 0 found
(#1346) Expected at least 1 space after "."; 0 found
(#1346) Expected at least 1 space before "."; 0 found
(#1346) Expected at least 1 space after "."; 0 found
(#1373) Inline comments must end in full-stops, exclamation marks, or question marks
(#1374) "require_once" must be immediately followed by an open parenthesis
(#1374) Expected at least 1 space before "."; 0 found
(#1374) Expected at least 1 space after "."; 0 found
(#1375) "require_once" must be immediately followed by an open parenthesis
(#1375) Expected at least 1 space before "."; 0 found
(#1375) Expected at least 1 space after "."; 0 found
(#1379) Variable "response_data" must not contain underscores.
(#1380) Variable "response_data" must not contain underscores.
(#1380) Variable "response_data" must not contain underscores.
(#1388) Variable "response_data" must not contain underscores.
(#1389) Variable "response_data" must not contain underscores.
(#1390) Variable "response_data" must not contain underscores.
(#1390) Variable "response_data" must not contain underscores.
(#1392) Variable "response_data" must not contain underscores.
(#1393) Variable "response_data" must not contain underscores.
(#1393) Variable "response_data" must not contain underscores.
(#1393) Expected at least 1 space before "."; 0 found
(#1393) Expected at least 1 space after "."; 0 found
(#1393) Expected at least 1 space before "."; 0 found
(#1393) Expected at least 1 space after "."; 0 found
(#1393) Variable "response_data" must not contain underscores.
(#1393) Line exceeds maximum limit of 180 characters; contains 183 characters
(#1411) Opening brace should be on the same line as the declaration
(#1445) Long list syntax is not allowed
(#1446) Expected at least 1 space before "."; 0 found
(#1446) Expected at least 1 space after "."; 0 found
(#1454) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1454) Opening parenthesis of a multi-line function call must be the last content on the line
(#1454) Only one argument is allowed per line in a multi-line function call
(#1454) Expected at least 1 space before "."; 0 found
(#1454) Expected at least 1 space after "."; 0 found
(#1454) Line exceeds 132 characters; contains 138 characters
(#1455) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1455) Only one argument is allowed per line in a multi-line function call
(#1455) Only one argument is allowed per line in a multi-line function call
(#1455) Closing parenthesis of a multi-line function call must be on a line by itself
(#1455) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1456) Long list syntax is not allowed
(#1458) Opening parenthesis of a multi-line function call must be the last content on the line
(#1458) Only one argument is allowed per line in a multi-line function call
(#1458) Expected at least 1 space before "."; 0 found
(#1459) Expected at least 1 space before "."; 0 found
(#1459) Expected at least 1 space after "."; 0 found
(#1459) Expected at least 1 space before "."; 0 found
(#1459) Expected at least 1 space after "."; 0 found
(#1459) Expected at least 1 space before "."; 0 found
(#1459) Expected at least 1 space after "."; 0 found
(#1460) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1460) Closing parenthesis of a multi-line function call must be on a line by itself
(#1464) Expected at least 1 space before "."; 0 found
(#1464) Expected at least 1 space after "."; 0 found
(#1467) Long list syntax is not allowed
(#1468) Expected at least 1 space before "."; 0 found
(#1468) Expected at least 1 space after "."; 0 found
(#1471) Usage of ELSEIF not allowed; use ELSE IF instead
(#1473) Expected at least 1 space before "."; 0 found
(#1473) Expected at least 1 space after "."; 0 found
(#1473) Expected at least 1 space before "."; 0 found
(#1473) Expected at least 1 space after "."; 0 found
(#1493) Opening brace should be on the same line as the declaration
(#1505) Expected at least 1 space before "."; 0 found
(#1505) Expected at least 1 space after "."; 0 found
(#1505) Expected at least 1 space before "."; 0 found
(#1505) Expected at least 1 space after "."; 0 found
(#1516) No one-line description found in phpdocs for docblock of function plagiarism_pd_event_file_uploaded
(#1516) DocBlock missing a @package tag for function plagiarism_pd_event_file_uploaded. Expected @package plagiarism_pd
(#1517) Opening brace should be on the same line as the declaration
(#1519) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1519) No space found before comment text; expected "// a file has been uploaded - submit this to the plagiarism prevention service." but found "//a file has been uploaded - submit this to the plagiarism prevention service."
(#1528) No one-line description found in phpdocs for docblock of function plagiarism_pd_event_files_done
(#1528) DocBlock missing a @package tag for function plagiarism_pd_event_files_done. Expected @package plagiarism_pd
(#1529) Opening brace should be on the same line as the declaration
(#1531) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1531) No space found before comment text; expected "// mainly used by assignment finalize - used if you want to handle "submit for marking" events" but found "//mainly used by assignment finalize - used if you want to handle "submit for marking" events"
(#1532) No space found before comment text; expected "// a file has been uploaded/finalised - submit this to the plagiarism prevention service." but found "//a file has been uploaded/finalised - submit this to the plagiarism prevention service."
(#1541) No one-line description found in phpdocs for docblock of function plagiarism_pd_event_mod_created
(#1541) DocBlock missing a @package tag for function plagiarism_pd_event_mod_created. Expected @package plagiarism_pd
(#1542) Opening brace should be on the same line as the declaration
(#1544) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1544) No space found before comment text; expected "// a pd module has been created - this is a generic event that is called for all module types" but found "//a pd module has been created - this is a generic event that is called for all module types"
(#1545) No space found before comment text; expected "// make sure you check the type of module before handling if needed." but found "//make sure you check the type of module before handling if needed."
(#1554) No one-line description found in phpdocs for docblock of function plagiarism_pd_event_mod_updated
(#1554) DocBlock missing a @package tag for function plagiarism_pd_event_mod_updated. Expected @package plagiarism_pd
(#1555) Opening brace should be on the same line as the declaration
(#1557) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1557) No space found before comment text; expected "// a module has been updated - this is a generic event that is called for all module types" but found "//a module has been updated - this is a generic event that is called for all module types"
(#1558) No space found before comment text; expected "// make sure you check the type of module before handling if needed." but found "//make sure you check the type of module before handling if needed."
(#1567) No one-line description found in phpdocs for docblock of function plagiarism_pd_event_mod_deleted
(#1567) DocBlock missing a @package tag for function plagiarism_pd_event_mod_deleted. Expected @package plagiarism_pd
(#1568) Opening brace should be on the same line as the declaration
(#1570) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1570) No space found before comment text; expected "// a module has been deleted - this is a generic event that is called for all module types" but found "//a module has been deleted - this is a generic event that is called for all module types"
(#1571) No space found before comment text; expected "// make sure you check the type of module before handling if needed." but found "//make sure you check the type of module before handling if needed."
(#1581) Expected 1 space after asterisk; 0 found
(#1583) DocBlock missing a @package tag for function plagiarism_pd_activitylog. Expected @package plagiarism_pd
(#1584) Opening brace should be on the same line as the declaration
(#1596) Expected at least 1 space before "."; 0 found
(#1596) Expected at least 1 space after "."; 0 found
(#1603) Logical operator "and" is prohibited; use "&&" instead
(#1609) Expected at least 1 space before "."; 0 found
(#1609) Expected at least 1 space after "."; 0 found
(#1609) Expected at least 1 space before "."; 0 found
(#1609) Expected at least 1 space after "."; 0 found
(#1616) Expected at least 1 space before "."; 0 found
(#1616) Expected at least 1 space after "."; 0 found
(#1616) Expected at least 1 space before "."; 0 found
(#1616) Expected at least 1 space after "."; 0 found
(#1616) Expected at least 1 space before "."; 0 found
(#1616) Expected at least 1 space after "."; 0 found
(#1616) Expected at least 1 space before "."; 0 found
(#1616) Expected at least 1 space after "."; 0 found
(#1618) Expected at least 1 space before "."; 0 found
(#1618) Expected at least 1 space after "."; 0 found
(#1618) Expected at least 1 space before "."; 0 found
(#1618) Expected at least 1 space after "."; 0 found
(#1618) Expected at least 1 space before "."; 0 found
(#1618) Expected at least 1 space after "."; 0 found
(#1618) Expected at least 1 space before "."; 0 found
(#1618) Expected at least 1 space after "."; 0 found
(#1618) Expected at least 1 space before "."; 0 found
(#1618) Expected at least 1 space after "."; 0 found
(#1618) Expected at least 1 space before "."; 0 found
(#1618) Expected at least 1 space after "."; 0 found
(#1634) No one-line description found in phpdocs for docblock of function plagiarism_pd_coursemodule_standard_elements
(#1634) DocBlock missing a @package tag for function plagiarism_pd_coursemodule_standard_elements. Expected @package plagiarism_pd
(#1635) Opening brace should be on the same line as the declaration
(#1636) Variable "pd_plugin" must not contain underscores.
(#1641) Variable "pd_plugin" must not contain underscores.
(#1644) Expected at least 1 space before "."; 0 found
(#1644) Expected at least 1 space after "."; 0 found
(#1653) DocBlock missing a @package tag for function plagiarism_pd_coursemodule_edit_post_actions. Expected @package plagiarism_pd
(#1654) Opening brace should be on the same line as the declaration
plagiarism/pd/plagiarism_pd_report.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file plagiarism_pd_report.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#21) "require" must be immediately followed by an open parenthesis
(#21) Expected at least 1 space before "."; 0 found
(#21) Expected at least 1 space after "."; 0 found
(#23) "require_once" must be immediately followed by an open parenthesis
(#23) Expected at least 1 space before "."; 0 found
(#23) Expected at least 1 space after "."; 0 found
(#24) "require_once" must be immediately followed by an open parenthesis
(#24) Expected at least 1 space before "."; 0 found
(#24) Expected at least 1 space after "."; 0 found
(#62) Expected at least 1 space before "."; 0 found
(#62) Expected at least 1 space after "."; 0 found
(#62) Expected at least 1 space before "."; 0 found
(#62) Expected at least 1 space after "."; 0 found
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) Expected at least 1 space before "."; 0 found
(#91) Expected at least 1 space before "."; 0 found
(#92) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#93) Expected at least 1 space before "."; 0 found
(#94) Expected at least 1 space before "."; 0 found
(#95) Expected at least 1 space before "."; 0 found
(#96) Expected at least 1 space before "."; 0 found
(#106) Expected at least 1 space before "."; 0 found
plagiarism/pd/settings.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#24) "require_once" must be immediately followed by an open parenthesis
(#24) Expected at least 1 space before "."; 0 found
(#24) Expected at least 1 space after "."; 0 found
(#25) "require_once" must be immediately followed by an open parenthesis
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#26) "require_once" must be immediately followed by an open parenthesis
(#26) Expected at least 1 space before "."; 0 found
(#26) Expected at least 1 space after "."; 0 found
(#27) "require_once" must be immediately followed by an open parenthesis
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#28) "require_once" must be immediately followed by an open parenthesis
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#41) Variable "plagiarism_plugin_pd" must not contain underscores.
(#42) Variable "plagiarism_plugin_pd" must not contain underscores.
plagiarism/pd/version.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Moodle boilerplate not found at first line
(#4) Line 2 of the opening comment must start "//".
(#9) Line 7 of the opening comment must start "//".
(#14) Line 12 of the opening comment must start "//".
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by eslint [More info]


CSS problems

(5 errors, 0 warnings)

This section shows CSS problems detected by stylelint [More info]

plagiarism/pd/styles.css
(#3) Expected single space before "{" (block-opening-brace-space-before)
(#61) Expected no more than 2 empty lines (max-empty-lines)
(#62) Expected no more than 2 empty lines (max-empty-lines)
(#63) Expected no more than 2 empty lines (max-empty-lines)
(#64) Expected no more than 2 empty lines (max-empty-lines)

PHPDocs style problems

(29 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

plagiarism/pd/classes/forms/pd_setupform.php
(#96) Phpdocs for function pd_setupform::save has incomplete parameters list
plagiarism/pd/classes/observer.php
(#32) Phpdocs for function plagiarism_pd_observer::course_module_deleted has incomplete parameters list
(#45) Phpdocs for function plagiarism_pd_observer::assignsubmission_file_uploaded has incomplete parameters list
(#59) Phpdocs for function plagiarism_pd_observer::forum_file_uploaded has incomplete parameters list
(#73) Phpdocs for function plagiarism_pd_observer::workshop_file_uploaded has incomplete parameters list
(#87) Phpdocs for function plagiarism_pd_observer::assignsubmission_onlinetext_uploaded has incomplete parameters list
(#104) Phpdocs for function plagiarism_pd_observer::coursework_submitted has incomplete parameters list
(#117) Phpdocs for function plagiarism_pd_observer::assignsubmission_submitted has incomplete parameters list
(#131) Phpdocs for function plagiarism_pd_observer::quiz_submitted has incomplete parameters list
plagiarism/pd/classes/pd_view.class.php
(#96) Phpdocs for function pd_setupform::save has incomplete parameters list
plagiarism/pd/classes/plagiarism_pd_api_provider.php
(#82) Phpdocs for function plagiarism_pd_api_provider::__construct has incomplete parameters list
(#95) Phpdocs for function plagiarism_pd_api_provider::send_text has incomplete parameters list
plagiarism/pd/classes/plagiarism_receipt_message.php
(#31) Phpdocs for function plagiarism_receipt_message::send_message has incomplete parameters list
plagiarism/pd/constants.php
(#25) Found comment starting with three or more slashes
plagiarism/pd/lib.php
(#25) Found comment starting with three or more slashes
(#36) Phpdocs for function plagiarism_plugin_pd::get_links has incomplete parameters list
(#289) Phpdocs for function plagiarism_plugin_pd::get_form_elements_module has incomplete parameters list
(#504) Phpdocs for function plagiarism_plugin_pd::is_plugin_configured has incomplete parameters list
(#528) Phpdocs for function plagiarism_plugin_pd::get_config_settings has incomplete parameters list
(#591) Phpdocs for function plagiarism_plugin_pd::upsert_user_eula has incomplete parameters list
(#615) Phpdocs for function plagiarism_plugin_pd::is_user_eula_accepted has incomplete parameters list
(#631) Phpdocs for function plagiarism_plugin_pd::create_new_submission has incomplete parameters list
(#659) Phpdocs for function plagiarism_plugin_pd::reset_submission has incomplete parameters list
(#690) Phpdocs for function plagiarism_plugin_pd::plagiarism_pd_retrieve_successful_submissions has incomplete parameters list
(#716) Phpdocs for function plagiarism_plugin_pd::queue_submission has incomplete parameters list
(#1113) Phpdocs for function plagiarism_plugin_pd::save_submission has incomplete parameters list
(#1155) Phpdocs for function plagiarism_plugin_pd::save_errored_submission has incomplete parameters list
(#1406) Phpdocs for function plagiarism_plugin_pd::clean_old_submissions has incomplete parameters list
(#1631) Phpdocs for function plagiarism_pd_coursemodule_standard_elements has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]