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

(20 errors, 8 warnings)

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

blocks/configurable_reports/classes/privacy/provider.php
(#61) Method name "_get_metadata" should not be prefixed with an underscore to indicate visibility
(#84) Method name "_get_contexts_for_userid" should not be prefixed with an underscore to indicate visibility
(#133) Method name "_export_user_data" should not be prefixed with an underscore to indicate visibility
(#170) Method name "_delete_data_for_all_users_in_context" should not be prefixed with an underscore to indicate visibility
(#194) Method name "_delete_data_for_user" should not be prefixed with an underscore to indicate visibility
blocks/configurable_reports/components/columns/userstats/form.php
(#36) Duplicate class name "userstats_form" found; first defined in /var/lib/jenkins/git_repositories/prechecker/blocks/configurable_reports/components/columns/usercompletion/form.php on line 36
blocks/configurable_reports/components/conditions/component.class.php
(#17) Missing @license tag
blocks/configurable_reports/components/filters/fsearchuserfield/plugin.class.php
(#205) Line exceeds 132 characters; contains 151 characters
blocks/configurable_reports/filter_form.php
(#37) Duplicate class name "report_edit_form" found; first defined in /var/lib/jenkins/git_repositories/prechecker/blocks/configurable_reports/editreport_form.php on line 35
blocks/configurable_reports/locallib.php
(#52) Missing docblock for file locallib.php
(#62) DocBlock missing a @package tag for function cr_add_jsdatatables. Expected @package block_configurable_reports
(#97) DocBlock missing a @package tag for function cr_add_jsordering. Expected @package block_configurable_reports
(#118) DocBlock missing a @package tag for function urlencode_recursive. Expected @package block_configurable_reports
(#146) DocBlock missing a @package tag for function urldecode_recursive. Expected @package block_configurable_reports
(#175) DocBlock missing a @package tag for function cr_get_my_reports. Expected @package block_configurable_reports
(#207) DocBlock missing a @package tag for function cr_serialize. Expected @package block_configurable_reports
(#217) DocBlock missing a @package tag for function cr_unserialize. Expected @package block_configurable_reports
(#238) DocBlock missing a @package tag for function cr_check_report_permissions. Expected @package block_configurable_reports
(#255) DocBlock missing a @package tag for function cr_get_report_plugins. Expected @package block_configurable_reports
(#277) DocBlock missing a @package tag for function cr_get_export_plugins. Expected @package block_configurable_reports
(#297) DocBlock missing a @package tag for function cr_print_table. Expected @package block_configurable_reports
(#463) DocBlock missing a @package tag for function table_to_excel. Expected @package block_configurable_reports
(#509) DocBlock missing a @package tag for function cr_get_context. Expected @package block_configurable_reports
(#549) DocBlock missing a @package tag for function cr_make_categories_list. Expected @package block_configurable_reports
(#582) DocBlock missing a @package tag for function cr_import_xml. Expected @package block_configurable_reports
(#625) DocBlock missing a @package tag for function cr_logging_info. Expected @package block_configurable_reports
(#677) DocBlock missing a @package tag for function block_configurable_reports_can_managesqlreports. Expected @package block_configurable_reports
blocks/configurable_reports/reports/timeline/report.class.php
(#17) Missing @license tag

Javascript coding style problems

(39 errors, 63 warnings)

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

blocks/configurable_reports/amd/src/main.js
(#10) Identifier 'js_order' is not in camel case. (camelcase)
(#27) Identifier 'add_jsdatatables' is not in camel case. (camelcase)
(#35) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#36) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#39) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#40) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#41) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#42) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#44) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#45) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#46) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#47) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#48) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#49) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#50) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#51) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#52) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#53) 'M.str' is restricted from being used. Use "core/str" module or M.util.get_string() (no-restricted-properties)
(#74) Comments should not begin with a lowercase character. (capitalized-comments)
blocks/configurable_reports/js/configurable_reports.js
(#3) Identifier 'editor_querysql' is not in camel case. (camelcase)
(#3) 'editor_querysql' is assigned a value but never used. (no-unused-vars)
(#4) Identifier 'editor_remotequerysql' is not in camel case. (camelcase)
(#6) Identifier 'block_configurable_reports' is not in camel case. (camelcase)
(#13) Identifier 'editor_querysql' is not in camel case. (camelcase)
(#13) 'CodeMirror' is not defined. (no-undef)
(#23) Identifier 'editor_remotequerysql' is not in camel case. (camelcase)
(#23) 'CodeMirror' is not defined. (no-undef)
(#37) Identifier 'select_reportcategories' is not in camel case. (camelcase)
(#37) 'select_reportcategories' is not defined. (no-undef)
(#48) This line has a length of 139. Maximum allowed is 132. (max-len)
(#48) 'option' is not defined. (no-undef)
(#48) ["path"] is better written in dot notation. (dot-notation)
(#48) ["name"] is better written in dot notation. (dot-notation)
(#49) Identifier 'select_reportcategories' is not in camel case. (camelcase)
(#49) 'select_reportcategories' is not defined. (no-undef)
(#49) 'option' is not defined. (no-undef)
(#54) 'id' is defined but never used. (no-unused-vars)
(#54) 'o' is defined but never used. (no-unused-vars)
(#56) Unexpected alert. (no-alert)
(#63) Identifier 'onchange_crreportcategories' is not in camel case. (camelcase)
(#63) Identifier 'select_element' is not in camel case. (camelcase)
(#66) Identifier 'select_reportnames' is not in camel case. (camelcase)
(#66) 'select_reportnames' is not defined. (no-undef)
(#69) This line has a length of 133. Maximum allowed is 132. (max-len)
(#69) Identifier 'select_element' is not in camel case. (camelcase)
(#69) Identifier 'select_element' is not in camel case. (camelcase)
(#75) Identifier 'select_reportnames' is not in camel case. (camelcase)
(#75) 'select_reportnames' is not defined. (no-undef)
(#76) 'option' is not defined. (no-undef)
(#77) Identifier 'select_reportnames' is not in camel case. (camelcase)
(#77) 'select_reportnames' is not defined. (no-undef)
(#77) 'option' is not defined. (no-undef)
(#81) This line has a length of 142. Maximum allowed is 132. (max-len)
(#81) 'option' is not defined. (no-undef)
(#81) ["git_url"] is better written in dot notation. (dot-notation)
(#81) ["name"] is better written in dot notation. (dot-notation)
(#82) Identifier 'select_reportnames' is not in camel case. (camelcase)
(#82) 'select_reportnames' is not defined. (no-undef)
(#82) 'option' is not defined. (no-undef)
(#86) 'id' is defined but never used. (no-unused-vars)
(#86) 'o' is defined but never used. (no-unused-vars)
(#87) Unexpected alert. (no-alert)
(#93) Identifier 'onchange_crreportnames' is not in camel case. (camelcase)
(#93) Identifier 'select_element' is not in camel case. (camelcase)
(#94) 'Y' is assigned a value but never used. (no-unused-vars)
(#96) Identifier 'select_element' is not in camel case. (camelcase)
(#96) Identifier 'select_element' is not in camel case. (camelcase)
(#100) Identifier 'onchange_reportcategories' is not in camel case. (camelcase)
(#100) Identifier 'select_element' is not in camel case. (camelcase)
(#103) Identifier 'select_reportsincategory' is not in camel case. (camelcase)
(#103) 'select_reportsincategory' is not defined. (no-undef)
(#104) Identifier 'select_reportsincategory' is not in camel case. (camelcase)
(#104) 'select_reportsincategory' is not defined. (no-undef)
(#106) Identifier 'select_element' is not in camel case. (camelcase)
(#106) Identifier 'select_element' is not in camel case. (camelcase)
(#113) 'option' is not defined. (no-undef)
(#114) 'option' is not defined. (no-undef)
(#118) This line has a length of 143. Maximum allowed is 132. (max-len)
(#118) 'option' is not defined. (no-undef)
(#118) ["fullname"] is better written in dot notation. (dot-notation)
(#118) ["name"] is better written in dot notation. (dot-notation)
(#119) 'option' is not defined. (no-undef)
(#122) Identifier 'select_reportsincategory' is not in camel case. (camelcase)
(#122) 'select_reportsincategory' is not defined. (no-undef)
(#125) This line has a length of 138. Maximum allowed is 132. (max-len)
(#126) Identifier 'select_reportsincategory' is not in camel case. (camelcase)
(#126) 'select_reportsincategory' is not defined. (no-undef)
(#130) Identifier 'select_reportsincategory' is not in camel case. (camelcase)
(#130) 'select_reportsincategory' is not defined. (no-undef)
(#137) Identifier 'onchange_reportsincategory' is not in camel case. (camelcase)
(#137) Identifier 'select_element' is not in camel case. (camelcase)
(#140) Identifier 'textarea_reportsincategory' is not in camel case. (camelcase)
(#140) 'textarea_reportsincategory' is not defined. (no-undef)
(#142) Identifier 'select_element' is not in camel case. (camelcase)
(#142) Identifier 'select_element' is not in camel case. (camelcase)
(#150) Identifier 'textarea_reportsincategory' is not in camel case. (camelcase)
(#150) 'textarea_reportsincategory' is not defined. (no-undef)
(#153) Identifier 'editor_remotequerysql' is not in camel case. (camelcase)
(#157) Identifier 'select_reportsincategory' is not in camel case. (camelcase)
(#157) 'select_reportsincategory' is not defined. (no-undef)
(#163) Missing semicolon. (semi)
(#165) 'menuplugin' is defined but never used. (no-unused-vars)

CSS problems

(43 errors, 31 warnings)

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

blocks/configurable_reports/styles.css
(#73) Invalid value for "background" (csstree/validator)
(#106) Invalid value for "background" (csstree/validator)
(#431) Unexpected empty block (block-no-empty)
(#490) Unexpected empty block (block-no-empty)
(#495) Unexpected empty block (block-no-empty)
(#500) Unexpected empty block (block-no-empty)
(#505) Unexpected empty block (block-no-empty)
(#510) Unexpected empty block (block-no-empty)
(#515) Unexpected empty block (block-no-empty)
(#520) Unexpected empty block (block-no-empty)
(#597) Unexpected empty block (block-no-empty)
(#839) Unexpected empty block (block-no-empty)
(#152) Expected "#E2E4FF" to be "#e2e4ff" (color-hex-case)
(#160) Expected "#D3D6FF" to be "#d3d6ff" (color-hex-case)
(#164) Expected "#DADCFF" to be "#dadcff" (color-hex-case)
(#168) Expected "#E0E2FF" to be "#e0e2ff" (color-hex-case)
(#172) Expected "#EAEBFF" to be "#eaebff" (color-hex-case)
(#176) Expected "#F2F3FF" to be "#f2f3ff" (color-hex-case)
(#180) Expected "#F9F9FF" to be "#f9f9ff" (color-hex-case)
(#331) Expected "#99B3FF" to be "#99b3ff" (color-hex-case)
(#91) Expected "#ffffff" to be "#fff" (color-hex-length)
(#73) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#106) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#133) Unexpected duplicate "cursor" (declaration-block-no-duplicate-properties)
(#236) Unexpected duplicate "cursor" (declaration-block-no-duplicate-properties)
(#317) Unexpected duplicate "cursor" (declaration-block-no-duplicate-properties)
(#913) Unexpected duplicate "background-color" (declaration-block-no-duplicate-properties)
(#301) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#782) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#786) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#237) Unexpected !important (declaration-no-important)
(#244) Unexpected !important (declaration-no-important)
(#256) Unexpected !important (declaration-no-important)
(#318) Unexpected !important (declaration-no-important)
(#327) Unexpected !important (declaration-no-important)
(#465) Unexpected !important (declaration-no-important)
(#694) Unexpected !important (declaration-no-important)
(#764) Unexpected !important (declaration-no-important)
(#765) Unexpected !important (declaration-no-important)
(#73) Unexpected nonstandard direction (function-linear-gradient-no-nonstandard-direction)
(#106) Unexpected nonstandard direction (function-linear-gradient-no-nonstandard-direction)
(#69) Unexpected unit (length-zero-no-unit)
(#69) Unexpected unit (length-zero-no-unit)
(#69) Unexpected unit (length-zero-no-unit)
(#70) Unexpected unit (length-zero-no-unit)
(#70) Unexpected unit (length-zero-no-unit)
(#70) Unexpected unit (length-zero-no-unit)
(#71) Unexpected unit (length-zero-no-unit)
(#71) Unexpected unit (length-zero-no-unit)
(#71) Unexpected unit (length-zero-no-unit)
(#76) Unexpected unit (length-zero-no-unit)
(#77) Unexpected unit (length-zero-no-unit)
(#78) Unexpected unit (length-zero-no-unit)
(#79) Unexpected unit (length-zero-no-unit)
(#80) Unexpected unit (length-zero-no-unit)
(#81) Unexpected unit (length-zero-no-unit)
(#82) Unexpected unit (length-zero-no-unit)
(#83) Unexpected unit (length-zero-no-unit)
(#84) Unexpected unit (length-zero-no-unit)
(#85) Unexpected unit (length-zero-no-unit)
(#86) Unexpected unit (length-zero-no-unit)
(#87) Unexpected unit (length-zero-no-unit)
(#101) Unexpected unit (length-zero-no-unit)
(#41) Unexpected whitespace at end of line (no-eol-whitespace)
(#419) Expected newline after "," (selector-list-comma-newline-after)
(#562) Expected newline after "," (selector-list-comma-newline-after)
(#604) Expected newline after "," (selector-list-comma-newline-after)
(#714) Expected newline after "," (selector-list-comma-newline-after)
(#714) Expected newline after "," (selector-list-comma-newline-after)
(#714) Expected newline after "," (selector-list-comma-newline-after)
(#903) Expected newline after "," (selector-list-comma-newline-after)
(#903) Expected newline after "," (selector-list-comma-newline-after)
(#907) Expected newline after "," (selector-list-comma-newline-after)
(#907) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(0 errors, 0 warnings)

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


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, 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]