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

(288 errors, 23 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.
(#38) Commas (,) must be followed by white space.
(#41) Public method name "guardian_scheduler::GetBlockContent" must be in lower-case letters only
(#86) Public method name "guardian_scheduler::RequireContentRegion" must be in lower-case letters only
(#90) Public method name "guardian_scheduler::SetTitle" must be in lower-case letters only
(#94) Public method name "guardian_scheduler::HideHeader" must be in lower-case letters only
(#98) 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
(#81) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#82) Whitespace found at end of line
(#83) Whitespace found at end of line
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) This comment is 100% valid code; is this commented out code?
(#84) No space found before comment text; expected "// }" but found "//}"
(#85) Whitespace found at end of line
(#90) Public method name "homework::RequireContentRegion" must be in lower-case letters only
(#94) Public method name "homework::SetTitle" must be in lower-case letters only
(#98) Public method name "homework::HideHeader" must be in lower-case letters only
(#102) Public method name "homework::Cron" must be in lower-case letters only
(#105) Whitespace found at end of line
(#110) Expected 1 space after "="; 0 found
(#111) Expected 1 space after "="; 0 found
(#112) Whitespace found at end of line
(#131) Whitespace found at end of line within string
(#132) Whitespace found at end of line within string
(#133) Whitespace found at end of line within string
(#134) Whitespace found at end of line within string
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) This comment is 60% valid code; is this commented out code?
(#146) No space found before comment text; expected "// $content->items = array();" but found "//$content->items = array();"
(#152) Expected 1 space before "=>"; 0 found
(#152) Expected 1 space after "=>"; 0 found
(#152) Line exceeds maximum limit of 180 characters; contains 198 characters
(#180) Line exceeds maximum limit of 180 characters; contains 251 characters
(#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
(#199) Whitespace found at end of line within string
(#288) Commas (,) must be followed by white space.
(#288) Line exceeds maximum limit of 180 characters; contains 181 characters
(#295) Visibility must be declared on method "import_zilinkhomework_plugin"
(#298) Expected 1 space before "=>"; 0 found
(#298) Expected 1 space after "=>"; 0 found
(#320) Whitespace found at end of line
(#322) Whitespace found at end of line
(#323) 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_report_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"
(#334) Public method name "icon_navigation::RequireContentRegion" must be in lower-case letters only
(#338) Public method name "icon_navigation::HideHeader" must be in lower-case letters only
(#342) 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
(#139) Whitespace found at end of line
(#144) Line indented incorrectly; expected at least 36 spaces, found 35
(#144) Whitespace found at end of line
(#149) Whitespace found at end of line
(#221) Whitespace found at end of line
(#239) Public method name "timetable::RequireContentRegion" must be in lower-case letters only
(#243) Public method name "timetable::SetTitle" must be in lower-case letters only
(#247) Public method name "timetable::HideHeader" must be in lower-case letters only
(#251) 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

(0 errors, 11 warnings)

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

blocks/zilink/plugins/timetable/module.js
(#27) Use '!==' to compare with 'null'.
(#65) Missing semicolon.
(#26) 'uri' is not defined.
(#37) 'uri' is not defined.
(#42) 'results' is not defined.
(#43) 'results' is not defined.
(#44) 'results' is not defined.
(#52) 'o' is defined but never used.
(#52) 'id' is defined but never used.
(#57) 'o' is defined but never used.
(#57) 'id' is defined but never used.

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [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
(#33) Class guardian_scheduler is not documented
(#35) Function guardian_scheduler::__construct is not documented
(#41) Function guardian_scheduler::GetBlockContent is not documented
(#86) Function guardian_scheduler::RequireContentRegion is not documented
(#90) Function guardian_scheduler::SetTitle is not documented
(#94) Function guardian_scheduler::HideHeader is not documented
(#98) 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
(#90) Function homework::RequireContentRegion is not documented
(#94) Function homework::SetTitle is not documented
(#98) Function homework::HideHeader is not documented
(#102) Function homework::Cron is not documented
(#106) Function homework::show_zilinkhomework_overview is not documented
(#278) Function homework::print_user_progressbar is not documented
(#295) 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
(#334) Function icon_navigation::RequireContentRegion is not documented
(#338) Function icon_navigation::HideHeader is not documented
(#342) 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
(#239) Function timetable::RequireContentRegion is not documented
(#243) Function timetable::SetTitle is not documented
(#247) Function timetable::HideHeader is not documented
(#251) 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]