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

(201 errors, 1 warnings)

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

mod/opencast/backup/moodle2/backup_opencast_activity_task.class.php
(#33) Opening brace must not be followed by a blank line
(#57) Expected at least 1 space before "."; 0 found
(#57) Expected at least 1 space after "."; 0 found
(#60) Expected at least 1 space before "."; 0 found
(#60) Expected at least 1 space after "."; 0 found
(#60) Expected at least 1 space before "."; 0 found
(#60) Expected at least 1 space after "."; 0 found
(#65) Expected at least 1 space before "."; 0 found
(#65) Expected at least 1 space after "."; 0 found
(#65) Expected at least 1 space before "."; 0 found
(#65) Expected at least 1 space after "."; 0 found
(#70) Expected at least 1 space before "."; 0 found
(#70) Expected at least 1 space after "."; 0 found
(#70) Expected at least 1 space before "."; 0 found
(#70) Expected at least 1 space after "."; 0 found
mod/opencast/backup/moodle2/backup_opencast_stepslib.php
(#28) Opening brace must not be followed by a blank line
(#52) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/opencast/backup/moodle2/restore_opencast_activity_task.class.php
(#32) Opening brace must not be followed by a blank line
(#74) Function closing brace must go on the next line following the body; found 1 blank lines before brace
mod/opencast/backup/moodle2/restore_opencast_stepslib.php
(#28) Opening brace must not be followed by a blank line
mod/opencast/classes/event/course_module_viewed.php
(#34) Opening brace must not be followed by a blank line
mod/opencast/classes/local/apibridge.php
(#37) Opening brace must not be followed by a blank line
mod/opencast/classes/local/opencasttype.php
(#34) Opening brace must not be followed by a blank line
mod/opencast/classes/local/output_helper.php
(#40) Opening brace must not be followed by a blank line
(#105) Long list syntax is not allowed
(#152) Opening parenthesis of a multi-line function call must be the last content on the line
(#152) Only one argument is allowed per line in a multi-line function call
(#153) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#153) Closing parenthesis of a multi-line function call must be on a line by itself
(#176) Blank line found at start of control structure
(#192) Opening parenthesis of a multi-line function call must be the last content on the line
(#194) Multi-line function call not indented correctly; expected 28 spaces but found 36
(#194) Only one argument is allowed per line in a multi-line function call
(#194) Only one argument is allowed per line in a multi-line function call
(#194) Closing parenthesis of a multi-line function call must be on a line by itself
(#301) Opening parenthesis of a multi-line function call must be the last content on the line
(#301) Only one argument is allowed per line in a multi-line function call
(#302) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#302) Only one argument is allowed per line in a multi-line function call
(#302) Closing parenthesis of a multi-line function call must be on a line by itself
mod/opencast/classes/local/paella_transform.php
(#32) Opening brace must not be followed by a blank line
(#100) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#101) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#118) Blank line found at end of control structure
(#149) Long list syntax is not allowed
(#243) Long list syntax is not allowed
(#245) Long list syntax is not allowed
(#256) Long list syntax is not allowed
(#263) Long list syntax is not allowed
(#265) Line exceeds 132 characters; contains 139 characters
(#287) Long list syntax is not allowed
mod/opencast/classes/local/table_series_list_view.php
(#35) Opening brace must not be followed by a blank line
mod/opencast/classes/output/renderer.php
(#36) Opening brace must not be followed by a blank line
mod/opencast/db/upgrade.php
(#46) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#47) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#125) Blank line found at start of control structure
mod/opencast/index.php
(#25) Expected at least 1 space before "."; 0 found
(#25) Expected at least 1 space after "."; 0 found
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#77) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#77) Closing parenthesis of a multi-line function call must be on a line by itself
(#81) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#81) Closing parenthesis of a multi-line function call must be on a line by itself
mod/opencast/lib.php
(#72) Opening parenthesis of a multi-line function call must be the last content on the line
(#72) Only one argument is allowed per line in a multi-line function call
(#72) Only one argument is allowed per line in a multi-line function call
(#73) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
(#101) Opening parenthesis of a multi-line function call must be the last content on the line
(#101) Only one argument is allowed per line in a multi-line function call
(#101) Only one argument is allowed per line in a multi-line function call
(#102) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
mod/opencast/mod_form.php
(#39) Opening brace must not be followed by a blank line
(#91) Opening parenthesis of a multi-line function call must be the last content on the line
(#91) Only one argument is allowed per line in a multi-line function call
(#92) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#92) Only one argument is allowed per line in a multi-line function call
(#92) Closing parenthesis of a multi-line function call must be on a line by itself
(#94) Opening parenthesis of a multi-line function call must be the last content on the line
(#94) Only one argument is allowed per line in a multi-line function call
(#95) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#95) Only one argument is allowed per line in a multi-line function call
(#95) Closing parenthesis of a multi-line function call must be on a line by itself
(#111) Opening parenthesis of a multi-line function call must be the last content on the line
(#111) Only one argument is allowed per line in a multi-line function call
(#111) Only one argument is allowed per line in a multi-line function call
(#112) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#112) Closing parenthesis of a multi-line function call must be on a line by itself
mod/opencast/settings.php
(#33) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#33) Closing parenthesis of a multi-line function call must be on a line by itself
(#35) Opening parenthesis of a multi-line function call must be the last content on the line
(#36) Only one argument is allowed per line in a multi-line function call
(#36) Only one argument is allowed per line in a multi-line function call
(#37) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#37) Closing parenthesis of a multi-line function call must be on a line by itself
(#40) Opening parenthesis of a multi-line function call must be the last content on the line
(#42) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#42) Only one argument is allowed per line in a multi-line function call
(#42) Closing parenthesis of a multi-line function call must be on a line by itself
(#44) Opening parenthesis of a multi-line function call must be the last content on the line
(#45) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#46) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#47) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#50) Opening parenthesis of a multi-line function call must be the last content on the line
(#52) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#52) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#52) Closing parenthesis of a multi-line function call must be on a line by itself
(#52) Closing parenthesis of a multi-line function call must be on a line by itself
(#54) Opening parenthesis of a multi-line function call must be the last content on the line
(#56) Only one argument is allowed per line in a multi-line function call
(#57) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#57) Closing parenthesis of a multi-line function call must be on a line by itself
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#61) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#63) Opening parenthesis of a multi-line function call must be the last content on the line
(#65) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#65) Only one argument is allowed per line in a multi-line function call
(#65) Closing parenthesis of a multi-line function call must be on a line by itself
mod/opencast/uploadvideo.php
(#84) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#85) Closing parenthesis of a multi-line function call must be on a line by itself
(#122) Space found before comma in argument list
(#122) Expected no space between "null" and the comma. Found: 1 space
(#130) Opening parenthesis of a multi-line function call must be the last content on the line
(#130) Only one argument is allowed per line in a multi-line function call
(#131) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#131) Only one argument is allowed per line in a multi-line function call
(#131) Only one argument is allowed per line in a multi-line function call
(#131) Closing parenthesis of a multi-line function call must be on a line by itself
(#211) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#212) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#222) Long list syntax is not allowed
(#223) Space found before comma in argument list
(#223) Expected no space between "$cm" and the comma. Found: 1 space
(#237) Opening parenthesis of a multi-line function call must be the last content on the line
(#238) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#238) Closing parenthesis of a multi-line function call must be on a line by itself
(#239) Opening parenthesis of a multi-line function call must be the last content on the line
(#240) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#240) Only one argument is allowed per line in a multi-line function call
(#240) Only one argument is allowed per line in a multi-line function call
(#240) Closing parenthesis of a multi-line function call must be on a line by itself
mod/opencast/uploadvideo_form.php
(#40) Opening brace must not be followed by a blank line
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
(#97) Space found before comma in argument list
(#97) Expected no space between "'ocinstance'" and the comma. Found: 1 space
(#98) Space found before comma in argument list
(#98) Expected no space between "'ocinstance'" and the comma. Found: 1 space
(#126) Opening parenthesis of a multi-line function call must be the last content on the line
(#126) Only one argument is allowed per line in a multi-line function call
(#127) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#127) Closing parenthesis of a multi-line function call must be on a line by itself
(#129) Opening parenthesis of a multi-line function call must be the last content on the line
(#129) Only one argument is allowed per line in a multi-line function call
(#130) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#130) Closing parenthesis of a multi-line function call must be on a line by itself
(#135) Opening parenthesis of a multi-line function call must be the last content on the line
(#136) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#136) Closing parenthesis of a multi-line function call must be on a line by itself
(#155) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#155) Only one argument is allowed per line in a multi-line function call
(#155) Closing parenthesis of a multi-line function call must be on a line by itself
(#167) Space found before comma in argument list
(#167) Expected no space between "'ocinstance'" and the comma. Found: 1 space
(#168) Space found before comma in argument list
(#168) Expected no space between "'ocinstance'" and the comma. Found: 1 space
(#174) Space found before comma in argument list
(#174) Expected no space between "'ocinstance'" and the comma. Found: 1 space
(#175) Space found before comma in argument list
(#175) Expected no space between "'ocinstance'" and the comma. Found: 1 space
(#189) Opening parenthesis of a multi-line function call must be the last content on the line
(#189) Only one argument is allowed per line in a multi-line function call
(#189) Only one argument is allowed per line in a multi-line function call
(#190) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#190) Only one argument is allowed per line in a multi-line function call
(#190) Closing parenthesis of a multi-line function call must be on a line by itself
(#191) Opening parenthesis of a multi-line function call must be the last content on the line
(#191) Only one argument is allowed per line in a multi-line function call
(#191) Only one argument is allowed per line in a multi-line function call
(#192) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#192) Only one argument is allowed per line in a multi-line function call
(#192) Closing parenthesis of a multi-line function call must be on a line by itself
(#193) Space found before comma in argument list
(#193) Expected no space between "'ocinstance'" and the comma. Found: 1 space
(#194) Space found before comma in argument list
(#194) Expected no space between "'ocinstance'" and the comma. Found: 1 space
mod/opencast/view.php
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#151) Long list syntax is not allowed
(#152) Space found before comma in argument list
(#152) Expected no space between "$cm" and the comma. Found: 1 space
(#160) Opening parenthesis of a multi-line function call must be the last content on the line
(#160) Only one argument is allowed per line in a multi-line function call
(#161) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#161) Closing parenthesis of a multi-line function call must be on a line by itself

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

(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

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

mod/opencast/templates/series.mustache
(#1) HTML Validation info, line 6: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. ( <img src="http://localhost:8080/static/mh_default_org/api/bb495e5f-b737-41c2-9095-4e6e08c963d4/9ff8a2cc-a112-44bd-a799-a63b6c0d63d7/file_example_MOV_1280_1_4MB_1_000s_search.jpg" alt="1. Mein Video, das hat aber irgendwie nen ganz schön langen Titel. Hui, das hätte ich ja nicht erwartet!"/> )

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]