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

(19 errors, 15 warnings)

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

mod/assign/feedback/onenote/backup/moodle2/backup_assignfeedback_onenote_subplugin.class.php
(#18) Line exceeds 132 characters; contains 133 characters
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#51) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
mod/assign/feedback/onenote/backup/moodle2/restore_assignfeedback_onenote_subplugin.class.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Short array syntax must be used to define arrays
mod/assign/feedback/onenote/classes/privacy/provider.php
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#34) Import statements must not begin with a leading backslash
(#35) Import statements must not begin with a leading backslash
(#36) Import statements must not begin with a leading backslash
(#37) Import statements must not begin with a leading backslash
(#38) Import statements must not begin with a leading backslash
(#57) There must not be a space before the colon in a return type declaration
(#61) There should be a comma after the last array item in a multi-line array.
(#146) There should be a comma after the last array item in a multi-line array.
mod/assign/feedback/onenote/db/install.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/feedback/onenote/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/assign/feedback/onenote/externallib.php
(#68) Commas (,) must be followed by white space.
(#85) A comma after the last array item in a single-line array is not allowed.
(#85) Commas (,) must be followed by white space.
(#114) Commas (,) must be followed by white space.
mod/assign/feedback/onenote/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#60) Logical operator "and" is prohibited; use "&&" instead
(#69) Logical operator "or" is prohibited; use "||" instead
mod/assign/feedback/onenote/locallib.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#94) Logical operator "and" is prohibited; use "&&" instead
mod/assign/feedback/onenote/tests/privacy/provider_test.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#82) Test method test_get_metadata() is missing any coverage information, own or at class level
(#91) Test method test_export_feedback_user_data() is missing any coverage information, own or at class level
(#138) Test method test_delete_feedback_for_context() is missing any coverage information, own or at class level
(#186) Test method test_delete_feedback_for_grade() is missing any coverage information, own or at class level
(#243) Test method test_delete_feedback_for_grades() is missing any coverage information, own or at class level

Javascript coding style problems

(3 errors, 6 warnings)

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

mod/assign/feedback/onenote/amd/src/onenotedelete.js
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#21) Unexpected space before function parentheses. (space-before-function-paren)
(#24) 'requests' is not defined. (no-undef)
(#26) There should be no space before ','. (comma-spacing)
(#26) There should be no space before '}'. (@babel/object-curly-spacing)
(#29) 'requests' is not defined. (no-undef)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#29) 'plan' is defined but never used. (no-unused-vars)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 1 warnings)

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

mod/assign/feedback/onenote/tests/privacy/provider_test.php
(#2) Empty line found after PHP open tag

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