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

(10 errors, 33 warnings)

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

auth/magic/auth.php
(#54) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#228) There should be a comma after the last array item in a multi-line array.
(#239) Short array syntax must be used to define arrays
(#243) Short array syntax must be used to define arrays
(#256) Short array syntax must be used to define arrays
(#295) Short array syntax must be used to define arrays
(#313) Short array syntax must be used to define arrays
(#315) There should be a comma after the last array item in a multi-line array.
(#319) Short array syntax must be used to define arrays
(#338) Short array syntax must be used to define arrays
auth/magic/classes/event/observer.php
(#64) Short array syntax must be used to define arrays
auth/magic/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
(#67) There should be a comma after the last array item in a multi-line array.
auth/magic/db/events.php
(#38) There should be a comma after the last array item in a multi-line array.
auth/magic/lib.php
(#35) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#177) Short array syntax must be used to define arrays
auth/magic/login.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#41) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#117) Short array syntax must be used to define arrays
(#135) File must end with a newline character
auth/magic/settings.php
(#57) There should be a comma after the last array item in a multi-line array.
auth/magic/tests/auth_magic_test.php
(#72) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
auth/magic/tests/privacy/provider_test.php
(#76) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#133) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
auth/magic/version.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 3 warnings)

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

auth/magic/amd/src/authmagic.js
(#26) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
(#74) Comments should not begin with a lowercase character. (capitalized-comments)
(#74) Expected space or tab after '//' in comment. (spaced-comment)

CSS problems

(1 errors, 0 warnings)

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

auth/magic/styles.css
(#1) Unexpected empty source (no-empty-source)

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]