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

(25 errors, 2 warnings)

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

mod/opencast/classes/local/opencasttype.php
(#45) File must end with a newline character
mod/opencast/classes/local/paella_transform.php
(#130) Variable "sourceType" must be all lower-case
(#137) Variable "sourceType" must be all lower-case
(#146) Variable "sourceType" must be all lower-case
(#149) Variable "sourceType" must be all lower-case
(#152) Variable "sourceType" must be all lower-case
(#155) Variable "sourceType" must be all lower-case
(#158) Variable "sourceType" must be all lower-case
(#165) Variable "sourceType" must be all lower-case
(#177) Variable "sourceType" must be all lower-case
(#185) Variable "hasAdaptiveMasterTrack" must be all lower-case
(#189) Expected "if (...) {\n"; found "if(...) {\n"
(#190) Variable "hasAdaptiveMasterTrack" must be all lower-case
(#194) Expected "if (...) {\n"; found "if(...) {\n"
(#194) Variable "sourceType" must be all lower-case
(#198) Variable "sourceType" must be all lower-case
(#199) Variable "sourceType" must be all lower-case
(#202) Variable "sourceType" must be all lower-case
(#267) File must end with a newline character
mod/opencast/db/access.php
(#40) File must end with a newline character
mod/opencast/db/upgrade.php
(#48) Expected "if (...) {\n"; found "if(...) {\n"
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#55) Line exceeds 132 characters; contains 146 characters
mod/opencast/settings.php
(#31) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#43) File must end with a newline character
mod/opencast/view.php
(#50) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead

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

(9 errors, 0 warnings)

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

mod/opencast/classes/local/apibridge.php
(#40) Variable apibridge::$ocinstanceid is not documented
(#42) Phpdocs for function apibridge::__construct has incomplete parameters list
(#52) Phpdocs for function apibridge::get_instance has incomplete parameters list
mod/opencast/classes/local/output_helper.php
(#42) Phpdocs for function output_helper::output_series has incomplete parameters list
(#89) Phpdocs for function output_helper::output_episode has incomplete parameters list
(#143) Phpdocs for function output_helper::create_template_context_for_series has incomplete parameters list
mod/opencast/classes/local/paella_transform.php
(#128) Function paella_transform::get_source_type_from_track is not documented
(#40) Phpdocs for function paella_transform::get_api_publication has incomplete parameters list
(#241) Phpdocs for function paella_transform::get_paella_data_json 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]