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

(516 errors, 37 warnings)

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

public/mod/data/field/poodll/classes/constants.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for class constants
(#31) Opening brace must not be followed by a blank line
(#34) Missing docblock for constant constants::M_COMPONENT
(#34) Line indented incorrectly; expected at least 4 spaces, found 0
(#34) Expected at least 1 space before "="; 0 found
(#34) Expected at least 1 space after "="; 0 found
(#34) Expected 1 space before "="; 0 found
(#34) Expected 1 space after "="; 0 found
(#35) Missing docblock for constant constants::M_FILEAREA
(#35) Line indented incorrectly; expected at least 4 spaces, found 0
(#36) Missing docblock for constant constants::M_SUBPLUGIN
(#36) Line indented incorrectly; expected at least 4 spaces, found 0
(#36) Expected at least 1 space before "="; 0 found
(#36) Expected at least 1 space after "="; 0 found
(#36) Expected 1 space before "="; 0 found
(#36) Expected 1 space after "="; 0 found
(#38) Missing docblock for constant constants::REC_AUDIO
(#38) Line indented incorrectly; expected at least 4 spaces, found 0
(#39) Missing docblock for constant constants::REC_VIDEO
(#39) Line indented incorrectly; expected at least 4 spaces, found 0
(#40) Missing docblock for constant constants::REC_AUDIOMP3
(#40) Line indented incorrectly; expected at least 4 spaces, found 0
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) No space found before comment text; expected "// deprecated" but found "//deprecated"
(#41) Missing docblock for constant constants::REC_WHITEBOARDSIMPLE
(#41) Line indented incorrectly; expected at least 4 spaces, found 0
(#42) Missing docblock for constant constants::REC_WHITEBOARDFULL
(#42) Line indented incorrectly; expected at least 4 spaces, found 0
(#43) Missing docblock for constant constants::REC_SNAPSHOT
(#43) Line indented incorrectly; expected at least 4 spaces, found 0
(#45) Expected 1 newline at end of file; 0 found
(#45) The closing brace for the class must go on the next line after the body
public/mod/data/field/poodll/classes/privacy/provider.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Missing docblock for class provider
(#39) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\null_provider, datafield_provider; Found: datafield_provider, \core_privacy\local\metadata\null_provider
(#39) The first item in a multi-line implements list must be on the line following the implements keyword
(#40) Expected 4 spaces before interface name; 0 found
(#40) Opening brace must not be followed by a blank line
(#42) The first trait import statement must be declared on the first non-comment line after the class opening brace
(#50) Method name "_get_reason" must not be prefixed with an underscore to indicate visibility
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#69) Only one argument is allowed per line in a multi-line function call
(#69) Only one argument is allowed per line in a multi-line function call
(#69) Only one argument is allowed per line in a multi-line function call
(#70) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#70) Closing parenthesis of a multi-line function call must be on a line by itself
(#85) Function closing brace must go on the next line following the body; found 1 blank lines before brace
public/mod/data/field/poodll/field.class.php
(#1) Moodle boilerplate not found
(#2) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2) 75 slashes comments are not allowed; use "// Comment." instead
(#3) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#5) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#7) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#8) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#10) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#14) Line exceeds 132 characters; contains 151 characters
(#19) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#20) Expected 1 space before comment text but found 10; use block comment if you need indentation
(#21) Expected 1 space before comment text but found 71; use block comment if you need indentation
(#22) 75 slashes comments are not allowed; use "// Comment." instead
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) Expected at least 1 space before "."; 0 found
(#24) Expected at least 1 space after "."; 0 found
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#29) Missing @copyright tag
(#29) Missing @license tag
(#29) Missing docblock for class data_field_poodll
(#29) Opening brace must not be followed by a blank line
(#31) Missing member variable doc comment
(#31) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#31) Scope modifier not specified for member variable "$type"
(#31) The var keyword must not be used to declare a property
(#31) Visibility must be declared on property "$type"
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// max bytes field" but found "//max bytes field"
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// response type" but found "//response type"
(#48) Short array syntax must be used to define arrays
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) This comment is 70% valid code; is this commented out code?
(#49) Line indented incorrectly; expected at least 8 spaces, found 7
(#61) Missing docblock for function display_add_field
(#61) Visibility must be declared on method "display_add_field"
(#61) Incorrect spacing between argument "$recordid" and equals sign; expected 1 but found 0
(#61) Incorrect spacing between default value and equals sign for argument "$recordid"; expected 1 but found 0
(#61) Incorrect spacing between argument "$formdata" and equals sign; expected 1 but found 0
(#61) Incorrect spacing between default value and equals sign for argument "$formdata"; expected 1 but found 0
(#67) Expected at least 1 space before "."; 0 found
(#67) Expected at least 1 space after "."; 0 found
(#67) Expected at least 1 space before "."; 0 found
(#67) Expected at least 1 space after "."; 0 found
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) This comment is 75% valid code; is this commented out code?
(#69) No space found before comment text; expected "// editors_head_setup();" but found "//editors_head_setup();"
(#72) Expected at least 1 space before "."; 0 found
(#72) Expected at least 1 space after "."; 0 found
(#73) Expected at least 1 space before "="; 0 found
(#73) Expected at least 1 space after "="; 0 found
(#73) Expected 1 space before "="; 0 found
(#73) Expected 1 space after "="; 0 found
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Expected at least 1 space before "="; 0 found
(#74) Expected at least 1 space after "="; 0 found
(#74) Expected 1 space before "="; 0 found
(#74) Expected 1 space after "="; 0 found
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Expected at least 1 space before "="; 0 found
(#75) Expected at least 1 space after "="; 0 found
(#75) Expected 1 space before "="; 0 found
(#75) Expected 1 space after "="; 0 found
(#76) Whitespace found at end of line
(#77) Expected "if (...) {\n"; found "if (...){\n"
(#77) Short array syntax must be used to define arrays
(#77) Expected at least 1 space before "=>"; 0 found
(#77) Expected at least 1 space after "=>"; 0 found
(#77) Expected 1 space before "=>"; 0 found
(#77) Expected 1 space after "=>"; 0 found
(#77) Expected at least 1 space before "=>"; 0 found
(#77) Expected at least 1 space after "=>"; 0 found
(#77) Expected 1 space before "=>"; 0 found
(#77) Expected 1 space after "=>"; 0 found
(#77) Expected 1 space after closing parenthesis; found 0
(#79) Expected "if (...) {\n"; found "if(...){\n"
(#79) Expected 1 space after IF keyword; 0 found
(#79) Expected 1 space after closing parenthesis; found 0
(#80) Spaces must be used to indent lines; tabs are not allowed
(#82) Whitespace found at end of line
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Expected at least 1 space before "."; 0 found
(#83) Expected at least 1 space before "."; 0 found
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) No space found after comma in argument list
(#84) Commas (,) must be followed by white space.
(#84) Expected 1 space between the comma and "$content". Found: no spaces
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Whitespace found at end of line
(#91) Spaces must be used to indent lines; tabs are not allowed
(#92) Spaces must be used to indent lines; tabs are not allowed
(#93) Spaces must be used to indent lines; tabs are not allowed
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Whitespace found at end of line
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Expected at least 1 space before "."; 0 found
(#95) Expected at least 1 space after "."; 0 found
(#95) Expected at least 1 space before "."; 0 found
(#95) Expected at least 1 space after "."; 0 found
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Expected at least 1 space before "."; 0 found
(#96) Expected at least 1 space after "."; 0 found
(#96) Expected at least 1 space before "."; 0 found
(#96) Expected at least 1 space after "."; 0 found
(#97) Expected at least 1 space before "."; 0 found
(#97) Expected at least 1 space after "."; 0 found
(#97) Expected at least 1 space before "."; 0 found
(#97) Expected at least 1 space after "."; 0 found
(#97) Expected at least 1 space before "."; 0 found
(#97) Expected at least 1 space after "."; 0 found
(#98) Whitespace found at end of line
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) This comment is 50% valid code; is this commented out code?
(#99) Line indented incorrectly; expected at least 8 spaces, found 7
(#100) Expected at least 1 space before "="; 0 found
(#100) Expected at least 1 space after "="; 0 found
(#100) Expected 1 space before "="; 0 found
(#100) Expected 1 space after "="; 0 found
(#101) Expected at least 1 space before "="; 0 found
(#101) Expected at least 1 space after "="; 0 found
(#101) Expected 1 space before "="; 0 found
(#101) Expected 1 space after "="; 0 found
(#102) Expected at least 1 space before "="; 0 found
(#102) Expected at least 1 space after "="; 0 found
(#102) Expected 1 space before "="; 0 found
(#102) Expected 1 space after "="; 0 found
(#102) PHP keywords must be lowercase; expected "array" but found "Array"
(#102) Short array syntax must be used to define arrays
(#103) Expected at least 1 space before "="; 0 found
(#103) Expected at least 1 space after "="; 0 found
(#103) Expected 1 space before "="; 0 found
(#103) Expected 1 space after "="; 0 found
(#104) Expected at least 1 space before "="; 0 found
(#104) Expected at least 1 space after "="; 0 found
(#104) Expected 1 space before "="; 0 found
(#104) Expected 1 space after "="; 0 found
(#106) Expected 1 space after closing parenthesis; found 0
(#107) Spaces must be used to indent lines; tabs are not allowed
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Opening parenthesis of a multi-line function call must be the last content on the line
(#109) No space found after comma in argument list
(#109) Commas (,) must be followed by white space.
(#109) Expected 1 space between the comma and "'ignore'". Found: no spaces
(#109) Only one argument is allowed per line in a multi-line function call
(#109) No space found after comma in argument list
(#109) Commas (,) must be followed by white space.
(#109) Expected 1 space between the comma and "$updatecontrol". Found: no spaces
(#109) Only one argument is allowed per line in a multi-line function call
(#110) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#110) No space found after comma in argument list
(#110) Commas (,) must be followed by white space.
(#110) Expected 1 space between the comma and ""user"". Found: no spaces
(#110) Only one argument is allowed per line in a multi-line function call
(#110) No space found after comma in argument list
(#110) Commas (,) must be followed by white space.
(#110) Expected 1 space between the comma and ""draft"". Found: no spaces
(#110) Only one argument is allowed per line in a multi-line function call
(#110) No space found after comma in argument list
(#110) Commas (,) must be followed by white space.
(#110) Expected 1 space between the comma and "$draftitemid". Found: no spaces
(#110) Only one argument is allowed per line in a multi-line function call
(#110) No space found after comma in argument list
(#110) Commas (,) must be followed by white space.
(#110) Expected 1 space between the comma and "$timelimit". Found: no spaces
(#110) Only one argument is allowed per line in a multi-line function call
(#110) No space found after comma in argument list
(#110) Commas (,) must be followed by white space.
(#110) Expected 1 space between the comma and "$callbackjs". Found: no spaces
(#110) Only one argument is allowed per line in a multi-line function call
(#110) No space found after comma in argument list
(#110) Commas (,) must be followed by white space.
(#110) Expected 1 space between the comma and "$hints". Found: no spaces
(#110) Only one argument is allowed per line in a multi-line function call
(#110) Closing parenthesis of a multi-line function call must be on a line by itself
(#111) Spaces must be used to indent lines; tabs are not allowed
(#112) Spaces must be used to indent lines; tabs are not allowed
(#112) Whitespace found at end of line
(#113) Spaces must be used to indent lines; tabs are not allowed
(#114) Spaces must be used to indent lines; tabs are not allowed
(#114) Opening parenthesis of a multi-line function call must be the last content on the line
(#114) No space found after comma in argument list
(#114) Commas (,) must be followed by white space.
(#114) Expected 1 space between the comma and "'ignore'". Found: no spaces
(#114) Only one argument is allowed per line in a multi-line function call
(#114) No space found after comma in argument list
(#114) Commas (,) must be followed by white space.
(#114) Expected 1 space between the comma and "$updatecontrol". Found: no spaces
(#114) Only one argument is allowed per line in a multi-line function call
(#115) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#115) No space found after comma in argument list
(#115) Commas (,) must be followed by white space.
(#115) Expected 1 space between the comma and ""user"". Found: no spaces
(#115) Only one argument is allowed per line in a multi-line function call
(#115) No space found after comma in argument list
(#115) Commas (,) must be followed by white space.
(#115) Expected 1 space between the comma and ""draft"". Found: no spaces
(#115) Only one argument is allowed per line in a multi-line function call
(#115) No space found after comma in argument list
(#115) Commas (,) must be followed by white space.
(#115) Expected 1 space between the comma and "$draftitemid". Found: no spaces
(#115) Only one argument is allowed per line in a multi-line function call
(#115) No space found after comma in argument list
(#115) Commas (,) must be followed by white space.
(#115) Expected 1 space between the comma and "$timelimit". Found: no spaces
(#115) Only one argument is allowed per line in a multi-line function call
(#115) No space found after comma in argument list
(#115) Commas (,) must be followed by white space.
(#115) Expected 1 space between the comma and "$callbackjs". Found: no spaces
(#115) Only one argument is allowed per line in a multi-line function call
(#115) No space found after comma in argument list
(#115) Commas (,) must be followed by white space.
(#115) Expected 1 space between the comma and "$hints". Found: no spaces
(#115) Only one argument is allowed per line in a multi-line function call
(#115) Closing parenthesis of a multi-line function call must be on a line by itself
(#116) Spaces must be used to indent lines; tabs are not allowed
(#117) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#118) Spaces must be used to indent lines; tabs are not allowed
(#118) Whitespace found at end of line
(#119) Spaces must be used to indent lines; tabs are not allowed
(#120) Spaces must be used to indent lines; tabs are not allowed
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Expected "if (...) {\n"; found "if(...){\n"
(#121) Expected 1 space after IF keyword; 0 found
(#121) Space after opening parenthesis of function call prohibited
(#121) Expected 1 space after closing parenthesis; found 0
(#122) Spaces must be used to indent lines; tabs are not allowed
(#123) Spaces must be used to indent lines; tabs are not allowed
(#123) Expected 1 space after closing brace; 0 found
(#123) Expected "} else {\n"; found "}else{\n"
(#123) Expected 1 space after ELSE keyword; 0 found
(#124) Spaces must be used to indent lines; tabs are not allowed
(#125) Spaces must be used to indent lines; tabs are not allowed
(#126) Spaces must be used to indent lines; tabs are not allowed
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and "$usercontextid". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and ""user"". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and ""draft"". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and "$draftitemid". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and "0". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and "0". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and "$backimageurl". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and """". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and "false". Found: no spaces
(#126) No space found after comma in argument list
(#126) Commas (,) must be followed by white space.
(#126) Expected 1 space between the comma and "$vectordata". Found: no spaces
(#126) Line exceeds maximum limit of 180 characters; contains 195 characters
(#127) Spaces must be used to indent lines; tabs are not allowed
(#128) Spaces must be used to indent lines; tabs are not allowed
(#128) Whitespace found at end of line
(#129) Spaces must be used to indent lines; tabs are not allowed
(#129) The CASE body must start on the line following the statement
(#131) Spaces must be used to indent lines; tabs are not allowed
(#131) No space found after comma in argument list
(#131) Commas (,) must be followed by white space.
(#131) Expected 1 space between the comma and "350". Found: no spaces
(#131) No space found after comma in argument list
(#131) Commas (,) must be followed by white space.
(#131) Expected 1 space between the comma and "400". Found: no spaces
(#131) No space found after comma in argument list
(#131) Commas (,) must be followed by white space.
(#131) Expected 1 space between the comma and "$usercontextid". Found: no spaces
(#131) No space found after comma in argument list
(#131) Commas (,) must be followed by white space.
(#131) Expected 1 space between the comma and "'user'". Found: no spaces
(#131) No space found after comma in argument list
(#131) Commas (,) must be followed by white space.
(#131) Expected 1 space between the comma and "'draft'". Found: no spaces
(#131) No space found after comma in argument list
(#131) Commas (,) must be followed by white space.
(#131) Expected 1 space between the comma and "$draftitemid". Found: no spaces
(#131) No space found after comma in argument list
(#131) Commas (,) must be followed by white space.
(#131) Expected 1 space between the comma and "''". Found: no spaces
(#131) Line exceeds 132 characters; contains 147 characters
(#132) Spaces must be used to indent lines; tabs are not allowed
(#133) Blank line found at end of control structure
(#134) Spaces must be used to indent lines; tabs are not allowed
(#135) Whitespace found at end of line
(#140) Spaces must be used to indent lines; tabs are not allowed
(#140) Missing docblock for function get_file
(#140) Visibility must be declared on method "get_file"
(#140) Incorrect spacing between argument "$content" and equals sign; expected 1 but found 0
(#140) Incorrect spacing between default value and equals sign for argument "$content"; expected 1 but found 0
(#143) Short array syntax must be used to define arrays
(#143) Expected at least 1 space before "=>"; 0 found
(#143) Expected at least 1 space after "=>"; 0 found
(#143) Expected 1 space before "=>"; 0 found
(#143) Expected 1 space after "=>"; 0 found
(#143) Expected at least 1 space before "=>"; 0 found
(#143) Expected at least 1 space after "=>"; 0 found
(#143) Expected 1 space before "=>"; 0 found
(#143) Expected 1 space after "=>"; 0 found
(#148) Spaces must be used to indent lines; tabs are not allowed
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) No space found before comment text; expected "// remove @@pluginfile" but found "//remove @@pluginfile"
(#149) Spaces must be used to indent lines; tabs are not allowed
(#149) No space found after comma in argument list
(#149) Commas (,) must be followed by white space.
(#149) Expected 1 space between the comma and "''". Found: no spaces
(#149) No space found after comma in argument list
(#149) Commas (,) must be followed by white space.
(#149) Expected 1 space between the comma and "$content". Found: no spaces
(#156) Spaces must be used to indent lines; tabs are not allowed
(#156) Whitespace found at end of line
(#157) Spaces must be used to indent lines; tabs are not allowed
(#157) Whitespace found at end of line
(#158) Missing docblock for function display_search_field
(#158) Visibility must be declared on method "display_search_field"
(#159) Expected at least 1 space before "."; 0 found
(#159) Expected at least 1 space after "."; 0 found
(#159) Expected at least 1 space before "."; 0 found
(#159) Expected at least 1 space after "."; 0 found
(#159) Expected at least 1 space before "."; 0 found
(#159) Expected at least 1 space after "."; 0 found
(#159) Expected at least 1 space before "."; 0 found
(#159) Expected at least 1 space after "."; 0 found
(#162) Missing docblock for function parse_search_field
(#162) Visibility must be declared on method "parse_search_field"
(#163) Expected at least 1 space before "."; 0 found
(#163) Expected at least 1 space after "."; 0 found
(#166) Missing docblock for function generate_sql
(#166) Visibility must be declared on method "generate_sql"
(#169) Expected at least 1 space before "="; 0 found
(#169) Expected at least 1 space after "="; 0 found
(#169) Expected 1 space before "="; 0 found
(#169) Expected 1 space after "="; 0 found
(#172) Short array syntax must be used to define arrays
(#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) Short array syntax must be used to define arrays
(#172) Expected at least 1 space before "=>"; 0 found
(#172) Expected at least 1 space after "=>"; 0 found
(#172) Expected 1 space before "=>"; 0 found
(#172) Expected 1 space after "=>"; 0 found
(#172) Line exceeds 132 characters; contains 161 characters
(#175) Missing docblock for function print_after_form
(#175) Visibility must be declared on method "print_after_form"
(#179) Missing docblock for function update_content
(#179) Visibility must be declared on method "update_content"
(#179) Incorrect spacing between argument "$name" and equals sign; expected 1 but found 0
(#179) Incorrect spacing between default value and equals sign for argument "$name"; expected 1 but found 0
(#185) Whitespace found at end of line
(#185) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#190) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Expected 1 space after closing brace; 0 found
(#192) Expected 1 space after ELSEIF keyword; 0 found
(#192) Usage of ELSEIF not allowed; use ELSE IF instead
(#192) Expected 1 space after closing parenthesis; found 0
(#193) Spaces must be used to indent lines; tabs are not allowed
(#195) Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
(#195) Inline comments must start with a capital letter, digit or 3-dots sequence
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#195) This comment is 50% valid code; is this commented out code?
(#201) Short array syntax must be used to define arrays
(#201) Expected at least 1 space before "=>"; 0 found
(#201) Expected at least 1 space after "=>"; 0 found
(#201) Expected 1 space before "=>"; 0 found
(#201) Expected 1 space after "=>"; 0 found
(#201) Expected at least 1 space before "=>"; 0 found
(#201) Expected at least 1 space after "=>"; 0 found
(#201) Expected 1 space before "=>"; 0 found
(#201) Expected 1 space after "=>"; 0 found
(#210) Expected at least 1 space before "."; 0 found
(#210) Expected at least 1 space before "."; 0 found
(#212) Opening parenthesis of a multi-line function call must be the last content on the line
(#212) Only one argument is allowed per line in a multi-line function call
(#212) Whitespace found at end of line
(#213) Spaces must be used to indent lines; tabs are not allowed
(#213) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#213) Only one argument is allowed per line in a multi-line function call
(#213) Only one argument is allowed per line in a multi-line function call
(#213) Only one argument is allowed per line in a multi-line function call
(#213) Only one argument is allowed per line in a multi-line function call
(#213) Closing parenthesis of a multi-line function call must be on a line by itself
(#214) Spaces must be used to indent lines; tabs are not allowed
(#227) Visibility must be declared on method "display_browse_field"
(#229) Whitespace found at end of line
(#230) No space found before comment text; expected "// We have quite the old javascript.php based "click to play"" but found "//We have quite the old javascript.php based "click to play""
(#231) Spaces must be used to indent lines; tabs are not allowed
(#231) No space found before comment text; expected "// This just make sure double sure doesn't get called." but found "//This just make sure double sure doesn't get called."
(#232) Spaces must be used to indent lines; tabs are not allowed
(#233) Spaces must be used to indent lines; tabs are not allowed
(#233) Expected at least 1 space before "="; 0 found
(#233) Expected at least 1 space after "="; 0 found
(#233) Expected 1 space before "="; 0 found
(#233) Expected 1 space after "="; 0 found
(#234) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#236) Short array syntax must be used to define arrays
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) Opening parenthesis of a multi-line function call must be the last content on the line
(#243) Only one argument is allowed per line in a multi-line function call
(#243) Whitespace found at end of line
(#244) Spaces must be used to indent lines; tabs are not allowed
(#244) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#244) Only one argument is allowed per line in a multi-line function call
(#244) Only one argument is allowed per line in a multi-line function call
(#244) Only one argument is allowed per line in a multi-line function call
(#244) Only one argument is allowed per line in a multi-line function call
(#244) Closing parenthesis of a multi-line function call must be on a line by itself
(#245) Spaces must be used to indent lines; tabs are not allowed
(#245) Whitespace found at end of line
(#246) Line indented incorrectly; expected 16 spaces, found 9
(#246) Expected 1 space after closing parenthesis; found 0
(#247) Spaces must be used to indent lines; tabs are not allowed
(#247) Line indented incorrectly; expected 20 spaces, found 12
(#248) Spaces must be used to indent lines; tabs are not allowed
(#248) Line indented incorrectly; expected 20 spaces, found 12
(#249) Spaces must be used to indent lines; tabs are not allowed
(#249) Line indented incorrectly; expected at least 24 spaces, found 16
(#250) Spaces must be used to indent lines; tabs are not allowed
(#250) Line indented incorrectly; expected at least 24 spaces, found 16
(#251) Spaces must be used to indent lines; tabs are not allowed
(#252) Spaces must be used to indent lines; tabs are not allowed
(#252) Whitespace found at end of line
(#253) Spaces must be used to indent lines; tabs are not allowed
(#253) Line indented incorrectly; expected 20 spaces, found 12
(#254) Spaces must be used to indent lines; tabs are not allowed
(#254) Line indented incorrectly; expected at least 24 spaces, found 17
(#255) Spaces must be used to indent lines; tabs are not allowed
(#255) Line indented incorrectly; expected at least 24 spaces, found 17
(#256) Spaces must be used to indent lines; tabs are not allowed
(#257) Spaces must be used to indent lines; tabs are not allowed
(#257) Whitespace found at end of line
(#258) Spaces must be used to indent lines; tabs are not allowed
(#258) Line indented incorrectly; expected 20 spaces, found 12
(#259) Spaces must be used to indent lines; tabs are not allowed
(#259) Line indented incorrectly; expected 20 spaces, found 12
(#260) Spaces must be used to indent lines; tabs are not allowed
(#260) Line indented incorrectly; expected at least 24 spaces, found 16
(#261) Spaces must be used to indent lines; tabs are not allowed
(#262) Spaces must be used to indent lines; tabs are not allowed
(#262) Whitespace found at end of line
(#263) Spaces must be used to indent lines; tabs are not allowed
(#263) Line indented incorrectly; expected 20 spaces, found 12
(#264) Spaces must be used to indent lines; tabs are not allowed
(#264) Line indented incorrectly; expected at least 24 spaces, found 16
(#265) Spaces must be used to indent lines; tabs are not allowed
(#266) Spaces must be used to indent lines; tabs are not allowed
(#266) Blank line found at end of control structure
(#266) Whitespace found at end of line
(#267) Spaces must be used to indent lines; tabs are not allowed
(#267) Line indented incorrectly; expected 16 spaces, found 12
(#267) Closing brace indented incorrectly; expected 9 spaces, found 12
(#268) Blank line found at end of control structure
(#268) Whitespace found at end of line
(#283) Visibility must be declared on method "file_ok"
(#286) Expected 1 blank line at end of file; 2 found
public/mod/data/field/poodll/lang/en/datafield_poodll.php
(#2) Moodle boilerplate not found at first line
(#21) Incorrect @package tag for file datafield_poodll.php. Expected datafield_poodll, found datafield.
(#30) The string key "fieldtypelabel" is not in the correct order, it should be before "pluginname"
(#31) The string key "clicktoplay" is not in the correct order, it should be before "fieldtypelabel"
(#33) The string key "backimageurl" is not in the correct order, it should be before "responsetype"
(#33) Expected at least 1 space before "="; 0 found
(#33) Expected at least 1 space after "="; 0 found
(#33) Expected 1 space before "="; 0 found
(#33) Expected 1 space after "="; 0 found
(#34) Expected at least 1 space before "="; 0 found
(#34) Expected at least 1 space after "="; 0 found
(#34) Expected 1 space before "="; 0 found
(#34) Expected 1 space after "="; 0 found
(#35) Unexpected comment found. Auto-fixing will not work after this comment
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) No space found before comment text; expected "// these need to go in /mod/data/lang/en/data.php" but found "//these need to go in /mod/data/lang/en/data.php"
(#37) The string key "namepoodll" is not in the correct order, it should be before "poodll"
public/mod/data/field/poodll/lib.php
(#1) No one-line description found in phpdocs for docblock of file lib.php
(#2) Moodle boilerplate not found at first line
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) There should be a comma after the last array item in a multi-line array.
public/mod/data/field/poodll/version.php
(#1) No one-line description found in phpdocs for docblock of file version.php
(#18) Incorrect @package tag for file version.php. Expected datafield_poodll, found datafield.
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) No space found before comment text; expected "// moodle 3.1.0" but found "//moodle 3.1.0"
(#31) Short array syntax must be used to define arrays
(#31) Expected 1 newline at end of file; 0 found

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

(4 errors, 0 warnings)

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

public/mod/data/field/poodll/styles.css
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#5) Expected single space before "{" (block-opening-brace-space-before)
(#2) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(2 errors, 0 warnings)

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

public/mod/data/field/poodll/field.class.php
(#2) Found comment starting with three or more slashes
(#22) Found comment starting with three or more slashes

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]