Prechecker results: error


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

(975 errors, 205 warnings)

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

blocks/odsoaipmh/block_odsoaipmh.php
(#26) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#27) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#31) File is being unconditionally included; use "require_once" instead
(#32) File is being unconditionally included; use "require_once" instead
(#37) Visibility must be declared on method "init"
(#41) method name "block_odsoaipmh::startsWith" must be in lower-case letters only
(#41) Visibility must be declared on method "startsWith"
(#42) Opening brace should be on the same line as the declaration
(#46) Visibility must be declared on method "get_content"
(#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
(#48) This comment is 63% valid code; is this commented out code?
(#49) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#49) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) This comment is 63% valid code; is this commented out code?
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) This comment is 63% valid code; is this commented out code?
(#70) Expected "if (...) {\n"; found "if(...){ // Moodle 2.0\n"
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Expected "} else {\n"; found "}else{\n"
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) This comment is 72% valid code; is this commented out code?
(#76) No space found before comment text; expected "// var_dump($this->config);" but found "//var_dump($this->config);"
(#77) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#82) Expected "if (...) {\n"; found "if(...){ // System default\n"
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#84) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#85) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#85) Expected "if (...) {\n"; found "if (...){\n"
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Expected "if (...) {\n"; found "if(...){\n"
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#93) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#96) Expected "if (...) {\n"; found "if(...){\n"
(#97) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#97) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#99) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#99) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#101) Expected "} else {\n"; found "}else{\n"
(#102) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#102) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#105) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#105) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#105) Line exceeds maximum limit of 180 characters; contains 238 characters
(#107) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#110) Expected "if (...) {\n"; found "if(...){ // Using System license\n"
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#111) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#112) Expected "if (...) {\n"; found "if(...){ // Custom license\n"
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#113) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#115) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#115) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#117) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#117) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#120) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#120) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#122) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#122) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#124) Expected "} else {\n"; found "}else{ // Prepared license\n"
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#125) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#128) Expected "} else if (...) {\n"; found "}else if(...){ // Using custom license\n"
(#128) Expected "if (...) {\n"; found "if(...){ // Using custom license\n"
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Expected 1 space after "="; 2 found
(#130) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#130) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#134) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#134) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#139) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#139) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#141) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#141) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#143) Space found before semicolon; expected "$txt;" but found "$txt ;"
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Expected "if (...) {\n"; found "if(...){\n"
(#148) Expected "} else {\n"; found "}else{\n"
(#151) Variable "shareType" must be all lower-case
(#152) Variable "shareType" must be all lower-case
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Variable "limitedShare" must be all lower-case
(#154) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#154) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#155) Expected "if (...) {\n"; found "if(...){\n"
(#155) Variable "limitedShare" must be all lower-case
(#156) Variable "selModules" must be all lower-case
(#156) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#156) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#157) Expected "if (...) {\n"; found "if(...){\n"
(#157) Variable "selModules" must be all lower-case
(#158) Variable "selModules" must be all lower-case
(#158) Variable "selModules" must be all lower-case
(#159) Expected "if (...) {\n"; found "if(...){\n"
(#159) Variable "selModules" must be all lower-case
(#160) Variable "selModules" must be all lower-case
(#160) Variable "selModules" must be all lower-case
(#164) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#164) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#166) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#166) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#167) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#167) Variable "selModules" must be all lower-case
(#172) Expected "} else {\n"; found "}else{\n"
(#173) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#173) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#177) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#179) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#180) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#182) Variable "selModules" must be all lower-case
(#184) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#184) Variable "selModules" must be all lower-case
(#185) Expected "if (...) {\n"; found "if(...){\n"
(#191) Expected "if (...) {\n"; found "if(...){\n"
(#198) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#198) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#204) Expected "} else {\n"; found "}else{\n"
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#206) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#209) Expected "if (...) {\n"; found "if(...){\n"
(#210) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#210) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#212) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#212) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#214) Expected "} else {\n"; found "}else{\n"
(#215) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#215) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#218) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) This comment is 45% valid code; is this commented out code?
(#229) Inline comments must start with a capital letter, digit or 3-dots sequence
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Whitespace found at end of line
(#239) Opening brace must be the last content on the line
(#239) Closing brace must be on a line by itself
(#241) Visibility must be declared on method "has_config"
(#241) Opening brace must be the last content on the line
(#241) Closing brace must be on a line by itself
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) This comment is 53% valid code; is this commented out code?
blocks/odsoaipmh/config.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) Expected "if (...) {\n"; found "if(...){\n"
(#27) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#27) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#28) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#28) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#30) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#30) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#31) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#31) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#31) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#31) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
blocks/odsoaipmh/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#8) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) A closing tag is not permitted at the end of a PHP file
blocks/odsoaipmh/edit_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) File is being unconditionally included; use "require_once" instead
(#26) File is being unconditionally included; use "require_once" instead
(#31) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#31) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#34) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#34) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#36) Variable "sharingDefaultAllowed" must be all lower-case
(#36) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#36) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#37) Expected "if (...) {\n"; found "if(...){\n"
(#37) Variable "sharingDefaultAllowed" must be all lower-case
(#38) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#38) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#39) Expected "} else {\n"; found "}else{\n"
(#40) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#40) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#43) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#43) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#48) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#48) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#49) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#49) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#50) Expected 1 space before "=>"; 0 found
(#50) Expected 1 space after "=>"; 0 found
(#50) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#50) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#51) Expected 1 space before "=>"; 0 found
(#51) Expected 1 space after "=>"; 0 found
(#51) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#51) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#53) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#55) Expected "if (...) {\n"; found "if(...){\n"
(#57) Expected "} else {\n"; found "}else{\n"
(#60) Variable "limitedShare" must be all lower-case
(#60) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#60) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#61) Expected "if (...) {\n"; found "if(...){\n"
(#61) Variable "limitedShare" must be all lower-case
(#62) Variable "selModules" must be all lower-case
(#62) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#62) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#63) Expected "if (...) {\n"; found "if(...){\n"
(#63) Variable "selModules" must be all lower-case
(#64) Variable "selModules" must be all lower-case
(#64) Variable "selModules" must be all lower-case
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#65) Variable "selModules" must be all lower-case
(#66) Variable "selModules" must be all lower-case
(#66) Variable "selModules" must be all lower-case
(#70) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#70) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#71) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#71) Variable "selModules" must be all lower-case
(#76) Expected "} else {\n"; found "}else{\n"
(#77) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#77) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#80) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#80) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#85) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#85) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#86) Expected 1 space before "=>"; 0 found
(#86) Expected 1 space after "=>"; 0 found
(#86) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#86) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#87) Expected 1 space before "=>"; 0 found
(#87) Expected 1 space after "=>"; 0 found
(#87) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#87) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#88) Expected 1 space before "=>"; 0 found
(#88) Expected 1 space after "=>"; 0 found
(#88) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#88) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#91) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#97) Commas (,) must be followed by white space.
(#102) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#104) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#104) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#107) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#107) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#108) Expected "if (...) {\n"; found "if(...){ // Custom license\n"
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#109) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#110) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#110) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#112) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#112) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#114) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#114) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#116) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#116) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#118) Expected "} else {\n"; found "}else{ // Prepared license\n"
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#119) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#121) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#121) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#125) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#125) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#127) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#127) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#128) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#128) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#129) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#129) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#130) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#130) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#131) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#131) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#132) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#132) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#133) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#133) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#134) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#134) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#135) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#135) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#136) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#136) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#142) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#142) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#148) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#148) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#151) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/odsoaipmh/lang/en/block_odsoaipmh.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Space found before semicolon; expected "'OAI-PMH target URL';" but found "'OAI-PMH target URL' ;"
(#52) Expected 1 space after "="; newline found
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/odsoaipmh/moodle_pre_24.php
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#26) Expected 1 space after closing parenthesis; found 0
blocks/odsoaipmh/oaipmh/getData.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#31) function name "check_metadataPrefix" must be lower-case letters only
(#31) Expected 1 space after closing parenthesis; found 0
(#32) Expected "if (...) {\n"; found "if(...){\n"
(#47) function name "getItemDescriptionFromDatabase" must be lower-case letters only
(#47) Expected 1 space after closing parenthesis; found 0
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Expected "if (...) {\n"; found "if(...){\n"
(#59) Variable "scormElements" must be all lower-case
(#60) Variable "scormElementsSco" must be all lower-case
(#61) Variable "preparedElements" must be all lower-case
(#62) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#62) Variable "scormElementsSco" must be all lower-case
(#63) Expected "if (...) {\n"; found "if(...){\n"
(#63) Variable "preparedElements" must be all lower-case
(#64) Variable "preparedElements" must be all lower-case
(#65) Expected "} else {\n"; found "}else{\n"
(#66) Variable "preparedElements" must be all lower-case
(#70) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#70) Variable "scormElements" must be all lower-case
(#71) Variable "preparedElements" must be all lower-case
(#74) Variable "scormElements" must be all lower-case
(#74) Expected 1 space before "=>"; 0 found
(#74) Expected 1 space after "=>"; 0 found
(#74) Expected 1 space before "=>"; 0 found
(#74) Expected 1 space after "=>"; 0 found
(#74) Expected 1 space before "=>"; 0 found
(#74) Expected 1 space after "=>"; 0 found
(#75) Expected "} else {\n"; found "}else{\n"
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Expected "if (...) {\n"; found "if(...){\n"
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Expected "if (...) {\n"; found "if(...){\n"
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Expected "if (...) {\n"; found "if(...){\n"
(#89) Expected 1 space before "=>"; 0 found
(#89) Expected 1 space after "=>"; 0 found
(#89) Expected 1 space before "=>"; 0 found
(#89) Expected 1 space after "=>"; 0 found
(#89) Expected 1 space before "=>"; 0 found
(#89) Expected 1 space after "=>"; 0 found
(#89) Line exceeds 132 characters; contains 160 characters
(#90) Expected "} else {\n"; found "}else{\n"
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#91) Line exceeds 132 characters; contains 176 characters
(#93) Expected "} else {\n"; found "}else{\n"
(#96) Expected "} else {\n"; found "}else{\n"
(#109) function name "getItemDescription" must be lower-case letters only
(#109) Expected 1 space after closing parenthesis; found 0
(#111) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Expected "if (...) {\n"; found "if(...){\n"
(#114) Expected 1 space before "=="; 0 found
(#114) Expected 1 space after "=="; 0 found
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Expected "if (...) {\n"; found "if(...){\n"
(#120) Expected "} else {\n"; found "}else{\n"
(#121) Expected "if (...) {\n"; found "if(...){\n"
(#123) Expected "} else {\n"; found "}else{\n"
(#126) Expected 1 space before "?"; 0 found
(#126) Expected 1 space after "?"; 0 found
(#126) Expected 1 space before ":"; 0 found
(#126) Expected 1 space after ":"; 0 found
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Line indented incorrectly; expected at least 8 spaces, found 4
(#130) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#130) Expected "if (...) {\n"; found "if(...){\n"
(#130) Expected 1 space before "?"; 0 found
(#130) Expected 1 space after "?"; 0 found
(#130) Expected 1 space before ":"; 0 found
(#130) Expected 1 space after ":"; 0 found
(#130) Expected 1 space before "=="; 0 found
(#130) Expected 1 space after "=="; 0 found
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Line indented incorrectly; expected at least 8 spaces, found 4
(#134) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#134) Expected "if (...) {\n"; found "if(...){\n"
(#137) Line exceeds 132 characters; contains 161 characters
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Line exceeds 132 characters; contains 142 characters
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Line indented incorrectly; expected at least 4 spaces, found 3
(#150) function name "getGlobalSharingSettings" must be lower-case letters only
(#150) Expected 1 space after closing parenthesis; found 0
(#151) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#151) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#152) Variable "retVal" must be all lower-case
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Variable "retVal" must be all lower-case
(#155) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#155) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) Variable "retVal" must be all lower-case
(#158) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#158) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#159) Expected "if (...) {\n"; found "if(...){\n"
(#159) Variable "retVal" must be all lower-case
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Variable "selModules" must be all lower-case
(#161) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#161) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#162) Expected "if (...) {\n"; found "if(...){\n"
(#162) Variable "selModules" must be all lower-case
(#163) Variable "selModules" must be all lower-case
(#163) Variable "selModules" must be all lower-case
(#164) Expected "if (...) {\n"; found "if(...){\n"
(#164) Variable "selModules" must be all lower-case
(#165) Variable "selModules" must be all lower-case
(#165) Variable "selModules" must be all lower-case
(#167) Variable "retVal" must be all lower-case
(#167) Variable "selModules" must be all lower-case
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Variable "retVal" must be all lower-case
(#172) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#172) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Variable "licenseType" must be all lower-case
(#175) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#175) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#176) Expected "if (...) {\n"; found "if(...){\n"
(#176) Variable "licenseType" must be all lower-case
(#177) Variable "retVal" must be all lower-case
(#177) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#177) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#178) Variable "retVal" must be all lower-case
(#178) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#178) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#179) Expected "} else {\n"; found "}else{\n"
(#180) Variable "licenseType" must be all lower-case
(#180) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#180) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#181) Expected "if (...) {\n"; found "if(...){\n"
(#181) Variable "licenseType" must be all lower-case
(#183) Variable "licenseType" must be all lower-case
(#183) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#183) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#184) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#184) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#187) Variable "retVal" must be all lower-case
(#187) Variable "retVal" must be all lower-case
(#189) Variable "retVal" must be all lower-case
(#189) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#189) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#191) Variable "retVal" must be all lower-case
(#201) function name "parseCourseInstanceConfig" must be lower-case letters only
(#201) Variable "systemConfig" must be all lower-case
(#201) Expected 1 space after closing parenthesis; found 0
(#202) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#202) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#203) Variable "retVal" must be all lower-case
(#205) Inline control structures are not allowed
(#208) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Expected "if (...) {\n"; found "if(...){\n"
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) Variable "retVal" must be all lower-case
(#211) Variable "systemConfig" must be all lower-case
(#212) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#212) Expected "if (...) {\n"; found "if(...){\n"
(#213) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) Variable "retVal" must be all lower-case
(#215) Expected "} else {\n"; found "}else{\n"
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) Variable "retVal" must be all lower-case
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Expected "if (...) {\n"; found "if(...){\n"
(#221) Variable "retVal" must be all lower-case
(#222) Expected "if (...) {\n"; found "if(...){\n"
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Variable "retVal" must be all lower-case
(#224) Variable "systemConfig" must be all lower-case
(#225) Expected "if (...) {\n"; found "if(...){\n"
(#225) Variable "retVal" must be all lower-case
(#226) Variable "retVal" must be all lower-case
(#226) Variable "systemConfig" must be all lower-case
(#228) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#228) Expected "if (...) {\n"; found "if(...){\n"
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Variable "retVal" must be all lower-case
(#231) Expected "} else {\n"; found "}else{\n"
(#232) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Variable "retVal" must be all lower-case
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) Variable "selModules" must be all lower-case
(#236) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#236) Variable "selModules" must be all lower-case
(#237) Expected "if (...) {\n"; found "if(...){\n"
(#238) Variable "retVal" must be all lower-case
(#244) Expected "if (...) {\n"; found "if(...){\n"
(#245) Variable "retVal" must be all lower-case
(#245) Variable "systemConfig" must be all lower-case
(#246) Variable "retVal" must be all lower-case
(#246) Variable "systemConfig" must be all lower-case
(#247) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#247) Expected "if (...) {\n"; found "if(...){\n"
(#248) Variable "retVal" must be all lower-case
(#249) Variable "retVal" must be all lower-case
(#250) Expected "} else {\n"; found "}else{\n"
(#251) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#251) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#252) Expected "if (...) {\n"; found "if(...){\n"
(#254) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#254) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#254) Line exceeds 132 characters; contains 134 characters
(#255) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#255) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#258) Variable "retVal" must be all lower-case
(#258) Variable "retVal" must be all lower-case
(#261) Inline comments must start with a capital letter, digit or 3-dots sequence
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) This comment is 67% valid code; is this commented out code?
(#262) Variable "retVal" must be all lower-case
(#271) function name "getCourseInstanceConfig" must be lower-case letters only
(#271) Variable "systemConfig" must be all lower-case
(#271) Expected 1 space after closing parenthesis; found 0
(#272) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#272) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#273) Variable "retVal" must be all lower-case
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) Expected "if (...) {\n"; found "if(...){\n"
(#279) Line exceeds maximum limit of 180 characters; contains 202 characters
(#281) Variable "elId" must be all lower-case
(#281) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#281) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#282) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#282) Variable "elId" must be all lower-case
(#283) Variable "retVal" must be all lower-case
(#283) Variable "systemConfig" must be all lower-case
(#286) Variable "retVal" must be all lower-case
(#319) function name "getAllDataFromMoodle" must be lower-case letters only
(#319) Expected 1 space after closing parenthesis; found 0
(#320) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#320) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#321) Variable "minTime" must be all lower-case
(#322) Variable "retVal" must be all lower-case
(#324) Variable "default_lang" must not contain underscores.
(#324) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#324) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#324) Inline comments must end in full-stops, exclamation marks, or question marks
(#326) Variable "systemConfig" must be all lower-case
(#327) Variable "force_license" must not contain underscores.
(#327) Variable "systemConfig" must be all lower-case
(#329) Variable "moduleConfig" must be all lower-case
(#329) Variable "systemConfig" must be all lower-case
(#330) Inline comments must start with a capital letter, digit or 3-dots sequence
(#330) Inline comments must end in full-stops, exclamation marks, or question marks
(#330) This comment is 67% valid code; is this commented out code?
(#334) This comment is 65% valid code; is this commented out code?
(#334) No space found before comment text; expected "// $courses = get_courses("all",false,"*"); //c.id,c.shortname,c.fullname,c.summary,c.summaryformat,c.lang,c.timemodified");" but found "//$courses = get_courses("all",false,"*"); //c.id,c.shortname,c.fullname,c.summary,c.summaryformat,c.lang,c.timemodified");"
(#335) Inline comments must end in full-stops, exclamation marks, or question marks
(#335) No space found before comment text; expected "// c.id,c.shortname,c.fullname,c.summary,c.summaryformat,c.lang,c.timemodified");" but found "//c.id,c.shortname,c.fullname,c.summary,c.summaryformat,c.lang,c.timemodified");"
(#337) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#338) Inline control structures are not allowed
(#338) Inline comments must end in full-stops, exclamation marks, or question marks
(#340) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#342) Inline comments must end in full-stops, exclamation marks, or question marks
(#343) Expected "if (...) {\n"; found "if(...){\n"
(#343) Variable "moduleConfig" must be all lower-case
(#344) Variable "moduleCfg" must be all lower-case
(#344) Variable "moduleConfig" must be all lower-case
(#345) Expected "} else {\n"; found "}else{\n"
(#346) Variable "moduleCfg" must be all lower-case
(#348) Expected "if (...) {\n"; found "if(...){ // Course does not have any specific settings, use global settings\n"
(#348) Variable "moduleCfg" must be all lower-case
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#349) Expected "if (...) {\n"; found "if(...){\n"
(#349) Variable "systemConfig" must be all lower-case
(#352) Expected "if (...) {\n"; found "if(...) {\n"
(#352) Variable "systemConfig" must be all lower-case
(#353) Variable "harvestAll" must be all lower-case
(#353) Variable "systemConfig" must be all lower-case
(#354) Expected "} else {\n"; found "}else{\n"
(#355) Variable "harvestAll" must be all lower-case
(#357) Expected "if (...) {\n"; found "if(...) {\n"
(#357) Variable "systemConfig" must be all lower-case
(#358) Variable "sharedModules" must be all lower-case
(#358) Variable "systemConfig" must be all lower-case
(#359) Expected "} else {\n"; found "}else{\n"
(#360) Variable "sharedModules" must be all lower-case
(#362) Expected "} else {\n"; found "}else{\n"
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#364) Expected "if (...) {\n"; found "if(...){\n"
(#364) Variable "moduleCfg" must be all lower-case
(#367) Variable "harvestAll" must be all lower-case
(#367) Variable "moduleCfg" must be all lower-case
(#368) Expected "if (...) {\n"; found "if(...){\n"
(#368) Variable "moduleCfg" must be all lower-case
(#369) Variable "sharedModules" must be all lower-case
(#369) Variable "moduleCfg" must be all lower-case
(#370) Expected "} else {\n"; found "}else{\n"
(#371) Variable "sharedModules" must be all lower-case
(#374) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#383) Expected 1 space before "=="; 0 found
(#383) Expected 1 space after "=="; 0 found
(#383) Expected 1 space before "?"; 0 found
(#383) Expected 1 space after "?"; 0 found
(#383) Variable "default_lang" must not contain underscores.
(#383) Expected 1 space before ":"; 0 found
(#383) Expected 1 space after ":"; 0 found
(#384) Variable "courseLanguage" must be all lower-case
(#387) Expected "if (...) {\n"; found "if(...){ // Find oldest item\n"
(#387) Variable "minTime" must be all lower-case
(#387) Variable "minTime" must be all lower-case
(#387) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) Variable "minTime" must be all lower-case
(#391) Expected "if (...) {\n"; found "if(...){\n"
(#391) Variable "force_license" must not contain underscores.
(#392) Inline comments must end in full-stops, exclamation marks, or question marks
(#393) Variable "courseLicense_En" must be all lower-case
(#393) Variable "courseLicense_En" must not contain underscores.
(#393) Variable "systemConfig" must be all lower-case
(#394) Variable "courseLicense_Local" must be all lower-case
(#394) Variable "courseLicense_Local" must not contain underscores.
(#394) Variable "systemConfig" must be all lower-case
(#395) Expected "} else {\n"; found "}else{\n"
(#396) Inline comments must end in full-stops, exclamation marks, or question marks
(#397) Expected "if (...) {\n"; found "if(...){\n"
(#397) Variable "moduleCfg" must be all lower-case
(#398) Inline comments must end in full-stops, exclamation marks, or question marks
(#399) Variable "courseLicense_En" must be all lower-case
(#399) Variable "courseLicense_En" must not contain underscores.
(#399) Variable "moduleCfg" must be all lower-case
(#400) Variable "courseLicense_Local" must be all lower-case
(#400) Variable "courseLicense_Local" must not contain underscores.
(#400) Variable "moduleCfg" must be all lower-case
(#401) Expected "} else {\n"; found "}else{\n"
(#402) Inline comments must end in full-stops, exclamation marks, or question marks
(#403) Variable "courseLicense_En" must be all lower-case
(#403) Variable "courseLicense_En" must not contain underscores.
(#403) Variable "systemConfig" must be all lower-case
(#404) Variable "courseLicense_Local" must be all lower-case
(#404) Variable "courseLicense_Local" must not contain underscores.
(#404) Variable "systemConfig" must be all lower-case
(#408) Inline comments must end in full-stops, exclamation marks, or question marks
(#409) Variable "retVal" must be all lower-case
(#411) Expected "if (...) {\n"; found "if(...) {\n"
(#413) Expected "} else if (...) {\n"; found "}else if(...){\n"
(#413) Expected "if (...) {\n"; found "if(...){\n"
(#415) Expected "} else {\n"; found "}else{\n"
(#419) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#419) Expected 1 space before "=>"; 0 found
(#419) Expected 1 space after "=>"; 0 found
(#419) Expected 1 space before "=>"; 0 found
(#419) Expected 1 space after "=>"; 0 found
(#420) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#420) Variable "cm_instance" must not contain underscores.
(#421) This comment is 67% valid code; is this commented out code?
(#421) 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
(#422) This comment is 54% valid code; is this commented out code?
(#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
(#424) This comment is 50% valid code; is this commented out code?
(#426) Variable "cm_instance" must not contain underscores.
(#427) Variable "cm_instance" must not contain underscores.
(#429) Inline comments must end in full-stops, exclamation marks, or question marks
(#430) Expected "if (...) {\n"; found "if(...){\n"
(#430) Variable "harvestAll" must be all lower-case
(#430) Variable "sharedModules" must be all lower-case
(#436) Variable "cm_instance" must not contain underscores.
(#437) Inline comments must start with a capital letter, digit or 3-dots sequence
(#437) Inline comments must end in full-stops, exclamation marks, or question marks
(#437) This comment is 56% valid code; is this commented out code?
(#441) This comment is 63% valid code; is this commented out code?
(#441) Inline comments must start with a capital letter, digit or 3-dots sequence
(#442) Inline comments must end in full-stops, exclamation marks, or question marks
(#442) This comment is 60% valid code; is this commented out code?
(#443) Variable "courseLanguage" must be all lower-case
(#444) Variable "cm_instance" must not contain underscores.
(#445) Variable "courseLicense_En" must be all lower-case
(#445) Variable "courseLicense_En" must not contain underscores.
(#446) Variable "courseLicense_Local" must be all lower-case
(#446) Variable "courseLicense_Local" must not contain underscores.
(#447) Inline comments must start with a capital letter, digit or 3-dots sequence
(#447) Inline comments must end in full-stops, exclamation marks, or question marks
(#447) This comment is 62% valid code; is this commented out code?
(#448) Variable "cm_instance" must not contain underscores.
(#450) Expected "if (...) {\n"; found "if(...){ // Find oldest item\n"
(#450) Variable "cm_instance" must not contain underscores.
(#450) Variable "minTime" must be all lower-case
(#450) Variable "minTime" must be all lower-case
(#450) Inline comments must end in full-stops, exclamation marks, or question marks
(#451) Variable "minTime" must be all lower-case
(#451) Variable "cm_instance" must not contain underscores.
(#451) Variable "cm_instance" must not contain underscores.
(#451) Expected 1 space before "?"; 0 found
(#451) Expected 1 space after "?"; 0 found
(#451) Variable "cm_instance" must not contain underscores.
(#451) Expected 1 space before ":"; 0 found
(#451) Expected 1 space after ":"; 0 found
(#454) Variable "retVal" must be all lower-case
(#466) Variable "minTime" must be all lower-case
(#467) Inline comments must end in full-stops, exclamation marks, or question marks
(#473) Variable "retVal" must be all lower-case
(#475) Variable "retVal" must be all lower-case
(#481) function name "compareDataInDatabase" must be lower-case letters only
(#481) Expected 1 space after closing parenthesis; found 0
(#484) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) Variable "currentVal" must be all lower-case
(#487) This comment is 50% valid code; is this commented out code?
(#487) Inline comments must start with a capital letter, digit or 3-dots sequence
(#488) Inline comments must end in full-stops, exclamation marks, or question marks
(#490) Inline comments must end in full-stops, exclamation marks, or question marks
(#493) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#493) Variable "currentVal" must be all lower-case
(#495) Expected "if (...) {\n"; found "if(...){ // Commit transaction every 1000 records (much faster then holding really large transaction)\n"
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#500) Line exceeds 132 characters; contains 149 characters
(#501) Inline comments must start with a capital letter, digit or 3-dots sequence
(#501) Inline comments must end in full-stops, exclamation marks, or question marks
(#501) This comment is 67% valid code; is this commented out code?
(#503) Inline comments must end in full-stops, exclamation marks, or question marks
(#504) Variable "elId" must be all lower-case
(#505) Expected 1 space before "?"; 0 found
(#505) Expected 1 space after "?"; 0 found
(#505) Expected 1 space before ":"; 0 found
(#505) Expected 1 space after ":"; 0 found
(#505) Expected 1 space before "?"; 0 found
(#505) Expected 1 space after "?"; 0 found
(#505) Expected 1 space before ":"; 0 found
(#505) Expected 1 space after ":"; 0 found
(#507) Expected "if (...) {\n"; found "if(...){\n"
(#507) Variable "elId" must be all lower-case
(#509) Expected "} else {\n"; found "}else{\n"
(#510) Variable "elId" must be all lower-case
(#510) Variable "elId" must be all lower-case
(#511) Variable "elId" must be all lower-case
(#511) Variable "elId" must be all lower-case
(#512) Variable "elId" must be all lower-case
(#517) This comment is 50% valid code; is this commented out code?
(#517) Inline comments must start with a capital letter, digit or 3-dots sequence
(#518) Inline comments must end in full-stops, exclamation marks, or question marks
(#518) This comment is 58% valid code; is this commented out code?
(#526) function name "getData" must be lower-case letters only
(#526) Expected 1 space after closing parenthesis; found 0
(#527) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#527) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#528) Variable "retVal" must be all lower-case
(#530) Inline comments must end in full-stops, exclamation marks, or question marks
(#531) Expected "if (...) {\n"; found "if(...){\n"
(#536) Inline comments must end in full-stops, exclamation marks, or question marks
(#538) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#538) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#539) Variable "lastUpdated" must be all lower-case
(#539) Expected 1 space before "=>"; 0 found
(#539) Line exceeds maximum limit of 180 characters; contains 207 characters
(#540) Variable "lastUpdated" must be all lower-case
(#540) Variable "lastUpdated" must be all lower-case
(#541) Inline comments must start with a capital letter, digit or 3-dots sequence
(#541) Inline comments must end in full-stops, exclamation marks, or question marks
(#541) This comment is 67% valid code; is this commented out code?
(#543) Expected "if (...) {\n"; found "if(...){\n"
(#543) Variable "lastUpdated" must be all lower-case
(#543) Variable "lastUpdated" must be all lower-case
(#547) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#547) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#548) Variable "retVal" must be all lower-case
(#549) Variable "retVal" must be all lower-case
(#551) Inline comments must end in full-stops, exclamation marks, or question marks
(#552) Expected "if (...) {\n"; found "if(...){\n"
(#553) Variable "retVal" must be all lower-case
(#556) Expected "if (...) {\n"; found "if(...){\n"
(#557) Variable "retVal" must be all lower-case
(#558) Variable "retVal" must be all lower-case
(#565) Expected "if (...) {\n"; found "if(...){\n"
(#566) Variable "retVal" must be all lower-case
(#567) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#570) Variable "retVal" must be all lower-case
(#571) Expected "} else {\n"; found "}else{\n"
(#572) Variable "retVal" must be all lower-case
(#573) Variable "retVal" must be all lower-case
(#575) Expected "} else {\n"; found "}else{ // Multiple records are requested (ResumptionToken is used, ListRecords or ListIdentifiers)\n"
(#575) Inline comments must end in full-stops, exclamation marks, or question marks
(#577) Inline comments must start with a capital letter, digit or 3-dots sequence
(#580) Inline comments must end in full-stops, exclamation marks, or question marks
(#581) Expected "if (...) {\n"; found "if(...){\n"
(#583) Expected "if (...) {\n"; found "if(...){\n"
(#589) Expected "if (...) {\n"; found "if(...){\n"
(#589) Expected 1 space before "!="; 0 found
(#589) Expected 1 space after "!="; 0 found
(#590) Expected 1 space before "!="; 0 found
(#590) Expected 1 space after "!="; 0 found
(#595) Expected "} else {\n"; found "}else{\n"
(#596) Inline comments must end in full-stops, exclamation marks, or question marks
(#597) Expected "if (...) {\n"; found "if(...){\n"
(#599) Expected "if (...) {\n"; found "if(...){\n"
(#599) Expected 1 space before "!="; 0 found
(#599) Expected 1 space after "!="; 0 found
(#602) Expected "} else {\n"; found "}else{\n"
(#603) Expected 1 space before "=>"; 0 found
(#603) Expected 1 space after "=>"; 0 found
(#603) Expected 1 space before "=>"; 0 found
(#606) Inline comments must end in full-stops, exclamation marks, or question marks
(#607) Expected "if (...) {\n"; found "if(...){\n"
(#609) Expected "if (...) {\n"; found "if(...){\n"
(#609) Expected 1 space before "!="; 0 found
(#609) Expected 1 space after "!="; 0 found
(#612) Expected "} else {\n"; found "}else{\n"
(#613) Expected 1 space before "=>"; 0 found
(#613) Expected 1 space after "=>"; 0 found
(#613) Expected 1 space before "=>"; 0 found
(#620) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#620) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#621) Expected "if (...) {\n"; found "if(...){\n"
(#625) Line exceeds 132 characters; contains 173 characters
(#626) Variable "result_cnt" must not contain underscores.
(#628) Expected "if (...) {\n"; found "if(...){\n"
(#628) Variable "result_cnt" must not contain underscores.
(#629) Variable "result_cnt" must not contain underscores.
(#630) Variable "retVal" must be all lower-case
(#631) Expected 1 space before "*"; 0 found
(#631) Expected 1 space after "*"; 0 found
(#631) Line exceeds maximum limit of 180 characters; contains 225 characters
(#633) Expected 1 space before "*"; 0 found
(#633) Expected 1 space after "*"; 0 found
(#633) Line exceeds 132 characters; contains 133 characters
(#635) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#639) Variable "retVal" must be all lower-case
(#640) Variable "retVal" must be all lower-case
(#641) Variable "retVal" must be all lower-case
(#643) Expected "if (...) {\n"; found "if(...){\n"
(#643) Expected 1 space before "*"; 0 found
(#643) Expected 1 space after "*"; 0 found
(#643) Expected 1 space before "+"; 0 found
(#643) Expected 1 space after "+"; 0 found
(#643) Variable "retVal" must be all lower-case
(#644) Variable "retVal" must be all lower-case
(#644) Expected 1 space before "+"; 0 found
(#644) Expected 1 space after "+"; 0 found
(#645) Variable "retVal" must be all lower-case
(#645) Expected 1 space before "*"; 0 found
(#645) Expected 1 space after "*"; 0 found
(#645) Expected 1 space before "+"; 0 found
(#645) Expected 1 space after "+"; 0 found
(#646) Variable "retVal" must be all lower-case
(#646) Variable "retVal" must be all lower-case
(#648) Expected "} else {\n"; found "}else{\n"
(#649) Variable "retVal" must be all lower-case
(#650) Variable "retVal" must be all lower-case
(#654) Variable "retVal" must be all lower-case
(#665) function name "checkIfAllowed" must be lower-case letters only
(#665) Variable "allowedClientsTxt" must be all lower-case
(#665) Expected 1 space after closing parenthesis; found 0
(#666) Variable "remoteIp" must be all lower-case
(#667) Inline control structures are not allowed
(#667) Variable "allowedClientsTxt" must be all lower-case
(#669) Variable "allowedClientsList" must be all lower-case
(#669) Variable "allowedClientsTxt" must be all lower-case
(#670) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#670) Variable "allowedClientsList" must be all lower-case
(#670) Variable "allowedMask" must be all lower-case
(#671) Inline control structures are not allowed
(#671) Variable "allowedMask" must be all lower-case
(#673) Expected "if (...) {\n"; found "if(...){\n"
(#673) Variable "allowedMask" must be all lower-case
(#673) Variable "remoteIp" must be all lower-case
(#689) function name "netMatch" must be lower-case letters only
(#690) Expected 1 space before "="; 0 found
(#690) Expected 1 space after "="; 0 found
(#691) Inline comments must start with a capital letter, digit or 3-dots sequence
(#691) Inline comments must end in full-stops, exclamation marks, or question marks
(#691) This comment is 43% valid code; is this commented out code?
(#694) Inline comments must start with a capital letter, digit or 3-dots sequence
(#694) Inline comments must end in full-stops, exclamation marks, or question marks
(#694) This comment is 60% valid code; is this commented out code?
(#695) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#698) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#699) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#700) Variable "asParts" must be all lower-case
(#701) Variable "asParts" must be all lower-case
(#703) Variable "nCount" must be all lower-case
(#705) Variable "nCount" must be all lower-case
(#707) Variable "nCount" must be all lower-case
(#709) Variable "nCount" must be all lower-case
(#711) Variable "nCount" must be all lower-case
(#712) TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
(#712) Inline comments must start with a capital letter, digit or 3-dots sequence
(#712) Inline comments must end in full-stops, exclamation marks, or question marks
(#716) Inline comments must start with a capital letter, digit or 3-dots sequence
(#716) Inline comments must end in full-stops, exclamation marks, or question marks
(#716) This comment is 60% valid code; is this commented out code?
(#719) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#720) Variable "ip_arr" must not contain underscores.
(#721) Expected "if (...) {\n"; found "if (...){\n"
(#721) Variable "ip_arr" must not contain underscores.
(#722) Variable "ip_arr" must not contain underscores.
(#722) Expected 1 space before ".="; 0 found
(#722) Expected 1 space after ".="; 0 found
(#722) Inline comments must end in full-stops, exclamation marks, or question marks
(#724) Variable "network_long" must not contain underscores.
(#724) Variable "ip_arr" must not contain underscores.
(#725) Variable "ip_arr" must not contain underscores.
(#726) Variable "ip_arr" must not contain underscores.
(#726) Variable "ip_arr" must not contain underscores.
(#727) Variable "ip_long" must not contain underscores.
(#728) Variable "ip_long" must not contain underscores.
(#728) Variable "network_long" must not contain underscores.
(#731) Expected 1 space before "+"; 0 found
(#731) Expected 1 space after "+"; 0 found
(#733) Expected 1 space before ">="; 0 found
(#733) Expected 1 space after ">="; 0 found
(#733) Expected 1 space before "<="; 0 found
(#733) Expected 1 space after "<="; 0 found
blocks/odsoaipmh/oaipmh/index.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) "include_once" must be immediately followed by an open parenthesis
(#25) File is being unconditionally included; use "require_once" instead
(#29) File is being unconditionally included; use "require_once" instead
(#30) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#30) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#31) File is being unconditionally included; use "require_once" instead
(#32) File is being unconditionally included; use "require_once" instead
(#34) Expected "if (...) {\n"; found "if(...){\n"
(#34) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#34) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#41) This comment is 50% valid code; is this commented out code?
(#41) 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
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) This comment is 84% valid code; is this commented out code?
(#47) Expected "if (...) {\n"; found "if(...){\n"
(#49) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#49) Expected "if (...) {\n"; found "if (...){\n"
(#62) This comment is 60% valid code; is this commented out code?
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) This comment is 84% valid code; is this commented out code?
(#67) This comment is 60% valid code; is this commented out code?
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) This comment is 84% valid code; is this commented out code?
(#72) This comment is 60% valid code; is this commented out code?
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) This comment is 84% valid code; is this commented out code?
(#77) Line exceeds 132 characters; contains 154 characters
blocks/odsoaipmh/oaipmh/main.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#27) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#29) Expected "if (...) {\n"; found "if(...){\n"
(#30) Expected "if (...) {\n"; found "if(...){\n"
(#32) Expected "} else {\n"; found "}else{\n"
(#37) Expected "} else {\n"; found "}else{\n"
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) This comment is 70% valid code; is this commented out code?
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) This comment is 69% valid code; is this commented out code?
(#51) Expected "if (...) {\n"; found "if(...){\n"
(#52) Expected "if (...) {\n"; found "if(...){\n"
(#52) Expected 1 space before "!="; 0 found
(#52) Expected 1 space after "!="; 0 found
(#59) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#59) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#60) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#60) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#61) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#61) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#62) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#62) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#62) Line exceeds 132 characters; contains 149 characters
(#63) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#63) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#63) Line exceeds 132 characters; contains 141 characters
(#66) Line exceeds 132 characters; contains 153 characters
blocks/odsoaipmh/oaipmh/outputData.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) File is being unconditionally included; use "require_once" instead
(#33) Expected 1 space after closing parenthesis; found 0
(#34) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#34) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#36) This comment is 56% valid code; is this commented out code?
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) This comment is 70% valid code; is this commented out code?
(#38) Variable "oldestRecord" must be all lower-case
(#39) Variable "oldestRecord" must be all lower-case
(#42) Expected "if (...) {\n"; found "if(...){\n"
(#42) Variable "oldestRecord" must be all lower-case
(#43) Variable "oldestRecord" must be all lower-case
(#44) Expected "} else {\n"; found "}else{\n"
(#49) Line exceeds maximum limit of 180 characters; contains 224 characters
(#51) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#51) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#53) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#53) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#54) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#54) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#56) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#56) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) This comment is 67% valid code; is this commented out code?
(#71) function name "listMetadataFormats" must be lower-case letters only
(#71) Expected 1 space after closing parenthesis; found 0
(#72) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#72) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#77) Line exceeds maximum limit of 180 characters; contains 224 characters
(#79) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#79) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#95) function name "listSets" must be lower-case letters only
(#95) Expected 1 space after closing parenthesis; found 0
(#96) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#96) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#100) Line exceeds maximum limit of 180 characters; contains 224 characters
(#102) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#102) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#120) function name "listRecords" must be lower-case letters only
(#120) This comment is 100% valid code; is this commented out code?
(#120) Expected 1 space after closing parenthesis; found 0
(#122) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#122) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#125) Expected "if (...) {\n"; found "if(...){\n"
(#133) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#136) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#136) Expected 1 space before "=>"; 0 found
(#136) Expected 1 space after "=>"; 0 found
(#136) Expected 1 space before "=>"; 0 found
(#136) Expected 1 space after "=>"; 0 found
(#139) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#143) Line exceeds maximum limit of 180 characters; contains 228 characters
(#145) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#145) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#150) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#152) Expected "if (...) {\n"; found "if(...){ // Only identifiers\n"
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Expected "if (...) {\n"; found "if(...){\n"
(#162) Expected "} else if (...) {\n"; found "}else if(...){ // Deleted item\n"
(#162) Expected "if (...) {\n"; found "if(...){ // Deleted item\n"
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Expected "} else {\n"; found "}else{ // Detail data, but only if not deleted\n"
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Expected "if (...) {\n"; found "if(...){\n"
(#174) Expected "if (...) {\n"; found "if(...){\n"
(#175) Expected 1 space after ".="; 0 found
(#177) Expected "if (...) {\n"; found "if(...){\n"
(#184) Expected "if (...) {\n"; found "if(...){\n"
(#184) Expected 1 space before "!="; 0 found
(#184) Expected 1 space after "!="; 0 found
(#186) Expected "if (...) {\n"; found "if(...){\n"
(#193) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#212) Line exceeds 132 characters; contains 169 characters
(#267) Inline comments must start with a capital letter, digit or 3-dots sequence
(#267) Inline comments must end in full-stops, exclamation marks, or question marks
(#267) This comment is 78% valid code; is this commented out code?
(#268) Expected "if (...) {\n"; found "if(...){\n"
(#269) Line exceeds 132 characters; contains 138 characters
blocks/odsoaipmh/settings.php
(#26) File is being unconditionally included; use "require_once" instead
(#27) File is being unconditionally included; use "require_once" instead
(#28) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#28) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#33) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#37) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#37) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#38) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#38) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#43) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#43) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#44) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#44) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#49) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#49) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#50) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#50) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#55) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#55) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#56) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#56) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#63) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#67) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#67) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#68) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#68) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#73) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#73) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#74) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#74) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#78) Expected "if (...) {\n"; found "if(...){\n"
(#80) Expected "} else {\n"; found "}else{\n"
(#85) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#85) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#86) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#86) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#94) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#98) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#98) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#99) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#99) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#104) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#104) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#105) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#105) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#108) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#108) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#109) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#109) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#110) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#110) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#111) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#111) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#112) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#112) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#113) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#113) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#114) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#114) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#115) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#115) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#116) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#116) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#121) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#121) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#122) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#122) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#127) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#127) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#128) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#128) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#132) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#132) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#133) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#133) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#136) File is being unconditionally included; use "require_once" instead
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#142) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#146) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#146) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#147) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#147) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Expected "if (...) {\n"; found "if(...){\n"
(#153) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#153) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#154) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#154) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#156) Expected "} else {\n"; found "}else{\n"
(#158) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#158) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#159) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#159) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#164) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#164) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#165) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#165) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#168) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#168) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
(#169) Variable "_CFG_MODULE_OAIPMH" must be all lower-case
(#169) Variable "_CFG_MODULE_OAIPMH" must not contain underscores.
blocks/odsoaipmh/version.php
(#30) Spaces must be used for alignment; tabs are not allowed
(#30) Tab found within whitespace
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) This comment is 100% valid code; is this commented out code?
(#31) No space found before comment text; expected "// 300;" but found "//300;"

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(18 errors, 2 warnings)

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

blocks/odsoaipmh/block_odsoaipmh.php
(#35) Class block_odsoaipmh is not documented
(#37) Function block_odsoaipmh::init is not documented
(#41) Function block_odsoaipmh::startsWith is not documented
(#46) Function block_odsoaipmh::get_content is not documented
(#230) Function block_odsoaipmh::applicable_formats is not documented
(#239) Function block_odsoaipmh::instance_allow_multiple is not documented
(#241) Function block_odsoaipmh::has_config is not documented
blocks/odsoaipmh/db/upgrade.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#3) Function xmldb_block_odsoaipmh_upgrade is not documented
(#3) Package is not specified for function xmldb_block_odsoaipmh_upgrade. It is also not specified in file-level phpdocs
blocks/odsoaipmh/edit_form.php
(#28) Class block_odsoaipmh_edit_form is not documented
(#30) Function block_odsoaipmh_edit_form::specific_definition is not documented
blocks/odsoaipmh/moodle_pre_24.php
(#26) Function moodle_pre24_get_module_types_names is not documented
blocks/odsoaipmh/oaipmh/getData.php
(#197) Phpdocs for function parseCourseInstanceConfig has incomplete parameters list
(#268) Phpdocs for function getCourseInstanceConfig has incomplete parameters list
(#685) Phpdocs for function netMatch has incomplete parameters list
(#662) Not recommended phpdocs tag @internal used
(#424) Invalid inline phpdocs tag @var found
blocks/odsoaipmh/oaipmh/outputData.php
(#117) Phpdocs for function listRecords has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


Mustache template problems

(0 errors, 0 warnings)

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