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

(946 errors, 184 warnings)

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

mod/edusharing/backup/moodle2/backup_edusharing_activity_task.class.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.
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#4) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#23) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) The static declaration must come after the visibility declaration
(#34) Commas (,) must be followed by white space.
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Expected 1 space before "="; 0 found
(#37) Expected 1 space after "="; 0 found
(#38) Expected 1 space before "="; 0 found
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Expected 1 space before "="; 0 found
(#41) Expected 1 space after "="; 0 found
(#42) Expected 1 space before "="; 0 found
mod/edusharing/backup/moodle2/backup_edusharing_settingslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/backup/moodle2/backup_edusharing_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#13) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
mod/edusharing/backup/moodle2/restore_edusharing_activity_task.class.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#7) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#7) Inline comments must end in full-stops, exclamation marks, or question marks
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#22) Inline comments must start with a capital letter, digit or 3-dots sequence
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) The static declaration must come after the visibility declaration
(#42) The static declaration must come after the visibility declaration
(#58) The static declaration must come after the visibility declaration
(#81) The static declaration must come after the visibility declaration
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/backup/moodle2/restore_edusharing_stepslib.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#6) Line 12 of the opening comment must start "//".
(#7) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#7) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#7) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/classes/observer.php
(#2) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Inline comments must start with a capital letter, digit or 3-dots sequence
(#14) Inline comments must end in full-stops, exclamation marks, or question marks
(#14) No space found before comment text; expected "// delete es-activities in course-modules" but found "//delete es-activities in course-modules"
(#15) Variable "eduObjects" must be all lower-case
(#15) Space found before object operator
(#15) Space found after object operator
(#16) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#16) Variable "eduObjects" must be all lower-case
(#19) Inline comments must start with a capital letter, digit or 3-dots sequence
(#19) Inline comments must end in full-stops, exclamation marks, or question marks
(#19) No space found before comment text; expected "// delete es-activities in course-sections" but found "//delete es-activities in course-sections"
(#20) Variable "eduObjects" must be all lower-case
(#20) Space found before object operator
(#20) Space found after object operator
(#21) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#21) Variable "eduObjects" must be all lower-case
(#29) Commas (,) must be followed by white space.
(#29) Expected 1 space after "=>"; 0 found
(#31) Variable "id_type" must not contain underscores.
(#33) Expected "if (...) {\n"; found "if(...){\n"
(#33) Variable "id_type" must not contain underscores.
(#34) The use of function error_log() is forbidden; use debugging() instead
(#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) This comment is 67% valid code; is this commented out code?
(#36) No space found before comment text; expected "// error_log('course_module_created: '.$module->intro);" but found "//error_log('course_module_created: '.$module->intro);"
(#42) Commas (,) must be followed by white space.
(#42) Expected 1 space after "=>"; 0 found
(#44) Variable "id_type" must not contain underscores.
(#46) Expected "if (...) {\n"; found "if(...){\n"
(#46) Variable "id_type" must not contain underscores.
(#47) The use of function error_log() is forbidden; use debugging() instead
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) This comment is 67% valid code; is this commented out code?
(#49) No space found before comment text; expected "// error_log('course_module_updated: '.$module->intro);" but found "//error_log('course_module_updated: '.$module->intro);"
(#55) Commas (,) must be followed by white space.
(#55) Expected 1 space after "=>"; 0 found
(#57) Variable "id_type" must not contain underscores.
(#59) Expected "if (...) {\n"; found "if(...){\n"
(#59) Variable "id_type" must not contain underscores.
(#60) The use of function error_log() is forbidden; use debugging() instead
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) This comment is 67% valid code; is this commented out code?
(#62) No space found before comment text; expected "// error_log('course_section_created: '.$module->summary);" but found "//error_log('course_section_created: '.$module->summary);"
(#68) Commas (,) must be followed by white space.
(#68) Expected 1 space after "=>"; 0 found
(#70) Variable "id_type" must not contain underscores.
(#72) Expected "if (...) {\n"; found "if(...){\n"
(#72) Variable "id_type" must not contain underscores.
(#73) The use of function error_log() is forbidden; use debugging() instead
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) This comment is 67% valid code; is this commented out code?
(#75) No space found before comment text; expected "// error_log('course_section_updated: '.$module->summary);" but found "//error_log('course_section_updated: '.$module->summary);"
(#89) Variable "eduObjects" must be all lower-case
(#89) Space found before object operator
(#89) Space found after object operator
(#90) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#90) Variable "eduObjects" must be all lower-case
(#97) Variable "eventData" must be all lower-case
(#98) Variable "courseId" must be all lower-case
(#98) Variable "eventData" must be all lower-case
(#99) Variable "courseId" must be all lower-case
(#103) Variable "id_type" must not contain underscores.
(#104) Opening brace should be on the same line as the declaration
(#106) Variable "matchesimg_atto" must not contain underscores.
(#108) Variable "matchesa_atto" must not contain underscores.
(#110) Variable "matches_atto" must not contain underscores.
(#110) Variable "matchesimg_atto" must not contain underscores.
(#110) Variable "matchesa_atto" must not contain underscores.
(#112) Variable "matches_atto" must not contain underscores.
(#113) Variable "matches_atto" must not contain underscores.
(#114) Variable "resourceId" must be all lower-case
(#115) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#116) Variable "resourceId" must be all lower-case
(#117) Variable "resourceId" must be all lower-case
(#117) Variable "resourceId" must be all lower-case
(#117) Variable "resourceId" must be all lower-case
(#119) Variable "id_type" must not contain underscores.
(#119) Variable "resourceId" must be all lower-case
mod/edusharing/classes/restorehelper.php
(#2) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Variable "courseId" must be all lower-case
(#9) Space found before object operator
(#9) Space found after object operator
(#9) Variable "courseId" must be all lower-case
(#11) Variable "matches_atto" must not contain underscores.
(#12) Variable "matches_atto" must not contain underscores.
(#13) Variable "matches_atto" must not contain underscores.
(#14) Space found before object operator
(#14) Space found after object operator
(#14) Variable "courseId" must be all lower-case
(#14) Space found before object operator
(#14) Space found after object operator
(#14) Line exceeds 132 characters; contains 135 characters
(#15) Space found before object operator
(#15) Space found after object operator
(#19) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#21) Variable "courseId" must be all lower-case
(#22) Variable "courseId" must be all lower-case
(#23) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#25) Space found before object operator
(#25) Space found after object operator
(#25) Space found before object operator
(#25) Space found after object operator
(#26) Expected "if (...) {\n"; found "if(...) {\n"
(#26) Space found before object operator
(#26) Space found after object operator
(#27) Variable "matches_atto" must not contain underscores.
(#28) Variable "matches_atto" must not contain underscores.
(#29) Variable "matches_atto" must not contain underscores.
(#30) Space found before object operator
(#30) Space found after object operator
(#30) Variable "courseId" must be all lower-case
(#34) Commas (,) must be followed by white space.
(#35) Expected "if (...) {\n"; found "if(...) {\n"
(#35) Space found before object operator
(#35) Space found after object operator
(#36) Variable "matches_atto" must not contain underscores.
(#36) Space found before object operator
(#36) Space found after object operator
(#37) Variable "matches_atto" must not contain underscores.
(#38) Variable "matches_atto" must not contain underscores.
(#39) Space found before object operator
(#39) Space found after object operator
(#39) Variable "courseId" must be all lower-case
(#39) Space found before object operator
(#39) Space found after object operator
(#39) Line exceeds 132 characters; contains 133 characters
(#43) Space found before object operator
(#43) Space found after object operator
(#43) Space found before object operator
(#43) Space found after object operator
(#46) Variable "courseId" must be all lower-case
(#60) Variable "eduSharingService" must be all lower-case
(#61) Variable "eduSharingService" must be all lower-case
(#62) Expected "} else {\n"; found "}else{\n"
(#68) Variable "matchesimg_atto" must not contain underscores.
(#70) Variable "matchesa_atto" must not contain underscores.
(#72) Variable "matchesimg_atto" must not contain underscores.
(#72) Variable "matchesa_atto" must not contain underscores.
(#79) Variable "courseId" must be all lower-case
(#103) Space found before object operator
(#103) Space found after object operator
(#103) Variable "courseId" must be all lower-case
(#104) Space found before object operator
(#104) Space found after object operator
(#105) Space found before object operator
(#105) Space found after object operator
(#106) Space found before object operator
(#106) Space found after object operator
(#107) Space found before object operator
(#107) Space found after object operator
(#108) Space found before object operator
(#108) Space found after object operator
(#109) Space found before object operator
(#109) Space found after object operator
(#111) Space found before object operator
(#111) Space found after object operator
(#113) Expected "if (...) {\n"; found "if(...) {\n"
(#127) Inline control structures are not allowed
(#129) Inline control structures are not allowed
(#137) Space found before object operator
(#137) Space found after object operator
(#145) Variable "eduService" must be all lower-case
(#146) Variable "usageData" must be all lower-case
(#148) Variable "usageData" must be all lower-case
(#148) Variable "eduService" must be all lower-case
(#149) Variable "usageData" must be all lower-case
(#150) Variable "usageData" must be all lower-case
(#151) Variable "usageData" must be all lower-case
(#152) Variable "usageData" must be all lower-case
(#154) Variable "eduService" must be all lower-case
(#154) Space found before object operator
(#154) Space found after object operator
(#154) Variable "usageData" must be all lower-case
(#155) Expected "} else {\n"; found "}else{\n"
mod/edusharing/db/events.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/edusharing/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) "require_once" must be immediately followed by an open parenthesis
(#20) Variable "repo_admin" must not contain underscores.
(#21) Variable "repo_pw" must not contain underscores.
(#22) Variable "appID" must be all lower-case
(#23) Variable "wlo_guestuser" must not contain underscores.
(#25) Expected "if (...) {\n"; found "if (...){\n"
(#26) Variable "appID" must be all lower-case
(#29) Expected "if (...) {\n"; found "if (...){\n"
(#30) Variable "wlo_guestuser" must not contain underscores.
(#33) Expected "if (...) {\n"; found "if (...){\n"
(#33) Variable "appID" must be all lower-case
(#33) Variable "wlo_guestuser" must not contain underscores.
(#34) The use of function error_log() is forbidden; use debugging() instead
(#35) Variable "repo_url" must not contain underscores.
(#37) Variable "repo_url" must not contain underscores.
(#37) Variable "repo_admin" must not contain underscores.
(#37) Variable "repo_pw" must not contain underscores.
(#38) Expected "if (...) {\n"; found "if (...){\n"
(#39) The use of function error_log() is forbidden; use debugging() instead
(#39) Variable "repo_url" must not contain underscores.
(#40) Expected "} else {\n"; found "}else{\n"
(#41) The use of function error_log() is forbidden; use debugging() instead
(#41) Variable "repo_url" must not contain underscores.
(#41) Line exceeds 132 characters; contains 139 characters
(#43) Expected "} else {\n"; found "}else{\n"
(#44) The use of function error_log() is forbidden; use debugging() instead
mod/edusharing/db/log.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/db/upgrade.php
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#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
(#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
(#93) Line exceeds 132 characters; contains 146 characters
(#94) Line exceeds 132 characters; contains 156 characters
(#98) Line exceeds 132 characters; contains 136 characters
(#202) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#205) "require_once" must be immediately followed by an open parenthesis
(#207) Variable "repo_admin" must not contain underscores.
(#208) Variable "repo_pw" must not contain underscores.
(#209) Variable "appID" must be all lower-case
(#211) Expected "if (...) {\n"; found "if (...){\n"
(#212) Variable "appID" must be all lower-case
(#215) Expected "if (...) {\n"; found "if (...){\n"
(#215) Variable "appID" must be all lower-case
(#216) The use of function error_log() is forbidden; use debugging() instead
(#217) Variable "repo_url" must not contain underscores.
(#219) Variable "repo_url" must not contain underscores.
(#219) Variable "repo_admin" must not contain underscores.
(#219) Variable "repo_pw" must not contain underscores.
(#220) Expected "if (...) {\n"; found "if (...){\n"
(#221) The use of function error_log() is forbidden; use debugging() instead
(#221) Variable "repo_url" must not contain underscores.
(#222) Expected "} else {\n"; found "}else{\n"
(#223) The use of function error_log() is forbidden; use debugging() instead
(#223) Variable "repo_url" must not contain underscores.
(#223) Line exceeds 132 characters; contains 139 characters
(#225) Expected "} else {\n"; found "}else{\n"
(#226) The use of function error_log() is forbidden; use debugging() instead
mod/edusharing/defaults.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/edusharing/import_metadata.php
(#24) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#48) Expected "if (...) {\n"; found "if(...){\n"
(#49) Expected "if (...) {\n"; found "if (...){\n"
(#51) The use of function error_log() is forbidden; use debugging() instead
(#53) Expected "if (...) {\n"; found "if (...){\n"
(#76) function name "callRepo" must be lower-case letters only
(#76) Variable "repoUrl" must be all lower-case
(#76) Expected 1 space before opening brace; found 0
(#80) Variable "repoUrl" must be all lower-case
(#81) Expected "if (...) {\n"; found "if (...){\n"
(#82) Variable "repoUrl" must be all lower-case
(#83) Expected "} else {\n"; found "}else{\n"
(#84) Variable "repoUrl" must be all lower-case
(#85) Expected "if (...) {\n"; found "if (...){\n"
(#90) Whitespace found at end of line within string
(#91) Variable "repoUrl" must be all lower-case
(#91) Line exceeds 132 characters; contains 133 characters
(#91) Line exceeds 132 characters; contains 133 characters
(#93) Whitespace found at end of line within string
(#95) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#104) function name "getRepoForm" must be lower-case letters only
(#104) Expected 1 space before opening brace; found 0
(#105) Variable "repo_url" must not contain underscores.
(#106) Variable "appId" must be all lower-case
(#107) Variable "host_aliases" must not contain underscores.
(#108) Expected "if (...) {\n"; found "if (...){\n"
(#108) Variable "repo_url" must not contain underscores.
(#115) Variable "repo_url" must not contain underscores.
(#119) Line exceeds 132 characters; contains 133 characters
(#119) Line exceeds 132 characters; contains 133 characters
(#122) Variable "appId" must be all lower-case
(#126) Variable "host_aliases" must not contain underscores.
(#126) Line exceeds 132 characters; contains 137 characters
(#126) Line exceeds 132 characters; contains 137 characters
(#130) Whitespace found at end of line within string
(#133) Expected "} else {\n"; found "}else{\n"
(#150) Whitespace found at end of line within string
(#158) Line exceeds 132 characters; contains 152 characters
(#158) Line exceeds 132 characters; contains 152 characters
(#164) Line exceeds 132 characters; contains 163 characters
(#164) Line exceeds 132 characters; contains 163 characters
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/Curl.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Multiple artifacts detected.
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#27) The abstract declaration must precede the visibility declaration
(#27) Public method name "CurlHandler::handleCurlRequest" must be in lower-case letters only
(#27) Variable "curlOptions" must be all lower-case
(#35) Public method name "DefaultCurlHandler::handleCurlRequest" must be in lower-case letters only
(#35) Variable "curlOptions" must be all lower-case
(#37) Variable "curlOptions" must be all lower-case
(#44) File must end with a newline character
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-auth-helper.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) "require_once" must be immediately followed by an open parenthesis
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Opening brace should be on the same line as the declaration
(#9) Private method name "AppAuthException::getExplanation" must be in lower-case letters only
(#10) Variable "KNOWN_ERRORS" must be all lower-case
(#10) Variable "KNOWN_ERRORS" must not contain underscores.
(#11) Line exceeds maximum limit of 180 characters; contains 194 characters
(#13) Line exceeds 132 characters; contains 148 characters
(#16) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#16) Variable "KNOWN_ERRORS" must be all lower-case
(#16) Variable "KNOWN_ERRORS" must not contain underscores.
(#17) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#18) Inline control structures are not allowed
(#18) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#25) Expected 1 space before opening brace; found 2
(#37) Public method name "EduSharingAuthHelper::getTicketAuthenticationInfo" must be in lower-case letters only
(#52) Expected "if (...) {\n"; found "if(...) {\n"
(#66) Public method name "EduSharingAuthHelper::getTicketForUser" must be in lower-case letters only
(#68) Line exceeds 132 characters; contains 133 characters
(#82) Inline control structures are not allowed
(#84) Expected "if (...) {\n"; found "if(...) {\n"
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-helper-abstract.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Public method name "EduSharingHelperAbstract::getRESTAuthenticationHeader" must be in lower-case letters only
(#22) Protected method name "EduSharingHelperAbstract::getSignatureHeaders" must be in lower-case letters only
(#23) Variable "signString" must be all lower-case
(#25) Variable "contentType" must be all lower-case
(#28) Variable "toSign" must be all lower-case
(#28) Variable "signString" must be all lower-case
(#29) Variable "toSign" must be all lower-case
(#32) Variable "contentType" must be all lower-case
(#34) Variable "toSign" must be all lower-case
(#40) Variable "toSign" must be all lower-case
(#41) Variable "toSign" must be all lower-case
(#43) File must end with a newline character
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-helper-base.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Member variable "baseUrl" must be all lower-case
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Member variable "privateKey" must be all lower-case
(#6) Member variable "appId" must be all lower-case
(#8) Member variable "curlHandler" must be all lower-case
(#18) Variable "baseUrl" must be all lower-case
(#19) Variable "privateKey" must be all lower-case
(#20) Variable "appId" must be all lower-case
(#22) Expected "if (...) {\n"; found "if(...) {\n"
(#22) Variable "appId" must be all lower-case
(#25) Expected 1 space before "="; 0 found
(#25) Expected 1 space after "="; 0 found
(#25) Variable "baseUrl" must be all lower-case
(#26) Expected 1 space before "="; 0 found
(#26) Expected 1 space after "="; 0 found
(#26) Variable "privateKey" must be all lower-case
(#27) Expected 1 space before "="; 0 found
(#27) Expected 1 space after "="; 0 found
(#27) Variable "appId" must be all lower-case
(#28) Expected 1 space before "="; 0 found
(#28) Expected 1 space after "="; 0 found
(#31) Public method name "EduSharingHelperBase::registerCurlHandler" must be in lower-case letters only
(#35) Public method name "EduSharingHelperBase::handleCurlRequest" must be in lower-case letters only
(#35) Variable "curlOptions" must be all lower-case
(#36) Variable "curlOptions" must be all lower-case
(#39) Public method name "EduSharingHelperBase::setLanguage" must be in lower-case letters only
(#43) Visibility must be declared on method "sign"
(#43) Variable "toSign" must be all lower-case
(#45) Variable "toSign" must be all lower-case
(#51) File must end with a newline character
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-helper.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) "require_once" must be immediately followed by an open parenthesis
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#5) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#5) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Public method name "EduSharingHelper::generateKeyPair" must be in lower-case letters only
(#15) Opening brace should be on the same line as the declaration
(#17) Expected "if (...) {\n"; found "if(...) {\n"
(#33) Public method name "EduSharingHelper::generateEduAppXMLData" must be in lower-case letters only
(#33) Variable "appId" must be all lower-case
(#33) Variable "publicIP" must be all lower-case
(#34) Whitespace found at end of line within string
(#35) Whitespace found at end of line within string
(#36) Whitespace found at end of line within string
(#37) Variable "appId" must be all lower-case
(#37) Whitespace found at end of line within string
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#41) Whitespace found at end of line within string
(#42) Variable "publicIP" must be all lower-case
(#42) Whitespace found at end of line within string
(#43) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-node-helper.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) "require_once" must be immediately followed by an open parenthesis
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Class constants must be uppercase; expected INLINE but found Inline
(#6) Class constants must be uppercase; expected EMBED but found Embed
(#7) Class constants must be uppercase; expected DYNAMIC but found Dynamic
(#16) Member variable "nodeId" must be all lower-case
(#17) Member variable "nodeVersion" must be all lower-case
(#18) Member variable "containerId" must be all lower-case
(#19) Member variable "resourceId" must be all lower-case
(#20) Member variable "usageId" must be all lower-case
(#22) Variable "nodeId" must be all lower-case
(#22) Variable "nodeVersion" must be all lower-case
(#22) Variable "containerId" must be all lower-case
(#22) Variable "resourceId" must be all lower-case
(#22) Variable "usageId" must be all lower-case
(#23) Opening brace should be on the same line as the declaration
(#24) Variable "nodeId" must be all lower-case
(#25) Variable "nodeVersion" must be all lower-case
(#26) Variable "containerId" must be all lower-case
(#27) Variable "resourceId" must be all lower-case
(#28) Variable "usageId" must be all lower-case
(#32) Expected 1 space before opening brace; found 2
(#55) Public method name "EduSharingNodeHelper::createUsage" must be in lower-case letters only
(#57) Variable "containerId" must be all lower-case
(#58) Variable "resourceId" must be all lower-case
(#59) Variable "nodeId" must be all lower-case
(#60) Variable "nodeVersion" must be all lower-case
(#69) Variable "containerId" must be all lower-case
(#70) Variable "resourceId" must be all lower-case
(#71) Variable "nodeId" must be all lower-case
(#72) Variable "nodeVersion" must be all lower-case
(#81) Variable "nodeVersion" must be all lower-case
(#82) Variable "containerId" must be all lower-case
(#83) Variable "resourceId" must be all lower-case
(#107) Public method name "EduSharingNodeHelper::getUsageIdByParameters" must be in lower-case letters only
(#109) Variable "nodeId" must be all lower-case
(#110) Variable "containerId" must be all lower-case
(#111) Variable "resourceId" must be all lower-case
(#112) Expected 1 space before opening brace; found 0
(#115) Variable "nodeId" must be all lower-case
(#122) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#123) Expected "if (...) {\n"; found "if(...) {\n"
(#123) Variable "containerId" must be all lower-case
(#123) Variable "resourceId" must be all lower-case
(#123) Line exceeds 132 characters; contains 136 characters
(#148) Public method name "EduSharingNodeHelper::getNodeByUsage" must be in lower-case letters only
(#150) Variable "displayMode" must be all lower-case
(#151) Variable "renderingParams" must be all lower-case
(#153) Opening brace should be on the same line as the declaration
(#155) Variable "displayMode" must be all lower-case
(#156) Expected "if (...) {\n"; found "if(...) {\n"
(#168) Variable "renderingParams" must be all lower-case
(#178) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#178) Expected "if (...) {\n"; found "if (...){\n"
(#197) Public method name "EduSharingNodeHelper::deleteUsage" must be in lower-case letters only
(#198) Variable "nodeId" must be all lower-case
(#199) Variable "usageId" must be all lower-case
(#201) Variable "nodeId" must be all lower-case
(#201) Variable "usageId" must be all lower-case
(#202) Variable "nodeId" must be all lower-case
(#202) Variable "usageId" must be all lower-case
(#202) Line exceeds 132 characters; contains 157 characters
(#209) Empty IF statement detected
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/example/example-api.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#7) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#10) "require_once" must be immediately followed by an open parenthesis
(#11) "require_once" must be immediately followed by an open parenthesis
(#12) "require_once" must be immediately followed by an open parenthesis
(#13) "require_once" must be immediately followed by an open parenthesis
(#16) Expected "if (...) {\n"; found "if(...) {\n"
(#21) Inline comments must start with a capital letter, digit or 3-dots sequence
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#23) Variable "postData" must be all lower-case
(#24) Variable "postData" must be all lower-case
(#26) Expected "try {\n...} catch (...) {\n"; found "try {\n...}catch(...) {\n"
(#30) Variable "nodeHelper" must be all lower-case
(#31) Variable "nodeHelper" must be all lower-case
(#33) Variable "postData" must be all lower-case
(#34) Variable "postData" must be all lower-case
(#35) Variable "postData" must be all lower-case
(#36) Variable "postData" must be all lower-case
(#37) Variable "postData" must be all lower-case
(#41) Variable "nodeHelper" must be all lower-case
(#42) Variable "nodeHelper" must be all lower-case
(#43) Variable "postData" must be all lower-case
(#44) Variable "postData" must be all lower-case
(#45) Variable "postData" must be all lower-case
(#46) Variable "postData" must be all lower-case
(#49) Variable "nodeHelper" must be all lower-case
(#50) Variable "nodeHelper" must be all lower-case
(#51) Variable "postData" must be all lower-case
(#52) Variable "postData" must be all lower-case
(#55) Variable "authHelper" must be all lower-case
(#56) Variable "authHelper" must be all lower-case
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/example/example.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#11) "require_once" must be immediately followed by an open parenthesis
(#12) "require_once" must be immediately followed by an open parenthesis
(#13) "require_once" must be immediately followed by an open parenthesis
(#14) "require_once" must be immediately followed by an open parenthesis
(#17) Expected "if (...) {\n"; found "if(...) {\n"
(#19) Inline comments must start with a capital letter, digit or 3-dots sequence
(#19) Inline comments must end in full-stops, exclamation marks, or question marks
(#26) Expected "if (...) {\n"; found "if(...) {\n"
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Variable "authHelper" must be all lower-case
(#35) Variable "authHelper" must be all lower-case
(#37) The use of function print_r() is forbidden
(#37) Variable "authHelper" must be all lower-case
(#39) Expected "if (...) {\n"; found "if(...) {\n"
(#42) Variable "nodeHelper" must be all lower-case
(#43) Variable "containerId" must be all lower-case
(#43) Commas (,) must be followed by white space.
(#44) Variable "resourceId" must be all lower-case
(#44) Commas (,) must be followed by white space.
(#45) Variable "nodeHelper" must be all lower-case
(#45) Variable "containerId" must be all lower-case
(#45) Variable "resourceId" must be all lower-case
(#47) The use of function print_r() is forbidden
(#49) Variable "usageId" must be all lower-case
(#49) Variable "nodeHelper" must be all lower-case
(#49) Variable "containerId" must be all lower-case
(#49) Variable "resourceId" must be all lower-case
(#50) The use of function print_r() is forbidden
(#50) Variable "usageId" must be all lower-case
(#51) Variable "nodeHelper" must be all lower-case
(#53) The use of function print_r() is forbidden
(#53) File must end with a newline character
mod/edusharing/index.php
(#79) Logical operator "or" is prohibited; use "||" instead
mod/edusharing/lang/de/edusharing.php
(#34) 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
(#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
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/lang/en/edusharing.php
(#34) 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
(#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
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/lang/zh/edusharing.php
(#34) 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
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/lib.php
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) No space found before comment text; expected "// use simple version handling for atto plugin or legacy code" but found "//use simple version handling for atto plugin or legacy code"
(#113) Expected "if (...) {\n"; found "if(...) {\n"
(#113) Space found before object operator
(#113) Space found after object operator
(#114) Inline comments must start with a capital letter, digit or 3-dots sequence
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) No space found before comment text; expected "// avoid database error" but found "//avoid database error"
(#136) Variable "eduService" must be all lower-case
(#137) Variable "usageData" must be all lower-case
(#139) Variable "usageData" must be all lower-case
(#139) Variable "eduService" must be all lower-case
(#140) Variable "usageData" must be all lower-case
(#141) Variable "usageData" must be all lower-case
(#142) Variable "usageData" must be all lower-case
(#143) Variable "usageData" must be all lower-case
(#145) Variable "eduService" must be all lower-case
(#145) Space found before object operator
(#145) Space found after object operator
(#145) Variable "usageData" must be all lower-case
(#156) Expected "} else {\n"; found "}else{\n"
(#158) Inline comments must start with a capital letter, digit or 3-dots sequence
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#158) This comment is 78% valid code; is this commented out code?
(#158) No space found before comment text; expected "// trigger_error($e->getMessage());" but found "//trigger_error($e->getMessage());"
(#162) Expected "} else {\n"; found "}else{\n"
(#165) Line exceeds 132 characters; contains 133 characters
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#229) Variable "eduService" must be all lower-case
(#230) Variable "usageData" must be all lower-case
(#232) Variable "usageData" must be all lower-case
(#232) Variable "eduService" must be all lower-case
(#233) Variable "usageData" must be all lower-case
(#234) Variable "usageData" must be all lower-case
(#235) Variable "usageData" must be all lower-case
(#236) Variable "usageData" must be all lower-case
(#238) Variable "eduService" must be all lower-case
(#238) Space found before object operator
(#238) Space found after object operator
(#238) Variable "usageData" must be all lower-case
(#250) Expected "} else {\n"; found "}else {\n"
(#309) Expected "if (...) {\n"; found "if (...){\n"
(#311) Variable "eduService" must be all lower-case
(#313) Variable "usageData" must be all lower-case
(#314) Variable "usageData" must be all lower-case
(#314) Variable "eduService" must be all lower-case
(#315) Variable "usageData" must be all lower-case
(#316) Variable "usageData" must be all lower-case
(#317) Variable "usageData" must be all lower-case
(#319) Expected "if (...) {\n"; found "if (...){\n"
(#320) Variable "usageData" must be all lower-case
(#320) Variable "eduService" must be all lower-case
(#320) Variable "usageData" must be all lower-case
(#321) Expected "} else {\n"; found "}else {\n"
(#322) Variable "usageData" must be all lower-case
(#325) Variable "eduService" must be all lower-case
(#325) Space found before object operator
(#325) Space found after object operator
(#325) Variable "usageData" must be all lower-case
(#327) Expected "if (...) {\n"; found "if (...){\n"
(#331) Expected "} else {\n"; found "}else{\n"
(#343) Inline comments must start with a capital letter, digit or 3-dots sequence
(#343) Inline comments must end in full-stops, exclamation marks, or question marks
(#414) Inline comments must end in full-stops, exclamation marks, or question marks
(#506) Expected 1 space before "=>"; 0 found
(#506) Expected 1 space after "=>"; 0 found
(#567) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#646) Inline comments must start with a capital letter, digit or 3-dots sequence
(#646) This comment is 67% valid code; is this commented out code?
(#646) No space found before comment text; expected "// $descr = $cm->get_description();" but found "//$descr = $cm->get_description();"
(#647) No space found before comment text; expected "// error_log('edusharing_pre_course_module_delete: '.print_r($cm, true));" but found "//error_log('edusharing_pre_course_module_delete: '.print_r($cm, true));"
(#655) Inline comments must start with a capital letter, digit or 3-dots sequence
(#655) This comment is 70% valid code; is this commented out code?
(#655) No space found before comment text; expected "// echo 'edusharing_pre_block_delete';" but found "//echo 'edusharing_pre_block_delete';"
(#656) Inline comments must end in full-stops, exclamation marks, or question marks
(#656) No space found before comment text; expected "// error_log('edusharing_pre_block_delete');" but found "//error_log('edusharing_pre_block_delete');"
(#703) Expected "} else {\n"; found "}else{\n"
(#719) Expected 1 space before opening brace; found 0
(#720) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/lib/EduSharingService.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) "require_once" must be immediately followed by an open parenthesis
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) "require_once" must be immediately followed by an open parenthesis
(#6) "require_once" must be immediately followed by an open parenthesis
(#7) "require_once" must be immediately followed by an open parenthesis
(#12) Member variable "helperBase" must be all lower-case
(#13) Member variable "authHelper" must be all lower-case
(#16) Space found before object operator
(#16) Space found after object operator
(#16) Line exceeds maximum limit of 180 characters; contains 210 characters
(#17) Space found before object operator
(#17) Space found after object operator
(#19) Space found before object operator
(#19) Space found after object operator
(#21) Public method name "EduSharingService::handleCurlRequest" must be in lower-case letters only
(#21) Public method name "::handleCurlRequest" must be in lower-case letters only
(#21) Variable "curlOptions" must be all lower-case
(#27) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#27) Variable "curlOptions" must be all lower-case
(#28) Expected "if (...) {\n"; found "if (...){\n"
(#30) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#30) Expected "if (...) {\n"; found "if (...){\n"
(#32) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#32) Expected "if (...) {\n"; found "if (...){\n"
(#34) Expected "} else {\n"; found "}else{\n"
(#39) Expected "if (...) {\n"; found "if (...){\n"
(#40) Variable "curlContent" must be all lower-case
(#41) Expected "} else {\n"; found "}else{\n"
(#42) Variable "curlContent" must be all lower-case
(#45) Variable "curlError" must be all lower-case
(#46) Expected "if (...) {\n"; found "if (...){\n"
(#46) Variable "curlError" must be all lower-case
(#47) Variable "curlError" must be all lower-case
(#49) Variable "curlContent" must be all lower-case
(#49) Variable "curlError" must be all lower-case
(#55) Public method name "EduSharingService::createUsage" must be in lower-case letters only
(#55) Variable "usageData" must be all lower-case
(#55) Expected 1 space before opening brace; found 2
(#57) Variable "nodeHelper" must be all lower-case
(#58) Variable "nodeHelper" must be all lower-case
(#59) Variable "usageData" must be all lower-case
(#60) Variable "usageData" must be all lower-case
(#61) Variable "usageData" must be all lower-case
(#62) Variable "usageData" must be all lower-case
(#63) Variable "usageData" must be all lower-case
(#69) Public method name "EduSharingService::getUsageId" must be in lower-case letters only
(#69) Variable "usageData" must be all lower-case
(#69) Expected 1 space before opening brace; found 2
(#71) Variable "nodeHelper" must be all lower-case
(#72) Variable "nodeHelper" must be all lower-case
(#73) Variable "usageData" must be all lower-case
(#74) Variable "usageData" must be all lower-case
(#75) Variable "usageData" must be all lower-case
(#76) Variable "usageData" must be all lower-case
(#82) Public method name "EduSharingService::deleteUsage" must be in lower-case letters only
(#82) Variable "usageData" must be all lower-case
(#83) Expected "if (...) {\n"; found "if (...){\n"
(#83) Variable "usageData" must be all lower-case
(#86) Variable "nodeHelper" must be all lower-case
(#88) Variable "nodeHelper" must be all lower-case
(#88) Variable "usageData" must be all lower-case
(#88) Variable "usageData" must be all lower-case
(#93) The use of function error_log() is forbidden; use debugging() instead
(#100) Public method name "EduSharingService::getNode" must be in lower-case letters only
(#100) Variable "postData" must be all lower-case
(#101) Variable "nodeHelper" must be all lower-case
(#103) Variable "nodeHelper" must be all lower-case
(#105) Variable "postData" must be all lower-case
(#106) Variable "postData" must be all lower-case
(#107) Variable "postData" must be all lower-case
(#108) Variable "postData" must be all lower-case
(#109) Variable "postData" must be all lower-case
(#119) Public method name "EduSharingService::getTicket" must be in lower-case letters only
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Variable "ticketInfo" must be all lower-case
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Variable "ticketInfo" must be all lower-case
(#140) Variable "ticketInfo" must be all lower-case
(#152) The use of function error_log() is forbidden; use debugging() instead
(#156) Inline comments must start with a capital letter, digit or 3-dots sequence
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Public method name "EduSharingService::encryptWithRepoKey" must be in lower-case letters only
(#168) Variable "dataEncrypted" must be all lower-case
(#171) Variable "repoPublicKey" must be all lower-case
(#172) Variable "encryption_status" must not contain underscores.
(#172) Commas (,) must be followed by white space.
(#172) Variable "dataEncrypted" must be all lower-case
(#172) Variable "repoPublicKey" must be all lower-case
(#174) Expected "if (...) {\n"; found "if(...) {\n"
(#174) Variable "encryption_status" must not contain underscores.
(#174) Variable "dataEncrypted" must be all lower-case
(#175) The use of function error_log() is forbidden; use debugging() instead
(#178) Variable "dataEncrypted" must be all lower-case
(#182) A closing tag is not permitted at the end of a PHP file
mod/edusharing/lib/cclib.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/edusharing/locallib.php
(#42) Space found before object operator
(#42) Space found after object operator
(#42) Space found before object operator
(#42) Space found after object operator
(#44) Space found before object operator
(#44) Space found after object operator
(#58) Inline control structures are not allowed
(#60) Inline control structures are not allowed
(#62) Inline control structures are not allowed
(#64) Inline control structures are not allowed
(#80) Space found before object operator
(#80) Space found after object operator
(#80) Space found before object operator
(#80) Space found after object operator
(#82) Space found before object operator
(#82) Space found after object operator
(#157) Inline control structures are not allowed
(#200) Space found before object operator
(#200) Space found after object operator
(#204) Whitespace found at end of line
(#206) Inline comments must start with a capital letter, digit or 3-dots sequence
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) No space found before comment text; expected "// repository" but found "//repository"
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) No space found before comment text; expected "// rendering service" but found "//rendering service"
(#239) Commas (,) must be followed by white space.
(#240) Expected "if (...) {\n"; found "if(...) {\n"
(#254) Variable "appId" must be all lower-case
(#254) Variable "hostAliases" must be all lower-case
(#254) Variable "wlo_guestuser" must not contain underscores.
(#254) Expected 1 space before opening brace; found 0
(#296) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#299) Expected "if (...) {\n"; found "if(...){\n"
(#303) Inline comments must start with a capital letter, digit or 3-dots sequence
(#303) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) Variable "currentAppId" must be all lower-case
(#305) Expected "if (...) {\n"; found "if(...){\n"
(#305) Variable "appId" must be all lower-case
(#305) Variable "currentAppId" must be all lower-case
(#306) Variable "appId" must be all lower-case
(#307) Expected "} else if (...) {\n"; found "}else if (...){\n"
(#307) Expected "if (...) {\n"; found "if (...){\n"
(#307) Variable "currentAppId" must be all lower-case
(#308) Variable "appId" must be all lower-case
(#308) Variable "currentAppId" must be all lower-case
(#312) Variable "appId" must be all lower-case
(#319) Expected "if (...) {\n"; found "if (...){\n"
(#319) Variable "hostAliases" must be all lower-case
(#320) Variable "hostAliases" must be all lower-case
(#323) Expected "if (...) {\n"; found "if (...){\n"
(#323) Variable "wlo_guestuser" must not contain underscores.
(#325) Variable "wlo_guestuser" must not contain underscores.
(#328) Expected "if (...) {\n"; found "if (...){\n"
(#328) Line exceeds 132 characters; contains 134 characters
(#358) function name "createXmlMetadata" must be lower-case letters only
(#358) Expected 1 space before opening brace; found 0
(#361) Line exceeds 132 characters; contains 145 characters
(#384) Expected "if (...) {\n"; found "if(...){\n"
(#392) function name "createApiBody" must be lower-case letters only
(#392) Expected 1 space before opening brace; found 0
(#404) function name "registerPlugin" must be lower-case letters only
(#404) Variable "repoUrl" must be all lower-case
(#404) Expected 1 space before opening brace; found 0
(#405) Variable "repoUrl" must be all lower-case
(#411) Variable "curlSession" must be all lower-case
(#412) Variable "curlSession" must be all lower-case
(#417) Variable "curlSession" must be all lower-case
(#421) Variable "curlSession" must be all lower-case
(#422) Expected "if (...) {\n"; found "if(...){\n"
(#426) Variable "urlXML" must be all lower-case
(#426) Variable "repoUrl" must be all lower-case
(#427) Variable "curlXML" must be all lower-case
(#428) Variable "curlXML" must be all lower-case
(#434) Variable "curlXML" must be all lower-case
(#438) Variable "curlXML" must be all lower-case
(#438) Variable "urlXML" must be all lower-case
(#440) Variable "curlXML" must be all lower-case
(#441) Variable "curlXML" must be all lower-case
(#442) Variable "curlXML" must be all lower-case
mod/edusharing/metadata.php
(#24) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
mod/edusharing/mod_form.php
(#44) Opening brace should be on the same line as the declaration for class mod_edusharing_mod_form
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Variable "eduSharingService" must be all lower-case
(#56) Variable "eduSharingService" must be all lower-case
(#57) Expected "} else {\n"; found "}else{\n"
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Line exceeds 132 characters; contains 168 characters
(#82) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#84) Line exceeds 132 characters; contains 162 characters
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Variable "repoSearch" must be all lower-case
(#93) Line exceeds 132 characters; contains 161 characters
(#94) Line exceeds 132 characters; contains 167 characters
(#95) Variable "repoOnClick" must be all lower-case
(#102) Whitespace found at end of line within string
(#108) Whitespace found at end of line within string
(#109) Line exceeds 132 characters; contains 163 characters
(#110) Whitespace found at end of line within string
(#114) Whitespace found at end of line within string
(#116) Whitespace found at end of line within string
(#118) Variable "repoSearch" must be all lower-case
(#118) Line exceeds 132 characters; contains 134 characters
(#118) Whitespace found at end of line within string
(#122) Variable "repoOnClick" must be all lower-case
(#122) Line exceeds 132 characters; contains 170 characters
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Line exceeds 132 characters; contains 154 characters
(#130) Line exceeds 132 characters; contains 153 characters
(#137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Line exceeds 132 characters; contains 142 characters
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/settings.php
(#28) Line exceeds 132 characters; contains 138 characters
(#32) Whitespace found at end of line within string
(#43) Variable "str_version" must not contain underscores.
(#45) Whitespace found at end of line within string
(#50) Line exceeds 132 characters; contains 152 characters
(#55) Variable "str_version" must not contain underscores.
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Line exceeds 132 characters; contains 157 characters
(#136) Variable "nameSetting" must be all lower-case
(#137) Variable "nameSetting" must be all lower-case
(#138) Variable "nameSetting" must be all lower-case
(#140) Variable "typeSetting" must be all lower-case
(#141) Variable "typeSetting" must be all lower-case
(#142) Variable "typeSetting" must be all lower-case
(#144) Variable "imgSetting" must be all lower-case
(#144) Line exceeds 132 characters; contains 139 characters
(#145) Variable "imgSetting" must be all lower-case
(#146) Variable "imgSetting" must be all lower-case
(#148) Variable "infoSetting" must be all lower-case
(#148) Line exceeds 132 characters; contains 142 characters
(#149) Variable "infoSetting" must be all lower-case
(#150) Variable "infoSetting" must be all lower-case
(#152) Variable "hintSetting" must be all lower-case
(#152) Line exceeds 132 characters; contains 137 characters
(#153) Variable "hintSetting" must be all lower-case
(#154) Variable "hintSetting" must be all lower-case
(#156) Variable "hintSetting" must be all lower-case
(#156) Line exceeds 132 characters; contains 137 characters
(#157) Variable "hintSetting" must be all lower-case
(#158) Variable "hintSetting" must be all lower-case
(#160) Variable "repoTargetOptions" must be all lower-case
(#165) Variable "repoTargetSetting" must be all lower-case
(#165) Variable "repoTargetOptions" must be all lower-case
(#165) Line exceeds 132 characters; contains 173 characters
(#166) Variable "repoTargetSetting" must be all lower-case
mod/edusharing/sigSoapClient.php
(#17) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#71) Expected "if (...) {\n"; found "if (...){\n"
(#74) Expected "if (...) {\n"; found "if (...){\n"
mod/edusharing/version.php
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) No space found before comment text; expected "// YYYYMMDDXX" but found "//YYYYMMDDXX"
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) No space found before comment text; expected "// YYYYMMDDXX" but found "//YYYYMMDDXX"
mod/edusharing/view.php
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Variable "eduSharingService" must be all lower-case
(#60) Variable "eduSharingService" must be all lower-case
(#61) Expected "} else {\n"; found "}else{\n"
(#77) Variable "backAction" must be all lower-case
(#79) Variable "backAction" must be all lower-case
(#82) Variable "backAction" must be all lower-case
(#85) Variable "backAction" must be all lower-case

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

(32 errors, 0 warnings)

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

mod/edusharing/import_metadata_style.css
(#13) Expected single space before "{" (block-opening-brace-space-before)
(#17) Expected single space before "{" (block-opening-brace-space-before)
(#21) Expected single space before "{" (block-opening-brace-space-before)
(#29) Expected single space before "{" (block-opening-brace-space-before)
(#49) Expected single space before "{" (block-opening-brace-space-before)
(#64) Expected single space before "{" (block-opening-brace-space-before)
(#68) Expected single space before "{" (block-opening-brace-space-before)
(#79) Expected single space before "{" (block-opening-brace-space-before)
(#83) Expected single space before "{" (block-opening-brace-space-before)
(#87) Expected single space before "{" (block-opening-brace-space-before)
(#92) Expected single space before "{" (block-opening-brace-space-before)
(#96) Expected single space before "{" (block-opening-brace-space-before)
(#105) Expected single space before "{" (block-opening-brace-space-before)
(#111) Expected single space before "{" (block-opening-brace-space-before)
(#117) Expected single space before "{" (block-opening-brace-space-before)
(#125) Expected single space before "{" (block-opening-brace-space-before)
(#130) Expected single space before "{" (block-opening-brace-space-before)
(#136) Expected single space before "{" (block-opening-brace-space-before)
(#139) Expected single space before "{" (block-opening-brace-space-before)
(#144) Expected single space before "{" (block-opening-brace-space-before)
(#148) Expected single space before "{" (block-opening-brace-space-before)
(#154) Expected single space before "{" (block-opening-brace-space-before)
(#161) Expected single space before "{" (block-opening-brace-space-before)
(#167) Expected single space before "{" (block-opening-brace-space-before)
(#173) Expected single space before "{" (block-opening-brace-space-before)
(#177) Expected single space before "{" (block-opening-brace-space-before)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#45) Expected newline after "," (selector-list-comma-newline-after)
mod/edusharing/styles.css
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#5) Expected single space before "{" (block-opening-brace-space-before)

PHPDocs style problems

(131 errors, 16 warnings)

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

mod/edusharing/backup/moodle2/backup_edusharing_activity_task.class.php
(#2) Empty line found after PHP open tag
(#6) No one-line description found in phpdocs for class backup_edusharing_activity_task
(#27) Phpdocs for function backup_edusharing_activity_task::encode_content_links has incomplete parameters list
(#6) Package is not specified for class backup_edusharing_activity_task. It is also not specified in file-level phpdocs
mod/edusharing/backup/moodle2/backup_edusharing_settingslib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/edusharing/backup/moodle2/backup_edusharing_stepslib.php
(#2) Empty line found after PHP open tag
(#11) Function backup_edusharing_activity_structure_step::define_structure is not documented
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#6) Package is not specified for class backup_edusharing_activity_structure_step. It is also not specified in file-level phpdocs
mod/edusharing/backup/moodle2/restore_edusharing_activity_task.class.php
(#9) Class restore_edusharing_activity_task is not documented
(#92) Function restore_edusharing_activity_task::after_restore is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#54) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#56) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#73) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#75) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#9) Package is not specified for class restore_edusharing_activity_task. It is also not specified in file-level phpdocs
mod/edusharing/backup/moodle2/restore_edusharing_stepslib.php
(#12) Class restore_edusharing_activity_structure_step is not documented
(#14) Function restore_edusharing_activity_structure_step::define_structure is not documented
(#25) Function restore_edusharing_activity_structure_step::process_edusharing is not documented
(#40) Function restore_edusharing_activity_structure_step::after_execute is not documented
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#12) Package is not specified for class restore_edusharing_activity_structure_step. It is also not specified in file-level phpdocs
mod/edusharing/classes/observer.php
(#4) Class mod_edusharing_observer is not documented
(#10) Function mod_edusharing_observer::course_module_deleted is not documented
(#26) Function mod_edusharing_observer::course_module_created is not documented
(#39) Function mod_edusharing_observer::course_module_updated is not documented
(#52) Function mod_edusharing_observer::course_section_created is not documented
(#65) Function mod_edusharing_observer::course_section_updated is not documented
(#85) Function mod_edusharing_observer::course_deleted is not documented
(#96) Function mod_edusharing_observer::course_restored is not documented
(#103) Function set_module_id_in_db is not documented
(#4) Package is not specified for class mod_edusharing_observer. It is also not specified in file-level phpdocs
(#103) Package is not specified for function set_module_id_in_db. It is also not specified in file-level phpdocs
mod/edusharing/classes/restorehelper.php
(#4) Class mod_edusharing_restorehelper is not documented
(#6) Function mod_edusharing_restorehelper::edusharing_convert_inline_objects is not documented
(#49) Function mod_edusharing_restorehelper::edusharing_get_inline_objects is not documented
(#79) Function mod_edusharing_restorehelper::edusharing_convert_object is not documented
(#140) Function mod_edusharing_restorehelper::edusharing_add_usage is not documented
(#4) Package is not specified for class mod_edusharing_restorehelper. It is also not specified in file-level phpdocs
mod/edusharing/db/events.php
(#2) File-level phpdocs block is not found
mod/edusharing/db/install.php
(#2) Empty line found after PHP open tag
(#14) Function xmldb_edusharing_install is not documented
mod/edusharing/import_metadata.php
(#76) Function callRepo is not documented
(#104) Function getRepoForm is not documented
(#140) Phpdocs for function get_form has incomplete parameters list
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/Curl.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#3) Class CurlResult is not documented
(#7) Function CurlResult::__construct is not documented
(#35) Function DefaultCurlHandler::handleCurlRequest is not documented
(#4) Variable CurlResult::$content is not documented
(#5) Variable CurlResult::$error is not documented
(#6) Variable CurlResult::$info is not documented
(#30) No one-line description found in phpdocs for class DefaultCurlHandler
(#22) There is no description in phpdocs for function handleCurlRequest
(#3) Package is not specified for class CurlResult. It is also not specified in file-level phpdocs
(#18) Package is not specified for class CurlHandler. It is also not specified in file-level phpdocs
(#30) Package is not specified for class DefaultCurlHandler. It is also not specified in file-level phpdocs
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-auth-helper.php
(#2) File-level phpdocs block is not found
(#4) Class AppAuthException is not documented
(#25) Class EduSharingAuthHelper is not documented
(#5) Function AppAuthException::__construct is not documented
(#9) Function AppAuthException::getExplanation is not documented
(#4) Package is not specified for class AppAuthException. It is also not specified in file-level phpdocs
(#25) Package is not specified for class EduSharingAuthHelper. It is also not specified in file-level phpdocs
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-helper-abstract.php
(#2) Empty line found after PHP open tag
(#3) Class EduSharingHelperAbstract is not documented
(#6) Function EduSharingHelperAbstract::__construct is not documented
(#22) Function EduSharingHelperAbstract::getSignatureHeaders is not documented
(#40) Function EduSharingHelperAbstract::sign is not documented
(#5) Variable EduSharingHelperAbstract::$base is not documented
(#3) Package is not specified for class EduSharingHelperAbstract. It is also not specified in file-level phpdocs
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-helper-base.php
(#2) Empty line found after PHP open tag
(#3) Class EduSharingHelperBase is not documented
(#31) Function EduSharingHelperBase::registerCurlHandler is not documented
(#35) Function EduSharingHelperBase::handleCurlRequest is not documented
(#39) Function EduSharingHelperBase::setLanguage is not documented
(#43) Function EduSharingHelperBase::sign is not documented
(#4) Variable EduSharingHelperBase::$baseUrl is not documented
(#5) Variable EduSharingHelperBase::$privateKey is not documented
(#6) Variable EduSharingHelperBase::$appId is not documented
(#7) Variable EduSharingHelperBase::$language is not documented
(#8) Variable EduSharingHelperBase::$curlHandler is not documented
(#9) There is no description in phpdocs for function __construct
(#3) Package is not specified for class EduSharingHelperBase. It is also not specified in file-level phpdocs
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-helper.php
(#2) Empty line found after PHP open tag
(#5) Class EduSharingHelper is not documented
(#6) Phpdocs for function EduSharingHelper::generateKeyPair has incomplete parameters list
(#29) Phpdocs for function EduSharingHelper::generateEduAppXMLData has incomplete parameters list
(#5) Package is not specified for class EduSharingHelper. It is also not specified in file-level phpdocs
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/edu-sharing-node-helper.php
(#2) File-level phpdocs block is not found
(#4) Class DisplayMode is not documented
(#9) Class UsageDeletedException is not documented
(#12) Class NodeDeletedException is not documented
(#15) Class Usage is not documented
(#32) Class EduSharingNodeHelper is not documented
(#22) Function Usage::__construct is not documented
(#16) Variable Usage::$nodeId is not documented
(#17) Variable Usage::$nodeVersion is not documented
(#18) Variable Usage::$containerId is not documented
(#19) Variable Usage::$resourceId is not documented
(#20) Variable Usage::$usageId is not documented
(#5) Constant DisplayMode::Inline is not documented
(#6) Constant DisplayMode::Embed is not documented
(#7) Constant DisplayMode::Dynamic is not documented
(#93) There is no description in phpdocs for function getUsageIdByParameters
(#97) Phpdocs for function EduSharingNodeHelper::getUsageIdByParameters has incomplete parameters list
(#94) Invalid phpdocs tag @DEPRECATED used
(#4) Package is not specified for class DisplayMode. It is also not specified in file-level phpdocs
(#9) Package is not specified for class UsageDeletedException. It is also not specified in file-level phpdocs
(#12) Package is not specified for class NodeDeletedException. It is also not specified in file-level phpdocs
(#15) Package is not specified for class Usage. It is also not specified in file-level phpdocs
(#32) Package is not specified for class EduSharingNodeHelper. It is also not specified in file-level phpdocs
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/example/example-api.php
(#2) File-level phpdocs block is not found
mod/edusharing/includes/EduSharingApiClient/edu-sharing-plugin/example/example.php
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
mod/edusharing/lib.php
(#650) Function edusharing_course_module_background_deletion_recommended is not documented
(#654) Function edusharing_pre_block_delete is not documented
(#660) Function edusharing_update_settings_images is not documented
(#719) Function edusharing_update_settings_name is not documented
mod/edusharing/lib/EduSharingService.php
(#9) Class EduSharingService is not documented
(#15) Function EduSharingService::__construct is not documented
(#21) Function EduSharingService::handleCurlRequest is not documented
(#55) Function EduSharingService::createUsage is not documented
(#69) Function EduSharingService::getUsageId is not documented
(#82) Function EduSharingService::deleteUsage is not documented
(#100) Function EduSharingService::getNode is not documented
(#119) Function EduSharingService::getTicket is not documented
(#166) Function EduSharingService::encryptWithRepoKey is not documented
(#11) Variable EduSharingService::$config is not documented
(#12) Variable EduSharingService::$helperBase is not documented
(#13) Variable EduSharingService::$authHelper is not documented
(#9) Package is not specified for class EduSharingService. It is also not specified in file-level phpdocs
mod/edusharing/lib/cclib.php
(#58) Phpdocs for function mod_edusharing_web_service_factory::edusharing_authentication_get_ticket has incomplete parameters list
mod/edusharing/locallib.php
(#178) Function edusharing_get_redirect_url is not documented
(#358) Function createXmlMetadata is not documented
(#392) Function createApiBody is not documented
(#404) Function registerPlugin is not documented
(#251) Phpdocs for function edusharing_import_metadata has incomplete parameters list
mod/edusharing/sigSoapClient.php
(#27) Package is not specified for class mod_edusharing_sig_soap_client. It is also not specified in file-level phpdocs

Update savepoints problems

(1 errors, 0 warnings)

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

mod/edusharing/db/upgrade.php
'return true;' not found

Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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