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

(413 errors, 27 warnings)

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

blocks/zilink/block_zilink.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
(#74) Whitespace found at end of line
(#81) Whitespace found at end of line
blocks/zilink/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#43) This comment is 52% valid code; is this commented out code?
blocks/zilink/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/db/messages.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/zilink/edit_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/zilink/lang/en/block_zilink.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/plugins/class_view/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#38) Public method name "class_view::GetBlockContent" must be in lower-case letters only
(#74) Public method name "class_view::RequireContentRegion" must be in lower-case letters only
(#78) Public method name "class_view::SetTitle" must be in lower-case letters only
(#82) Public method name "class_view::HideHeader" must be in lower-case letters only
(#86) Public method name "class_view::Cron" must be in lower-case letters only
blocks/zilink/plugins/class_view/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "class_view_capabilities" must not contain underscores.
blocks/zilink/plugins/class_view/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/core/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#36) Duplicate class name "ZiLinkPluginBase" found; first defined in /var/lib/jenkins/git_repositories/prechecker/blocks/zilink/class.php on line 34
(#48) Commas (,) must be followed by white space.
(#50) Whitespace found at end of line
blocks/zilink/plugins/core/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "core_capabilities" must not contain underscores.
blocks/zilink/plugins/core/interfaces.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#30) Public method name "iZiLinkBlockPlugin::SetTitle" must be in lower-case letters only
(#31) Public method name "iZiLinkBlockPlugin::HideHeader" must be in lower-case letters only
(#32) Public method name "iZiLinkBlockPlugin::RequireContentRegion" must be in lower-case letters only
(#33) Public method name "iZiLinkBlockPlugin::GetBlockContent" must be in lower-case letters only
(#34) Public method name "iZiLinkBlockPlugin::Cron" must be in lower-case letters only
blocks/zilink/plugins/guardian_scheduler/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) Commas (,) must be followed by white space.
(#42) Public method name "guardian_scheduler::GetBlockContent" must be in lower-case letters only
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 20 spaces, found 5
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Whitespace found at end of line
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 20 spaces, found 5
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected 20 spaces, found 5
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected at least 24 spaces, found 6
(#56) Variable "guardian_view" must not contain underscores.
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 24 spaces, found 6
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected 24 spaces, found 6
(#58) Expected "if (...) {\n"; found "if(...)\n\t\t\t\t\t\t{\n"
(#58) Variable "guardian_view" must not contain underscores.
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 24 spaces, found 6
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected at least 28 spaces, found 7
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Whitespace found at end of line
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected 28 spaces, found 7
(#62) Expected "foreach (...) {\n"; found "foreach(...)\n\t\t\t\t\t\t\t{\n"
(#62) Variable "guardian_view" must not contain underscores.
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected at least 28 spaces, found 7
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected 32 spaces, found 8
(#64) Expected "if (...) {\n"; found "if(...) \n\t\t\t\t\t\t\t\t{\n"
(#64) Commas (,) must be followed by white space.
(#64) Whitespace found at end of line
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 32 spaces, found 8
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 36 spaces, found 9
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 36 spaces, found 9
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected at least 36 spaces, found 9
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 36 spaces, found 9
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Whitespace found at end of line
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 36 spaces, found 9
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected at least 36 spaces, found 9
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 36 spaces, found 9
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 36 spaces, found 9
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Whitespace found at end of line
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 36 spaces, found 9
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected 32 spaces, found 8
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected 28 spaces, found 7
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected 24 spaces, found 6
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected 20 spaces, found 5
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Whitespace found at end of line
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected 24 spaces, found 6
(#89) Expected "if (...) {\n"; found "if(...) {\n"
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected at least 28 spaces, found 7
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#91) Line indented incorrectly; expected at least 28 spaces, found 7
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected at least 28 spaces, found 7
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 28 spaces, found 7
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected 24 spaces, found 6
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Whitespace found at end of line
(#122) Public method name "guardian_scheduler::RequireContentRegion" must be in lower-case letters only
(#126) Public method name "guardian_scheduler::SetTitle" must be in lower-case letters only
(#130) Public method name "guardian_scheduler::HideHeader" must be in lower-case letters only
(#134) Public method name "guardian_scheduler::Cron" must be in lower-case letters only
blocks/zilink/plugins/guardian_scheduler/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "guardian_scheduler_capabilities" must not contain underscores.
blocks/zilink/plugins/guardian_scheduler/form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/guardian_scheduler/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/guardian_view/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#38) Public method name "guardian_view::GetBlockContent" must be in lower-case letters only
(#77) Public method name "guardian_view::RequireContentRegion" must be in lower-case letters only
(#81) Public method name "guardian_view::SetTitle" must be in lower-case letters only
(#85) Public method name "guardian_view::HideHeader" must be in lower-case letters only
(#89) Public method name "guardian_view::Cron" must be in lower-case letters only
blocks/zilink/plugins/guardian_view/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "guardian_view_capabilities" must not contain underscores.
blocks/zilink/plugins/guardian_view/form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/guardian_view/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/homework/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) Commas (,) must be followed by white space.
(#38) Public method name "homework::GetBlockContent" must be in lower-case letters only
(#71) Whitespace found at end of line
(#72) This comment is 71% valid code; is this commented out code?
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) No space found before comment text; expected "// if ($this->person->Security()->IsAllowed('local/zilink:homework_report_subject_teacher') ||" but found "//if ($this->person->Security()->IsAllowed('local/zilink:homework_report_subject_teacher') ||"
(#73) This comment is 67% valid code; is this commented out code?
(#73) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) This comment is 69% valid code; is this commented out code?
(#74) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#75) Whitespace found at end of line
(#77) Line indented incorrectly; expected 12 spaces, found 16
(#79) Line indented incorrectly; expected 12 spaces, found 16
(#81) Whitespace found at end of line
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) This comment is 100% valid code; is this commented out code?
(#82) No space found before comment text; expected "// }" but found "//}"
(#83) Whitespace found at end of line
(#88) Public method name "homework::RequireContentRegion" must be in lower-case letters only
(#92) Public method name "homework::SetTitle" must be in lower-case letters only
(#96) Public method name "homework::HideHeader" must be in lower-case letters only
(#100) Public method name "homework::Cron" must be in lower-case letters only
(#103) Whitespace found at end of line
(#108) Expected 1 space after "="; 0 found
(#109) Expected 1 space after "="; 0 found
(#110) Whitespace found at end of line
(#129) Whitespace found at end of line within string
(#130) Whitespace found at end of line within string
(#131) Whitespace found at end of line within string
(#132) Whitespace found at end of line within string
(#144) Inline comments must start with a capital letter, digit or 3-dots sequence
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#144) This comment is 60% valid code; is this commented out code?
(#144) No space found before comment text; expected "// $content->items = array();" but found "//$content->items = array();"
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Line exceeds maximum limit of 180 characters; contains 198 characters
(#179) Line exceeds maximum limit of 180 characters; contains 251 characters
(#194) Whitespace found at end of line within string
(#195) Whitespace found at end of line within string
(#196) Whitespace found at end of line within string
(#197) Whitespace found at end of line within string
(#198) Whitespace found at end of line within string
(#287) Commas (,) must be followed by white space.
(#287) Line exceeds maximum limit of 180 characters; contains 181 characters
(#294) Visibility must be declared on method "import_zilinkhomework_plugin"
(#297) Expected 1 space before "=>"; 0 found
(#297) Expected 1 space after "=>"; 0 found
(#319) Whitespace found at end of line
(#321) Whitespace found at end of line
(#322) Whitespace found at end of line
blocks/zilink/plugins/homework/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Variable "homework_capabilities" must not contain underscores.
blocks/zilink/plugins/homework/form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#34) This comment is 74% valid code; is this commented out code?
(#34) No space found before comment text; expected "// $mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));" but found "//$mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));"
(#35) Whitespace found at end of line
(#38) Whitespace found at end of line
blocks/zilink/plugins/homework/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/icon_navigation/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#39) Commas (,) must be followed by white space.
(#42) Public method name "icon_navigation::SetTitle" must be in lower-case letters only
(#46) Public method name "icon_navigation::GetBlockContent" must be in lower-case letters only
(#186) Whitespace found at end of line
(#187) Expected "if (...) {\n"; found "if(...) {\n"
(#188) Line exceeds 132 characters; contains 137 characters
(#231) Whitespace found at end of line
(#232) Expected "if (...) {\n"; found "if(...) {\n"
(#233) Line exceeds 132 characters; contains 133 characters
(#291) Whitespace found at end of line
(#292) Expected "if (...) {\n"; found "if(...) {\n"
(#330) Expected 1 space after "="; 0 found
(#335) Public method name "icon_navigation::RequireContentRegion" must be in lower-case letters only
(#339) Public method name "icon_navigation::HideHeader" must be in lower-case letters only
(#343) Public method name "icon_navigation::Cron" must be in lower-case letters only
blocks/zilink/plugins/icon_navigation/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "icon_navigation_capabilities" must not contain underscores.
blocks/zilink/plugins/icon_navigation/form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#33) Commas (,) must be followed by white space.
(#34) Commas (,) must be followed by white space.
blocks/zilink/plugins/icon_navigation/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/linked_courses/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#36) Commas (,) must be followed by white space.
(#37) Whitespace found at end of line
(#40) Public method name "linked_courses::GetBlockContent" must be in lower-case letters only
(#84) Public method name "linked_courses::SetTitle" must be in lower-case letters only
(#88) Public method name "linked_courses::RequireContentRegion" must be in lower-case letters only
(#92) Public method name "linked_courses::HideHeader" must be in lower-case letters only
(#96) Public method name "linked_courses::Cron" must be in lower-case letters only
blocks/zilink/plugins/linked_courses/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Variable "linked_courses_capabilities" must not contain underscores.
blocks/zilink/plugins/linked_courses/form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/linked_courses/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/papercut/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) Commas (,) must be followed by white space.
(#39) Public method name "papercut::GetBlockContent" must be in lower-case letters only
(#89) Public method name "papercut::RequireContentRegion" must be in lower-case letters only
(#93) Public method name "papercut::SetTitle" must be in lower-case letters only
(#97) Public method name "papercut::HideHeader" must be in lower-case letters only
(#101) Public method name "papercut::Cron" must be in lower-case letters only
blocks/zilink/plugins/papercut/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "papercut_capabilities" must not contain underscores.
blocks/zilink/plugins/papercut/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/picture/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Commas (,) must be followed by white space.
(#41) Public method name "picture::GetBlockContent" must be in lower-case letters only
(#48) Whitespace found at end of line
(#53) Whitespace found at end of line
(#54) Expected "try {\n...} catch (...) {\n"; found "try {\n...}catch (...) {\n"
(#59) Commas (,) must be followed by white space.
(#61) Whitespace found at end of line
(#98) method name "picture::Display" must be in lower-case letters only
(#98) Visibility must be declared on method "Display"
(#112) Public method name "picture::RequireContentRegion" must be in lower-case letters only
(#116) Public method name "picture::SetTitle" must be in lower-case letters only
(#120) Public method name "picture::HideHeader" must be in lower-case letters only
(#124) Public method name "picture::Cron" must be in lower-case letters only
blocks/zilink/plugins/picture/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Variable "picture_capabilities" must not contain underscores.
blocks/zilink/plugins/picture/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/report_writer/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#38) Public method name "report_writer::GetBlockContent" must be in lower-case letters only
(#71) This comment is 53% valid code; is this commented out code?
(#98) Public method name "report_writer::RequireContentRegion" must be in lower-case letters only
(#102) Public method name "report_writer::SetTitle" must be in lower-case letters only
(#106) Public method name "report_writer::HideHeader" must be in lower-case letters only
(#110) Public method name "report_writer::Cron" must be in lower-case letters only
blocks/zilink/plugins/report_writer/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Variable "report_writer_capabilities" must not contain underscores.
blocks/zilink/plugins/report_writer/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/student_appointment/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#49) Commas (,) must be followed by white space.
(#52) Public method name "student_appointment::GetBlockContent" must be in lower-case letters only
(#90) Public method name "student_appointment::RequireContentRegion" must be in lower-case letters only
(#94) Public method name "student_appointment::SetTitle" must be in lower-case letters only
(#98) Public method name "student_appointment::HideHeader" must be in lower-case letters only
(#102) Public method name "student_appointment::Cron" must be in lower-case letters only
blocks/zilink/plugins/student_appointment/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "student_appointment_capabilities" must not contain underscores.
blocks/zilink/plugins/student_appointment/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/plugins/student_view/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#38) Public method name "student_view::GetBlockContent" must be in lower-case letters only
(#52) Whitespace found at end of line
(#71) Public method name "student_view::RequireContentRegion" must be in lower-case letters only
(#75) Public method name "student_view::SetTitle" must be in lower-case letters only
(#79) Public method name "student_view::HideHeader" must be in lower-case letters only
(#83) Public method name "student_view::Cron" must be in lower-case letters only
blocks/zilink/plugins/student_view/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Variable "student_view_capabilities" must not contain underscores.
blocks/zilink/plugins/student_view/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/timetable/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#35) Public method name "timetable::GetBlockContent" must be in lower-case letters only
(#93) Whitespace found at end of line
(#95) Whitespace found at end of line
(#121) Whitespace found at end of line
(#122) Whitespace found at end of line
(#140) Whitespace found at end of line
(#145) Line indented incorrectly; expected at least 36 spaces, found 35
(#145) Whitespace found at end of line
(#146) Line indented incorrectly; expected at least 36 spaces, found 35
(#152) Whitespace found at end of line
(#163) Line exceeds maximum limit of 180 characters; contains 201 characters
(#164) Whitespace found at end of line
(#168) Line exceeds 132 characters; contains 135 characters
(#170) Whitespace found at end of line
(#174) Line exceeds 132 characters; contains 134 characters
(#177) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#177) Expected "if (...) {\n"; found "if (...){\n"
(#178) Whitespace found at end of line
(#181) Line exceeds 132 characters; contains 167 characters
(#182) Line exceeds 132 characters; contains 138 characters
(#234) Whitespace found at end of line
(#252) Public method name "timetable::RequireContentRegion" must be in lower-case letters only
(#256) Public method name "timetable::SetTitle" must be in lower-case letters only
(#260) Public method name "timetable::HideHeader" must be in lower-case letters only
(#264) Public method name "timetable::Cron" must be in lower-case letters only
blocks/zilink/plugins/timetable/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Variable "timetable_capabilities" must not contain underscores.
blocks/zilink/plugins/timetable/db/messages.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "timetable_messageproviders" must not contain underscores.
blocks/zilink/plugins/timetable/form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/plugins/timetable/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/timetable/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/plugins/timetable_week/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#41) Public method name "timetable_week::GetBlockContent" must be in lower-case letters only
(#103) Empty CATCH statement detected
(#109) Public method name "timetable_week::RequireContentRegion" must be in lower-case letters only
(#112) Public method name "timetable_week::SetTitle" must be in lower-case letters only
(#115) Public method name "timetable_week::HideHeader" must be in lower-case letters only
(#118) Public method name "timetable_week::Cron" must be in lower-case letters only
blocks/zilink/plugins/timetable_week/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#30) Variable "timetable_week_capabilities" must not contain underscores.
blocks/zilink/plugins/timetable_week/edit.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/plugins/timetable_week/edit_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#24) Whitespace found at end of line
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/timetable_week/form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/timetable_week/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/timetable_week/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/plugins/zimbra/class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#34) Commas (,) must be followed by white space.
(#37) Public method name "zimbra::GetBlockContent" must be in lower-case letters only
(#49) Whitespace found at end of line
(#50) Expected "if (...) {\n"; found "if(...) {\n"
(#74) Public method name "zimbra::Display" must be in lower-case letters only
(#84) Public method name "zimbra::RequireContentRegion" must be in lower-case letters only
(#88) Public method name "zimbra::SetTitle" must be in lower-case letters only
(#92) Public method name "zimbra::HideHeader" must be in lower-case letters only
(#96) Public method name "zimbra::Cron" must be in lower-case letters only
blocks/zilink/plugins/zimbra/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Variable "zimbra_capabilities" must not contain underscores.
blocks/zilink/plugins/zimbra/lang/en.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/zilink/plugins/zimbra/view.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/zilink/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(73 errors, 9 warnings)

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

blocks/zilink/plugins/timetable/module.js
(#1) Identifier 'local_zilink_timetable' is not in camel case. (camelcase)
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Extra space after key 'init'. (key-spacing)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Extra space after key 'updateview'. (key-spacing)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) 'uri' is not defined. (no-undef)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) 'uri' is not defined. (no-undef)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Extra space after key 'data'. (key-spacing)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Extra space after key 'context'. (key-spacing)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Extra space after key 'on'. (key-spacing)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Extra space after key 'success'. (key-spacing)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) 'results' is not defined. (no-undef)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) 'results' is not defined. (no-undef)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) 'results' is not defined. (no-undef)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Extra space after key 'failure'. (key-spacing)
(#52) 'o' is defined but never used. (no-unused-vars)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) Extra space after key 'end'. (key-spacing)
(#57) 'o' is defined but never used. (no-unused-vars)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#64) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#65) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(145 errors, 0 warnings)

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

blocks/zilink/block_zilink.php
(#29) Class block_zilink is not documented
(#31) Function block_zilink::init is not documented
(#47) Function block_zilink::has_config is not documented
(#51) Function block_zilink::specialization is not documented
(#65) Function block_zilink::add_content_region is not documented
(#69) Function block_zilink::applicable_formats is not documented
(#73) Function block_zilink::hide_header is not documented
(#84) Function block_zilink::instance_allow_multiple is not documented
(#88) Function block_zilink::instance_allow_config is not documented
(#95) Function block_zilink::get_content is not documented
(#113) Function block_zilink::instance_config_save is not documented
(#120) Function block_zilink::instance_delete is not documented
(#125) Function block_zilink::content_is_trusted is not documented
(#130) Function block_zilink::block_method is not documented
(#170) Function block_zilink::_load_zilink_instance is not documented
(#179) Function block_zilink::cron is not documented
blocks/zilink/class.php
(#34) Class ZiLinkPluginBase is not documented
(#40) Function ZiLinkPluginBase::__construct is not documented
(#36) Variable ZiLinkPluginBase::$security is not documented
(#37) Variable ZiLinkPluginBase::$person is not documented
(#38) Variable ZiLinkPluginBase::$httpswwwroot is not documented
blocks/zilink/db/upgrade.php
(#27) Function xmldb_block_zilink_upgrade is not documented
blocks/zilink/edit_form.php
(#27) Class block_zilink_edit_form is not documented
(#29) Function block_zilink_edit_form::__construct is not documented
(#38) Function block_zilink_edit_form::specific_definition is not documented
(#94) Function block_zilink_edit_form::set_data is not documented
blocks/zilink/lib.php
(#29) Function block_zilink_pluginfile is not documented
blocks/zilink/plugins/class_view/class.php
(#30) Class class_view is not documented
(#32) Function class_view::__construct is not documented
(#38) Function class_view::GetBlockContent is not documented
(#74) Function class_view::RequireContentRegion is not documented
(#78) Function class_view::SetTitle is not documented
(#82) Function class_view::HideHeader is not documented
(#86) Function class_view::Cron is not documented
blocks/zilink/plugins/core/class.php
(#36) Class ZiLinkPluginBase is not documented
(#41) Function ZiLinkPluginBase::__construct is not documented
(#38) Variable ZiLinkPluginBase::$security is not documented
(#39) Variable ZiLinkPluginBase::$person is not documented
blocks/zilink/plugins/core/interfaces.php
(#30) Function SetTitle is not documented
(#31) Function HideHeader is not documented
(#32) Function RequireContentRegion is not documented
(#33) Function GetBlockContent is not documented
(#34) Function Cron is not documented
blocks/zilink/plugins/guardian_scheduler/class.php
(#34) Class guardian_scheduler is not documented
(#36) Function guardian_scheduler::__construct is not documented
(#42) Function guardian_scheduler::GetBlockContent is not documented
(#122) Function guardian_scheduler::RequireContentRegion is not documented
(#126) Function guardian_scheduler::SetTitle is not documented
(#130) Function guardian_scheduler::HideHeader is not documented
(#134) Function guardian_scheduler::Cron is not documented
blocks/zilink/plugins/guardian_view/class.php
(#30) Class guardian_view is not documented
(#32) Function guardian_view::__construct is not documented
(#38) Function guardian_view::GetBlockContent is not documented
(#77) Function guardian_view::RequireContentRegion is not documented
(#81) Function guardian_view::SetTitle is not documented
(#85) Function guardian_view::HideHeader is not documented
(#89) Function guardian_view::Cron is not documented
blocks/zilink/plugins/homework/class.php
(#30) Class homework is not documented
(#32) Function homework::__construct is not documented
(#38) Function homework::GetBlockContent is not documented
(#88) Function homework::RequireContentRegion is not documented
(#92) Function homework::SetTitle is not documented
(#96) Function homework::HideHeader is not documented
(#100) Function homework::Cron is not documented
(#104) Function homework::show_zilinkhomework_overview is not documented
(#277) Function homework::print_user_progressbar is not documented
(#294) Function homework::import_zilinkhomework_plugin is not documented
blocks/zilink/plugins/icon_navigation/class.php
(#34) Class icon_navigation is not documented
(#36) Function icon_navigation::__construct is not documented
(#42) Function icon_navigation::SetTitle is not documented
(#46) Function icon_navigation::GetBlockContent is not documented
(#335) Function icon_navigation::RequireContentRegion is not documented
(#339) Function icon_navigation::HideHeader is not documented
(#343) Function icon_navigation::Cron is not documented
blocks/zilink/plugins/linked_courses/class.php
(#30) Class linked_courses is not documented
(#32) Function linked_courses::__construct is not documented
(#40) Function linked_courses::GetBlockContent is not documented
(#84) Function linked_courses::SetTitle is not documented
(#88) Function linked_courses::RequireContentRegion is not documented
(#92) Function linked_courses::HideHeader is not documented
(#96) Function linked_courses::Cron is not documented
blocks/zilink/plugins/papercut/class.php
(#30) Class papercut is not documented
(#32) Function papercut::__construct is not documented
(#39) Function papercut::GetBlockContent is not documented
(#89) Function papercut::RequireContentRegion is not documented
(#93) Function papercut::SetTitle is not documented
(#97) Function papercut::HideHeader is not documented
(#101) Function papercut::Cron is not documented
blocks/zilink/plugins/picture/class.php
(#32) Class picture is not documented
(#34) Function picture::__construct is not documented
(#41) Function picture::GetBlockContent is not documented
(#98) Function picture::Display is not documented
(#112) Function picture::RequireContentRegion is not documented
(#116) Function picture::SetTitle is not documented
(#120) Function picture::HideHeader is not documented
(#124) Function picture::Cron is not documented
blocks/zilink/plugins/report_writer/class.php
(#30) Class report_writer is not documented
(#32) Function report_writer::__construct is not documented
(#38) Function report_writer::GetBlockContent is not documented
(#98) Function report_writer::RequireContentRegion is not documented
(#102) Function report_writer::SetTitle is not documented
(#106) Function report_writer::HideHeader is not documented
(#110) Function report_writer::Cron is not documented
blocks/zilink/plugins/student_appointment/class.php
(#44) Class student_appointment is not documented
(#46) Function student_appointment::__construct is not documented
(#52) Function student_appointment::GetBlockContent is not documented
(#90) Function student_appointment::RequireContentRegion is not documented
(#94) Function student_appointment::SetTitle is not documented
(#98) Function student_appointment::HideHeader is not documented
(#102) Function student_appointment::Cron is not documented
(#30) Package local_zilink is not valid
blocks/zilink/plugins/student_appointment/lang/en.php
(#20) Package student_appointment is not valid
(#30) Package block_course_appointments is not valid
blocks/zilink/plugins/student_view/class.php
(#30) Class student_view is not documented
(#32) Function student_view::__construct is not documented
(#38) Function student_view::GetBlockContent is not documented
(#71) Function student_view::RequireContentRegion is not documented
(#75) Function student_view::SetTitle is not documented
(#79) Function student_view::HideHeader is not documented
(#83) Function student_view::Cron is not documented
blocks/zilink/plugins/timetable/class.php
(#33) Class timetable is not documented
(#35) Function timetable::GetBlockContent is not documented
(#252) Function timetable::RequireContentRegion is not documented
(#256) Function timetable::SetTitle is not documented
(#260) Function timetable::HideHeader is not documented
(#264) Function timetable::Cron is not documented
blocks/zilink/plugins/timetable_week/class.php
(#33) Class timetable_week is not documented
(#35) Function timetable_week::__construct is not documented
(#41) Function timetable_week::GetBlockContent is not documented
(#109) Function timetable_week::RequireContentRegion is not documented
(#112) Function timetable_week::SetTitle is not documented
(#115) Function timetable_week::HideHeader is not documented
(#118) Function timetable_week::Cron is not documented
blocks/zilink/plugins/timetable_week/edit_form.php
(#30) Class block_zilink_timetable_week_edit_form is not documented
(#31) Function block_zilink_timetable_week_edit_form::definition is not documented
(#61) Function block_zilink_timetable_week_edit_form::set_data is not documented
(#102) Function block_zilink_timetable_week_edit_form::get_editor_options is not documented
blocks/zilink/plugins/zimbra/class.php
(#29) Class zimbra is not documented
(#31) Function zimbra::__construct is not documented
(#37) Function zimbra::GetBlockContent is not documented
(#74) Function zimbra::Display is not documented
(#84) Function zimbra::RequireContentRegion is not documented
(#88) Function zimbra::SetTitle is not documented
(#92) Function zimbra::HideHeader is not documented
(#96) Function zimbra::Cron is not documented

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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