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

(240 errors, 564 warnings)

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

mod/pdfannotator/action.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#46) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#116) Short array syntax must be used to define arrays
(#178) Short array syntax must be used to define arrays
(#197) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#341) Variable "extracted_content" must not contain underscores.
(#347) Variable "extracted_content" must not contain underscores.
(#347) Line exceeds 132 characters; contains 133 characters
(#440) Variable "extracted_content" must not contain underscores.
(#442) Variable "extracted_content" must not contain underscores.
(#485) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#561) Short array syntax must be used to define arrays
(#579) Short array syntax must be used to define arrays
mod/pdfannotator/backup/moodle2/backup_pdfannotator_stepslib.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#56) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
mod/pdfannotator/backup/moodle2/restore_pdfannotator_activity_task.class.php
(#61) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
mod/pdfannotator/backup/moodle2/restore_pdfannotator_stepslib.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Short array syntax must be used to define arrays
(#51) Expected "if (...) {\n"; found "if(...) {\n"
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 12 spaces, found 9
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 12 spaces, found 9
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 12 spaces, found 9
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected at least 12 spaces, found 9
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 12 spaces, found 9
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#153) Inline comments must start with a capital letter, digit or 3-dots sequence
(#153) This comment is 67% valid code; is this commented out code?
mod/pdfannotator/classes/event/course_module_instance_list_viewed.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/pdfannotator/classes/event/course_module_viewed.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Short array syntax must be used to define arrays
mod/pdfannotator/classes/event/report_added.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) This comment is 48% valid code; is this commented out code?
(#55) Short array syntax must be used to define arrays
mod/pdfannotator/classes/output/answermenu.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#52) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
mod/pdfannotator/classes/output/comment.php
(#20) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/pdfannotator/classes/output/index.php
(#37) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Opening brace must be the last content on the line
mod/pdfannotator/classes/output/printview.php
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/pdfannotator/classes/output/questionmenu.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/pdfannotator/classes/output/reportmenu.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#48) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
mod/pdfannotator/classes/output/statistics.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#60) Short array syntax must be used to define arrays
mod/pdfannotator/classes/privacy/provider.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#200) Short array syntax must be used to define arrays
(#211) Line exceeds 132 characters; contains 149 characters
(#212) Short array syntax must be used to define arrays
(#212) Line exceeds 132 characters; contains 158 characters
(#220) Line exceeds 132 characters; contains 170 characters
(#222) Short array syntax must be used to define arrays
(#222) Line exceeds 132 characters; contains 140 characters
(#228) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#240) Short array syntax must be used to define arrays
(#240) Line exceeds 132 characters; contains 175 characters
(#284) Short array syntax must be used to define arrays
(#286) Short array syntax must be used to define arrays
(#292) Short array syntax must be used to define arrays
(#294) Short array syntax must be used to define arrays
(#298) Line exceeds 132 characters; contains 159 characters
(#299) Short array syntax must be used to define arrays
(#301) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
(#307) Short array syntax must be used to define arrays
(#332) Whitespace found at end of line
(#337) Whitespace found at end of line within string
(#338) Whitespace found at end of line within string
(#339) Whitespace found at end of line within string
(#340) Whitespace found at end of line within string
(#341) Whitespace found at end of line within string
(#343) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#352) Whitespace found at end of line within string
(#353) Whitespace found at end of line within string
(#355) Short array syntax must be used to define arrays
(#357) Short array syntax must be used to define arrays
(#364) Short array syntax must be used to define arrays
(#375) Line exceeds 132 characters; contains 173 characters
(#376) Short array syntax must be used to define arrays
(#376) Line exceeds 132 characters; contains 152 characters
(#385) Line exceeds 132 characters; contains 167 characters
(#398) Short array syntax must be used to define arrays
(#403) Short array syntax must be used to define arrays
(#406) Short array syntax must be used to define arrays
(#410) Short array syntax must be used to define arrays
(#413) Short array syntax must be used to define arrays
(#416) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#431) Line exceeds 132 characters; contains 140 characters
(#435) Short array syntax must be used to define arrays
(#440) Line exceeds 132 characters; contains 150 characters
(#441) Short array syntax must be used to define arrays
(#447) Short array syntax must be used to define arrays
(#454) Short array syntax must be used to define arrays
(#511) Inline comments must end in full-stops, exclamation marks, or question marks
mod/pdfannotator/constants.php
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/pdfannotator/controller.php
(#30) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#282) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#436) Short array syntax must be used to define arrays
mod/pdfannotator/db/access.php
(#25) Short array syntax must be used to define arrays
(#26) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
(#35) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#47) There should be a comma after the last array item in a multi-line array.
(#50) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#60) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#72) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#79) There should be a comma after the last array item in a multi-line array.
(#83) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#90) There should be a comma after the last array item in a multi-line array.
(#94) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#100) There should be a comma after the last array item in a multi-line array.
(#104) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#110) There should be a comma after the last array item in a multi-line array.
(#114) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
(#122) There should be a comma after the last array item in a multi-line array.
(#126) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#133) There should be a comma after the last array item in a multi-line array.
(#134) There should be a comma after the last array item in a multi-line array.
(#137) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#144) There should be a comma after the last array item in a multi-line array.
(#148) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#155) There should be a comma after the last array item in a multi-line array.
(#159) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#166) There should be a comma after the last array item in a multi-line array.
(#170) Short array syntax must be used to define arrays
(#173) Short array syntax must be used to define arrays
(#177) There should be a comma after the last array item in a multi-line array.
(#181) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#188) There should be a comma after the last array item in a multi-line array.
(#189) There should be a comma after the last array item in a multi-line array.
(#192) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#198) There should be a comma after the last array item in a multi-line array.
(#199) There should be a comma after the last array item in a multi-line array.
(#202) Short array syntax must be used to define arrays
(#206) Short array syntax must be used to define arrays
(#209) There should be a comma after the last array item in a multi-line array.
(#213) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#220) There should be a comma after the last array item in a multi-line array.
(#224) Short array syntax must be used to define arrays
(#227) Short array syntax must be used to define arrays
(#230) There should be a comma after the last array item in a multi-line array.
(#234) Short array syntax must be used to define arrays
(#237) Short array syntax must be used to define arrays
(#240) There should be a comma after the last array item in a multi-line array.
(#244) Short array syntax must be used to define arrays
(#248) Short array syntax must be used to define arrays
(#251) There should be a comma after the last array item in a multi-line array.
(#255) Short array syntax must be used to define arrays
(#258) Short array syntax must be used to define arrays
(#261) There should be a comma after the last array item in a multi-line array.
(#267) Short array syntax must be used to define arrays
(#270) Short array syntax must be used to define arrays
(#274) There should be a comma after the last array item in a multi-line array.
(#278) Short array syntax must be used to define arrays
(#281) Short array syntax must be used to define arrays
(#289) Short array syntax must be used to define arrays
(#292) Short array syntax must be used to define arrays
(#303) Short array syntax must be used to define arrays
(#306) Short array syntax must be used to define arrays
(#314) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#323) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#335) Short array syntax must be used to define arrays
(#338) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#349) Short array syntax must be used to define arrays
(#356) Short array syntax must be used to define arrays
(#359) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#370) Short array syntax must be used to define arrays
mod/pdfannotator/db/events.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/pdfannotator/db/install.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#38) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
mod/pdfannotator/db/messages.php
(#29) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
(#50) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
mod/pdfannotator/db/upgrade.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#132) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#215) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#230) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#244) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#274) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#312) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#346) Short array syntax must be used to define arrays
(#347) Short array syntax must be used to define arrays
mod/pdfannotator/index.php
(#29) Short array syntax must be used to define arrays
(#30) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) This comment is 72% valid code; is this commented out code?
(#36) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#56) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#117) There should be a comma after the last array item in a multi-line array.
(#121) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#126) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
(#129) There should be a comma after the last array item in a multi-line array.
(#140) Short array syntax must be used to define arrays
mod/pdfannotator/lang/en/pdfannotator.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#143) Whitespace found at end of line within string
(#144) Whitespace found at end of line within string
(#145) Whitespace found at end of line within string
(#146) Whitespace found at end of line within string
(#148) Whitespace found at end of line within string
(#149) Whitespace found at end of line within string
(#150) Whitespace found at end of line within string
(#151) Whitespace found at end of line within string
(#152) Whitespace found at end of line within string
(#153) Whitespace found at end of line within string
(#154) Whitespace found at end of line within string
(#155) Whitespace found at end of line within string
(#165) Whitespace found at end of line within string
(#166) Whitespace found at end of line within string
(#167) Whitespace found at end of line within string
(#255) Whitespace found at end of line within string
(#257) Whitespace found at end of line within string
(#258) Whitespace found at end of line within string
(#259) Whitespace found at end of line within string
(#260) Whitespace found at end of line within string
(#262) Whitespace found at end of line within string
(#265) Whitespace found at end of line within string
(#266) Whitespace found at end of line within string
(#267) Whitespace found at end of line within string
(#268) Whitespace found at end of line within string
(#393) Whitespace found at end of line within string
(#395) Whitespace found at end of line within string
(#396) Whitespace found at end of line within string
(#397) Whitespace found at end of line within string
(#398) Whitespace found at end of line within string
mod/pdfannotator/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#84) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#238) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#263) Whitespace found at end of line within string
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
(#280) This comment is 54% valid code; is this commented out code?
(#300) Short array syntax must be used to define arrays
(#314) Short array syntax must be used to define arrays
(#352) Logical operator "and" is prohibited; use "&&" instead
(#360) Line exceeds 132 characters; contains 137 characters
(#382) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#421) Line exceeds 132 characters; contains 139 characters
(#429) Whitespace found at end of line
(#431) Inline comments must end in full-stops, exclamation marks, or question marks
(#448) Logical operator "or" is prohibited; use "||" instead
(#449) No space found before comment text; expected "// Annotations from other documents might have another contextid." but found "//Annotations from other documents might have another contextid."
(#453) Line exceeds 132 characters; contains 135 characters
(#456) Logical operator "or" is prohibited; use "||" instead
(#473) Short array syntax must be used to define arrays
(#484) Short array syntax must be used to define arrays
(#486) Short array syntax must be used to define arrays
(#491) Short array syntax must be used to define arrays
(#498) Line exceeds 132 characters; contains 136 characters
(#519) Inline comments must start with a capital letter, digit or 3-dots sequence
(#519) This comment is 58% valid code; is this commented out code?
(#523) Inline comments must end in full-stops, exclamation marks, or question marks
(#530) Inline comments must start with a capital letter, digit or 3-dots sequence
(#530) This comment is 49% valid code; is this commented out code?
(#544) Inline comments must end in full-stops, exclamation marks, or question marks
(#558) Short array syntax must be used to define arrays
(#560) There should be a comma after the last array item in a multi-line array.
(#583) Short array syntax must be used to define arrays
(#584) Short array syntax must be used to define arrays
(#634) Short array syntax must be used to define arrays
(#640) Short array syntax must be used to define arrays
(#655) Line exceeds 132 characters; contains 146 characters
(#655) Whitespace found at end of line within string
(#656) Whitespace found at end of line within string
(#657) Whitespace found at end of line within string
(#658) Whitespace found at end of line within string
(#659) Whitespace found at end of line within string
(#660) Whitespace found at end of line within string
(#661) Whitespace found at end of line within string
(#662) Whitespace found at end of line within string
(#666) Short array syntax must be used to define arrays
(#697) Inline comments must start with a capital letter, digit or 3-dots sequence
(#697) This comment is 69% valid code; is this commented out code?
(#728) There should be a comma after the last array item in a multi-line array.
(#737) There should be a comma after the last array item in a multi-line array.
(#742) Inline comments must start with a capital letter, digit or 3-dots sequence
(#742) This comment is 59% valid code; is this commented out code?
(#744) Line exceeds 132 characters; contains 143 characters
(#758) Line exceeds 132 characters; contains 142 characters
(#760) Line exceeds 132 characters; contains 175 characters
(#761) Inline comments must start with a capital letter, digit or 3-dots sequence
(#761) This comment is 60% valid code; is this commented out code?
(#803) This comment is 71% valid code; is this commented out code?
(#803) Line exceeds maximum limit of 180 characters; contains 190 characters
(#808) Line exceeds maximum limit of 180 characters; contains 207 characters
(#809) Line exceeds maximum limit of 180 characters; contains 208 characters
(#811) Whitespace found at end of line
(#824) Line exceeds 132 characters; contains 146 characters
(#825) Whitespace found at end of line
(#827) Line exceeds maximum limit of 180 characters; contains 206 characters
(#828) Line exceeds maximum limit of 180 characters; contains 208 characters
mod/pdfannotator/locallib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#47) Line exceeds 132 characters; contains 138 characters
(#52) Line exceeds 132 characters; contains 136 characters
(#95) Line exceeds 132 characters; contains 137 characters
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) This comment is 73% valid code; is this commented out code?
(#102) No space found before comment text; expected "// pdfannotator_data_preprocessing($context, 'id_pdfannotator_content', "editor-commentlist-inputs");" but found "//pdfannotator_data_preprocessing($context, 'id_pdfannotator_content', "editor-commentlist-inputs");"
(#112) Variable "image_options" must not contain underscores.
(#113) Variable "image_options" must not contain underscores.
(#114) Variable "image_options" must not contain underscores.
(#115) Variable "image_options" must not contain underscores.
(#116) Variable "image_options" must not contain underscores.
(#118) Variable "image_options" must not contain underscores.
(#119) Variable "image_options" must not contain underscores.
(#129) Whitespace found at end of line
(#130) Whitespace found at end of line
(#132) Whitespace found at end of line
(#143) Expected "if (...) {\n"; found "if(...) {\n"
(#144) Line exceeds 132 characters; contains 135 characters
(#175) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#176) Logical operator "and" is prohibited; use "&&" instead
(#194) Whitespace found at end of line
(#195) Variable "imgpos_start" must not contain underscores.
(#195) Whitespace found at end of line
(#196) Variable "imgpos_end" must not contain underscores.
(#196) Variable "imgpos_start" must not contain underscores.
(#198) Variable "imgpos_start" must not contain underscores.
(#199) Variable "imgpos_start" must not contain underscores.
(#199) Variable "imgpos_end" must not contain underscores.
(#199) Variable "imgpos_start" must not contain underscores.
(#200) Variable "imgpos_end" must not contain underscores.
(#200) Variable "imgpos_end" must not contain underscores.
(#207) Whitespace found at end of line
(#214) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#216) Expected "if (...) {\n"; found "if(...) {\n"
(#223) Expected "if (...) {\n"; found "if(...) {\n"
(#232) Expected "} else if (...) {\n"; found "} else if (...){\n"
(#232) Expected "if (...) {\n"; found "if (...){\n"
(#234) Expected 1 space after "="; 2 found
(#244) Whitespace found at end of line
(#269) Whitespace found at end of line
(#288) Variable "image_options" must not contain underscores.
(#298) Expected "if (...) {\n"; found "if(...) {\n"
(#301) Inline comments must start with a capital letter, digit or 3-dots sequence
(#302) Whitespace found at end of line
(#303) Inline comments must start with a capital letter, digit or 3-dots sequence
(#303) Whitespace found at end of line
(#308) Inline comments must start with a capital letter, digit or 3-dots sequence
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#309) Variable "image_options" must not contain underscores.
(#310) Variable "image_options" must not contain underscores.
(#311) Variable "image_options" must not contain underscores.
(#312) Variable "image_options" must not contain underscores.
(#313) Variable "image_options" must not contain underscores.
(#314) Variable "image_options" must not contain underscores.
(#315) Variable "image_options" must not contain underscores.
(#319) Variable "image_options" must not contain underscores.
(#320) Variable "image_options" must not contain underscores.
(#326) Inline comments must start with a capital letter, digit or 3-dots sequence
(#326) This comment is 77% valid code; is this commented out code?
(#326) No space found before comment text; expected "// $PAGE->requires->js_init_call('inputDraftItemID', [$draftitemid, (int)$editorformat, $classname]);" but found "//$PAGE->requires->js_init_call('inputDraftItemID', [$draftitemid, (int)$editorformat, $classname]);"
(#327) Whitespace found at end of line
(#335) Line exceeds 132 characters; contains 139 characters
(#349) Variable "file_record" must not contain underscores.
(#349) Expected 1 space before "=>"; 0 found
(#349) Expected 1 space after "=>"; 0 found
(#349) Expected 1 space before "=>"; 0 found
(#349) Expected 1 space after "=>"; 0 found
(#349) Expected 1 space before "=>"; 0 found
(#349) Expected 1 space after "=>"; 0 found
(#349) Expected 1 space before "=>"; 0 found
(#349) Expected 1 space after "=>"; 0 found
(#350) Logical operator "and" is prohibited; use "&&" instead
(#352) Logical operator "and" is prohibited; use "&&" instead
(#353) Inline comments must start with a capital letter, digit or 3-dots sequence
(#354) Inline comments must end in full-stops, exclamation marks, or question marks
(#357) Logical operator "and" is prohibited; use "&&" instead
(#357) Logical operator "or" is prohibited; use "||" instead
(#362) Variable "file_record" must not contain underscores.
(#367) Variable "file_record" must not contain underscores.
(#372) Inline comments must end in full-stops, exclamation marks, or question marks
(#385) Inline comments must end in full-stops, exclamation marks, or question marks
(#389) Inline comments must start with a capital letter, digit or 3-dots sequence
(#391) Inline comments must end in full-stops, exclamation marks, or question marks
(#394) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#400) Inline comments must start with a capital letter, digit or 3-dots sequence
(#407) Short array syntax must be used to define arrays
(#412) Short array syntax must be used to define arrays
(#417) Short array syntax must be used to define arrays
(#426) Short array syntax must be used to define arrays
(#434) Short array syntax must be used to define arrays
(#444) This comment is 50% valid code; is this commented out code?
(#450) Short array syntax must be used to define arrays
(#489) Inline comments must end in full-stops, exclamation marks, or question marks
(#513) Short array syntax must be used to define arrays
(#543) Line exceeds 132 characters; contains 151 characters
(#543) Inline comments must start with a capital letter, digit or 3-dots sequence
(#549) Line exceeds 132 characters; contains 153 characters
(#569) Line exceeds 132 characters; contains 133 characters
(#573) Line exceeds 132 characters; contains 149 characters
(#602) Short array syntax must be used to define arrays
(#602) Short array syntax must be used to define arrays
(#609) Line exceeds 132 characters; contains 152 characters
(#611) Short array syntax must be used to define arrays
(#619) Line exceeds 132 characters; contains 171 characters
(#634) Line exceeds 132 characters; contains 149 characters
(#636) Short array syntax must be used to define arrays
(#650) Short array syntax must be used to define arrays
(#653) Line exceeds 132 characters; contains 153 characters
(#710) Short array syntax must be used to define arrays
(#766) Inline comments must start with a capital letter, digit or 3-dots sequence
(#766) This comment is 67% valid code; is this commented out code?
(#786) Short array syntax must be used to define arrays
(#813) Short array syntax must be used to define arrays
(#820) Short array syntax must be used to define arrays
(#826) Line exceeds 132 characters; contains 143 characters
(#830) Line exceeds 132 characters; contains 161 characters
(#845) Logical operator "and" is prohibited; use "&&" instead
(#852) Logical operator "and" is prohibited; use "&&" instead
(#868) Short array syntax must be used to define arrays
(#885) Line exceeds 132 characters; contains 136 characters
(#923) Line exceeds 132 characters; contains 139 characters
(#952) Line exceeds 132 characters; contains 135 characters
(#952) Inline comments must end in full-stops, exclamation marks, or question marks
(#963) Line exceeds 132 characters; contains 135 characters
(#963) Inline comments must end in full-stops, exclamation marks, or question marks
(#1004) Short array syntax must be used to define arrays
(#1046) Line exceeds 132 characters; contains 136 characters
(#1099) Short array syntax must be used to define arrays
(#1135) Line exceeds 132 characters; contains 140 characters
(#1172) Short array syntax must be used to define arrays
(#1229) Line exceeds 132 characters; contains 139 characters
(#1243) Short array syntax must be used to define arrays
(#1245) Short array syntax must be used to define arrays
(#1245) Line exceeds 132 characters; contains 133 characters
(#1311) Line exceeds 132 characters; contains 156 characters
(#1322) Short array syntax must be used to define arrays
(#1324) Short array syntax must be used to define arrays
(#1331) Short array syntax must be used to define arrays
(#1331) Line exceeds 132 characters; contains 142 characters
(#1676) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1679) Line exceeds 132 characters; contains 149 characters
(#1721) Line exceeds 132 characters; contains 149 characters
(#1729) Line exceeds 132 characters; contains 137 characters
(#1741) Line exceeds 132 characters; contains 137 characters
(#1764) Line exceeds 132 characters; contains 149 characters
(#1807) Line exceeds 132 characters; contains 149 characters
(#1814) Line exceeds 132 characters; contains 137 characters
(#1826) Line exceeds 132 characters; contains 137 characters
(#1847) Line exceeds 132 characters; contains 161 characters
(#1850) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1850) This comment is 54% valid code; is this commented out code?
(#1854) Line exceeds 132 characters; contains 176 characters
(#1868) Short array syntax must be used to define arrays
(#1886) Line exceeds 132 characters; contains 135 characters
(#1893) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1912) Line exceeds 132 characters; contains 161 characters
(#1928) Line exceeds 132 characters; contains 148 characters
(#1930) Short array syntax must be used to define arrays
(#1930) Line exceeds 132 characters; contains 140 characters
(#1949) Short array syntax must be used to define arrays
(#1964) Line exceeds 132 characters; contains 135 characters
(#1966) Whitespace found at end of line
(#1974) Line exceeds 132 characters; contains 170 characters
(#1976) Line exceeds 132 characters; contains 171 characters
(#1990) Short array syntax must be used to define arrays
(#1990) Line exceeds 132 characters; contains 163 characters
(#2002) Short array syntax must be used to define arrays
(#2002) Line exceeds 132 characters; contains 133 characters
(#2006) Short array syntax must be used to define arrays
(#2011) Short array syntax must be used to define arrays
(#2051) Line exceeds 132 characters; contains 166 characters
(#2056) Line exceeds 132 characters; contains 166 characters
(#2062) Short array syntax must be used to define arrays
(#2084) Short array syntax must be used to define arrays
(#2096) Line exceeds 132 characters; contains 152 characters
(#2108) Short array syntax must be used to define arrays
(#2120) File must end with a newline character
mod/pdfannotator/mod_form.php
(#22) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#40) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#85) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#116) Logical operator "and" is prohibited; use "&&" instead
(#117) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
mod/pdfannotator/model/annotation.class.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#79) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#119) Short array syntax must be used to define arrays
(#122) Short array syntax must be used to define arrays
(#125) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#252) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
mod/pdfannotator/model/comment.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#46) Short array syntax must be used to define arrays
(#62) Whitespace found at end of line
(#67) Line exceeds 132 characters; contains 152 characters
(#74) Whitespace found at end of line
(#120) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#172) Short array syntax must be used to define arrays
(#207) Line exceeds 132 characters; contains 133 characters
(#261) Short array syntax must be used to define arrays
(#286) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#295) This comment is 75% valid code; is this commented out code?
(#305) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#343) Short array syntax must be used to define arrays
(#367) Short array syntax must be used to define arrays
(#373) Short array syntax must be used to define arrays
(#378) Short array syntax must be used to define arrays
(#397) Short array syntax must be used to define arrays
(#400) Short array syntax must be used to define arrays
(#423) Line exceeds 132 characters; contains 142 characters
(#434) Short array syntax must be used to define arrays
(#460) Short array syntax must be used to define arrays
(#483) Short array syntax must be used to define arrays
(#487) Short array syntax must be used to define arrays
(#507) Short array syntax must be used to define arrays
(#508) Short array syntax must be used to define arrays
(#557) Short array syntax must be used to define arrays
(#567) Short array syntax must be used to define arrays
(#577) Short array syntax must be used to define arrays
(#588) Short array syntax must be used to define arrays
(#598) Short array syntax must be used to define arrays
(#629) Short array syntax must be used to define arrays
mod/pdfannotator/model/overviewtable.php
(#31) Possible useless method overriding detected
(#36) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) This comment is 67% valid code; is this commented out code?
(#69) Short array syntax must be used to define arrays
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) This comment is 68% valid code; is this commented out code?
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) This comment is 60% valid code; is this commented out code?
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) This comment is 56% valid code; is this commented out code?
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) This comment is 63% valid code; is this commented out code?
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) This comment is 68% valid code; is this commented out code?
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) This comment is 65% valid code; is this commented out code?
(#99) Short array syntax must be used to define arrays
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) This comment is 67% valid code; is this commented out code?
(#129) Short array syntax must be used to define arrays
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) This comment is 68% valid code; is this commented out code?
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) This comment is 60% valid code; is this commented out code?
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#142) This comment is 60% valid code; is this commented out code?
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) This comment is 68% valid code; is this commented out code?
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) This comment is 65% valid code; is this commented out code?
(#149) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) This comment is 68% valid code; is this commented out code?
(#150) Short array syntax must be used to define arrays
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) This comment is 67% valid code; is this commented out code?
(#171) Short array syntax must be used to define arrays
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
(#178) This comment is 68% valid code; is this commented out code?
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) This comment is 68% valid code; is this commented out code?
(#183) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) This comment is 58% valid code; is this commented out code?
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) This comment is 65% valid code; is this commented out code?
(#187) Short array syntax must be used to define arrays
(#205) Short array syntax must be used to define arrays
(#213) Inline comments must start with a capital letter, digit or 3-dots sequence
(#213) This comment is 68% valid code; is this commented out code?
(#215) Inline comments must start with a capital letter, digit or 3-dots sequence
(#215) This comment is 60% valid code; is this commented out code?
(#218) Inline comments must start with a capital letter, digit or 3-dots sequence
(#218) This comment is 68% valid code; is this commented out code?
(#220) Inline comments must start with a capital letter, digit or 3-dots sequence
(#220) This comment is 60% valid code; is this commented out code?
(#223) Inline comments must start with a capital letter, digit or 3-dots sequence
(#223) This comment is 68% valid code; is this commented out code?
(#224) Short array syntax must be used to define arrays
mod/pdfannotator/model/pdfannotator.php
(#45) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#48) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
mod/pdfannotator/model/statistics.class.php
(#23) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#51) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#137) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#155) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#298) Short array syntax must be used to define arrays
(#305) Short array syntax must be used to define arrays
mod/pdfannotator/renderer.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#72) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#127) Short array syntax must be used to define arrays
mod/pdfannotator/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#53) Short array syntax must be used to define arrays
(#59) Whitespace found at end of line
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#67) Whitespace found at end of line within string
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#80) Whitespace found at end of line
mod/pdfannotator/tests/privacy/provider_test.php
(#125) Test method test_delete_data_for_users() is missing any coverage information, own or at class level
(#183) Expected 1 space after "="; 2 found
(#194) Variable "count_subs" must not contain underscores.
(#199) Variable "count_subs" must not contain underscores.
(#206) Variable "count_votes" must not contain underscores.
(#211) Variable "count_votes" must not contain underscores.
(#214) Variable "count_annotations" must not contain underscores.
(#215) Variable "count_annotations" must not contain underscores.
(#215) Whitespace found at end of line
(#216) Variable "count_reports" must not contain underscores.
(#217) Variable "count_reports" must not contain underscores.
(#218) Variable "count_comments" must not contain underscores.
(#219) Variable "count_comments" must not contain underscores.
(#222) Variable "count_pics" must not contain underscores.
(#229) Variable "count_pics" must not contain underscores.
(#229) Whitespace found at end of line
(#231) File must end with a newline character
mod/pdfannotator/view.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#37) Short array syntax must be used to define arrays
(#38) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#43) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#45) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#81) Whitespace found at end of line
(#85) Whitespace found at end of line

Javascript coding style problems

(74 errors, 82 warnings)

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

mod/pdfannotator/shared/locallib.js
(#8) Missing JSDoc comment. (require-jsdoc)
(#8) 'addDropdownNavigation' is defined but never used. (no-unused-vars)
(#49) This line has a length of 205. Maximum allowed is 132. (max-len)
(#61) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Unexpected space before function parentheses. (space-before-function-paren)
(#69) Unexpected space before function parentheses. (space-before-function-paren)
(#71) '$' is not defined. (no-undef)
(#76) '$' is not defined. (no-undef)
(#76) Unexpected space before function parentheses. (space-before-function-paren)
(#79) '$' is not defined. (no-undef)
(#79) Unexpected space before function parentheses. (space-before-function-paren)
(#80) '$' is not defined. (no-undef)
(#86) Missing JSDoc comment. (require-jsdoc)
(#86) 'renderMathJax' is defined but never used. (no-unused-vars)
(#88) Unexpected space before function parentheses. (space-before-function-paren)
(#90) 'MathJax' is not defined. (no-undef)
(#90) 'MathJax' is not defined. (no-undef)
(#94) Empty block statement. (no-empty)
(#100) Missing JSDoc comment. (require-jsdoc)
(#100) 'fixCommentForm' is defined but never used. (no-unused-vars)
(#101) '$' is not defined. (no-undef)
(#102) '$' is not defined. (no-undef)
(#103) '$' is not defined. (no-undef)
(#104) '$' is not defined. (no-undef)
(#107) '$' is not defined. (no-undef)
(#107) '$' is not defined. (no-undef)
(#108) '$' is not defined. (no-undef)
(#109) '$' is not defined. (no-undef)
(#110) '$' is not defined. (no-undef)
(#111) '$' is not defined. (no-undef)
(#112) '$' is not defined. (no-undef)
(#114) '$' is not defined. (no-undef)
(#118) '$' is not defined. (no-undef)
(#118) Unexpected space before function parentheses. (space-before-function-paren)
(#118) 'event' is defined but never used. (no-unused-vars)
(#122) '$' is not defined. (no-undef)
(#122) Unexpected space before function parentheses. (space-before-function-paren)
(#122) 'event' is defined but never used. (no-unused-vars)
(#124) '$' is not defined. (no-undef)
(#125) '$' is not defined. (no-undef)
(#126) '$' is not defined. (no-undef)
(#127) '$' is not defined. (no-undef)
(#130) '$' is not defined. (no-undef)
(#137) Missing JSDoc comment. (require-jsdoc)
(#138) '$' is not defined. (no-undef)
(#140) '$' is not defined. (no-undef)
(#144) '$' is not defined. (no-undef)
(#145) '$' is not defined. (no-undef)
(#146) '$' is not defined. (no-undef)
(#150) Missing JSDoc comment. (require-jsdoc)
(#150) 'closeComment' is defined but never used. (no-unused-vars)
(#157) Missing JSDoc comment. (require-jsdoc)
(#157) 'makeFullScreen' is defined but never used. (no-unused-vars)
(#180) Missing JSDoc for parameter 'Y'. (valid-jsdoc)
(#182) Trailing spaces not allowed. (no-trailing-spaces)
(#184) 'checkOnlyOneCheckbox' is defined but never used. (no-unused-vars)
(#184) There should be no space after this paren. (space-in-parens)
(#184) 'Y' is defined but never used. (no-unused-vars)
(#184) There should be no space before this paren. (space-in-parens)
(#185) 'radios' is assigned a value but never used. (no-unused-vars)
(#189) Expected space(s) after "if". (keyword-spacing)
(#190) Missing space before opening brace. (space-before-blocks)
(#191) Expected space(s) after "if". (keyword-spacing)
(#192) Expected space(s) after "if". (keyword-spacing)
(#192) Missing space before opening brace. (space-before-blocks)
(#195) Expected space(s) after "if". (keyword-spacing)
(#202) Expected space(s) after "if". (keyword-spacing)
(#203) Missing space before opening brace. (space-before-blocks)
(#204) Expected space(s) after "if". (keyword-spacing)
(#205) Expected space(s) after "if". (keyword-spacing)
(#205) Missing space before opening brace. (space-before-blocks)
(#208) Expected space(s) after "if". (keyword-spacing)
(#215) Expected space(s) after "if". (keyword-spacing)
(#216) Missing space before opening brace. (space-before-blocks)
(#217) Expected space(s) after "if". (keyword-spacing)
(#218) Expected space(s) after "if". (keyword-spacing)
(#218) Missing space before opening brace. (space-before-blocks)
(#221) Expected space(s) after "if". (keyword-spacing)
(#229) Missing JSDoc comment. (require-jsdoc)
(#229) 'setTimeoutNotification' is defined but never used. (no-unused-vars)
(#229) Missing space before opening brace. (space-before-blocks)
(#230) Missing space before opening brace. (space-before-blocks)
(#232) Trailing spaces not allowed. (no-trailing-spaces)
(#234) Trailing spaces not allowed. (no-trailing-spaces)
mod/pdfannotator/shared/overview.js
(#9) Missing JSDoc for parameter '__capabilities'. (valid-jsdoc)
(#9) Missing JSDoc for parameter '__action'. (valid-jsdoc)
(#13) Expected JSDoc for '__cmid' but found '__role'. (valid-jsdoc)
(#16) 'startOverview' is defined but never used. (no-unused-vars)
(#18) Unexpected space before function parentheses. (space-before-function-paren)
(#18) 'templates' is defined but never used. (no-unused-vars)
(#18) 'notification' is defined but never used. (no-unused-vars)
(#20) Expected space or tab after '/**' in comment. (spaced-comment)
(#26) 'addDropdownNavigation' is not defined. (no-undef)
(#41) Expected space or tab after '/**' in comment. (spaced-comment)
(#51) There should be no space after this paren. (space-in-parens)
(#61) Unexpected space before function parentheses. (space-before-function-paren)
(#70) Expected space or tab after '/**' in comment. (spaced-comment)
(#129) A space is required after ','. (comma-spacing)
(#145) Unexpected space before function parentheses. (space-before-function-paren)
(#153) This line has a length of 203. Maximum allowed is 132. (max-len)
(#153) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#153) There should be no space after this paren. (space-in-parens)
(#153) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#153) Use '===' to compare with null. (no-eq-null)
(#153) There should be no space before this paren. (space-in-parens)
(#190) Missing JSDoc comment. (require-jsdoc)
(#241) Missing JSDoc comment. (require-jsdoc)
(#341) Missing JSDoc comment. (require-jsdoc)
(#342) Unexpected space before function parentheses. (space-before-function-paren)
(#355) There should be no space after this paren. (space-in-parens)
(#396) Unexpected space before function parentheses. (space-before-function-paren)
(#401) Unexpected space before function parentheses. (space-before-function-paren)
(#403) Trailing spaces not allowed. (no-trailing-spaces)
(#409) Missing semicolon. (semi)
(#428) Unnecessary escape character: \(. (no-useless-escape)
(#433) Unnecessary escape character: \). (no-useless-escape)
(#436) Unnecessary escape character: \[. (no-useless-escape)
(#441) Unnecessary escape character: \]. (no-useless-escape)
(#449) Missing semicolon. (semi)
(#459) This line has a length of 225. Maximum allowed is 132. (max-len)
(#466) Unexpected space before function parentheses. (space-before-function-paren)
(#481) Missing JSDoc comment. (require-jsdoc)
(#483) Unexpected space before function parentheses. (space-before-function-paren)
(#485) 'MathJax' is not defined. (no-undef)
(#485) 'MathJax' is not defined. (no-undef)
(#489) Empty block statement. (no-empty)
mod/pdfannotator/shared/statistic.js
(#9) This line has a length of 199. Maximum allowed is 132. (max-len)
(#9) Missing JSDoc comment. (require-jsdoc)
(#9) 'setCharts' is defined but never used. (no-unused-vars)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#18) This line has a length of 205. Maximum allowed is 132. (max-len)
(#22) 'myChart' is assigned a value but never used. (no-unused-vars)
(#34) This line has a length of 144. Maximum allowed is 132. (max-len)
(#48) This line has a length of 148. Maximum allowed is 132. (max-len)
(#62) Duplicate key 'borderColor'. (no-dupe-keys)
(#63) Duplicate key 'borderWidth'. (no-dupe-keys)
(#64) Trailing spaces not allowed. (no-trailing-spaces)
(#66) This line has a length of 142. Maximum allowed is 132. (max-len)
(#72) Duplicate key 'borderColor'. (no-dupe-keys)
(#73) Duplicate key 'borderWidth'. (no-dupe-keys)
(#74) Trailing spaces not allowed. (no-trailing-spaces)
(#83) This line has a length of 146. Maximum allowed is 132. (max-len)
(#99) This line has a length of 145. Maximum allowed is 132. (max-len)
(#150) Missing JSDoc @returns for function. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'otherquestions'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'myquestions'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'otheranswers'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'myanswers'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'otherprivate'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'myprivate'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'otherprotectedquestions'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'myprotectedquestions'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'otherprotectedanswers'. (valid-jsdoc)
(#150) Missing JSDoc for parameter 'myprotectedanswers'. (valid-jsdoc)
(#153) This line has a length of 192. Maximum allowed is 132. (max-len)
(#165) Trailing spaces not allowed. (no-trailing-spaces)

CSS problems

(90 errors, 2 warnings)

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

mod/pdfannotator/styles.css
(#917) Expected single space before "{" (block-opening-brace-space-before)
(#554) Unexpected !important (declaration-no-important)
(#582) Unexpected !important (declaration-no-important)
(#645) Unexpected !important (declaration-no-important)
(#741) Unexpected !important (declaration-no-important)
(#745) Unexpected !important (declaration-no-important)
(#754) Unexpected !important (declaration-no-important)
(#762) Unexpected !important (declaration-no-important)
(#766) Unexpected !important (declaration-no-important)
(#771) Unexpected !important (declaration-no-important)
(#775) Unexpected !important (declaration-no-important)
(#805) Unexpected !important (declaration-no-important)
(#865) Unexpected !important (declaration-no-important)
(#868) Unexpected !important (declaration-no-important)
(#869) Unexpected !important (declaration-no-important)
(#931) Unexpected !important (declaration-no-important)
(#945) Unexpected !important (declaration-no-important)
(#948) Unexpected !important (declaration-no-important)
(#951) Unexpected !important (declaration-no-important)
(#954) Unexpected !important (declaration-no-important)
(#1024) Unexpected !important (declaration-no-important)
(#1172) Unexpected !important (declaration-no-important)
(#1181) Unexpected !important (declaration-no-important)
(#1197) Unexpected !important (declaration-no-important)
(#1198) Unexpected !important (declaration-no-important)
(#1280) Unexpected !important (declaration-no-important)
(#205) Unexpected URL scheme "data:" (function-url-scheme-blacklist)
(#230) Unexpected URL scheme "data:" (function-url-scheme-blacklist)
(#708) Unexpected unit (length-zero-no-unit)
(#264) Unexpected whitespace at end of line (no-eol-whitespace)
(#268) Unexpected whitespace at end of line (no-eol-whitespace)
(#274) Unexpected whitespace at end of line (no-eol-whitespace)
(#284) Unexpected whitespace at end of line (no-eol-whitespace)
(#341) Unexpected whitespace at end of line (no-eol-whitespace)
(#347) Unexpected whitespace at end of line (no-eol-whitespace)
(#403) Unexpected whitespace at end of line (no-eol-whitespace)
(#479) Unexpected whitespace at end of line (no-eol-whitespace)
(#537) Unexpected whitespace at end of line (no-eol-whitespace)
(#237) Unexpected extra semicolon (no-extra-semicolons)
(#250) Expected indentation of 4 spaces (indentation)
(#251) Expected indentation of 4 spaces (indentation)
(#252) Expected indentation of 4 spaces (indentation)
(#253) Expected indentation of 4 spaces (indentation)
(#254) Expected indentation of 4 spaces (indentation)
(#255) Expected indentation of 4 spaces (indentation)
(#256) Expected indentation of 4 spaces (indentation)
(#257) Expected indentation of 4 spaces (indentation)
(#258) Expected indentation of 4 spaces (indentation)
(#290) Expected indentation of 4 spaces (indentation)
(#296) Expected indentation of 4 spaces (indentation)
(#297) Expected indentation of 4 spaces (indentation)
(#305) Expected indentation of 4 spaces (indentation)
(#306) Expected indentation of 4 spaces (indentation)
(#307) Expected indentation of 4 spaces (indentation)
(#313) Expected indentation of 4 spaces (indentation)
(#314) Expected indentation of 4 spaces (indentation)
(#315) Expected indentation of 4 spaces (indentation)
(#316) Expected indentation of 4 spaces (indentation)
(#321) Expected indentation of 4 spaces (indentation)
(#322) Expected indentation of 4 spaces (indentation)
(#323) Expected indentation of 4 spaces (indentation)
(#327) Expected indentation of 4 spaces (indentation)
(#331) Expected indentation of 4 spaces (indentation)
(#360) Expected indentation of 4 spaces (indentation)
(#361) Expected indentation of 4 spaces (indentation)
(#402) Expected indentation of 0 spaces (indentation)
(#405) Expected indentation of 4 spaces (indentation)
(#422) Expected indentation of 4 spaces (indentation)
(#441) Expected indentation of 4 spaces (indentation)
(#437) Expected indentation of 8 spaces (indentation)
(#438) Expected indentation of 8 spaces (indentation)
(#439) Expected indentation of 8 spaces (indentation)
(#440) Expected indentation of 8 spaces (indentation)
(#445) Expected indentation of 4 spaces (indentation)
(#481) Expected indentation of 4 spaces (indentation)
(#482) Expected indentation of 4 spaces (indentation)
(#488) Expected indentation of 4 spaces (indentation)
(#489) Expected indentation of 4 spaces (indentation)
(#490) Expected indentation of 4 spaces (indentation)
(#495) Expected indentation of 4 spaces (indentation)
(#501) Expected indentation of 4 spaces (indentation)
(#502) Expected indentation of 4 spaces (indentation)
(#511) Expected indentation of 4 spaces (indentation)
(#512) Expected indentation of 4 spaces (indentation)
(#518) Expected indentation of 4 spaces (indentation)
(#519) Expected indentation of 4 spaces (indentation)
(#525) Expected indentation of 4 spaces (indentation)
(#526) Expected indentation of 4 spaces (indentation)
(#559) Expected indentation of 4 spaces (indentation)
(#563) Expected indentation of 4 spaces (indentation)
(#567) Expected indentation of 4 spaces (indentation)
(#568) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(247 errors, 38 warnings)

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

mod/pdfannotator/action.php
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/backup/moodle2/backup_pdfannotator_activity_task.class.php
(#35) No one-line description found in phpdocs for class backup_pdfannotator_activity_task
mod/pdfannotator/backup/moodle2/restore_pdfannotator_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#35) No one-line description found in phpdocs for class restore_pdfannotator_activity_task
mod/pdfannotator/backup/moodle2/restore_pdfannotator_stepslib.php
(#42) Function restore_pdfannotator_activity_structure_step::define_structure is not documented
(#69) Function restore_pdfannotator_activity_structure_step::process_pdfannotator is not documented
(#84) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_annotation is not documented
(#99) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_subscription is not documented
(#114) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_comment is not documented
(#129) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_vote is not documented
(#142) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_report is not documented
(#161) Function restore_pdfannotator_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/classes/event/course_module_instance_list_viewed.php
(#21) Class course_module_instance_list_viewed is not documented
(#21) Package is not specified for class course_module_instance_list_viewed. It is also not specified in file-level phpdocs
mod/pdfannotator/classes/event/course_module_viewed.php
(#22) Class course_module_viewed is not documented
(#35) Function course_module_viewed::get_objectid_mapping is not documented
(#22) Package is not specified for class course_module_viewed. It is also not specified in file-level phpdocs
mod/pdfannotator/classes/event/report_added.php
(#40) Function report_added::init is not documented
(#46) Function report_added::get_name is not documented
(#50) Function report_added::get_description is not documented
(#54) Function report_added::get_url is not documented
(#20) Package pdfannotator is not valid
mod/pdfannotator/classes/output/answermenu.php
(#31) Class answermenu is not documented
(#33) Variable answermenu::$url is not documented
(#34) Variable answermenu::$iconclass is not documented
(#35) Variable answermenu::$label is not documented
(#36) Variable answermenu::$buttonclass is not documented
(#84) Phpdocs for function answermenu::export_for_template has incomplete parameters list
mod/pdfannotator/classes/output/comment.php
(#125) Function comment::addcssclasses is not documented
(#140) Function comment::setvotes is not documented
(#232) Function comment::addhidebutton is not documented
(#273) Function comment::addsubscribebutton is not documented
(#286) Function comment::addforwardbutton is not documented
(#299) Function comment::addmarksolvedbutton is not documented
(#32) Variable comment::$comments is not documented
(#33) Variable comment::$questionvisibility is not documented
(#38) Phpdocs for function comment::__construct has incomplete parameters list
(#115) Phpdocs for function comment::export_for_template has incomplete parameters list
(#167) Phpdocs for function comment::addsolvedicon has incomplete parameters list
(#183) Phpdocs for function comment::addreportbutton has incomplete parameters list
(#197) Phpdocs for function comment::addcloseopenbutton has incomplete parameters list
(#219) Phpdocs for function comment::addeditbutton has incomplete parameters list
(#260) Phpdocs for function comment::adddeletebutton has incomplete parameters list
mod/pdfannotator/classes/output/index.php
(#39) Class index is not documented
(#49) Function index::__construct is not documented
(#62) Function index::export_for_template is not documented
(#41) Variable index::$usestudenttextbox is not documented
(#42) Variable index::$usestudentdrawing is not documented
(#43) Variable index::$useprint is not documented
(#44) Variable index::$useprintcomments is not documented
(#45) Variable index::$printurl is not documented
(#46) Variable index::$useprivatecomments is not documented
(#47) Variable index::$useprotectedcomments is not documented
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/classes/output/printview.php
(#33) Class printview is not documented
(#40) Function printview::__construct is not documented
(#47) Function printview::export_for_template is not documented
(#35) Variable printview::$documentname is not documented
(#36) Variable printview::$conversations is not documented
(#37) Variable printview::$url is not documented
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/classes/output/questionmenu.php
(#31) Class questionmenu is not documented
(#33) Variable questionmenu::$url is not documented
(#34) Variable questionmenu::$iconclass is not documented
(#35) Variable questionmenu::$label is not documented
(#36) Variable questionmenu::$buttonclass is not documented
(#67) Phpdocs for function questionmenu::export_for_template has incomplete parameters list
mod/pdfannotator/classes/output/reportmenu.php
(#31) Class reportmenu is not documented
(#33) Variable reportmenu::$url is not documented
(#34) Variable reportmenu::$iconclass is not documented
(#35) Variable reportmenu::$label is not documented
(#77) Phpdocs for function reportmenu::export_for_template has incomplete parameters list
mod/pdfannotator/classes/output/statistics.php
(#40) Variable statistics::$isteacher is not documented
(#41) Variable statistics::$tabledata is not documented
(#17) No one-line description found in phpdocs for file
(#34) No one-line description found in phpdocs for class statistics
(#67) Phpdocs for function statistics::export_for_template has incomplete parameters list
mod/pdfannotator/constants.php
(#16) No one-line description found in phpdocs for file
mod/pdfannotator/controller.php
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/db/access.php
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/db/events.php
(#17) File-level phpdocs block is not found
mod/pdfannotator/db/install.php
(#28) Function xmldb_pdfannotator_install is not documented
(#16) No one-line description found in phpdocs for file
mod/pdfannotator/db/messages.php
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/db/upgrade.php
(#26) Function xmldb_pdfannotator_upgrade is not documented
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/forward_form.php
(#34) Function pdfannotator_forward_form::definition is not documented
(#82) Function pdfannotator_forward_form::display is not documented
(#16) No one-line description found in phpdocs for file
mod/pdfannotator/index.php
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/lang/en/pdfannotator.php
(#17) No one-line description found in phpdocs for file
mod/pdfannotator/lib.php
(#16) No one-line description found in phpdocs for file
(#88) Phpdocs for function pdfannotator_reset_userdata has incomplete parameters list
(#477) Phpdocs for function pdfannotator_export_contents has incomplete parameters list
(#618) Phpdocs for function pdfannotator_get_recent_mod_activity has incomplete parameters list
(#790) Phpdocs for function mod_pdfannotator_output_fragment_open_edit_comment_editor has incomplete parameters list
(#817) Phpdocs for function mod_pdfannotator_output_fragment_open_add_comment_editor has incomplete parameters list
mod/pdfannotator/locallib.php
(#111) Function pdfannotator_get_image_options_editor is not documented
(#122) Function pdfannotator_get_editor_options is not documented
(#141) Function pdfannotator_get_relativelink is not documented
(#150) Function pdfannotator_extract_images is not documented
(#169) Function pdfannotator_split_content_image is not documented
(#278) Function pdfannotator_data_preprocessing is not documented
(#404) Function pdfannotator_get_instance_name is not documented
(#410) Function pdfannotator_get_course_name_by_id is not documented
(#415) Function pdfannotator_get_username is not documented
(#421) Function pdfannotator_get_annotationtype_id is not documented
(#432) Function pdfannotator_get_annotationtype_name is not documented
(#440) Function pdfannotator_handle_latex is not documented
(#508) Function pdfannotator_process_latex_moodle is not documented
(#564) Function pdfannotator_send_forward_message is not documented
(#578) Function pdfannotator_notify_manager is not documented
(#609) Function pdfannotator_format_notification_message_text is not documented
(#844) Function pdfannotator_content_file_info::get_parent is not documented
(#851) Function pdfannotator_content_file_info::get_visible_name is not documented
(#860) Function pdfannotator_set_mainfile is not documented
(#878) Function pdfannotator_render_listitem_actions is not documented
(#894) Function pdfannotator_render_action_menu is not documented
(#899) Function pdfannotator_subscribe_all is not documented
(#911) Function pdfannotator_unsubscribe_all is not documented
(#1346) Function pdfannotator_compare::compare_votes_ascending is not documented
(#1353) Function pdfannotator_compare::compare_votes_descending is not documented
(#1360) Function pdfannotator_compare::compare_answers_ascending is not documented
(#1367) Function pdfannotator_compare::compare_answers_descending is not documented
(#1374) Function pdfannotator_compare::compare_time_ascending is not documented
(#1381) Function pdfannotator_compare::compare_time_descending is not documented
(#1388) Function pdfannotator_compare::compare_lastanswertime_ascending is not documented
(#1395) Function pdfannotator_compare::compare_lastanswertime_descending is not documented
(#1402) Function pdfannotator_compare::compare_commenttime_ascending is not documented
(#1409) Function pdfannotator_compare::compare_commenttime_descending is not documented
(#1416) Function pdfannotator_compare::compare_creationtime_ascending is not documented
(#1423) Function pdfannotator_compare::compare_creationtime_descending is not documented
(#1430) Function pdfannotator_compare::compare_alphabetically_ascending is not documented
(#1441) Function pdfannotator_compare::compare_alphabetically_descending is not documented
(#1452) Function pdfannotator_compare::compare_question_ascending is not documented
(#1463) Function pdfannotator_compare::compare_question_descending is not documented
(#1512) Function pdfannotator_sort_questions is not documented
(#1637) Function array_key_first is not documented
(#2049) Function pdfannotator_is_mobile_device is not documented
(#2054) Function pdfannotator_is_phone is not documented
(#2060) Function pdfannotator_get_last_answer is not documented
(#2076) Function pdfannotator_can_see_comment is not documented
(#16) No one-line description found in phpdocs for file
(#946) There is no description in phpdocs for function pdfannotator_get_user_datetime
(#956) There is no description in phpdocs for function pdfannotator_get_user_datetime_shortformat
(#1593) There is no description in phpdocs for function pdfannotator_sort_reports
(#1748) There is no description in phpdocs for function pdfannotator_print_this_users_posts
(#38) Phpdocs for function pdfannotator_display_embed has incomplete parameters list
(#331) Phpdocs for function pdfannotator_file_prepare_draft_area has incomplete parameters list
(#533) Phpdocs for function pdfannotator_process_latex_google has incomplete parameters list
(#626) Phpdocs for function pdfannotator_format_notification_message_html has incomplete parameters list
(#657) Phpdocs for function pdfannotator_get_clicktoopen has incomplete parameters list
(#672) Phpdocs for function pdfannotator_get_clicktodownload has incomplete parameters list
(#774) Phpdocs for function pdfannotator_get_number_of_new_activities has incomplete parameters list
(#924) Phpdocs for function pdfannotator_subscribed has incomplete parameters list
(#948) Phpdocs for function pdfannotator_get_user_datetime has incomplete parameters list
(#958) Phpdocs for function pdfannotator_get_user_datetime_shortformat has incomplete parameters list
(#971) Phpdocs for function pdfannotator_prepare_overviewpage has incomplete parameters list
(#1012) Phpdocs for function pdfannotator_get_questions has incomplete parameters list
(#1112) Phpdocs for function pdfannotator_get_posts_by_this_user has incomplete parameters list
(#1185) Phpdocs for function pdfannotator_get_answers_for_this_user has incomplete parameters list
(#1298) Phpdocs for function pdfannotator_get_reports has incomplete parameters list
(#1652) Phpdocs for function pdfannotator_print_questions has incomplete parameters list
(#1707) Phpdocs for function pdfannotator_print_answers has incomplete parameters list
(#1750) Phpdocs for function pdfannotator_print_this_users_posts has incomplete parameters list
(#1793) Phpdocs for function pdfannotator_print_reports has incomplete parameters list
(#1837) Phpdocs for function pdfannotator_questionstable_add_row has incomplete parameters list
(#1882) Phpdocs for function pdfannotator_answerstable_add_row has incomplete parameters list
(#1956) Phpdocs for function pdfannotator_reportstable_add_row has incomplete parameters list
(#2036) Phpdocs for function pdfannotator_optional_timeago has incomplete parameters list
(#2102) Phpdocs for function pdfannotator_count_answers has incomplete parameters list
(#371) Inline phpdocs tag {@link file_storage::search_references()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#372) Inline phpdocs tag {@link file_storage::search_references_count()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/pdfannotator/mod_form.php
(#30) Class mod_pdfannotator_mod_form is not documented
(#32) Function mod_pdfannotator_mod_form::definition is not documented
(#132) Function mod_pdfannotator_mod_form::data_preprocessing is not documented
(#142) Function mod_pdfannotator_mod_form::validation is not documented
(#16) No one-line description found in phpdocs for file
mod/pdfannotator/model/annotation.class.php
(#31) Class pdfannotator_annotation is not documented
(#16) No one-line description found in phpdocs for file
(#36) Phpdocs for function pdfannotator_annotation::create_annotation has incomplete parameters list
(#60) Phpdocs for function pdfannotator_annotation::update has incomplete parameters list
(#94) Phpdocs for function pdfannotator_annotation::delete has incomplete parameters list
(#141) Phpdocs for function pdfannotator_annotation::deletion_allowed has incomplete parameters list
(#182) Phpdocs for function pdfannotator_annotation::shifting_allowed has incomplete parameters list
(#205) Phpdocs for function pdfannotator_annotation::get_information has incomplete parameters list
(#246) Phpdocs for function pdfannotator_annotation::get_author has incomplete parameters list
(#258) Phpdocs for function pdfannotator_annotation::get_pageid has incomplete parameters list
(#269) Phpdocs for function pdfannotator_annotation::get_question has incomplete parameters list
mod/pdfannotator/model/comment.class.php
(#30) Class pdfannotator_comment is not documented
(#410) Function pdfannotator_comment::update is not documented
(#545) Function pdfannotator_comment::is_solved is not documented
(#592) Function pdfannotator_comment::get_questions is not documented
(#623) Function pdfannotator_comment::get_all_questions is not documented
(#16) No one-line description found in phpdocs for file
(#35) Phpdocs for function pdfannotator_comment::create has incomplete parameters list
(#147) Phpdocs for function pdfannotator_comment::read has incomplete parameters list
(#225) Phpdocs for function pdfannotator_comment::set_username has incomplete parameters list
(#250) Phpdocs for function pdfannotator_comment::hide_comment has incomplete parameters list
(#335) Phpdocs for function pdfannotator_comment::delete_comment has incomplete parameters list
(#446) Phpdocs for function pdfannotator_comment::insert_vote has incomplete parameters list
(#476) Phpdocs for function pdfannotator_comment::insert_subscription has incomplete parameters list
(#502) Phpdocs for function pdfannotator_comment::delete_subscription has incomplete parameters list
(#517) Phpdocs for function pdfannotator_comment::mark_solved has incomplete parameters list
(#552) Phpdocs for function pdfannotator_comment::is_voted has incomplete parameters list
(#562) Phpdocs for function pdfannotator_comment::get_number_of_votes has incomplete parameters list
(#572) Phpdocs for function pdfannotator_comment::is_subscribed has incomplete parameters list
(#582) Phpdocs for function pdfannotator_comment::get_subscribed_users has incomplete parameters list
(#644) Phpdocs for function pdfannotator_comment::get_questions_search has incomplete parameters list
mod/pdfannotator/model/overviewtable.php
(#31) Function overviewtable::__construct is not documented
(#35) Function overviewtable::setup is not documented
(#64) Function questionstable::__construct is not documented
(#124) Function answerstable::__construct is not documented
(#166) Function userspoststable::__construct is not documented
(#201) Function reportstable::__construct is not documented
(#62) Variable questionstable::$id is not documented
(#122) Variable answerstable::$id is not documented
(#164) Variable userspoststable::$id is not documented
(#199) Variable reportstable::$id is not documented
(#16) No one-line description found in phpdocs for file
(#115) No one-line description found in phpdocs for class answerstable
(#49) Phpdocs for function overviewtable::wrap has incomplete parameters list
mod/pdfannotator/model/pdfannotator.php
(#41) Function pdfannotator_instance::__construct is not documented
(#90) Function pdfannotator_instance::get_cm_info is not documented
(#110) Function pdfannotator_instance::use_votes is not documented
(#117) Function pdfannotator_instance::get_id is not documented
(#121) Function pdfannotator_instance::get_name is not documented
(#125) Function pdfannotator_instance::get_conversations is not documented
(#32) Variable pdfannotator_instance::$id is not documented
(#33) Variable pdfannotator_instance::$coursemodule is not documented
(#34) Variable pdfannotator_instance::$name is not documented
(#35) Variable pdfannotator_instance::$answers is not documented
(#36) Variable pdfannotator_instance::$unsolvedquestions is not documented
(#37) Variable pdfannotator_instance::$reports is not documented
(#38) Variable pdfannotator_instance::$hiddenanswers is not documented
(#39) Variable pdfannotator_instance::$hiddenreports is not documented
(#16) No one-line description found in phpdocs for file
(#59) Phpdocs for function pdfannotator_instance::get_pdfannotator_instances has incomplete parameters list
mod/pdfannotator/model/statistics.class.php
(#35) Function pdfannotator_statistics::__construct is not documented
(#268) Function pdfannotator_statistics::count_protected_comments is not documented
(#294) Function pdfannotator_statistics::count_private_comments_in_course is not documented
(#301) Function pdfannotator_statistics::count_protected_comments_in_course is not documented
(#30) Variable pdfannotator_statistics::$courseid is not documented
(#31) Variable pdfannotator_statistics::$annotatorid is not documented
(#32) Variable pdfannotator_statistics::$userid is not documented
(#33) Variable pdfannotator_statistics::$isteacher is not documented
(#16) No one-line description found in phpdocs for file
(#44) Phpdocs for function pdfannotator_statistics::get_comments_annotator has incomplete parameters list
(#61) Phpdocs for function pdfannotator_statistics::get_comments_course has incomplete parameters list
(#78) Phpdocs for function pdfannotator_statistics::get_comments_average_annotator has incomplete parameters list
(#94) Phpdocs for function pdfannotator_statistics::get_comments_average_course has incomplete parameters list
(#108) Phpdocs for function pdfannotator_statistics::get_reports_annotator has incomplete parameters list
(#117) Phpdocs for function pdfannotator_statistics::get_reports_course has incomplete parameters list
(#172) Phpdocs for function pdfannotator_statistics::get_chartdata has incomplete parameters list
(#224) Phpdocs for function pdfannotator_statistics::count_comments_annotator has incomplete parameters list
(#240) Phpdocs for function pdfannotator_statistics::count_private_comments has incomplete parameters list
mod/pdfannotator/renderable.php
(#30) Class pdfannotator_comment_info is not documented
(#32) Variable pdfannotator_comment_info::$pdfname is not documented
(#33) Variable pdfannotator_comment_info::$page is not documented
(#34) Variable pdfannotator_comment_info::$datetime is not documented
(#35) Variable pdfannotator_comment_info::$author is not documented
(#36) Variable pdfannotator_comment_info::$content is not documented
(#16) No one-line description found in phpdocs for file
mod/pdfannotator/renderer.php
(#26) Class mod_pdfannotator_renderer is not documented
(#17) No one-line description found in phpdocs for file
(#28) There is no description in phpdocs for function render_index
(#36) There is no description in phpdocs for function render_statistic
(#30) Phpdocs for function mod_pdfannotator_renderer::render_index has incomplete parameters list
(#38) Phpdocs for function mod_pdfannotator_renderer::render_statistic has incomplete parameters list
(#48) Phpdocs for function mod_pdfannotator_renderer::render_dropdownmenu has incomplete parameters list
(#95) Phpdocs for function mod_pdfannotator_renderer::pdfannotator_create_tab has incomplete parameters list
(#116) Phpdocs for function mod_pdfannotator_renderer::pdfannotator_render_tabs has incomplete parameters list
mod/pdfannotator/reportform.php
(#34) Function pdfannotator_reportform::definition is not documented
(#69) Function pdfannotator_reportform::display is not documented
(#16) No one-line description found in phpdocs for file
mod/pdfannotator/settings.php
(#16) No one-line description found in phpdocs for file
mod/pdfannotator/tests/privacy/provider_test.php
(#41) Variable provider_test::$course is not documented
(#42) Variable provider_test::$cmcontext is not documented
(#43) Variable provider_test::$user is not documented
(#44) Variable provider_test::$pdffile is not documented
(#45) Variable provider_test::$annotations is not documented
(#46) Variable provider_test::$questions is not documented
(#47) Variable provider_test::$answers is not documented
mod/pdfannotator/view.php
(#16) No one-line description found in phpdocs for file

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(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, 20 warnings)

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

mod/pdfannotator/templates/add_comment_editor_placeholder.mustache
(#1) Example context missing (@template section not found.)
mod/pdfannotator/templates/comment.mustache
(#1) Example context missing (@template section not found.)
(#1) Template produced no content
mod/pdfannotator/templates/dropdownmenu.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 4: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (> <i class="icon fa fa-cog fa-fw" aria-hidden="true" title="((+actiondropdown%2C+pdfannotator+))" aria-label="((+actiondropdown%2C+pdfannotator+))"></i> )
(#1) HTML Validation error, line 7: Bad value “button” for attribute “type” on element “a”: Subtype missing. ( <li><a href="" class="dropdown-item " type="button"> )
(#1) HTML Validation error, line 3: The “aria-controls” attribute must point to an element in the same document. (own"> <a tabindex="0" class="dropdown-toggle icon-no-margin" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" aria-controls="action-menu-3-menu"> )
mod/pdfannotator/templates/edit_comment_editor_placeholder.mustache
(#1) Example context missing (@template section not found.)
mod/pdfannotator/templates/index.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 21: Attribute “alt” not allowed on element “button” at this point. ( <button id="scaleMinus" class="" title="((+zoomout%2C+pdfannotator+))" alt="((+zoomout%2C+pdfannotator+))"> )
(#1) HTML Validation error, line 22: Attribute “alt” not allowed on element “i” at this point. ( <i class="icon fa fa-minus-circle fa-lg" title="((+zoomout%2C+pdfannotator+))" alt="((+zoomout%2C+pdfannotator+))"></i> )
(#1) HTML Validation error, line 24: Attribute “alt” not allowed on element “button” at this point. ( --><button id="scalePlus" class="" title="((+zoomin%2C+pdfannotator+))" alt="((+zoomin%2C+pdfannotator+))"> )
(#1) HTML Validation error, line 25: Attribute “alt” not allowed on element “i” at this point. ( <i class="icon fa fa-plus-circle fa-lg" title="((+zoomin%2C+pdfannotator+))" alt="((+zoomin%2C+pdfannotator+))"></i> )
(#1) HTML Validation error, line 42: Attribute value missing. (tator+))"><img class="icon " alt="((+hideAnnotations%2C+pdfannotator+))" title="((+hideAnnotations%2C+pdfannotator+))" src=></a><!)
(#1) HTML Validation info, line 42: Attribute “src” without an explicit value seen. The attribute may be dropped by IE7. (tator+))"><img class="icon " alt="((+hideAnnotations%2C+pdfannotator+))" title="((+hideAnnotations%2C+pdfannotator+))" src=></a><!)
(#1) HTML Validation error, line 42: Bad value “” for attribute “src” on element “img”: Must be non-empty. (tator+))"><img class="icon " alt="((+hideAnnotations%2C+pdfannotator+))" title="((+hideAnnotations%2C+pdfannotator+))" src=></a><!)
(#1) HTML Validation error, line 47: Attribute “alt” not allowed on element “button” at this point. ( <button id="prevPage" class="" title="((+prevPage%2C+pdfannotator+))" alt="((+prevPage%2C+pdfannotator+))"> )
(#1) HTML Validation error, line 48: Attribute “alt” not allowed on element “i” at this point. ( <i class="icon fa fa-arrow-circle-up fa-lg" title="((+prevPage%2C+pdfannotator+))" alt="((+prevPage%2C+pdfannotator+))"></i> )
(#1) HTML Validation error, line 50: Attribute “alt” not allowed on element “button” at this point. ( --><button id="nextPage" class="" title="((+nextPage%2C+pdfannotator+))" alt="((+nextPage%2C+pdfannotator+))"> )
(#1) HTML Validation error, line 51: Attribute “alt” not allowed on element “i” at this point. ( <i class="icon fa fa-arrow-circle-down fa-lg" title="((+nextPage%2C+pdfannotator+))" alt="((+nextPage%2C+pdfannotator+))"></i> )
(#1) HTML Validation error, line 89: Attribute “alt” not allowed on element “button” at this point. ( <button id="searchButton" class="btn-link" title="((+search%2C+pdfannotator+))" alt="((+search%2C+pdfannotator+))"> )
(#1) HTML Validation error, line 90: Attribute “alt” not allowed on element “i” at this point. ( <i class="icon fa fa-search fa-fw" title="((+search%2C+pdfannotator+))" alt="((+search%2C+pdfannotator+))"></i> )
mod/pdfannotator/templates/statistic.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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