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

(11 errors, 14 warnings)

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

local/onenote/classes/api/base.php
(#44) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#410) Commas (,) must be followed by white space.
(#426) Commas (,) must be followed by white space.
(#439) Commas (,) must be followed by white space.
(#571) Commas (,) must be followed by white space.
local/onenote/classes/api/o365.php
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/onenote/classes/privacy/provider.php
(#39) Duplicate interface name "local_onenote\privacy\local_onenote_userlist" found; first defined in /var/lib/jenkins/git_repositories/prechecker/local/onenote/classes/privacy/provider.php on line 36
(#42) Space found before semicolon; expected "};" but found "}\n\n ;"
(#59) Commas (,) must be followed by white space.
(#61) Commas (,) must be followed by white space.
(#61) Commas (,) must be followed by white space.
(#203) Commas (,) must be followed by white space.
local/onenote/classes/utils.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#50) The use of function print_r() is forbidden
local/onenote/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#86) Line exceeds 132 characters; contains 133 characters
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
local/onenote/tests/generator/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/onenote/tests/onenoteapi_test.php
(#52) PHPUnit testcase name "local_onenote_onenoteapi_testcase" does not match file name "onenoteapi_test"
(#52) PHPUnit class "local_onenote_onenoteapi_testcase" does not have any namespace. It is recommended to add it to the "local_onenote" namespace, using more levels if needed, in order to match the code being tested
(#327) Line exceeds 132 characters; contains 134 characters
local/onenote/tests/privacy_provider_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) PHPUnit testcase name "local_onenote_privacy_testcase" does not match file name "privacy_provider_test"
(#43) PHPUnit class "local_onenote_privacy_testcase" does not have any namespace. It is recommended to add it to the "local_onenote" namespace, using more levels if needed, in order to match the code being tested
(#261) Commas (,) must be followed by white space.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(4 errors, 2 warnings)

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

local/onenote/styles.css
(#17) Unexpected !important (declaration-no-important)
(#3) Unexpected unit (length-zero-no-unit)
(#10) Unexpected unit (length-zero-no-unit)
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)

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]