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

(55 errors, 1 warnings)

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

mod/glossaryfocus/backup/moodle2/backup_glossaryfocus_activity_task.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#56) Line indented incorrectly; expected 4 spaces, found 5
(#70) Closing brace indented incorrectly; expected 5 spaces, found 4
mod/glossaryfocus/backup/moodle2/backup_glossaryfocus_settingslib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/glossaryfocus/backup/moodle2/backup_glossaryfocus_stepslib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/glossaryfocus/backup/moodle2/restore_glossaryfocus_activity_task.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#56) Line indented incorrectly; expected 4 spaces, found 5
(#62) Closing brace indented incorrectly; expected 5 spaces, found 4
(#68) Line indented incorrectly; expected 4 spaces, found 5
(#76) Closing brace indented incorrectly; expected 5 spaces, found 4
(#84) Line indented incorrectly; expected 4 spaces, found 5
(#95) Closing brace indented incorrectly; expected 5 spaces, found 4
(#107) Line indented incorrectly; expected 4 spaces, found 5
(#116) Closing brace indented incorrectly; expected 5 spaces, found 4
mod/glossaryfocus/backup/moodle2/restore_glossaryfocus_stepslib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/glossaryfocus/classes/external.php
(#75) Whitespace found at end of line
(#86) Whitespace found at end of line within string
mod/glossaryfocus/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/glossaryfocus/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/glossaryfocus/lang/en/glossaryfocus.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/glossaryfocus/lib.php
(#55) Whitespace found at end of line
mod/glossaryfocus/locallib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#39) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#41) Whitespace found at end of line within string
(#42) Whitespace found at end of line within string
(#43) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
(#46) Whitespace found at end of line within string
(#50) Whitespace found at end of line within string
(#51) Whitespace found at end of line within string
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#58) 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
(#87) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#89) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#110) Whitespace found at end of line within string
(#111) Whitespace found at end of line within string
mod/glossaryfocus/renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/glossaryfocus/version.php
(#39) File must end with a newline character
mod/glossaryfocus/view.php
(#34) 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

(65 errors, 0 warnings)

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

mod/glossaryfocus/amd/src/form-words-selector.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) 'Templates' is defined but never used. (no-unused-vars)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) 'idglossary' is assigned to itself. (no-self-assign)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(22 errors, 0 warnings)

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

mod/glossaryfocus/backup/moodle2/backup_glossaryfocus_stepslib.php
(#31) Function backup_glossaryfocus_activity_structure_step::define_structure is not documented
mod/glossaryfocus/backup/moodle2/restore_glossaryfocus_activity_task.class.php
(#31) No one-line description found in phpdocs for class restore_glossaryfocus_activity_task
(#80) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#82) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#99) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#101) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/glossaryfocus/backup/moodle2/restore_glossaryfocus_stepslib.php
(#31) Function restore_glossaryfocus_activity_structure_step::define_structure is not documented
(#40) Function restore_glossaryfocus_activity_structure_step::process_glossaryfocus is not documented
(#57) Function restore_glossaryfocus_activity_structure_step::process_glossaryfocus_entry is not documented
mod/glossaryfocus/classes/external.php
(#64) Phpdocs for function external::get_words has incomplete parameters list
mod/glossaryfocus/db/upgrade.php
(#26) Function xmldb_glossaryfocus_upgrade is not documented
mod/glossaryfocus/lib.php
(#68) Phpdocs for function glossaryfocus_update_instance has incomplete parameters list
(#102) Phpdocs for function glossaryfocus_delete_instance has incomplete parameters list
(#142) Phpdocs for function glossaryfocus_supports has incomplete parameters list
mod/glossaryfocus/locallib.php
(#32) Phpdocs for function glossaryfocus_get_words_for_view has incomplete parameters list
(#79) Phpdocs for function glossaryfocus_get_words has incomplete parameters list
(#101) Phpdocs for function glossaryfocus_get_opt_glossarymaster has incomplete parameters list
mod/glossaryfocus/mod_form.php
(#31) Class mod_glossaryfocus_mod_form is not documented
(#32) Function mod_glossaryfocus_mod_form::definition is not documented
mod/glossaryfocus/renderer.php
(#27) Function mod_glossaryfocus_renderer::render_glossaryfocus_words is not documented
(#44) Function mod_glossaryfocus_renderer::render_word is not documented
mod/glossaryfocus/version.php
(#17) 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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" 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, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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