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

(73 errors, 241 warnings)

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

mod/pdfannotator/action.php
(#154) Line exceeds 132 characters; contains 140 characters
(#177) Line exceeds 132 characters; contains 146 characters
(#389) Inline comments must start with a capital letter, digit or 3-dots sequence
(#389) Inline comments must end in full-stops, exclamation marks, or question marks
(#389) This comment is 64% valid code; is this commented out code?
(#389) Line indented incorrectly; expected at least 4 spaces, found 1
(#389) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#390) Whitespace found at end of line
(#456) Whitespace found at end of line
(#500) Line exceeds 132 characters; contains 140 characters
(#540) Line exceeds 132 characters; contains 151 characters
(#546) Line exceeds 132 characters; contains 143 characters
mod/pdfannotator/backup/moodle2/backup_pdfannotator_activity_task.class.php
(#78) The static declaration must come after the visibility declaration
mod/pdfannotator/backup/moodle2/backup_pdfannotator_stepslib.php
(#57) Line exceeds maximum limit of 180 characters; contains 210 characters
(#60) Line exceeds 132 characters; contains 177 characters
(#66) Line exceeds 132 characters; contains 174 characters
(#73) Line exceeds 132 characters; contains 160 characters
(#95) This comment is 70% valid code; is this commented out code?
(#100) Line exceeds 132 characters; contains 153 characters
(#115) This comment is 75% valid code; is this commented out code?
mod/pdfannotator/backup/moodle2/restore_pdfannotator_activity_task.class.php
(#60) The static declaration must come after the visibility declaration
(#72) The static declaration must come after the visibility declaration
(#88) The static declaration must come after the visibility declaration
(#108) The static declaration must come after the visibility declaration
mod/pdfannotator/backup/moodle2/restore_pdfannotator_stepslib.php
(#52) Line exceeds 132 characters; contains 149 characters
(#53) Line exceeds 132 characters; contains 134 characters
(#55) Line exceeds 132 characters; contains 142 characters
(#56) Line exceeds 132 characters; contains 148 characters
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) This comment is 67% valid code; is this commented out code?
(#146) Line indented incorrectly; expected at least 8 spaces, found 4
(#146) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#147) Line exceeds 132 characters; contains 171 characters
mod/pdfannotator/classes/event/report_added.php
(#41) This comment is 48% valid code; is this commented out code?
(#57) File must end with a newline character
mod/pdfannotator/classes/output/comment.php
(#20) Inline doc block comments are not allowed; use "// Comment." instead
(#97) Line exceeds 132 characters; contains 135 characters
(#170) Line exceeds 132 characters; contains 154 characters
(#172) Line exceeds 132 characters; contains 152 characters
(#221) Line exceeds 132 characters; contains 141 characters
(#238) Line exceeds 132 characters; contains 134 characters
(#263) Line exceeds 132 characters; contains 133 characters
(#268) Line exceeds 132 characters; contains 149 characters
(#280) Line exceeds 132 characters; contains 144 characters
(#285) Line exceeds 132 characters; contains 152 characters
(#291) Line exceeds 132 characters; contains 138 characters
(#294) Line exceeds 132 characters; contains 151 characters
(#297) Line exceeds 132 characters; contains 155 characters
mod/pdfannotator/classes/output/printview.php
(#55) File must end with a newline character
mod/pdfannotator/classes/privacy/provider.php
(#210) Line exceeds 132 characters; contains 149 characters
(#211) Line exceeds 132 characters; contains 158 characters
(#219) Line exceeds 132 characters; contains 170 characters
(#221) Line exceeds 132 characters; contains 140 characters
(#239) Line exceeds 132 characters; contains 175 characters
(#297) Line exceeds 132 characters; contains 159 characters
(#333) Line exceeds 132 characters; contains 171 characters
(#348) Line exceeds 132 characters; contains 163 characters
(#360) Line exceeds 132 characters; contains 173 characters
(#361) Line exceeds 132 characters; contains 152 characters
(#370) Line exceeds 132 characters; contains 167 characters
(#408) Line exceeds 132 characters; contains 140 characters
(#417) Line exceeds 132 characters; contains 150 characters
(#435) File must end with a newline character
mod/pdfannotator/constants.php
(#41) File must end with a newline character
mod/pdfannotator/controller.php
(#90) Line exceeds 132 characters; contains 160 characters
(#167) Line exceeds 132 characters; contains 134 characters
(#168) Line exceeds maximum limit of 180 characters; contains 181 characters
(#182) Line exceeds 132 characters; contains 169 characters
(#204) Line exceeds 132 characters; contains 155 characters
(#237) Line exceeds 132 characters; contains 164 characters
(#261) Line exceeds 132 characters; contains 134 characters
(#262) Line exceeds 132 characters; contains 173 characters
(#274) Line exceeds 132 characters; contains 163 characters
(#296) Line exceeds 132 characters; contains 134 characters
(#297) Line exceeds 132 characters; contains 135 characters
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#338) Line exceeds 132 characters; contains 168 characters
(#341) Line exceeds 132 characters; contains 166 characters
(#350) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) Inline comments must start with a capital letter, digit or 3-dots sequence
(#368) Inline comments must start with a capital letter, digit or 3-dots sequence
(#374) Line exceeds 132 characters; contains 168 characters
(#377) Line exceeds 132 characters; contains 166 characters
(#400) Line exceeds 132 characters; contains 134 characters
(#401) Line exceeds 132 characters; contains 177 characters
(#419) Line exceeds 132 characters; contains 163 characters
(#504) Line exceeds maximum limit of 180 characters; contains 184 characters
(#504) Whitespace found at end of line
(#508) Line exceeds maximum limit of 180 characters; contains 202 characters
(#553) File must end with a newline character
mod/pdfannotator/db/events.php
(#17) File must end with a newline character
mod/pdfannotator/db/messages.php
(#54) File must end with a newline character
mod/pdfannotator/db/upgrade.php
(#191) Line exceeds 132 characters; contains 134 characters
(#345) Line exceeds 132 characters; contains 140 characters
(#582) Line exceeds 132 characters; contains 134 characters
(#591) Line exceeds 132 characters; contains 137 characters
mod/pdfannotator/forward_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Line exceeds 132 characters; contains 138 characters
mod/pdfannotator/index.php
(#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?
(#149) File must end with a newline character
mod/pdfannotator/lang/en/pdfannotator.php
(#474) File must end with a newline character
mod/pdfannotator/lib.php
(#31) Closing brace must be on a line by itself
(#32) Closing brace must be on a line by itself
(#33) Closing brace must be on a line by itself
(#34) Closing brace must be on a line by itself
(#35) Closing brace must be on a line by itself
(#36) Closing brace must be on a line by itself
(#38) Closing brace must be on a line by itself
(#233) Line exceeds 132 characters; contains 166 characters
(#249) Inline comments must start with a capital letter, digit or 3-dots sequence
(#249) This comment is 54% valid code; is this commented out code?
(#328) Line exceeds 132 characters; contains 137 characters
(#390) Line exceeds 132 characters; contains 135 characters
(#400) Inline comments must end in full-stops, exclamation marks, or question marks
(#438) Line exceeds 132 characters; contains 136 characters
(#459) Inline comments must start with a capital letter, digit or 3-dots sequence
(#459) This comment is 58% valid code; is this commented out code?
(#463) Inline comments must end in full-stops, exclamation marks, or question marks
(#470) Inline comments must start with a capital letter, digit or 3-dots sequence
(#470) This comment is 49% valid code; is this commented out code?
(#484) Inline comments must end in full-stops, exclamation marks, or question marks
(#590) Line exceeds 132 characters; contains 146 characters
(#604) Expected "if (...) {\n"; found "if(...) {\n"
(#632) Inline comments must start with a capital letter, digit or 3-dots sequence
(#632) This comment is 69% valid code; is this commented out code?
(#677) Inline comments must start with a capital letter, digit or 3-dots sequence
(#677) This comment is 59% valid code; is this commented out code?
(#679) Line exceeds 132 characters; contains 143 characters
(#693) Line exceeds 132 characters; contains 142 characters
(#695) Line exceeds 132 characters; contains 175 characters
(#696) Inline comments must start with a capital letter, digit or 3-dots sequence
(#696) This comment is 60% valid code; is this commented out code?
mod/pdfannotator/locallib.php
(#45) Line exceeds 132 characters; contains 138 characters
(#50) Line exceeds 132 characters; contains 136 characters
(#146) This comment is 50% valid code; is this commented out code?
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Line exceeds 132 characters; contains 144 characters
(#224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) No space found before comment text; expected "// imageinfo returns an array with the info of the size of the image. In Parameter 1 there is the height, which is the only thing needed here" but found "//imageinfo returns an array with the info of the size of the image. In Parameter 1 there is the height, which is the only thing needed here"
(#243) Line exceeds 132 characters; contains 151 characters
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#249) Line exceeds 132 characters; contains 153 characters
(#269) Line exceeds 132 characters; contains 133 characters
(#273) Line exceeds 132 characters; contains 149 characters
(#309) Line exceeds 132 characters; contains 152 characters
(#319) Line exceeds 132 characters; contains 171 characters
(#334) Line exceeds 132 characters; contains 149 characters
(#353) Line exceeds 132 characters; contains 153 characters
(#466) Inline comments must start with a capital letter, digit or 3-dots sequence
(#466) This comment is 67% valid code; is this commented out code?
(#528) Line exceeds 132 characters; contains 143 characters
(#532) Line exceeds 132 characters; contains 161 characters
(#587) Line exceeds 132 characters; contains 140 characters
(#625) Line exceeds 132 characters; contains 139 characters
(#656) Line exceeds 132 characters; contains 135 characters
(#656) Inline comments must end in full-stops, exclamation marks, or question marks
(#667) Line exceeds 132 characters; contains 135 characters
(#667) Inline comments must end in full-stops, exclamation marks, or question marks
(#745) Line exceeds maximum limit of 180 characters; contains 182 characters
(#750) Line exceeds 132 characters; contains 136 characters
(#840) Line exceeds 132 characters; contains 144 characters
(#909) Line exceeds maximum limit of 180 characters; contains 187 characters
(#911) Line exceeds 132 characters; contains 134 characters
(#923) Line exceeds maximum limit of 180 characters; contains 187 characters
(#925) Line exceeds 132 characters; contains 134 characters
(#933) Line exceeds 132 characters; contains 143 characters
(#947) Line exceeds 132 characters; contains 139 characters
(#949) Line exceeds 132 characters; contains 141 characters
(#1019) Line exceeds 132 characters; contains 160 characters
(#1039) Line exceeds 132 characters; contains 154 characters
(#1382) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1385) Line exceeds 132 characters; contains 149 characters
(#1429) Line exceeds 132 characters; contains 149 characters
(#1475) Line exceeds 132 characters; contains 149 characters
(#1519) Line exceeds 132 characters; contains 149 characters
(#1559) Line exceeds 132 characters; contains 161 characters
(#1562) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1562) This comment is 54% valid code; is this commented out code?
(#1566) Line exceeds 132 characters; contains 176 characters
(#1619) Line exceeds 132 characters; contains 161 characters
(#1635) Line exceeds 132 characters; contains 148 characters
(#1637) Line exceeds 132 characters; contains 140 characters
(#1678) Line exceeds 132 characters; contains 170 characters
(#1680) Line exceeds 132 characters; contains 171 characters
(#1694) Line exceeds 132 characters; contains 163 characters
(#1706) Line exceeds 132 characters; contains 133 characters
(#1755) Line exceeds 132 characters; contains 166 characters
(#1760) Line exceeds 132 characters; contains 166 characters
(#1799) Line exceeds 132 characters; contains 152 characters
(#1823) File must end with a newline character
mod/pdfannotator/mod_form.php
(#68) Line exceeds maximum limit of 180 characters; contains 196 characters
(#71) Line exceeds 132 characters; contains 161 characters
(#89) Line exceeds 132 characters; contains 170 characters
(#94) Line exceeds maximum limit of 180 characters; contains 187 characters
(#99) Line exceeds maximum limit of 180 characters; contains 195 characters
(#104) Line exceeds maximum limit of 180 characters; contains 201 characters
mod/pdfannotator/model/annotation.class.php
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) Line exceeds maximum limit of 180 characters; contains 199 characters
(#199) Line exceeds 132 characters; contains 141 characters
mod/pdfannotator/model/comment.class.php
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Line exceeds 132 characters; contains 152 characters
(#93) Line exceeds 132 characters; contains 172 characters
(#108) Line exceeds 132 characters; contains 176 characters
(#111) Line exceeds maximum limit of 180 characters; contains 188 characters
(#114) Expected "if (...) {\n"; found "if (...){\n"
(#120) Line exceeds maximum limit of 180 characters; contains 208 characters
(#146) Line exceeds maximum limit of 180 characters; contains 194 characters
(#149) Line exceeds 132 characters; contains 179 characters
(#156) Line exceeds 132 characters; contains 168 characters
(#288) Inline comments must start with a capital letter, digit or 3-dots sequence
(#301) Line exceeds 132 characters; contains 146 characters
(#473) Whitespace found at end of line
(#482) Functions must not contain multiple empty lines in a row; found 2 empty lines
mod/pdfannotator/model/overviewtable.php
(#31) Possible useless method overriding detected
(#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?
(#67) Line indented incorrectly; expected at least 8 spaces, found 0
(#67) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#83) Line exceeds 132 characters; contains 150 characters
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) This comment is 68% valid code; is this commented out code?
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) This comment is 61% valid code; is this commented out code?
(#84) Line exceeds maximum limit of 180 characters; contains 271 characters
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) This comment is 58% valid code; is this commented out code?
(#85) Line exceeds maximum limit of 180 characters; contains 320 characters
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) This comment is 63% valid code; is this commented out code?
(#86) Line exceeds maximum limit of 180 characters; contains 218 characters
(#87) Line exceeds 132 characters; contains 167 characters
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) This comment is 68% valid code; is this commented out code?
(#88) Line exceeds 132 characters; contains 176 characters
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) This comment is 65% valid code; is this commented out code?
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) This comment is 67% valid code; is this commented out code?
(#128) Line exceeds 132 characters; contains 145 characters
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) This comment is 68% valid code; is this commented out code?
(#129) Line exceeds 132 characters; contains 162 characters
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) This comment is 60% valid code; is this commented out code?
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) This comment is 61% valid code; is this commented out code?
(#130) Line exceeds maximum limit of 180 characters; contains 274 characters
(#131) Line exceeds 132 characters; contains 153 characters
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) This comment is 68% valid code; is this commented out code?
(#132) Line exceeds 132 characters; contains 176 characters
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#132) This comment is 65% valid code; is this commented out code?
(#133) Line exceeds 132 characters; contains 178 characters
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) This comment is 68% valid code; is this commented out code?
(#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?
(#161) Line exceeds 132 characters; contains 145 characters
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) This comment is 68% valid code; is this commented out code?
(#162) Line exceeds 132 characters; contains 161 characters
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) This comment is 68% valid code; is this commented out code?
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) This comment is 60% valid code; is this commented out code?
(#163) Line exceeds maximum limit of 180 characters; contains 323 characters
(#164) Line exceeds 132 characters; contains 176 characters
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) This comment is 65% valid code; is this commented out code?
(#190) Line exceeds 132 characters; contains 143 characters
(#190) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) This comment is 68% valid code; is this commented out code?
(#191) Inline comments must start with a capital letter, digit or 3-dots sequence
(#191) This comment is 61% valid code; is this commented out code?
(#191) Line exceeds maximum limit of 180 characters; contains 271 characters
(#192) Line exceeds 132 characters; contains 172 characters
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) This comment is 68% valid code; is this commented out code?
(#193) Inline comments must start with a capital letter, digit or 3-dots sequence
(#193) This comment is 61% valid code; is this commented out code?
(#193) Line exceeds maximum limit of 180 characters; contains 272 characters
(#194) Line exceeds 132 characters; contains 178 characters
(#194) Inline comments must start with a capital letter, digit or 3-dots sequence
(#194) This comment is 68% valid code; is this commented out code?
(#202) File must end with a newline character
mod/pdfannotator/model/statistics.class.php
(#139) Line exceeds 132 characters; contains 153 characters
(#140) Line exceeds 132 characters; contains 163 characters
(#141) Line exceeds maximum limit of 180 characters; contains 496 characters
(#143) Line exceeds 132 characters; contains 151 characters
(#144) Line exceeds 132 characters; contains 161 characters
(#145) Line exceeds maximum limit of 180 characters; contains 494 characters
(#147) Line exceeds maximum limit of 180 characters; contains 239 characters
(#148) Line exceeds maximum limit of 180 characters; contains 247 characters
(#151) Line exceeds 132 characters; contains 143 characters
(#197) Whitespace found at end of line
(#201) Whitespace found at end of line
(#205) Line exceeds maximum limit of 180 characters; contains 208 characters
(#229) Whitespace found at end of line
(#244) Line exceeds 132 characters; contains 157 characters
(#268) Line exceeds 132 characters; contains 159 characters
(#277) Whitespace found at end of line
mod/pdfannotator/renderable.php
(#65) File must end with a newline character
mod/pdfannotator/renderer.php
(#102) Line exceeds 132 characters; contains 137 characters
mod/pdfannotator/settings.php
(#33) Line exceeds 132 characters; contains 149 characters
(#51) No space found before comment text; expected "// Define what API to use for converting latex formulas into png." but found "//Define what API to use for converting latex formulas into png."
(#55) Line exceeds 132 characters; contains 140 characters
(#57) File must end with a newline character
mod/pdfannotator/view.php
(#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

Javascript coding style problems

(3 errors, 0 warnings)

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

mod/pdfannotator/shared/locallib.js
(#11) Parsing error: Unexpected token tabs
mod/pdfannotator/shared/overview.js
(#62) Parsing error: Unexpected token notificationpanel
mod/pdfannotator/shared/statistic.js
(#12) Parsing error: Unexpected token width

CSS problems

(121 errors, 57 warnings)

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

mod/pdfannotator/styles.css
(#155) Expected newline before "}" (block-closing-brace-newline-before)
(#156) Expected newline before "}" (block-closing-brace-newline-before)
(#848) Expected newline before "}" (block-closing-brace-newline-before)
(#849) Expected newline before "}" (block-closing-brace-newline-before)
(#853) Expected newline before "}" (block-closing-brace-newline-before)
(#854) Expected newline before "}" (block-closing-brace-newline-before)
(#867) Expected newline before "}" (block-closing-brace-newline-before)
(#868) Expected newline before "}" (block-closing-brace-newline-before)
(#872) Expected newline before "}" (block-closing-brace-newline-before)
(#873) Expected newline before "}" (block-closing-brace-newline-before)
(#155) Expected newline after "{" (block-opening-brace-newline-after)
(#156) Expected newline after "{" (block-opening-brace-newline-after)
(#465) Expected newline after "{" (block-opening-brace-newline-after)
(#848) Expected newline after "{" (block-opening-brace-newline-after)
(#849) Expected newline after "{" (block-opening-brace-newline-after)
(#853) Expected newline after "{" (block-opening-brace-newline-after)
(#854) Expected newline after "{" (block-opening-brace-newline-after)
(#867) Expected newline after "{" (block-opening-brace-newline-after)
(#868) Expected newline after "{" (block-opening-brace-newline-after)
(#872) Expected newline after "{" (block-opening-brace-newline-after)
(#873) Expected newline after "{" (block-opening-brace-newline-after)
(#190) Expected single space before "{" (block-opening-brace-space-before)
(#214) Expected "#FFFF99" to be "#ffff99" (color-hex-case)
(#481) Expected "#C7DDF2" to be "#c7ddf2" (color-hex-case)
(#746) Expected "#3498DB" to be "#3498db" (color-hex-case)
(#761) Expected "#2980B9" to be "#2980b9" (color-hex-case)
(#64) Expected "#999999" to be "#999" (color-hex-length)
(#214) Expected "#FFFF99" to be "#FF9" (color-hex-length)
(#225) Expected "#000000" to be "#000" (color-hex-length)
(#351) Expected "#999999" to be "#999" (color-hex-length)
(#457) Expected "#999999" to be "#999" (color-hex-length)
(#556) Unexpected whitespace before ";" (declaration-block-semicolon-space-before)
(#867) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#868) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#872) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#873) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#863) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#867) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#868) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#872) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#873) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#867) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#867) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#868) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#868) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#872) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#872) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#873) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#873) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#289) Unexpected !important (declaration-no-important)
(#351) Unexpected !important (declaration-no-important)
(#428) Unexpected !important (declaration-no-important)
(#432) Unexpected !important (declaration-no-important)
(#441) Unexpected !important (declaration-no-important)
(#449) Unexpected !important (declaration-no-important)
(#453) Unexpected !important (declaration-no-important)
(#457) Unexpected !important (declaration-no-important)
(#461) Unexpected !important (declaration-no-important)
(#490) Unexpected !important (declaration-no-important)
(#548) Unexpected !important (declaration-no-important)
(#551) Unexpected !important (declaration-no-important)
(#552) Unexpected !important (declaration-no-important)
(#611) Unexpected !important (declaration-no-important)
(#614) Unexpected !important (declaration-no-important)
(#617) Unexpected !important (declaration-no-important)
(#620) Unexpected !important (declaration-no-important)
(#674) Unexpected !important (declaration-no-important)
(#803) Unexpected !important (declaration-no-important)
(#812) Unexpected !important (declaration-no-important)
(#828) Unexpected !important (declaration-no-important)
(#829) Unexpected !important (declaration-no-important)
(#15) Expected single space after "," in a single-line function (function-comma-space-after)
(#15) Expected single space after "," in a single-line function (function-comma-space-after)
(#15) Expected single space after "," in a single-line function (function-comma-space-after)
(#16) Expected single space after "," in a single-line function (function-comma-space-after)
(#16) Expected single space after "," in a single-line function (function-comma-space-after)
(#16) Expected single space after "," in a single-line function (function-comma-space-after)
(#17) Expected single space after "," in a single-line function (function-comma-space-after)
(#17) Expected single space after "," in a single-line function (function-comma-space-after)
(#17) Expected single space after "," in a single-line function (function-comma-space-after)
(#51) Expected single space after "," in a single-line function (function-comma-space-after)
(#51) Expected single space after "," in a single-line function (function-comma-space-after)
(#54) Expected single space after "," in a single-line function (function-comma-space-after)
(#54) Expected single space after "," in a single-line function (function-comma-space-after)
(#54) Expected single space after "," in a single-line function (function-comma-space-after)
(#55) Expected single space after "," in a single-line function (function-comma-space-after)
(#55) Expected single space after "," in a single-line function (function-comma-space-after)
(#55) Expected single space after "," in a single-line function (function-comma-space-after)
(#56) Expected single space after "," in a single-line function (function-comma-space-after)
(#56) Expected single space after "," in a single-line function (function-comma-space-after)
(#56) Expected single space after "," in a single-line function (function-comma-space-after)
(#155) Expected single space after "," in a single-line function (function-comma-space-after)
(#155) Expected single space after "," in a single-line function (function-comma-space-after)
(#156) Expected single space after "," in a single-line function (function-comma-space-after)
(#156) Expected single space after "," in a single-line function (function-comma-space-after)
(#461) Expected single space after "," in a single-line function (function-comma-space-after)
(#461) Expected single space after "," in a single-line function (function-comma-space-after)
(#461) Expected single space after "," in a single-line function (function-comma-space-after)
(#486) Expected single space after "," in a single-line function (function-comma-space-after)
(#486) Expected single space after "," in a single-line function (function-comma-space-after)
(#776) Expected single space after "," in a single-line function (function-comma-space-after)
(#776) Expected single space after "," in a single-line function (function-comma-space-after)
(#776) Expected single space after "," in a single-line function (function-comma-space-after)
(#191) Unexpected URL scheme "data:" (function-url-scheme-blacklist)
(#12) Unexpected unit (length-zero-no-unit)
(#12) Unexpected unit (length-zero-no-unit)
(#15) Unexpected unit (length-zero-no-unit)
(#15) Unexpected unit (length-zero-no-unit)
(#16) Unexpected unit (length-zero-no-unit)
(#16) Unexpected unit (length-zero-no-unit)
(#17) Unexpected unit (length-zero-no-unit)
(#17) Unexpected unit (length-zero-no-unit)
(#33) Unexpected unit (length-zero-no-unit)
(#34) Unexpected unit (length-zero-no-unit)
(#37) Unexpected unit (length-zero-no-unit)
(#37) Unexpected unit (length-zero-no-unit)
(#39) Unexpected unit (length-zero-no-unit)
(#39) Unexpected unit (length-zero-no-unit)
(#60) Unexpected unit (length-zero-no-unit)
(#65) Unexpected unit (length-zero-no-unit)
(#74) Unexpected unit (length-zero-no-unit)
(#74) Unexpected unit (length-zero-no-unit)
(#140) Unexpected unit (length-zero-no-unit)
(#140) Unexpected unit (length-zero-no-unit)
(#144) Unexpected unit (length-zero-no-unit)
(#144) Unexpected unit (length-zero-no-unit)
(#148) Unexpected unit (length-zero-no-unit)
(#161) Unexpected unit (length-zero-no-unit)
(#163) Unexpected unit (length-zero-no-unit)
(#164) Unexpected unit (length-zero-no-unit)
(#173) Unexpected unit (length-zero-no-unit)
(#197) Unexpected unit (length-zero-no-unit)
(#215) Unexpected unit (length-zero-no-unit)
(#259) Unexpected unit (length-zero-no-unit)
(#366) Unexpected unit (length-zero-no-unit)
(#413) Unexpected unit (length-zero-no-unit)
(#441) Unexpected unit (length-zero-no-unit)
(#453) Unexpected unit (length-zero-no-unit)
(#513) Unexpected unit (length-zero-no-unit)
(#513) Unexpected unit (length-zero-no-unit)
(#514) Unexpected unit (length-zero-no-unit)
(#532) Unexpected unit (length-zero-no-unit)
(#557) Unexpected unit (length-zero-no-unit)
(#558) Unexpected unit (length-zero-no-unit)
(#715) Unexpected unit (length-zero-no-unit)
(#716) Unexpected unit (length-zero-no-unit)
(#776) Unexpected unit (length-zero-no-unit)
(#776) Unexpected unit (length-zero-no-unit)
(#868) Unexpected unit (length-zero-no-unit)
(#652) Expected line length to be no more than 132 characters (max-line-length)
(#662) Expected line length to be no more than 132 characters (max-line-length)
(#797) Expected line length to be no more than 132 characters (max-line-length)
(#465) Unexpected whitespace at end of line (no-eol-whitespace)
(#85) Expected newline after "," (selector-list-comma-newline-after)
(#335) Expected newline after "," (selector-list-comma-newline-after)
(#474) Expected newline after "," (selector-list-comma-newline-after)
(#526) Expected newline after "," (selector-list-comma-newline-after)
(#526) Expected newline after "," (selector-list-comma-newline-after)
(#595) Expected newline after "," (selector-list-comma-newline-after)
(#673) Expected newline after "," (selector-list-comma-newline-after)
(#694) Expected newline after "," (selector-list-comma-newline-after)
(#695) Expected newline after "," (selector-list-comma-newline-after)
(#696) Expected newline after "," (selector-list-comma-newline-after)
(#697) Expected newline after "," (selector-list-comma-newline-after)
(#698) Expected newline after "," (selector-list-comma-newline-after)
(#699) Expected newline after "," (selector-list-comma-newline-after)
(#700) Expected newline after "," (selector-list-comma-newline-after)
(#701) Expected newline after "," (selector-list-comma-newline-after)
(#702) Expected newline after "," (selector-list-comma-newline-after)
(#703) Expected newline after "," (selector-list-comma-newline-after)
(#704) Expected newline after "," (selector-list-comma-newline-after)
(#705) Expected newline after "," (selector-list-comma-newline-after)
(#706) Expected newline after "," (selector-list-comma-newline-after)
(#707) Expected newline after "," (selector-list-comma-newline-after)
(#708) Expected newline after "," (selector-list-comma-newline-after)
(#709) Expected newline after "," (selector-list-comma-newline-after)
(#755) Expected newline after "," (selector-list-comma-newline-after)
(#760) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(292 errors, 67 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
(#30) Invalid phpdocs tag @authors used
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
(#84) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#86) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#100) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#102) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/pdfannotator/backup/moodle2/restore_pdfannotator_stepslib.php
(#42) Function restore_pdfannotator_activity_structure_step::define_structure is not documented
(#62) Function restore_pdfannotator_activity_structure_step::process_pdfannotator is not documented
(#77) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_annotation is not documented
(#92) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_subscription is not documented
(#107) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_comment is not documented
(#122) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_vote is not documented
(#135) Function restore_pdfannotator_activity_structure_step::process_pdfannotator_report is not documented
(#153) 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) Package is not specified for class course_module_instance_list_viewed. It is also not specified in file-level phpdocs
(#21) Class course_module_instance_list_viewed is not documented
mod/pdfannotator/classes/event/course_module_viewed.php
(#22) Package is not specified for class course_module_viewed. It is also not specified in file-level phpdocs
(#22) Class course_module_viewed is not documented
(#35) Function course_module_viewed::get_objectid_mapping is not documented
mod/pdfannotator/classes/event/report_added.php
(#20) Package pdfannotator is not valid
(#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
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
(#85) Phpdocs for function answermenu::export_for_template has incomplete parameters list
(#40) Not recommended phpdocs tag @global used
mod/pdfannotator/classes/output/comment.php
(#30) Package is not specified for class comment. It is also not specified in file-level phpdocs
(#30) Class comment is not documented
(#123) Function comment::addcssclasses is not documented
(#138) Function comment::setvotes is not documented
(#227) Function comment::addhidebutton is not documented
(#267) Function comment::addsubscribebutton is not documented
(#279) Function comment::addforwardbutton is not documented
(#290) 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
(#114) Phpdocs for function comment::export_for_template has incomplete parameters list
(#165) Phpdocs for function comment::addsolvedicon has incomplete parameters list
(#179) Phpdocs for function comment::addreportbutton has incomplete parameters list
(#193) Phpdocs for function comment::addcloseopenbutton has incomplete parameters list
(#215) Phpdocs for function comment::addeditbutton has incomplete parameters list
(#255) Phpdocs for function comment::adddeletebutton has incomplete parameters list
mod/pdfannotator/classes/output/index.php
(#38) Class index is not documented
(#48) Function index::__construct is not documented
(#69) Function index::export_for_template is not documented
(#40) Variable index::$usestudenttextbox is not documented
(#41) Variable index::$usestudentdrawing is not documented
(#42) Variable index::$useprint is not documented
(#43) Variable index::$useprintcomments is not documented
(#44) Variable index::$printurl is not documented
(#45) Variable index::$useprivatecomments is not documented
(#46) 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
(#78) Phpdocs for function reportmenu::export_for_template has incomplete parameters list
(#39) Not recommended phpdocs tag @global used
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
(#69) Phpdocs for function statistics::export_for_template has incomplete parameters list
(#45) Not recommended phpdocs tag @global used
(#45) Not recommended phpdocs tag @global used
mod/pdfannotator/classes/privacy/provider.php
(#403) Function provider::empty_or_delete_comment is not documented
(#16) No one-line description found in phpdocs for file
(#310) There is no description in phpdocs for function delete_data_for_user
(#313) Phpdocs for function provider::delete_data_for_user has incomplete parameters list
(#376) Phpdocs for function provider::delete_annotation has incomplete parameters list
(#312) Not recommended phpdocs tag @global used
(#375) Not recommended phpdocs tag @global used
mod/pdfannotator/constants.php
(#16) No one-line description found in phpdocs for file
(#19) Invalid phpdocs tag @authors used
mod/pdfannotator/controller.php
(#17) No one-line description found in phpdocs for file
(#20) Invalid phpdocs tag @authors used
mod/pdfannotator/db/access.php
(#17) No one-line description found in phpdocs for file
(#20) Invalid phpdocs tag @authors used
mod/pdfannotator/db/events.php
(#17) File-level phpdocs block is not found
mod/pdfannotator/db/install.php
(#29) Function xmldb_pdfannotator_install is not documented
(#16) No one-line description found in phpdocs for file
(#25) Not recommended phpdocs tag @global used
mod/pdfannotator/db/messages.php
(#17) No one-line description found in phpdocs for file
(#23) Invalid phpdocs tag @authors used
mod/pdfannotator/db/upgrade.php
(#26) Function xmldb_pdfannotator_upgrade is not documented
(#17) No one-line description found in phpdocs for file
(#20) Invalid phpdocs tag @authors used
mod/pdfannotator/forward_form.php
(#34) Function pdfannotator_forward_form::definition is not documented
(#79) 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
(#20) Invalid phpdocs tag @authors used
mod/pdfannotator/lib.php
(#16) No one-line description found in phpdocs for file
(#58) Phpdocs for function pdfannotator_reset_userdata has incomplete parameters list
(#417) Phpdocs for function pdfannotator_export_contents has incomplete parameters list
(#554) Phpdocs for function pdfannotator_get_recent_mod_activity has incomplete parameters list
(#19) Invalid phpdocs tag @authors used
(#558) Not recommended phpdocs tag @global used
(#558) Not recommended phpdocs tag @global used
(#558) Not recommended phpdocs tag @global used
(#558) Not recommended phpdocs tag @global used
(#220) Inline phpdocs tag {@link get_array_of_activities()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/pdfannotator/locallib.php
(#105) Function pdfannotator_get_instance_name is not documented
(#111) Function pdfannotator_get_course_name_by_id is not documented
(#116) Function pdfannotator_get_username is not documented
(#122) Function pdfannotator_get_annotationtype_id is not documented
(#133) Function pdfannotator_get_annotationtype_name is not documented
(#141) Function pdfannotator_handle_latex is not documented
(#210) Function pdfannotator_process_latex_moodle is not documented
(#264) Function pdfannotator_send_forward_message is not documented
(#278) Function pdfannotator_notify_manager is not documented
(#309) Function pdfannotator_format_notification_message_text is not documented
(#546) Function pdfannotator_content_file_info::get_parent is not documented
(#553) Function pdfannotator_content_file_info::get_visible_name is not documented
(#562) Function pdfannotator_set_mainfile is not documented
(#580) Function pdfannotator_render_listitem_actions is not documented
(#596) Function pdfannotator_render_action_menu is not documented
(#601) Function pdfannotator_subscribe_all is not documented
(#613) Function pdfannotator_unsubscribe_all is not documented
(#1051) Function pdfannotator_compare::compare_votes_ascending is not documented
(#1058) Function pdfannotator_compare::compare_votes_descending is not documented
(#1065) Function pdfannotator_compare::compare_answers_ascending is not documented
(#1072) Function pdfannotator_compare::compare_answers_descending is not documented
(#1079) Function pdfannotator_compare::compare_time_ascending is not documented
(#1086) Function pdfannotator_compare::compare_time_descending is not documented
(#1093) Function pdfannotator_compare::compare_lastanswertime_ascending is not documented
(#1100) Function pdfannotator_compare::compare_lastanswertime_descending is not documented
(#1107) Function pdfannotator_compare::compare_commenttime_ascending is not documented
(#1114) Function pdfannotator_compare::compare_commenttime_descending is not documented
(#1121) Function pdfannotator_compare::compare_creationtime_ascending is not documented
(#1128) Function pdfannotator_compare::compare_creationtime_descending is not documented
(#1135) Function pdfannotator_compare::compare_alphabetically_ascending is not documented
(#1146) Function pdfannotator_compare::compare_alphabetically_descending is not documented
(#1157) Function pdfannotator_compare::compare_question_ascending is not documented
(#1168) Function pdfannotator_compare::compare_question_descending is not documented
(#1217) Function pdfannotator_sort_questions is not documented
(#1342) Function array_key_first is not documented
(#1753) Function pdfannotator_is_mobile_device is not documented
(#1758) Function pdfannotator_is_phone is not documented
(#1764) Function pdfannotator_get_last_answer is not documented
(#1779) Function pdfannotator_can_see_comment is not documented
(#16) No one-line description found in phpdocs for file
(#650) There is no description in phpdocs for function pdfannotator_get_user_datetime
(#660) There is no description in phpdocs for function pdfannotator_get_user_datetime_shortformat
(#1298) There is no description in phpdocs for function pdfannotator_sort_reports
(#1456) There is no description in phpdocs for function pdfannotator_print_this_users_posts
(#36) Phpdocs for function pdfannotator_display_embed has incomplete parameters list
(#233) Phpdocs for function pdfannotator_process_latex_google has incomplete parameters list
(#326) Phpdocs for function pdfannotator_format_notification_message_html has incomplete parameters list
(#357) Phpdocs for function pdfannotator_get_clicktoopen has incomplete parameters list
(#372) Phpdocs for function pdfannotator_get_clicktodownload has incomplete parameters list
(#474) Phpdocs for function pdfannotator_get_number_of_new_activities has incomplete parameters list
(#628) Phpdocs for function pdfannotator_subscribed has incomplete parameters list
(#652) Phpdocs for function pdfannotator_get_user_datetime has incomplete parameters list
(#662) Phpdocs for function pdfannotator_get_user_datetime_shortformat has incomplete parameters list
(#675) Phpdocs for function pdfannotator_prepare_overviewpage has incomplete parameters list
(#717) Phpdocs for function pdfannotator_get_questions has incomplete parameters list
(#817) Phpdocs for function pdfannotator_get_posts_by_this_user has incomplete parameters list
(#891) Phpdocs for function pdfannotator_get_answers_for_this_user has incomplete parameters list
(#1006) Phpdocs for function pdfannotator_get_reports has incomplete parameters list
(#1358) Phpdocs for function pdfannotator_print_questions has incomplete parameters list
(#1415) Phpdocs for function pdfannotator_print_answers has incomplete parameters list
(#1461) Phpdocs for function pdfannotator_print_this_users_posts has incomplete parameters list
(#1505) Phpdocs for function pdfannotator_print_reports has incomplete parameters list
(#1549) Phpdocs for function pdfannotator_questionstable_add_row has incomplete parameters list
(#1595) Phpdocs for function pdfannotator_answerstable_add_row has incomplete parameters list
(#1740) Phpdocs for function pdfannotator_optional_timeago has incomplete parameters list
(#1805) Phpdocs for function pdfannotator_count_answers has incomplete parameters list
(#19) Invalid phpdocs tag @authors used
(#481) Not recommended phpdocs tag @global used
(#504) Not recommended phpdocs tag @global used
(#626) Not recommended phpdocs tag @global used
(#626) Not recommended phpdocs tag @global used
(#716) Not recommended phpdocs tag @global used
(#815) Not recommended phpdocs tag @global used
(#815) Not recommended phpdocs tag @global used
(#889) Not recommended phpdocs tag @global used
(#889) Not recommended phpdocs tag @global used
(#1005) Not recommended phpdocs tag @global used
(#1357) Not recommended phpdocs tag @global used
(#1413) Not recommended phpdocs tag @global used
(#1413) Not recommended phpdocs tag @global used
(#1458) Not recommended phpdocs tag @global used
(#1458) Not recommended phpdocs tag @global used
(#1458) Not recommended phpdocs tag @global used
(#1504) Not recommended phpdocs tag @global used
(#1594) Not recommended phpdocs tag @global used
(#1663) Not recommended phpdocs tag @global used
(#403) Inline phpdocs tag {@link pdfannotator_get_optional_details()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/pdfannotator/mod_form.php
(#30) Class mod_pdfannotator_mod_form is not documented
(#32) Function mod_pdfannotator_mod_form::definition is not documented
(#126) Function mod_pdfannotator_mod_form::data_preprocessing is not documented
(#136) 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
(#38) Phpdocs for function pdfannotator_annotation::create_annotation has incomplete parameters list
(#63) Phpdocs for function pdfannotator_annotation::update has incomplete parameters list
(#98) Phpdocs for function pdfannotator_annotation::delete has incomplete parameters list
(#145) Phpdocs for function pdfannotator_annotation::deletion_allowed has incomplete parameters list
(#186) Phpdocs for function pdfannotator_annotation::shifting_allowed has incomplete parameters list
(#208) Phpdocs for function pdfannotator_annotation::get_information has incomplete parameters list
(#249) Phpdocs for function pdfannotator_annotation::get_author has incomplete parameters list
(#262) Phpdocs for function pdfannotator_annotation::get_pageid has incomplete parameters list
(#274) Phpdocs for function pdfannotator_annotation::get_question has incomplete parameters list
(#25) Invalid phpdocs tag @authors used
(#36) Not recommended phpdocs tag @global used
(#36) Not recommended phpdocs tag @global used
(#62) Not recommended phpdocs tag @global used
(#97) Not recommended phpdocs tag @global used
(#185) Not recommended phpdocs tag @global used
(#248) Not recommended phpdocs tag @global used
(#261) Not recommended phpdocs tag @global used
(#273) Not recommended phpdocs tag @global used
mod/pdfannotator/model/comment.class.php
(#30) Class pdfannotator_comment is not documented
(#402) Function pdfannotator_comment::update is not documented
(#537) Function pdfannotator_comment::is_solved is not documented
(#589) Function pdfannotator_comment::get_questions is not documented
(#619) Function pdfannotator_comment::get_all_questions is not documented
(#16) No one-line description found in phpdocs for file
(#37) Phpdocs for function pdfannotator_comment::create has incomplete parameters list
(#136) Phpdocs for function pdfannotator_comment::read has incomplete parameters list
(#216) Phpdocs for function pdfannotator_comment::set_username has incomplete parameters list
(#241) Phpdocs for function pdfannotator_comment::hide_comment has incomplete parameters list
(#327) Phpdocs for function pdfannotator_comment::delete_comment has incomplete parameters list
(#431) Phpdocs for function pdfannotator_comment::insert_vote has incomplete parameters list
(#463) Phpdocs for function pdfannotator_comment::insert_subscription has incomplete parameters list
(#492) Phpdocs for function pdfannotator_comment::delete_subscription has incomplete parameters list
(#509) Phpdocs for function pdfannotator_comment::mark_solved has incomplete parameters list
(#546) Phpdocs for function pdfannotator_comment::is_voted has incomplete parameters list
(#557) Phpdocs for function pdfannotator_comment::get_number_of_votes has incomplete parameters list
(#569) Phpdocs for function pdfannotator_comment::is_subscribed has incomplete parameters list
(#580) Phpdocs for function pdfannotator_comment::get_subscribed_users has incomplete parameters list
(#640) Phpdocs for function pdfannotator_comment::get_questions_search has incomplete parameters list
(#19) Invalid phpdocs tag @authors used
(#35) Not recommended phpdocs tag @global used
(#35) Not recommended phpdocs tag @global used
(#135) Not recommended phpdocs tag @global used
(#244) Not recommended phpdocs tag @global used
(#244) Not recommended phpdocs tag @global used
(#429) Not recommended phpdocs tag @global used
(#429) Not recommended phpdocs tag @global used
(#461) Not recommended phpdocs tag @global used
(#461) Not recommended phpdocs tag @global used
(#490) Not recommended phpdocs tag @global used
(#490) Not recommended phpdocs tag @global used
(#507) Not recommended phpdocs tag @global used
(#507) Not recommended phpdocs tag @global used
(#544) Not recommended phpdocs tag @global used
(#544) Not recommended phpdocs tag @global used
(#556) Not recommended phpdocs tag @global used
(#567) Not recommended phpdocs tag @global used
(#567) Not recommended phpdocs tag @global used
(#579) Not recommended phpdocs tag @global used
(#639) Not recommended phpdocs tag @global used
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
(#115) Function answerstable::__construct is not documented
(#150) Function userspoststable::__construct is not documented
(#179) Function reportstable::__construct is not documented
(#62) Variable questionstable::$id is not documented
(#113) Variable answerstable::$id is not documented
(#148) Variable userspoststable::$id is not documented
(#177) Variable reportstable::$id is not documented
(#16) No one-line description found in phpdocs for file
(#106) 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
(#91) Function pdfannotator_instance::get_cm_info is not documented
(#111) Function pdfannotator_instance::use_votes is not documented
(#118) Function pdfannotator_instance::get_id is not documented
(#122) Function pdfannotator_instance::get_name is not documented
(#126) 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
(#60) Phpdocs for function pdfannotator_instance::get_pdfannotator_instances has incomplete parameters list
(#59) Not recommended phpdocs tag @global used
mod/pdfannotator/model/statistics.class.php
(#35) Function pdfannotator_statistics::__construct is not documented
(#255) Function pdfannotator_statistics::count_protected_comments is not documented
(#280) Function pdfannotator_statistics::count_private_comments_in_course is not documented
(#287) 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
(#45) Phpdocs for function pdfannotator_statistics::get_comments_annotator has incomplete parameters list
(#63) Phpdocs for function pdfannotator_statistics::get_comments_course has incomplete parameters list
(#81) Phpdocs for function pdfannotator_statistics::get_comments_average_annotator has incomplete parameters list
(#98) Phpdocs for function pdfannotator_statistics::get_comments_average_course has incomplete parameters list
(#112) Phpdocs for function pdfannotator_statistics::get_reports_annotator has incomplete parameters list
(#122) Phpdocs for function pdfannotator_statistics::get_reports_course has incomplete parameters list
(#160) Phpdocs for function pdfannotator_statistics::get_chartdata has incomplete parameters list
(#212) Phpdocs for function pdfannotator_statistics::count_comments_annotator has incomplete parameters list
(#228) Phpdocs for function pdfannotator_statistics::count_private_comments has incomplete parameters list
(#44) Not recommended phpdocs tag @global used
(#62) Not recommended phpdocs tag @global used
(#80) Not recommended phpdocs tag @global used
(#97) Not recommended phpdocs tag @global used
(#114) Not recommended phpdocs tag @global used
(#124) Not recommended phpdocs tag @global used
(#159) Not recommended phpdocs tag @global used
(#211) Not recommended phpdocs tag @global used
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
(#115) Phpdocs for function mod_pdfannotator_renderer::pdfannotator_render_tabs has incomplete parameters list
(#20) Invalid phpdocs tag @authors used
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/view.php
(#16) No one-line description found in phpdocs for file
(#19) Invalid phpdocs tag @authors used

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, 19 warnings)

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

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 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/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, pdfannotator ]]" alt="[[ zoomout, 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, pdfannotator ]]" alt="[[ zoomout, pdfannotator ]]"></i> )
(#1) HTML Validation error, line 24: Attribute “alt” not allowed on element “button” at this point. ( --><button id="scalePlus" class="" title="[[ zoomin, pdfannotator ]]" alt="[[ zoomin, 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, pdfannotator ]]" alt="[[ zoomin, pdfannotator ]]"></i> )
(#1) HTML Validation error, line 42: Attribute value missing. (tator ]]"><img class="icon " alt="[[ hideAnnotations, pdfannotator ]]" title="[[ hideAnnotations, 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, pdfannotator ]]" title="[[ hideAnnotations, 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, pdfannotator ]]" title="[[ hideAnnotations, 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, pdfannotator ]]" alt="[[ prevPage, 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, pdfannotator ]]" alt="[[ prevPage, pdfannotator ]]"></i> )
(#1) HTML Validation error, line 50: Attribute “alt” not allowed on element “button” at this point. ( --><button id="nextPage" class="" title="[[ nextPage, pdfannotator ]]" alt="[[ nextPage, 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, pdfannotator ]]" alt="[[ nextPage, 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, pdfannotator ]]" alt="[[ search, 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, pdfannotator ]]" alt="[[ search, 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]