Prechecker results: error


PHP lint problems

(1 errors, 0 warnings)

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

mod/hatsize/tests/lib_test.php
(#22) PHP Parse error: syntax error, unexpected '*' in /mod/hatsize/tests/lib_test.php on line 22

PHP coding style problems

(596 errors, 143 warnings)

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

mod/hatsize/backup/moodle1/lib.php
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/backup/moodle2/backup_hatsize_activity_task.class.php
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/backup/moodle2/backup_hatsize_stepslib.php
(#26) Expected 1 space(s) before asterisk; 0 found
(#27) Expected 1 space(s) before asterisk; 0 found
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/backup/moodle2/restore_hatsize_activity_task.class.php
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/backup/moodle2/restore_hatsize_stepslib.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/db/upgrade.php
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/index.php
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Expected 1 space before "=>"; 0 found
(#27) Expected 1 space after "=>"; 0 found
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Line exceeds 132 characters; contains 135 characters
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/lib.php
(#32) Closing brace must be on a line by itself
(#33) Closing brace must be on a line by itself
(#34) Closing brace must be on a line by itself
(#35) Closing brace must be on a line by itself
(#36) Closing brace must be on a line by itself
(#37) Closing brace must be on a line by itself
(#38) Closing brace must be on a line by itself
(#39) Closing brace must be on a line by itself
(#40) Closing brace must be on a line by itself
(#42) Closing brace must be on a line by itself
(#103) Expected 1 space before "="; 0 found
(#103) Expected 1 space after "="; 0 found
(#142) Expected 1 space before "="; 0 found
(#142) Expected 1 space after "="; 0 found
(#180) Expected 1 space before "=>"; 0 found
(#180) Expected 1 space after "=>"; 0 found
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Expected 1 space before "=>"; 0 found
(#186) Expected 1 space after "=>"; 0 found
(#205) Expected 1 space before "=>"; 0 found
(#205) Expected 1 space after "=>"; 0 found
(#207) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#213) Inline comments must start with a capital letter, digit or 3-dots sequence
(#213) No space found before comment text; expected "// note: there should be a way to differentiate links from normal resources" but found "//note: there should be a way to differentiate links from normal resources"
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) This comment is 64% valid code; is this commented out code?
(#221) Expected 1 space before "?"; 2 found
(#223) Line exceeds 132 characters; contains 147 characters
(#247) Variable "module_pagetype" must not contain underscores.
(#247) Expected 1 space before "=>"; 0 found
(#247) Expected 1 space after "=>"; 0 found
(#248) Variable "module_pagetype" must not contain underscores.
(#262) Expected 1 space before "=>"; 0 found
(#262) Expected 1 space after "=>"; 0 found
(#263) Expected 1 space before "=>"; 0 found
(#263) Expected 1 space after "=>"; 0 found
(#288) Inline doc block comments are not allowed; use "// Comment." instead
(#292) Inline doc block comments are not allowed; use "// Comment." instead
(#304) This comment is 42% valid code; is this commented out code?
(#304) Inline comments must start with a capital letter, digit or 3-dots sequence
(#305) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#306) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#307) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#308) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#309) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#310) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#311) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#312) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#315) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#316) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#317) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#318) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#319) Inline comments must end in full-stops, exclamation marks, or question marks
(#319) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#321) This comment is 58% valid code; is this commented out code?
(#321) Inline comments must start with a capital letter, digit or 3-dots sequence
(#321) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#322) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/locallib.php
(#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
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Line indented incorrectly; expected at least 4 spaces, found 2
(#84) Line indented incorrectly; expected at least 4 spaces, found 2
(#84) Variable "md_username" must not contain underscores.
(#85) Line indented incorrectly; expected at least 4 spaces, found 2
(#85) Variable "md_email" must not contain underscores.
(#86) Line indented incorrectly; expected at least 4 spaces, found 2
(#86) Variable "md_firstname" must not contain underscores.
(#87) Line indented incorrectly; expected at least 4 spaces, found 2
(#87) Variable "md_lastname" must not contain underscores.
(#88) Line indented incorrectly; expected at least 4 spaces, found 2
(#89) Line indented incorrectly; expected at least 4 spaces, found 2
(#90) Line indented incorrectly; expected at least 4 spaces, found 2
(#90) Variable "templateId" must be all lower-case
(#91) Line indented incorrectly; expected at least 4 spaces, found 2
(#92) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Line indented incorrectly; expected at least 4 spaces, found 2
(#95) Line indented incorrectly; expected at least 4 spaces, found 2
(#96) Line indented incorrectly; expected at least 4 spaces, found 2
(#96) Variable "wsdlUrl" must be all lower-case
(#97) Line indented incorrectly; expected at least 4 spaces, found 2
(#98) Line indented incorrectly; expected at least 4 spaces, found 2
(#98) Variable "certPath" must be all lower-case
(#100) Line indented incorrectly; expected 4 spaces, found 2
(#100) Expected "if (...) {\n"; found "if(...) {"
(#100) Variable "wsdlUrl" must be all lower-case
(#100) Closing brace must be on a line by itself
(#102) Line indented incorrectly; expected at least 4 spaces, found 2
(#102) Variable "certPath" must be all lower-case
(#103) Line indented incorrectly; expected at least 4 spaces, found 2
(#104) Line indented incorrectly; expected at least 4 spaces, found 2
(#105) Line indented incorrectly; expected at least 4 spaces, found 2
(#105) Variable "wsdlUrl" must be all lower-case
(#105) Variable "certPath" must be all lower-case
(#106) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Line indented incorrectly; expected at least 4 spaces, found 2
(#109) Line indented incorrectly; expected at least 4 spaces, found 2
(#109) Variable "md_username" must not contain underscores.
(#110) Line indented incorrectly; expected 4 spaces, found 2
(#110) Expected "if (...) {\n"; found "if(...) {\n"
(#111) Line indented incorrectly; expected at least 8 spaces, found 4
(#112) Line indented incorrectly; expected at least 8 spaces, found 4
(#112) Variable "md_username" must not contain underscores.
(#113) Line indented incorrectly; expected at least 8 spaces, found 4
(#113) Variable "md_email" must not contain underscores.
(#114) Line indented incorrectly; expected at least 8 spaces, found 4
(#114) Variable "md_firstname" must not contain underscores.
(#115) Line indented incorrectly; expected at least 8 spaces, found 4
(#115) Variable "md_lastname" must not contain underscores.
(#116) Line indented incorrectly; expected at least 8 spaces, found 4
(#116) Commas (,) must be followed by white space.
(#117) Line indented incorrectly; expected at least 8 spaces, found 4
(#117) Variable "userId" must be all lower-case
(#118) Line indented incorrectly; expected 8 spaces, found 4
(#118) Expected "if (...) {\n"; found "if(...) {"
(#118) Variable "userId" must be all lower-case
(#118) Variable "md_username" must not contain underscores.
(#118) Closing brace must be on a line by itself
(#119) Line indented incorrectly; expected 4 spaces, found 2
(#120) Line indented incorrectly; expected at least 8 spaces, found 4
(#120) Variable "userId" must be all lower-case
(#121) Line indented incorrectly; expected 4 spaces, found 2
(#122) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Line indented incorrectly; expected at least 4 spaces, found 2
(#125) Line indented incorrectly; expected 4 spaces, found 2
(#125) Expected "if (...) {\n"; found "if(...) {"
(#125) Closing brace must be on a line by itself
(#126) Line indented incorrectly; expected 4 spaces, found 2
(#126) Expected "if (...) {\n"; found "if(...) {"
(#126) Variable "userId" must be all lower-case
(#126) Variable "userId" must be all lower-case
(#126) Line exceeds 132 characters; contains 146 characters
(#126) Closing brace must be on a line by itself
(#127) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Line indented incorrectly; expected at least 4 spaces, found 2
(#129) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#130) Line indented incorrectly; expected at least 4 spaces, found 2
(#131) Line indented incorrectly; expected at least 4 spaces, found 2
(#132) Line indented incorrectly; expected at least 4 spaces, found 2
(#133) Line indented incorrectly; expected at least 4 spaces, found 2
(#133) Variable "userId" must be all lower-case
(#134) Line indented incorrectly; expected at least 4 spaces, found 2
(#134) Variable "templateId" must be all lower-case
(#135) Line indented incorrectly; expected at least 4 spaces, found 2
(#137) Line indented incorrectly; expected 4 spaces, found 2
(#137) Expected "if (...) {\n"; found "if(...) {\n"
(#138) Line indented incorrectly; expected at least 8 spaces, found 4
(#138) Variable "sessionId" must be all lower-case
(#138) Variable "userId" must be all lower-case
(#138) Variable "templateId" must be all lower-case
(#138) Variable "firstTemplate" must be all lower-case
(#138) Line exceeds 132 characters; contains 177 characters
(#139) Line indented incorrectly; expected 8 spaces, found 4
(#139) Expected "if (...) {\n"; found "if(...) {\n"
(#139) Variable "sessionId" must be all lower-case
(#140) Line indented incorrectly; expected at least 12 spaces, found 6
(#140) Variable "templateId" must be all lower-case
(#140) Line exceeds 132 characters; contains 140 characters
(#141) Line indented incorrectly; expected 8 spaces, found 4
(#142) Line indented incorrectly; expected at least 8 spaces, found 4
(#143) Line indented incorrectly; expected 8 spaces, found 4
(#143) Expected "if (...) {\n"; found "if(...) {"
(#143) Closing brace must be on a line by itself
(#144) Line indented incorrectly; expected 4 spaces, found 2
(#146) Line indented incorrectly; expected at least 4 spaces, found 2
(#146) Variable "labUrls" must be all lower-case
(#147) Line indented incorrectly; expected 4 spaces, found 2
(#147) Expected "if (...) {\n"; found "if(...) {"
(#147) Variable "labUrls" must be all lower-case
(#147) Closing brace must be on a line by itself
(#149) Line indented incorrectly; expected 4 spaces, found 2
(#149) Variable "labUrls" must be all lower-case
(#150) Line indented incorrectly; expected at least 8 spaces, found 4
(#150) Variable "labUrls" must be all lower-case
(#151) Line indented incorrectly; expected 4 spaces, found 2
(#152) Line indented incorrectly; expected at least 8 spaces, found 4
(#152) Variable "labUrls" must be all lower-case
(#153) Line indented incorrectly; expected 4 spaces, found 2
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Line indented incorrectly; expected at least 4 spaces, found 2
(#156) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#292) Commas (,) must be followed by white space.
(#336) Expected 1 space before "?"; 2 found
(#338) Line exceeds 132 characters; contains 147 characters
(#366) Inline comments must start with a capital letter, digit or 3-dots sequence
(#366) Inline comments must end in full-stops, exclamation marks, or question marks
(#366) This comment is 63% valid code; is this commented out code?
(#370) Expected 1 space before "=>"; 0 found
(#370) Expected 1 space after "=>"; 0 found
(#374) Inline comments must start with a capital letter, digit or 3-dots sequence
(#374) Inline comments must end in full-stops, exclamation marks, or question marks
(#374) This comment is 63% valid code; is this commented out code?
(#382) Commas (,) must be followed by white space.
(#382) Commas (,) must be followed by white space.
(#382) Inline comments must end in full-stops, exclamation marks, or question marks
(#390) Inline comments must start with a capital letter, digit or 3-dots sequence
(#390) Inline comments must end in full-stops, exclamation marks, or question marks
(#417) Inline comments must start with a capital letter, digit or 3-dots sequence
(#417) Inline comments must end in full-stops, exclamation marks, or question marks
(#419) Inline comments must start with a capital letter, digit or 3-dots sequence
(#422) Inline comments must end in full-stops, exclamation marks, or question marks
(#424) Inline comments must start with a capital letter, digit or 3-dots sequence
(#424) Inline comments must end in full-stops, exclamation marks, or question marks
(#427) Inline comments must start with a capital letter, digit or 3-dots sequence
(#427) Inline comments must end in full-stops, exclamation marks, or question marks
(#427) This comment is 72% valid code; is this commented out code?
(#427) No space found before comment text; expected "// resourcelib_guess_url_mimetype($hatsize->externalurl);" but found "//resourcelib_guess_url_mimetype($hatsize->externalurl);"
(#436) Inline comments must start with a capital letter, digit or 3-dots sequence
(#436) Inline comments must end in full-stops, exclamation marks, or question marks
(#556) Inline comments must start with a capital letter, digit or 3-dots sequence
(#558) Expected 1 space before comment text but found 7; use block comment if you need indentation
(#559) This comment is 72% valid code; is this commented out code?
(#560) This comment is 63% valid code; is this commented out code?
(#560) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#561) Inline comments must end in full-stops, exclamation marks, or question marks
(#561) This comment is 100% valid code; is this commented out code?
(#561) No space found before comment text; expected "// }" but found "//}"
(#563) Inline comments must start with a capital letter, digit or 3-dots sequence
(#563) No space found before comment text; expected "// hmm, this is pretty fragile and slow, why do we need it here??" but found "//hmm, this is pretty fragile and slow, why do we need it here??"
mod/hatsize/mod_form.php
(#25) "require_once" must be immediately followed by an open parenthesis
(#29) Visibility must be declared on method "definition"
(#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 "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#60) Expected 1 space before "=>"; 0 found
(#60) Expected 1 space after "=>"; 0 found
(#64) Expected 1 space before "=>"; 0 found
(#64) Expected 1 space after "=>"; 0 found
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#90) Expected 1 space before "=>"; 0 found
(#90) Expected 1 space after "=>"; 0 found
(#97) Expected 1 space before "=>"; 0 found
(#97) Expected 1 space after "=>"; 0 found
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#127) Expected 1 space before "="; 0 found
(#127) Expected 1 space after "="; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#146) Visibility must be declared on method "data_preprocessing"
(#146) Variable "default_values" must not contain underscores.
(#147) Variable "default_values" must not contain underscores.
(#148) Variable "default_values" must not contain underscores.
(#150) Variable "default_values" must not contain underscores.
(#153) Variable "default_values" must not contain underscores.
(#156) Variable "default_values" must not contain underscores.
(#159) Variable "default_values" must not contain underscores.
(#160) Variable "default_values" must not contain underscores.
(#162) Expected 1 space before "=>"; 0 found
(#162) Expected 1 space after "=>"; 0 found
(#162) Expected 1 space before "=>"; 0 found
(#162) Expected 1 space after "=>"; 0 found
(#163) Variable "default_values" must not contain underscores.
(#164) Variable "default_values" must not contain underscores.
(#170) Visibility must be declared on method "validation"
mod/hatsize/settings.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) No space found before comment text; expected "// --- general settings -----------------------------------------------------------------------------------" but found "//--- general settings -----------------------------------------------------------------------------------"
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No space found before comment text; expected "// --- modedit defaults -----------------------------------------------------------------------------------" but found "//--- modedit defaults -----------------------------------------------------------------------------------"
(#52) Line exceeds 132 characters; contains 156 characters
(#57) Line exceeds 132 characters; contains 140 characters
mod/hatsize/src/Hatsize/Address.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Line indented incorrectly; expected 4 spaces, found 2
(#29) Line indented incorrectly; expected 4 spaces, found 2
(#31) Line indented incorrectly; expected 4 spaces, found 2
(#33) Line indented incorrectly; expected 4 spaces, found 2
(#33) Member variable "provinceState" must be all lower-case
(#35) Line indented incorrectly; expected 4 spaces, found 2
(#37) Line indented incorrectly; expected 4 spaces, found 2
(#37) Member variable "postalCodeZip" must be all lower-case
mod/hatsize/src/Hatsize/Api.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#26) Line indented incorrectly; expected 4 spaces, found 2
(#27) Line indented incorrectly; expected 4 spaces, found 2
(#35) Line indented incorrectly; expected 4 spaces, found 2
(#35) Variable "wsdlUrl" must be all lower-case
(#36) Line indented incorrectly; expected 8 spaces, found 4
(#37) Line indented incorrectly; expected at least 12 spaces, found 6
(#38) Line indented incorrectly; expected 8 spaces, found 4
(#40) Line indented incorrectly; expected at least 8 spaces, found 4
(#41) Line indented incorrectly; expected at least 8 spaces, found 6
(#42) Line indented incorrectly; expected at least 8 spaces, found 6
(#43) Line indented incorrectly; expected at least 8 spaces, found 4
(#45) Line indented incorrectly; expected at least 8 spaces, found 4
(#45) Variable "wsdlUrl" must be all lower-case
(#46) Line indented incorrectly; expected 4 spaces, found 2
(#48) Line indented incorrectly; expected at least 4 spaces, found 2
(#52) Line indented incorrectly; expected 4 spaces, found 2
(#52) Public method name "Api::createUser" must be in lower-case letters only
(#53) Line indented incorrectly; expected at least 8 spaces, found 4
(#55) Line indented incorrectly; expected 8 spaces, found 4
(#55) Expected "if (...) {\n"; found "if(...) {\n"
(#56) Line indented incorrectly; expected at least 12 spaces, found 6
(#57) Line indented incorrectly; expected 8 spaces, found 4
(#59) Line indented incorrectly; expected at least 8 spaces, found 4
(#60) Line indented incorrectly; expected 4 spaces, found 2
(#62) Line indented incorrectly; expected at least 4 spaces, found 2
(#66) Line indented incorrectly; expected 4 spaces, found 2
(#66) Public method name "Api::updateUserById" must be in lower-case letters only
(#67) Line indented incorrectly; expected at least 8 spaces, found 4
(#69) Line indented incorrectly; expected 8 spaces, found 4
(#69) Expected "if (...) {\n"; found "if(...) {\n"
(#70) Line indented incorrectly; expected at least 12 spaces, found 6
(#71) Line indented incorrectly; expected 8 spaces, found 4
(#73) Line indented incorrectly; expected at least 8 spaces, found 4
(#74) Line indented incorrectly; expected 4 spaces, found 2
(#76) Line indented incorrectly; expected at least 4 spaces, found 2
(#80) Line indented incorrectly; expected 4 spaces, found 2
(#80) Public method name "Api::getUserByUsername" must be in lower-case letters only
(#81) Line indented incorrectly; expected at least 8 spaces, found 4
(#83) Line indented incorrectly; expected 8 spaces, found 4
(#83) Expected "if (...) {\n"; found "if(...) {\n"
(#84) Line indented incorrectly; expected at least 12 spaces, found 6
(#85) Line indented incorrectly; expected 8 spaces, found 4
(#87) Line indented incorrectly; expected at least 8 spaces, found 4
(#88) Line indented incorrectly; expected 4 spaces, found 2
(#90) Line indented incorrectly; expected at least 4 spaces, found 2
(#93) Line indented incorrectly; expected 4 spaces, found 2
(#93) Public method name "Api::getGroups" must be in lower-case letters only
(#94) Line indented incorrectly; expected at least 8 spaces, found 4
(#96) Line indented incorrectly; expected 8 spaces, found 4
(#96) Expected "if (...) {\n"; found "if(...) {\n"
(#97) Line indented incorrectly; expected at least 12 spaces, found 6
(#98) Line indented incorrectly; expected 8 spaces, found 4
(#100) Line indented incorrectly; expected at least 8 spaces, found 4
(#102) Line indented incorrectly; expected at least 8 spaces, found 4
(#104) Line indented incorrectly; expected 8 spaces, found 4
(#105) Line indented incorrectly; expected at least 12 spaces, found 6
(#106) Line indented incorrectly; expected 8 spaces, found 4
(#108) Line indented incorrectly; expected at least 8 spaces, found 4
(#109) Line indented incorrectly; expected 4 spaces, found 2
(#111) Line indented incorrectly; expected at least 4 spaces, found 2
(#114) Line indented incorrectly; expected 4 spaces, found 2
(#114) Public method name "Api::getGroupByName" must be in lower-case letters only
(#115) Line indented incorrectly; expected at least 8 spaces, found 4
(#117) Line indented incorrectly; expected 8 spaces, found 4
(#117) Expected "if (...) {\n"; found "if(...) {\n"
(#118) Line indented incorrectly; expected at least 12 spaces, found 6
(#119) Line indented incorrectly; expected 8 spaces, found 4
(#121) Line indented incorrectly; expected at least 8 spaces, found 4
(#122) Line indented incorrectly; expected 4 spaces, found 2
(#124) Line indented incorrectly; expected at least 4 spaces, found 2
(#127) Line indented incorrectly; expected 4 spaces, found 2
(#127) Public method name "Api::getSelfPacedSessions" must be in lower-case letters only
(#128) Line indented incorrectly; expected at least 8 spaces, found 4
(#130) Line indented incorrectly; expected 8 spaces, found 4
(#130) Expected "if (...) {\n"; found "if(...) {\n"
(#131) Line indented incorrectly; expected at least 12 spaces, found 6
(#132) Line indented incorrectly; expected 8 spaces, found 4
(#134) Line indented incorrectly; expected at least 8 spaces, found 4
(#136) Line indented incorrectly; expected at least 8 spaces, found 4
(#138) Line indented incorrectly; expected 8 spaces, found 4
(#138) Variable "sessionData" must be all lower-case
(#139) Line indented incorrectly; expected at least 12 spaces, found 6
(#139) Variable "sessionData" must be all lower-case
(#140) Line indented incorrectly; expected 8 spaces, found 4
(#142) Line indented incorrectly; expected at least 8 spaces, found 4
(#143) Line indented incorrectly; expected 4 spaces, found 2
(#145) Line indented incorrectly; expected at least 4 spaces, found 2
(#150) Line indented incorrectly; expected 4 spaces, found 2
(#150) Public method name "Api::addUserToGroup" must be in lower-case letters only
(#150) Variable "userId" must be all lower-case
(#150) Variable "groupId" must be all lower-case
(#151) Line indented incorrectly; expected at least 8 spaces, found 4
(#151) Variable "userId" must be all lower-case
(#151) Variable "groupId" must be all lower-case
(#153) Line indented incorrectly; expected 8 spaces, found 4
(#153) Expected "if (...) {\n"; found "if(...) {\n"
(#154) Line indented incorrectly; expected at least 12 spaces, found 6
(#155) Line indented incorrectly; expected at least 12 spaces, found 6
(#156) Line indented incorrectly; expected at least 12 spaces, found 6
(#157) Line indented incorrectly; expected 8 spaces, found 4
(#159) Line indented incorrectly; expected at least 8 spaces, found 4
(#160) Line indented incorrectly; expected 4 spaces, found 2
(#162) Line indented incorrectly; expected at least 4 spaces, found 2
(#167) Line indented incorrectly; expected 4 spaces, found 2
(#167) Public method name "Api::removeUserFromGroup" must be in lower-case letters only
(#167) Variable "userId" must be all lower-case
(#167) Variable "groupId" must be all lower-case
(#168) Line indented incorrectly; expected at least 8 spaces, found 4
(#168) Variable "userId" must be all lower-case
(#168) Variable "groupId" must be all lower-case
(#170) Line indented incorrectly; expected 8 spaces, found 4
(#170) Expected "if (...) {\n"; found "if(...) {\n"
(#171) Line indented incorrectly; expected at least 12 spaces, found 6
(#172) Line indented incorrectly; expected 8 spaces, found 4
(#174) Line indented incorrectly; expected at least 8 spaces, found 4
(#175) Line indented incorrectly; expected 4 spaces, found 2
(#177) Line indented incorrectly; expected at least 4 spaces, found 2
(#181) Line indented incorrectly; expected 4 spaces, found 2
(#181) Public method name "Api::getSelfPacedTemplatesForUser" must be in lower-case letters only
(#181) Variable "userId" must be all lower-case
(#182) Line indented incorrectly; expected at least 8 spaces, found 4
(#182) Variable "userId" must be all lower-case
(#184) Line indented incorrectly; expected 8 spaces, found 4
(#184) Expected "if (...) {\n"; found "if(...) {\n"
(#185) Line indented incorrectly; expected at least 12 spaces, found 6
(#186) Line indented incorrectly; expected 8 spaces, found 4
(#188) Line indented incorrectly; expected at least 8 spaces, found 4
(#190) Line indented incorrectly; expected at least 8 spaces, found 4
(#192) Line indented incorrectly; expected 8 spaces, found 4
(#192) Variable "templateData" must be all lower-case
(#193) Line indented incorrectly; expected at least 12 spaces, found 6
(#193) Variable "templateData" must be all lower-case
(#194) Line indented incorrectly; expected 8 spaces, found 4
(#196) Line indented incorrectly; expected at least 8 spaces, found 4
(#197) Line indented incorrectly; expected 4 spaces, found 2
(#199) Line indented incorrectly; expected at least 4 spaces, found 2
(#207) Line indented incorrectly; expected 4 spaces, found 2
(#207) Public method name "Api::createSelfPacedSessionForUser" must be in lower-case letters only
(#207) Variable "userId" must be all lower-case
(#207) Variable "templateId" must be all lower-case
(#207) Variable "startTime" must be all lower-case
(#207) Variable "endTime" must be all lower-case
(#208) Line indented incorrectly; expected at least 8 spaces, found 4
(#209) Line indented incorrectly; expected at least 8 spaces, found 6
(#209) Variable "userId" must be all lower-case
(#210) Line indented incorrectly; expected at least 8 spaces, found 6
(#210) Variable "templateId" must be all lower-case
(#211) Line indented incorrectly; expected at least 8 spaces, found 6
(#212) Variable "startTime" must be all lower-case
(#213) Variable "endTime" must be all lower-case
(#214) Line indented incorrectly; expected at least 8 spaces, found 6
(#215) Line indented incorrectly; expected at least 8 spaces, found 6
(#216) Line indented incorrectly; expected at least 8 spaces, found 4
(#218) Line indented incorrectly; expected at least 8 spaces, found 4
(#220) Line indented incorrectly; expected 8 spaces, found 4
(#220) Expected "if (...) {\n"; found "if(...) {\n"
(#221) Line indented incorrectly; expected at least 12 spaces, found 6
(#222) Line indented incorrectly; expected 8 spaces, found 4
(#224) Line indented incorrectly; expected at least 8 spaces, found 4
(#225) Line indented incorrectly; expected 4 spaces, found 2
(#227) Line indented incorrectly; expected at least 4 spaces, found 2
(#230) Line indented incorrectly; expected 4 spaces, found 2
(#230) Public method name "Api::getErrors" must be in lower-case letters only
(#231) Line indented incorrectly; expected at least 8 spaces, found 4
(#232) Line indented incorrectly; expected 4 spaces, found 2
(#234) Line indented incorrectly; expected 4 spaces, found 2
(#234) Public method name "Api::getLastErrorMessage" must be in lower-case letters only
(#235) Line indented incorrectly; expected 8 spaces, found 4
(#235) Expected "if (...) {\n"; found "if(...) {\n"
(#236) Line indented incorrectly; expected at least 12 spaces, found 6
(#237) Line indented incorrectly; expected 8 spaces, found 4
(#238) Line indented incorrectly; expected 4 spaces, found 2
(#240) Line indented incorrectly; expected 4 spaces, found 2
(#240) Private method name "Api::callApi" must be in lower-case letters only
(#240) Variable "apiName" must be all lower-case
(#241) Line indented incorrectly; expected at least 8 spaces, found 4
(#243) Line indented incorrectly; expected 8 spaces, found 4
(#244) Line indented incorrectly; expected at least 12 spaces, found 6
(#244) Variable "apiName" must be all lower-case
(#245) Line indented incorrectly; expected 8 spaces, found 4
(#246) Inline comments must start with a capital letter, digit or 3-dots sequence
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) This comment is 64% valid code; is this commented out code?
(#246) Line indented incorrectly; expected at least 12 spaces, found 6
(#247) Line indented incorrectly; expected at least 12 spaces, found 6
(#248) Line indented incorrectly; expected at least 12 spaces, found 6
(#249) Line indented incorrectly; expected 8 spaces, found 4
(#251) Line indented incorrectly; expected at least 8 spaces, found 4
(#253) Line indented incorrectly; expected 8 spaces, found 4
(#253) Expected "if (...) {\n"; found "if(...) {\n"
(#254) Line indented incorrectly; expected at least 12 spaces, found 6
(#255) Line indented incorrectly; expected at least 12 spaces, found 6
(#256) Line indented incorrectly; expected at least 12 spaces, found 6
(#257) Line indented incorrectly; expected 8 spaces, found 4
(#259) Line indented incorrectly; expected at least 8 spaces, found 4
(#260) Line indented incorrectly; expected 4 spaces, found 2
(#262) Line indented incorrectly; expected at least 4 spaces, found 2
(#266) Line indented incorrectly; expected 4 spaces, found 2
(#266) Private method name "Api::getUser" must be in lower-case letters only
(#267) This comment is 50% valid code; is this commented out code?
(#267) Line indented incorrectly; expected at least 8 spaces, found 4
(#268) Line indented incorrectly; expected at least 8 spaces, found 4
(#270) Line indented incorrectly; expected at least 8 spaces, found 4
(#272) Line indented incorrectly; expected at least 8 spaces, found 4
(#274) Line indented incorrectly; expected at least 8 spaces, found 4
(#276) Line indented incorrectly; expected 8 spaces, found 4
(#276) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#277) Line indented incorrectly; expected at least 12 spaces, found 6
(#278) Line indented incorrectly; expected 8 spaces, found 4
(#280) Line indented incorrectly; expected at least 8 spaces, found 4
(#281) Line indented incorrectly; expected at least 8 spaces, found 4
(#282) Line indented incorrectly; expected 4 spaces, found 2
(#284) Line indented incorrectly; expected at least 4 spaces, found 2
(#288) Line indented incorrectly; expected 4 spaces, found 2
(#288) Private method name "Api::getGroup" must be in lower-case letters only
(#289) Line indented incorrectly; expected at least 8 spaces, found 4
(#290) Line indented incorrectly; expected 4 spaces, found 2
(#292) Line indented incorrectly; expected at least 4 spaces, found 2
(#296) Line indented incorrectly; expected 4 spaces, found 2
(#296) Private method name "Api::getSelfPacedSession" must be in lower-case letters only
(#297) This comment is 50% valid code; is this commented out code?
(#297) Line indented incorrectly; expected at least 8 spaces, found 4
(#298) Line indented incorrectly; expected at least 8 spaces, found 4
(#300) Line indented incorrectly; expected at least 8 spaces, found 4
(#302) Line indented incorrectly; expected at least 8 spaces, found 4
(#304) Line indented incorrectly; expected 8 spaces, found 4
(#304) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#305) Line indented incorrectly; expected at least 12 spaces, found 6
(#306) Line indented incorrectly; expected 8 spaces, found 4
(#308) Line indented incorrectly; expected at least 8 spaces, found 4
(#309) Line indented incorrectly; expected at least 8 spaces, found 4
(#310) Line indented incorrectly; expected 4 spaces, found 2
(#312) Line indented incorrectly; expected at least 4 spaces, found 2
(#316) Line indented incorrectly; expected 4 spaces, found 2
(#316) Private method name "Api::getSelfPacedTemplate" must be in lower-case letters only
(#317) Line indented incorrectly; expected at least 8 spaces, found 4
(#318) Line indented incorrectly; expected at least 8 spaces, found 4
(#319) Line indented incorrectly; expected 4 spaces, found 2
(#321) Line indented incorrectly; expected 4 spaces, found 2
(#321) Private method name "Api::formatArray" must be in lower-case letters only
(#322) Line indented incorrectly; expected 8 spaces, found 4
(#322) Expected "if (...) {\n"; found "if(...) {\n"
(#323) Line indented incorrectly; expected at least 12 spaces, found 6
(#324) Line indented incorrectly; expected 8 spaces, found 4
(#325) Line indented incorrectly; expected at least 8 spaces, found 4
(#325) Expected "} else if (...) {\n"; found "}\n else if(...) {\n"
(#325) Expected "if (...) {\n"; found "if(...) {\n"
(#326) Line indented incorrectly; expected at least 12 spaces, found 6
(#327) Line indented incorrectly; expected 8 spaces, found 4
(#328) Line indented incorrectly; expected 8 spaces, found 4
(#328) Expected "} else {\n"; found "}\n else {\n"
(#329) Line indented incorrectly; expected at least 12 spaces, found 6
(#330) Line indented incorrectly; expected 8 spaces, found 4
(#331) Line indented incorrectly; expected 4 spaces, found 2
(#333) Line indented incorrectly; expected 4 spaces, found 2
(#334) Line indented incorrectly; expected at least 8 spaces, found 4
(#334) Variable "sourceReflection" must be all lower-case
(#335) Line indented incorrectly; expected at least 8 spaces, found 4
(#335) Variable "sourceProperties" must be all lower-case
(#335) Variable "sourceReflection" must be all lower-case
(#336) Line indented incorrectly; expected 8 spaces, found 4
(#336) Variable "sourceProperties" must be all lower-case
(#336) Variable "sourceProperty" must be all lower-case
(#337) Line indented incorrectly; expected at least 12 spaces, found 6
(#337) Variable "sourceProperty" must be all lower-case
(#338) Line indented incorrectly; expected at least 12 spaces, found 6
(#339) Line indented incorrectly; expected 8 spaces, found 4
(#340) Line indented incorrectly; expected at least 8 spaces, found 4
(#341) Line indented incorrectly; expected 4 spaces, found 2
mod/hatsize/src/Hatsize/Group.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Line indented incorrectly; expected 4 spaces, found 2
(#29) Line indented incorrectly; expected 4 spaces, found 2
(#31) Line indented incorrectly; expected 4 spaces, found 2
(#33) Line indented incorrectly; expected 4 spaces, found 2
(#35) Line indented incorrectly; expected 4 spaces, found 2
(#35) Member variable "organizationId" must be all lower-case
mod/hatsize/src/Hatsize/LabUrl.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#24) Expected MOODLE_INTERNAL check or config.php inclusion
(#26) Line indented incorrectly; expected 4 spaces, found 2
(#28) Line indented incorrectly; expected 4 spaces, found 2
(#28) Member variable "systemName" must be all lower-case
(#30) Line indented incorrectly; expected 4 spaces, found 2
mod/hatsize/src/Hatsize/SelfPacedSession.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Line indented incorrectly; expected 4 spaces, found 2
(#29) Line indented incorrectly; expected 4 spaces, found 2
(#31) Line indented incorrectly; expected 4 spaces, found 2
(#31) Member variable "templateId" must be all lower-case
(#33) Line indented incorrectly; expected 4 spaces, found 2
(#33) Member variable "templateName" must be all lower-case
(#35) Line indented incorrectly; expected 4 spaces, found 2
(#35) Member variable "organizationId" must be all lower-case
(#37) Line indented incorrectly; expected 4 spaces, found 2
(#37) Member variable "organizationName" must be all lower-case
(#39) Line indented incorrectly; expected 4 spaces, found 2
(#39) Member variable "startTime" must be all lower-case
(#41) Line indented incorrectly; expected 4 spaces, found 2
(#41) Member variable "endTime" must be all lower-case
(#43) Line indented incorrectly; expected 4 spaces, found 2
(#43) Member variable "userId" must be all lower-case
(#45) Line indented incorrectly; expected 4 spaces, found 2
(#45) Member variable "userName" must be all lower-case
(#47) Line indented incorrectly; expected 4 spaces, found 2
mod/hatsize/src/Hatsize/SelfPacedSessionCriteria.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Line indented incorrectly; expected 4 spaces, found 2
(#27) Member variable "includeUpcoming" must be all lower-case
(#29) Line indented incorrectly; expected 4 spaces, found 2
(#29) Member variable "includeInProgress" must be all lower-case
(#31) Line indented incorrectly; expected 4 spaces, found 2
(#31) Member variable "includeCompleted" must be all lower-case
(#33) Line indented incorrectly; expected 4 spaces, found 2
(#33) Member variable "includeCanceled" must be all lower-case
(#35) Line indented incorrectly; expected 4 spaces, found 2
(#35) Member variable "organizationId" must be all lower-case
(#37) Line indented incorrectly; expected 4 spaces, found 2
(#37) Member variable "userId" must be all lower-case
(#39) Line indented incorrectly; expected 4 spaces, found 2
(#39) Member variable "templateId" must be all lower-case
(#41) Line indented incorrectly; expected 4 spaces, found 2
(#41) Member variable "startTime" must be all lower-case
(#43) Line indented incorrectly; expected 4 spaces, found 2
(#43) Member variable "endTime" must be all lower-case
mod/hatsize/src/Hatsize/SelfPacedTemplate.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Line indented incorrectly; expected 4 spaces, found 2
(#29) Line indented incorrectly; expected 4 spaces, found 2
(#31) Line indented incorrectly; expected 4 spaces, found 2
mod/hatsize/src/Hatsize/User.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Line indented incorrectly; expected 4 spaces, found 2
(#29) Line indented incorrectly; expected 4 spaces, found 2
(#29) Member variable "firstName" must be all lower-case
(#31) Line indented incorrectly; expected 4 spaces, found 2
(#31) Member variable "lastName" must be all lower-case
(#33) Line indented incorrectly; expected 4 spaces, found 2
(#35) Line indented incorrectly; expected 4 spaces, found 2
(#37) Line indented incorrectly; expected 4 spaces, found 2
(#39) Line indented incorrectly; expected 4 spaces, found 2
(#41) Line indented incorrectly; expected 4 spaces, found 2
(#43) Line indented incorrectly; expected 4 spaces, found 2
(#45) Line indented incorrectly; expected 4 spaces, found 2
mod/hatsize/src/Hatsize/UserAttribute.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#27) Line indented incorrectly; expected 4 spaces, found 2
(#29) Line indented incorrectly; expected 4 spaces, found 2
mod/hatsize/src/autoloader.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) Line indented incorrectly; expected 4 spaces, found 2
(#24) Public method name "HatsizeAutoloader::loadClass" must be in lower-case letters only
(#25) Line indented incorrectly; expected at least 8 spaces, found 4
(#27) Line indented incorrectly; expected 8 spaces, found 4
(#27) Expected "if (...) {\n"; found "if(...) {\n"
(#28) Line indented incorrectly; expected at least 12 spaces, found 6
(#29) Line indented incorrectly; expected at least 12 spaces, found 6
(#30) Line indented incorrectly; expected 8 spaces, found 4
(#31) Line indented incorrectly; expected 4 spaces, found 2
(#39) function name "includeFile" must be lower-case letters only
(#40) Line indented incorrectly; expected at least 4 spaces, found 2
(#40) "include" must be immediately followed by an open parenthesis
mod/hatsize/tests/generator_test.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
mod/hatsize/tests/lib_test.php
(#22) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#22) Expected 1 space before "*"; newline found
(#22) Expected 1 space after "*"; 0 found
(#22) Expected 1 space before "/"; 0 found
(#22) Expected 1 space after "/"; newline found
mod/hatsize/version.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
mod/hatsize/view.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Expected 1 space before "=>"; 0 found
(#72) Expected 1 space after "=>"; 0 found
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) 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

(0 errors, 0 warnings)

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


PHPDocs style problems

(146 errors, 1 warnings)

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

mod/hatsize/backup/moodle1/lib.php
(#17) No one-line description found in phpdocs for file
(#33) Phpdocs for function moodle1_mod_hatsize_handler::process_legacy_resource has incomplete parameters list
(#25) Class moodle1_mod_hatsize_handler does not have @copyright tag
(#25) Class moodle1_mod_hatsize_handler does not have @license tag
mod/hatsize/backup/moodle2/backup_hatsize_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) Class backup_hatsize_activity_task does not have @copyright tag
(#27) Class backup_hatsize_activity_task does not have @license tag
mod/hatsize/backup/moodle2/backup_hatsize_stepslib.php
(#30) Function backup_hatsize_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#25) Class backup_hatsize_activity_structure_step does not have @copyright tag
(#25) Class backup_hatsize_activity_structure_step does not have @license tag
mod/hatsize/backup/moodle2/restore_hatsize_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class restore_hatsize_activity_task
(#27) Class restore_hatsize_activity_task does not have @copyright tag
(#27) Class restore_hatsize_activity_task does not have @license tag
mod/hatsize/backup/moodle2/restore_hatsize_stepslib.php
(#32) Function restore_hatsize_activity_structure_step::define_structure is not documented
(#41) Function restore_hatsize_activity_structure_step::process_hatsize is not documented
(#54) Function restore_hatsize_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#27) Class restore_hatsize_activity_structure_step does not have @copyright tag
(#27) Class restore_hatsize_activity_structure_step does not have @license tag
mod/hatsize/classes/event/course_module_instance_list_viewed.php
(#17) No one-line description found in phpdocs for file
mod/hatsize/classes/event/course_module_viewed.php
(#17) No one-line description found in phpdocs for file
mod/hatsize/db/access.php
(#17) No one-line description found in phpdocs for file
mod/hatsize/db/install.php
(#32) Function xmldb_hatsize_install is not documented
mod/hatsize/db/log.php
(#17) No one-line description found in phpdocs for file
mod/hatsize/db/upgrade.php
(#47) Function xmldb_hatsize_upgrade is not documented
mod/hatsize/index.php
(#17) No one-line description found in phpdocs for file
mod/hatsize/lang/en/hatsize.php
(#17) No one-line description found in phpdocs for file
mod/hatsize/lib.php
(#17) No one-line description found in phpdocs for file
(#56) Phpdocs for function hatsize_reset_userdata has incomplete parameters list
(#251) Phpdocs for function hatsize_export_contents has incomplete parameters list
mod/hatsize/locallib.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function hatsize_appears_valid_url has incomplete parameters list
(#595) Phpdocs for function hatsize_guess_icon has incomplete parameters list
(#205) Not recommended phpdocs tag @internal used
mod/hatsize/mod_form.php
(#28) Class mod_hatsize_mod_form is not documented
(#29) Function mod_hatsize_mod_form::definition is not documented
(#146) Function mod_hatsize_mod_form::data_preprocessing is not documented
(#170) Function mod_hatsize_mod_form::validation is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/settings.php
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/Hatsize/Address.php
(#25) Class Address is not documented
(#27) Variable Address::$address1 is not documented
(#29) Variable Address::$address2 is not documented
(#31) Variable Address::$city is not documented
(#33) Variable Address::$provinceState is not documented
(#35) Variable Address::$country is not documented
(#37) Variable Address::$postalCodeZip is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/Hatsize/Api.php
(#25) Class Api is not documented
(#234) Function Api::getLastErrorMessage is not documented
(#240) Function Api::callApi is not documented
(#321) Function Api::formatArray is not documented
(#333) Function Api::cast is not documented
(#26) Variable Api::$client is not documented
(#27) Variable Api::$errors is not documented
(#17) No one-line description found in phpdocs for file
(#29) There is no description in phpdocs for function __construct
(#48) There is no description in phpdocs for function createUser
(#62) There is no description in phpdocs for function updateUserById
(#76) There is no description in phpdocs for function getUserByUsername
(#90) There is no description in phpdocs for function getGroups
(#111) There is no description in phpdocs for function getGroupByName
(#124) There is no description in phpdocs for function getSelfPacedSessions
(#145) There is no description in phpdocs for function addUserToGroup
(#162) There is no description in phpdocs for function removeUserFromGroup
(#177) There is no description in phpdocs for function getSelfPacedTemplatesForUser
(#199) There is no description in phpdocs for function createSelfPacedSessionForUser
(#227) There is no description in phpdocs for function getErrors
(#262) There is no description in phpdocs for function getUser
(#284) There is no description in phpdocs for function getGroup
(#292) There is no description in phpdocs for function getSelfPacedSession
(#312) There is no description in phpdocs for function getSelfPacedTemplate
(#111) Phpdocs for function Api::getGroupByName has incomplete parameters list
(#124) Phpdocs for function Api::getSelfPacedSessions has incomplete parameters list
(#313) Phpdocs for function Api::getSelfPacedTemplate has incomplete parameters list
mod/hatsize/src/Hatsize/Group.php
(#25) Class Group is not documented
(#27) Variable Group::$id is not documented
(#29) Variable Group::$name is not documented
(#31) Variable Group::$description is not documented
(#33) Variable Group::$restricted is not documented
(#35) Variable Group::$organizationId is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/Hatsize/LabUrl.php
(#24) Class LabUrl is not documented
(#26) Variable LabUrl::$type is not documented
(#28) Variable LabUrl::$systemName is not documented
(#30) Variable LabUrl::$url is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/Hatsize/SelfPacedSession.php
(#25) Class SelfPacedSession is not documented
(#27) Variable SelfPacedSession::$id is not documented
(#29) Variable SelfPacedSession::$status is not documented
(#31) Variable SelfPacedSession::$templateId is not documented
(#33) Variable SelfPacedSession::$templateName is not documented
(#35) Variable SelfPacedSession::$organizationId is not documented
(#37) Variable SelfPacedSession::$organizationName is not documented
(#39) Variable SelfPacedSession::$startTime is not documented
(#41) Variable SelfPacedSession::$endTime is not documented
(#43) Variable SelfPacedSession::$userId is not documented
(#45) Variable SelfPacedSession::$userName is not documented
(#47) Variable SelfPacedSession::$urls is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/Hatsize/SelfPacedSessionCriteria.php
(#25) Class SelfPacedSessionCriteria is not documented
(#27) Variable SelfPacedSessionCriteria::$includeUpcoming is not documented
(#29) Variable SelfPacedSessionCriteria::$includeInProgress is not documented
(#31) Variable SelfPacedSessionCriteria::$includeCompleted is not documented
(#33) Variable SelfPacedSessionCriteria::$includeCanceled is not documented
(#35) Variable SelfPacedSessionCriteria::$organizationId is not documented
(#37) Variable SelfPacedSessionCriteria::$userId is not documented
(#39) Variable SelfPacedSessionCriteria::$templateId is not documented
(#41) Variable SelfPacedSessionCriteria::$startTime is not documented
(#43) Variable SelfPacedSessionCriteria::$endTime is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/Hatsize/SelfPacedTemplate.php
(#25) Class SelfPacedTemplate is not documented
(#27) Variable SelfPacedTemplate::$id is not documented
(#29) Variable SelfPacedTemplate::$name is not documented
(#31) Variable SelfPacedTemplate::$locations is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/Hatsize/User.php
(#25) Class User is not documented
(#27) Variable User::$id is not documented
(#29) Variable User::$firstName is not documented
(#31) Variable User::$lastName is not documented
(#33) Variable User::$username is not documented
(#35) Variable User::$password is not documented
(#37) Variable User::$email is not documented
(#39) Variable User::$role is not documented
(#41) Variable User::$disabled is not documented
(#43) Variable User::$address is not documented
(#45) Variable User::$attributes is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/Hatsize/UserAttribute.php
(#25) Class UserAttribute is not documented
(#27) Variable UserAttribute::$name is not documented
(#29) Variable UserAttribute::$value is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/src/autoloader.php
(#23) Class HatsizeAutoloader is not documented
(#24) Function HatsizeAutoloader::loadClass is not documented
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function includeFile has incomplete parameters list
mod/hatsize/tests/generator/lib.php
(#25) Class mod_hatsize_generator is not documented
(#27) Function mod_hatsize_generator::create_instance is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/tests/generator_test.php
(#23) Class mod_hatsize_generator_testcase is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/tests/lib_test.php
(#26) Class mod_hatsize_lib_testcase is not documented
(#17) No one-line description found in phpdocs for file
mod/hatsize/version.php
(#17) No one-line description found in phpdocs for file
mod/hatsize/view.php
(#17) No one-line description found in phpdocs for file

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

(0 errors, 0 warnings)

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


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]