Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(38 errors, 23 warnings)

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

repository/ottflix/classes/jwt.php
(#1) DocBlock missing a @package tag for file jwt.php. Expected @package repository_ottflix
(#1) Moodle boilerplate not found
(#2) Missing @copyright tag
(#2) Missing @license tag
(#11) Import statements must not begin with a leading backslash
(#13) Missing docblock for class jwt
(#15) Missing member variable doc comment
(#15) Member variable "supported_algs" must not contain underscores.
(#48) Variable "signing_input" must not contain underscores.
(#51) Variable "signing_input" must not contain underscores.
(#73) Variable "supported_algs" must not contain underscores.
(#76) Variable "supported_algs" must not contain underscores.
(#92) Private method name "jwt::urlsafeB64Encode" must be in lower-case letters only
(#95) File must end with a newline character
repository/ottflix/classes/ottflix_repository_video.php
(#1) DocBlock missing a @package tag for file ottflix_repository_video.php. Expected @package repository_ottflix
(#1) Moodle boilerplate not found
(#2) Missing @copyright tag
(#2) Missing @license tag
(#10) Missing docblock for class ottflix_repository_video
(#21) Short array syntax must be used to define arrays
(#24) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#51) There should be a comma after the last array item in a multi-line array.
(#54) "require_once" must be immediately followed by an open parenthesis
(#59) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#121) Variable "queryUrl" must be all lower-case
(#123) Variable "queryUrl" must be all lower-case
(#126) Variable "queryUrl" must be all lower-case
(#133) Short array syntax must be used to define arrays
(#134) There should be a comma after the last array item in a multi-line array.
(#142) File must end with a newline character
repository/ottflix/classes/privacy/provider.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#48) There must not be a space before the colon in a return type declaration
repository/ottflix/db/access.php
(#27) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#32) There should be a comma after the last array item in a multi-line array.
(#33) There should be a comma after the last array item in a multi-line array.
(#34) There should be a comma after the last array item in a multi-line array.
repository/ottflix/db/install.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
repository/ottflix/lang/en/repository_ottflix.php
(#31) The string key "ottflix:view" is not in the correct order, it should be before "search"
(#35) The string key "token_desc" is not in the correct order, it should be before "token_title"
(#37) The string key "safety_title" is not in the correct order, it should be before "token_desc"
(#38) The string key "safety_desc" is not in the correct order, it should be before "safety_title"
(#40) Unexpected string end, it should be a line feed after a semicolon
(#40) File must end with a newline character
repository/ottflix/lib.php
(#67) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) This comment is 89% valid code; is this commented out code?
(#106) Short array syntax must be used to define arrays
(#139) Short array syntax must be used to define arrays
(#148) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
repository/ottflix/settings.php
(#1) DocBlock missing a @package tag for file settings.php. Expected @package repository_ottflix
(#33) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#48) File must end with a newline character

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

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

repository/ottflix/classes/jwt.php
(#24) Phpdocs for function jwt::encode 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

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