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

(0 errors, 4 warnings)

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

blocks/powerbi/classes/output/renderer.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/powerbi/classes/output/reports_table.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/powerbi/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/powerbi/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.

Javascript coding style problems

(13 errors, 7 warnings)

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

blocks/powerbi/js/embed.js
(#1) '$' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#8) '$' is not defined. (no-undef)
(#10) 'powerbi' is not defined. (no-undef)
(#10) There should be no space after '{'. (object-curly-spacing)
(#10) There should be no space before '}'. (object-curly-spacing)
(#14) '$' is not defined. (no-undef)
(#17) 'l' is not defined. (no-undef)
(#18) 'i' is not defined. (no-undef)
(#18) 'i' is not defined. (no-undef)
(#18) 'l' is not defined. (no-undef)
(#18) 'i' is not defined. (no-undef)
(#22) 'i' is not defined. (no-undef)
(#23) 'i' is not defined. (no-undef)
(#26) 'i' is not defined. (no-undef)
(#27) Comments should not begin with a lowercase character. (capitalized-comments)
(#48) 'powerbi' is not defined. (no-undef)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#64) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(9 errors, 5 warnings)

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

blocks/powerbi/classes/output/embedded_report.php
(#136) Function embedded_report::export_for_template is not documented
(#45) Variable embedded_report::$reportfound is not documented
(#46) Variable embedded_report::$filters is not documented
(#47) Variable embedded_report::$embedurl is not documented
(#48) Variable embedded_report::$name is not documented
(#49) Variable embedded_report::$reportid is not documented
(#50) Variable embedded_report::$accesstoken is not documented
(#52) Phpdocs for function embedded_report::__construct has incomplete parameters list
blocks/powerbi/classes/output/form/report.php
(#41) Function report::definition is not documented
(#95) Function report::filter_options is not documented
blocks/powerbi/classes/output/reports_list.php
(#76) Function reports_list::export_for_template is not documented
(#44) Variable reports_list::$reports is not documented
blocks/powerbi/classes/output/reports_table.php
(#62) Function reports_table::export_for_template is not documented
(#42) Variable reports_table::$reports is not documented

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

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 1 warnings)

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

blocks/powerbi/templates/embedded_report.mustache
(#1) HTML Validation error, line 11: Bad value “{managereportsurl}” for attribute “href” on element “a”: Illegal character in path segment: “{” is not allowed. (2"> <a href="{managereportsurl}" class="btn btn-primary">[[ bac)
blocks/powerbi/templates/reports_list.mustache
(#1) Template produced no content
blocks/powerbi/templates/reports_table.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error

Gherkin .feature problems

(0 errors, 0 warnings)

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