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

(14 errors, 19 warnings)

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

blocks/powerbi/block_powerbi.php
(#101) Short array syntax must be used to define arrays
blocks/powerbi/classes/output/embedded_report.php
(#45) Missing member variable doc comment
(#46) Missing member variable doc comment
(#47) Missing member variable doc comment
(#48) Missing member variable doc comment
(#49) Missing member variable doc comment
(#50) Missing member variable doc comment
(#136) Missing docblock for function export_for_template
blocks/powerbi/classes/output/form/report.php
(#41) Missing docblock for function definition
(#87) There should be a comma after the last array item in a multi-line array.
(#95) Missing docblock for function filter_options
blocks/powerbi/classes/output/renderer.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/powerbi/classes/output/reports_list.php
(#44) Missing member variable doc comment
(#76) Missing docblock for function export_for_template
blocks/powerbi/classes/output/reports_table.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Missing member variable doc comment
(#62) Missing docblock for function export_for_template
blocks/powerbi/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) There must not be a space before the colon in a return type declaration
blocks/powerbi/db/access.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
(#36) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
(#43) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#50) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
blocks/powerbi/edit_report.php
(#106) There should be a comma after the last array item in a multi-line array.
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

(1 errors, 0 warnings)

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

blocks/powerbi/classes/output/embedded_report.php
(#52) Phpdocs for function embedded_report::__construct 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

(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, 0 warnings)

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

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]