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

(4 errors, 7 warnings)

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

blocks/annotate/block_annotate.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#92) Line exceeds 132 characters; contains 146 characters
(#93) Line exceeds 132 characters; contains 140 characters
blocks/annotate/db/access.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/annotate/edit_form.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
blocks/annotate/error.php
(#25) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
blocks/annotate/lib.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#77) Line exceeds 132 characters; contains 133 characters
blocks/annotate/version.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/annotate/view.php
(#32) Line exceeds 132 characters; contains 135 characters

Javascript coding style problems

(0 errors, 71 warnings)

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

blocks/annotate/module.js
(#1) Identifier 'block_annotate' is not in camel case. (camelcase)
(#10) Missing JSDoc comment. (require-jsdoc)
(#19) Missing JSDoc comment. (require-jsdoc)
(#19) A space is required after ','. (comma-spacing)
(#69) Missing JSDoc comment. (require-jsdoc)
(#90) Missing space before value for key 'pdf.gif'. (key-spacing)
(#91) Missing space before value for key 'word.gif'. (key-spacing)
(#92) Missing space before value for key 'docx.gif'. (key-spacing)
(#93) Missing space before value for key 'xlsx.gif'. (key-spacing)
(#94) Missing space before value for key 'xls.gif'. (key-spacing)
(#95) Missing space before value for key 'excel.gif'. (key-spacing)
(#96) Missing space before value for key 'powerpoint.gif'. (key-spacing)
(#97) Missing space before value for key 'pptx.gif'. (key-spacing)
(#98) Missing space before value for key 'odt.gif'. (key-spacing)
(#99) Missing space before value for key 'image.gif'. (key-spacing)
(#100) Missing space before value for key 'pdf.png'. (key-spacing)
(#101) Missing space before value for key 'word.png'. (key-spacing)
(#102) Missing space before value for key 'docx.png'. (key-spacing)
(#103) Missing space before value for key 'xlsx.png'. (key-spacing)
(#104) Missing space before value for key 'xls.png'. (key-spacing)
(#105) Missing space before value for key 'excel.png'. (key-spacing)
(#106) Missing space before value for key 'powerpoint.png'. (key-spacing)
(#107) Missing space before value for key 'pptx.png'. (key-spacing)
(#108) Missing space before value for key 'odt.png'. (key-spacing)
(#109) Missing space before value for key 'image.png'. (key-spacing)
(#110) Missing space before value for key 'pdf.jpg'. (key-spacing)
(#111) Missing space before value for key 'word.jpg'. (key-spacing)
(#112) Missing space before value for key 'docx.jpg'. (key-spacing)
(#113) Missing space before value for key 'xlsx.jpg'. (key-spacing)
(#114) Missing space before value for key 'xls.jpg'. (key-spacing)
(#115) Missing space before value for key 'excel.jpg'. (key-spacing)
(#116) Missing space before value for key 'powerpoint.jpg'. (key-spacing)
(#117) Missing space before value for key 'pptx.jpg'. (key-spacing)
(#118) Missing space before value for key 'odt.jpg'. (key-spacing)
(#119) Missing space before value for key 'image.jpg'. (key-spacing)
(#120) Missing space before value for key 'pdf.jpeg'. (key-spacing)
(#121) Missing space before value for key 'word.jpeg'. (key-spacing)
(#122) Missing space before value for key 'docx.jpeg'. (key-spacing)
(#123) Missing space before value for key 'xlsx.jpeg'. (key-spacing)
(#124) Missing space before value for key 'xls.jpeg'. (key-spacing)
(#125) Missing space before value for key 'excel.jpeg'. (key-spacing)
(#126) Missing space before value for key 'powerpoint.jpeg'. (key-spacing)
(#127) Missing space before value for key 'pptx.jpeg'. (key-spacing)
(#128) Missing space before value for key 'odt.jpeg'. (key-spacing)
(#129) Missing space before value for key 'image.jpeg'. (key-spacing)
(#130) Missing space before value for key 'pdf.ico'. (key-spacing)
(#131) Missing space before value for key 'word.ico'. (key-spacing)
(#132) Missing space before value for key 'docx.ico'. (key-spacing)
(#133) Missing space before value for key 'xlsx.ico'. (key-spacing)
(#134) Missing space before value for key 'xls.ico'. (key-spacing)
(#135) Missing space before value for key 'excel.ico'. (key-spacing)
(#136) Missing space before value for key 'powerpoint.ico'. (key-spacing)
(#137) Missing space before value for key 'pptx.ico'. (key-spacing)
(#138) Missing space before value for key 'odt.ico'. (key-spacing)
(#139) Missing space before value for key 'image.ico'. (key-spacing)
(#143) Missing space before value for key 'pdf-'. (key-spacing)
(#144) Missing space before value for key 'word-'. (key-spacing)
(#145) Missing space before value for key 'docx-'. (key-spacing)
(#146) Missing space before value for key 'xlsx-'. (key-spacing)
(#147) Missing space before value for key 'xls-'. (key-spacing)
(#148) Missing space before value for key 'excel.-'. (key-spacing)
(#149) Missing space before value for key 'pptx-'. (key-spacing)
(#150) Missing space before value for key 'odt-'. (key-spacing)
(#151) Missing space before value for key 'image-'. (key-spacing)
(#152) Missing space before value for key 'document-'. (key-spacing)
(#153) Missing space before value for key 'spreadsheet-'. (key-spacing)
(#154) Missing space before value for key 'powerpoint-'. (key-spacing)
(#155) Missing space before value for key 'jpeg-'. (key-spacing)
(#200) Expected space(s) after "if". (keyword-spacing)
(#213) Identifier 'tx_added' is not in camel case. (camelcase)
(#216) A space is required after ','. (comma-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(7 errors, 0 warnings)

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

blocks/annotate/edit_form.php
(#33) Phpdocs for function block_annotate_edit_form::specific_definition has incomplete parameters list
(#61) Phpdocs for function block_annotate_edit_form::validation has incomplete parameters list
blocks/annotate/lib.php
(#27) Phpdocs for function block_annotate_process_usr_input has incomplete parameters list
(#35) Phpdocs for function block_annotate_hex2b64 has incomplete parameters list
(#46) Phpdocs for function block_annotate_sign_request has incomplete parameters list
(#61) Phpdocs for function block_annotate_make_login_link has incomplete parameters list
(#102) Phpdocs for function block_annotate_redirect_to_annotate has incomplete parameters list

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

(2 errors, 0 warnings)

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

.eslintignore
Uncommitted change detected.
.stylelintignore
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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