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

(275 errors, 61 warnings)

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

blocks/opencast/addvideo.php
(#54) Variable "metadata_catalog" must not contain underscores.
(#56) Variable "metadata_catalog" must not contain underscores.
(#56) Line exceeds 132 characters; contains 135 characters
(#63) Variable "chunkupload_installed" must not contain underscores.
(#66) Variable "chunkupload_installed" must not contain underscores.
(#68) Variable "storedfile_presenter" must not contain underscores.
(#71) Variable "chunkupload_presenter" must not contain underscores.
(#73) Variable "chunkupload_installed" must not contain underscores.
(#75) Variable "storedfile_presentation" must not contain underscores.
(#78) Variable "chunkupload_presentation" must not contain underscores.
(#81) Variable "storedfile_presenter" must not contain underscores.
(#81) Variable "storedfile_presenter" must not contain underscores.
(#82) Variable "storedfile_presenter" must not contain underscores.
(#84) Variable "storedfile_presentation" must not contain underscores.
(#84) Variable "storedfile_presentation" must not contain underscores.
(#85) Variable "storedfile_presentation" must not contain underscores.
(#89) Variable "get_title" must not contain underscores.
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) No space found before comment text; expected "// Make sure title (required) is added into metadata" but found "//Make sure title (required) is added into metadata"
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) No space found before comment text; expected "// Adding data into $metadata based on $metadata_catalog" but found "//Adding data into $metadata based on $metadata_catalog"
(#92) Variable "metadata_catalog" must not contain underscores.
(#95) No space found before comment text; expected "// Make sure the title is received!" but found "//Make sure the title is received!"
(#96) Variable "get_title" must not contain underscores.
(#109) No space found before comment text; expected "// If admin forgets/mistakenly deletes the title from metadata_catalog the system will create a title!" but found "//If admin forgets/mistakenly deletes the title from metadata_catalog the system will create a title!"
(#110) Variable "get_title" must not contain underscores.
(#111) Variable "title_obj" must not contain underscores.
(#115) Variable "title_obj" must not contain underscores.
(#117) Variable "startDate" must be all lower-case
(#121) Variable "startTime" must be all lower-case
(#125) Variable "startDate" must be all lower-case
(#126) Variable "startTime" must be all lower-case
(#130) Variable "storedfile_presenter" must not contain underscores.
(#130) Variable "storedfile_presenter" must not contain underscores.
(#130) Variable "storedfile_presenter" must not contain underscores.
(#131) Variable "storedfile_presentation" must not contain underscores.
(#131) Variable "storedfile_presentation" must not contain underscores.
(#131) Variable "storedfile_presentation" must not contain underscores.
(#131) Line exceeds 132 characters; contains 135 characters
(#132) Variable "chunkupload_presenter" must not contain underscores.
(#132) Variable "chunkupload_presenter" must not contain underscores.
(#133) Variable "chunkupload_presentation" must not contain underscores.
(#133) Variable "chunkupload_presentation" must not contain underscores.
(#140) Commas (,) must be followed by white space.
blocks/opencast/adminsettings.php
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) No space found before comment text; expected "// Adding new Metadata Catalog" but found "//Adding new Metadata Catalog"
(#107) Expected 1 space after "="; 2 found
(#111) Expected 1 space before "=="; 2 found
(#112) Expected 1 space before "=="; 2 found
(#112) Space found before semicolon; expected ");" but found ") ;"
(#113) Expected 1 space before "=="; 2 found
(#116) Expected 1 space before "=>"; 0 found
(#120) Expected 1 space after "="; 2 found
(#125) Expected 1 space after "="; 2 found
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) No space found before comment text; expected "// Update Metadata Catalog" but found "//Update Metadata Catalog"
(#160) Variable "catalog_name" must not contain underscores.
(#161) Variable "catalog_datatype" must not contain underscores.
(#162) Variable "catalog_required" must not contain underscores.
(#163) Variable "catalog_readonly" must not contain underscores.
(#164) Variable "catalog_params" must not contain underscores.
(#168) Variable "catalog_name" must not contain underscores.
(#169) Variable "catalog_readonly" must not contain underscores.
(#169) Variable "catalog_datatype" must not contain underscores.
(#170) Variable "catalog_readonly" must not contain underscores.
(#170) Variable "catalog_required" must not contain underscores.
(#170) Space found before semicolon; expected ");" but found ") ;"
(#171) Variable "catalog_readonly" must not contain underscores.
(#171) Space found before semicolon; expected "0;" but found "0 ;"
(#172) Variable "catalog_params" must not contain underscores.
blocks/opencast/backup/moodle2/restore_opencast_block_task.class.php
(#80) Line exceeds 132 characters; contains 156 characters
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/opencast/backup/moodle2/settings/block_backup_setting.class.php
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/opencast/backup/moodle2/settings/block_restore_setting.class.php
(#36) Closing brace must be on a line by itself
blocks/opencast/block_opencast.php
(#45) global $PAGE cannot be used in block classes. Use $this->page.
(#61) global $PAGE cannot be used in block classes. Use $this->page.
blocks/opencast/changevisibility.php
(#107) Line exceeds 132 characters; contains 143 characters
blocks/opencast/classes/admin_form.php
(#83) Expected 1 space after "="; 3 found
(#84) Expected 1 space after "="; 4 found
(#104) Expected 1 space after "="; 3 found
(#105) Expected 1 space after "="; 4 found
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// End Acl Roles" but found "//End Acl Roles"
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Variable "table_attributes" must not contain underscores.
(#279) Variable "th_attributes" must not contain underscores.
(#282) Variable "table_attributes" must not contain underscores.
(#287) Variable "th_attributes" must not contain underscores.
(#307) Variable "table_attributes" must not contain underscores.
(#312) Variable "th_attributes" must not contain underscores.
(#344) Variable "table_attributes" must not contain underscores.
(#349) Expected 1 space after "=>"; 0 found
(#349) Variable "th_attributes" must not contain underscores.
(#349) Expected 1 space after "=>"; 0 found
(#462) Expected 6 space(s) before asterisk; 5 found
(#463) Expected 6 space(s) before asterisk; 5 found
(#464) Expected 6 space(s) before asterisk; 5 found
(#554) Variable "catalog_datatype" must not contain underscores.
(#555) Variable "catalog_readonly" must not contain underscores.
(#556) Variable "catalog_params" must not contain underscores.
(#558) Variable "catalog_readonly" must not contain underscores.
(#559) Variable "catalog_params" must not contain underscores.
(#560) Variable "catalog_params" must not contain underscores.
(#563) Variable "catalog_readonly" must not contain underscores.
(#564) Variable "catalog_params" must not contain underscores.
(#565) Variable "catalog_params" must not contain underscores.
(#566) Variable "catalog_params" must not contain underscores.
(#567) Variable "catalog_params" must not contain underscores.
blocks/opencast/classes/local/addlti_form.php
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Visibility must be declared on method "add_action_buttons"
blocks/opencast/classes/local/addltiepisode_form.php
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Visibility must be declared on method "add_action_buttons"
blocks/opencast/classes/local/addvideo_form.php
(#41) Variable "use_chunkupload" must not contain underscores.
(#44) Variable "use_chunkupload" must not contain underscores.
(#49) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#58) Variable "set_title" must not contain underscores.
(#59) Line indented incorrectly; expected 8 spaces, found 12
(#62) Line indented incorrectly; expected 12 spaces, found 16
(#63) Line indented incorrectly; expected 16 spaces, found 20
(#64) Variable "set_title" must not contain underscores.
(#65) Line indented incorrectly; expected 16 spaces, found 20
(#67) Line indented incorrectly; expected 16 spaces, found 20
(#68) Line indented incorrectly; expected 12 spaces, found 16
(#69) Line indented incorrectly; expected 12 spaces, found 16
(#71) Line indented incorrectly; expected 12 spaces, found 16
(#72) Line indented incorrectly; expected 12 spaces, found 16
(#77) Line exceeds 132 characters; contains 136 characters
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Line indented incorrectly; expected 12 spaces, found 16
(#84) Line exceeds 132 characters; contains 143 characters
(#86) Line indented incorrectly; expected 12 spaces, found 16
(#88) Line indented incorrectly; expected 12 spaces, found 16
(#90) Line indented incorrectly; expected 12 spaces, found 16
(#92) Line indented incorrectly; expected 12 spaces, found 16
(#94) Line indented incorrectly; expected 8 spaces, found 12
(#95) Line indented incorrectly; expected 8 spaces, found 12
(#95) Variable "set_title" must not contain underscores.
(#99) Line indented incorrectly; expected 8 spaces, found 12
(#104) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#112) Line indented incorrectly; expected 8 spaces, found 12
(#115) Line indented incorrectly; expected 8 spaces, found 12
(#117) Line indented incorrectly; expected 12 spaces, found 16
(#118) Line indented incorrectly; expected 16 spaces, found 20
(#120) Line indented incorrectly; expected 16 spaces, found 20
(#122) Line indented incorrectly; expected 12 spaces, found 16
(#123) Line indented incorrectly; expected 8 spaces, found 12
(#130) Line indented incorrectly; expected 8 spaces, found 12
(#130) Variable "use_chunkupload" must not contain underscores.
(#133) Line indented incorrectly; expected 8 spaces, found 12
(#137) Line indented incorrectly; expected 8 spaces, found 12
(#137) Variable "use_chunkupload" must not contain underscores.
(#142) Line indented incorrectly; expected 8 spaces, found 12
(#147) Line indented incorrectly; expected 8 spaces, found 12
(#147) Variable "use_chunkupload" must not contain underscores.
(#150) Line indented incorrectly; expected 8 spaces, found 12
(#154) Line indented incorrectly; expected 8 spaces, found 12
(#154) Variable "use_chunkupload" must not contain underscores.
(#159) Line indented incorrectly; expected 8 spaces, found 12
(#176) Visibility must be declared on method "validation"
(#178) Variable "chunkupload_installed" must not contain underscores.
(#179) Variable "chunkupload_installed" must not contain underscores.
(#181) Variable "presenter_file" must not contain underscores.
(#183) Variable "presenter_file" must not contain underscores.
(#186) Variable "chunkupload_installed" must not contain underscores.
(#188) Variable "presentation_file" must not contain underscores.
(#190) Variable "presentation_file" must not contain underscores.
(#194) Variable "presenter_file" must not contain underscores.
(#194) Variable "presentation_file" must not contain underscores.
(#195) Expected 1 space after "="; 2 found
(#196) Expected 1 space after "="; 2 found
blocks/opencast/classes/local/apibridge.php
(#227) Line indented incorrectly; expected 12 spaces, found 16
(#230) Line indented incorrectly; expected 12 spaces, found 16
(#232) Line indented incorrectly; expected 12 spaces, found 16
(#234) Line indented incorrectly; expected 12 spaces, found 16
(#237) Line indented incorrectly; expected 12 spaces, found 16
(#364) Expected "try {\n...} catch (...) {\n"; found "try {\n...} catch (...){\n"
(#472) Expected 1 space before "="; 0 found
(#489) Space found before semicolon; expected "'/';" but found "'/' ;"
(#727) Inline comments must start with a capital letter, digit or 3-dots sequence
(#727) Inline comments must end in full-stops, exclamation marks, or question marks
(#728) Variable "valid_storedfile" must not contain underscores.
(#732) Variable "valid_storedfile" must not contain underscores.
(#738) Variable "valid_storedfile" must not contain underscores.
(#744) Variable "valid_storedfile" must not contain underscores.
(#750) Variable "valid_storedfile" must not contain underscores.
(#754) Variable "valid_storedfile" must not contain underscores.
(#760) Space found before closing bracket of FOREACH loop
(#1033) Closing brace must be on a line by itself
(#1034) Closing brace must be on a line by itself
(#1035) Closing brace must be on a line by itself
(#1122) Inline control structures are not allowed
(#1164) Expected "if (...) {\n"; found "if (...){\n"
(#1469) Inline comments must end in full-stops, exclamation marks, or question marks
(#1469) No space found before comment text; expected "// Metadata" but found "//Metadata"
(#1513) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/opencast/classes/local/event.php
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) No space found before comment text; expected "// End adding presenter option" but found "//End adding presenter option"
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) No space found before comment text; expected "// Handling presentation & presenter" but found "//Handling presentation & presenter"
(#257) Whitespace found at end of line
blocks/opencast/classes/local/flexible_table.php
(#43) Visibility must be declared on method "print_nothing_to_display"
blocks/opencast/classes/local/ltimodulemanager.php
(#249) Line exceeds 132 characters; contains 133 characters
(#314) Line exceeds 132 characters; contains 134 characters
(#568) Expected "foreach (...) {\n"; found "foreach(...) {\n"
blocks/opencast/classes/local/updatemetadata_form.php
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Whitespace found at end of line
(#62) Line exceeds 132 characters; contains 139 characters
(#63) Whitespace found at end of line
(#67) Whitespace found at end of line
(#75) Whitespace found at end of line
blocks/opencast/classes/local/upload_helper.php
(#90) Whitespace found at end of line within string
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) No space found before comment text; expected "// find the current files for the jobs" but found "//find the current files for the jobs"
(#139) Expected 1 space before "+="; 0 found
(#139) Expected 1 space after "+="; 0 found
(#140) Whitespace found at end of line within string
(#141) Whitespace found at end of line within string
(#142) Whitespace found at end of line within string
(#204) Whitespace found at end of line within string
(#234) Inline comments must start with a capital letter, digit or 3-dots sequence
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#235) Expected "if (...) {\n"; found "if(...) {\n"
(#275) Inline comments must end in full-stops, exclamation marks, or question marks
(#289) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#290) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#319) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#336) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#337) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#353) This comment is 50% valid code; is this commented out code?
(#564) Expected 1 space before "="; 0 found
(#564) Expected 1 space after "="; 0 found
(#564) Expected 1 space before "="; 0 found
(#564) Expected 1 space after "="; 0 found
(#564) Line exceeds 132 characters; contains 155 characters
(#610) Inline comments must start with a capital letter, digit or 3-dots sequence
(#610) Inline comments must end in full-stops, exclamation marks, or question marks
(#610) No space found before comment text; expected "// metadata" but found "//metadata"
(#621) Variable "metadata_catalog" must not contain underscores.
(#623) Variable "metadata_catalog" must not contain underscores.
(#626) Variable "metadata_catalog" must not contain underscores.
(#630) Variable "metadata_catalog" must not contain underscores.
blocks/opencast/classes/local/visibility_form.php
(#71) Expected 1 space before "="; 0 found
(#71) Expected 1 space after "="; 0 found
blocks/opencast/classes/task/process_duplicate_event.php
(#73) Whitespace found at end of line
(#73) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#86) No space found before comment text; expected "// Should not happen as seriesid is checked during restore." but found "//Should not happen as seriesid is checked during restore."
blocks/opencast/db/install.php
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// Catalog" but found "//Catalog"
(#90) Line exceeds maximum limit of 180 characters; contains 415 characters
(#104) Line exceeds maximum limit of 180 characters; contains 242 characters
blocks/opencast/db/upgrade.php
(#216) Whitespace found at end of line
(#219) Whitespace found at end of line
(#227) Whitespace found at end of line
(#230) Whitespace found at end of line
(#235) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) No space found before comment text; expected "// Catalog" but found "//Catalog"
(#282) Line exceeds maximum limit of 180 characters; contains 419 characters
(#296) Line exceeds maximum limit of 180 characters; contains 246 characters
blocks/opencast/deletedraft.php
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Expected "if (...) {\n"; found "if(...) {\n"
(#63) Expected "if (...) {\n"; found "if(...) {\n"
(#67) Expected "if (...) {\n"; found "if(...) {\n"
blocks/opencast/index.php
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Expected "} else {\n"; found "}\n else {\n"
(#273) Line exceeds 132 characters; contains 146 characters
(#286) Inline comments must start with a capital letter, digit or 3-dots sequence
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/opencast/lang/en/block_opencast.php
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#308) No space found before comment text; expected "// Added to support metadata and so on" but found "//Added to support metadata and so on"
blocks/opencast/recordvideo.php
(#76) Commas (,) must be followed by white space.
(#139) Variable "signed_params" must not contain underscores.
(#140) Variable "signed_params" must not contain underscores.
(#140) Whitespace found at end of line
blocks/opencast/renderer.php
(#162) Variable "status_string" must not contain underscores.
(#166) Variable "status_string" must not contain underscores.
(#170) Variable "status_string" must not contain underscores.
(#191) Expected "if (...) {\n"; found "if(...) {\n"
(#197) Expected 1 space before ":"; 0 found
(#245) Expected "if (...) {\n"; found "if(...) {\n"
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#283) Line exceeds 132 characters; contains 133 characters
(#361) Line exceeds 132 characters; contains 133 characters
(#414) Line exceeds 132 characters; contains 133 characters
(#422) Inline comments must start with a capital letter, digit or 3-dots sequence
(#422) Inline comments must end in full-stops, exclamation marks, or question marks
(#422) No space found before comment text; expected "// metadata" but found "//metadata"
(#430) Line exceeds 132 characters; contains 142 characters
(#455) Expected 1 space before "="; 0 found
(#456) Expected 1 space before "="; 0 found
(#460) Expected 1 space before "="; 0 found
blocks/opencast/tests/backup_test.php
(#76) Line exceeds 132 characters; contains 149 characters
blocks/opencast/tests/delete_file_test.php
(#76) Variable "draftid_editor" must not contain underscores.
(#77) Variable "draftid_editor" must not contain underscores.
(#78) Variable "draftid_editor" must not contain underscores.
(#84) Variable "draftid_editor" must not contain underscores.
(#85) Variable "draftid_editor" must not contain underscores.
(#86) Variable "draftid_editor" must not contain underscores.
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Variable "draftid_editor" must not contain underscores.
(#100) Variable "draftid_editor" must not contain underscores.
(#101) Variable "draftid_editor" must not contain underscores.
(#135) Variable "draftid_editor" must not contain underscores.
(#136) Variable "draftid_editor" must not contain underscores.
(#137) Variable "draftid_editor" must not contain underscores.
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/opencast/tests/privacy_test.php
(#218) Space found before semicolon; expected "'98765432100';" but found "'98765432100' ;"
(#283) Space found before semicolon; expected "'98765432100';" but found "'98765432100' ;"
(#387) Space found before semicolon; expected "'98765432100';" but found "'98765432100' ;"
(#412) Space found before semicolon; expected "'98765432100';" but found "'98765432100' ;"
(#472) Space found before semicolon; expected "'98765432100';" but found "'98765432100' ;"
(#490) Space found before semicolon; expected "'98765432100';" but found "'98765432100' ;"
(#507) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/opencast/updatemetadata.php
(#34) Line exceeds 132 characters; contains 133 characters
(#53) Variable "metadata_catalog" must not contain underscores.
(#55) Variable "metadata_catalog" must not contain underscores.
(#55) Line exceeds maximum limit of 180 characters; contains 201 characters
(#62) Variable "new_metadata" must not contain underscores.
(#63) Variable "metadata_ids" must not contain underscores.
(#64) Variable "metadata_ids" must not contain underscores.
(#66) Variable "content_obj" must not contain underscores.
(#70) Variable "new_metadata" must not contain underscores.
(#70) Variable "content_obj" must not contain underscores.
(#72) Variable "startTime" must be all lower-case
(#76) Variable "new_metadata" must not contain underscores.
(#76) Variable "startTime" must be all lower-case
(#81) Variable "new_metadata" must not contain underscores.
(#87) Commas (,) must be followed by white space.

Javascript coding style problems

(3 errors, 102 warnings)

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

blocks/opencast/amd/src/block_form_handler.js
(#65) Unexpected space before function parentheses. (space-before-function-paren)
(#65) Missing space before opening brace. (space-before-blocks)
(#67) Identifier 'video_identifier' is not in camel case. (camelcase)
(#71) Identifier 'video_identifier' is not in camel case. (camelcase)
(#94) Missing space before opening brace. (space-before-blocks)
blocks/opencast/tests/fixtures/get_course_videos.js
(#1) This line has a length of 1220. Maximum allowed is 132. (max-len)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Missing space before value for key 'identifier'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'creator'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'presenter'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'created'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'is_part_of'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'subjects'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'start'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'description'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'language'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'source'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'title'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'processing_state'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'duration'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'license'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'archive_version'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'contributor'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'series'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'rights'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'has_previews'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'location'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'rightsholder'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'publication_status'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'status'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'identifier'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'creator'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'presenter'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'created'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'is_part_of'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'subjects'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'start'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'description'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'language'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'source'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'title'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'processing_state'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'duration'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'license'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'archive_version'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'contributor'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'series'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'rights'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'has_previews'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'location'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'rightsholder'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'publication_status'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'status'. (key-spacing)
(#1) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(153 errors, 2 warnings)

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

blocks/opencast/addlti.php
(#17) No one-line description found in phpdocs for file
blocks/opencast/addltiepisode.php
(#17) No one-line description found in phpdocs for file
blocks/opencast/addvideo.php
(#19) Invalid inline phpdocs tag @package found
blocks/opencast/backup/moodle2/backup_opencast_stepslib.php
(#39) Function backup_opencast_block_structure_step::define_structure is not documented
blocks/opencast/backup/moodle2/restore_opencast_block_task.class.php
(#31) Class restore_opencast_block_task is not documented
blocks/opencast/backup/moodle2/restore_opencast_stepslib.php
(#40) Variable restore_opencast_block_structure_step::$backupeventids is not documented
(#41) Variable restore_opencast_block_structure_step::$missingeventids is not documented
(#42) Variable restore_opencast_block_structure_step::$seriesid is not documented
blocks/opencast/backup/moodle2/settings/block_backup_setting.class.php
(#39) Inline phpdocs tag {@link self::IS_TEXT} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#41) Inline phpdocs tag {@link self::VISIBLE} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#42) Inline phpdocs tag {@link self::NOT_LOCKED} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
blocks/opencast/block_opencast.php
(#26) Class block_opencast is not documented
(#28) Function block_opencast::init is not documented
(#32) Function block_opencast::applicable_formats is not documented
(#36) Function block_opencast::instance_allow_multiple is not documented
(#40) Function block_opencast::has_config is not documented
(#44) Function block_opencast::get_content is not documented
blocks/opencast/classes/admin_form.php
(#35) Class admin_form is not documented
(#36) Function admin_form::definition is not documented
(#273) Phpdocs for function admin_form::tablehead has incomplete parameters list
(#359) Phpdocs for function admin_form::table_body has incomplete parameters list
blocks/opencast/classes/event/upload_failed.php
(#28) Class upload_failed is not documented
blocks/opencast/classes/event/upload_succeeded.php
(#28) Class upload_succeeded is not documented
blocks/opencast/classes/groupaccess.php
(#17) File-level phpdocs block is not found
(#28) Class groupaccess is not documented
(#28) Package is not specified for class groupaccess. It is also not specified in file-level phpdocs
(#23) Package tool_opencast is not valid
blocks/opencast/classes/local/addlti_form.php
(#31) Class addlti_form is not documented
(#33) Function addlti_form::definition is not documented
blocks/opencast/classes/local/addltiepisode_form.php
(#31) Class addltiepisode_form is not documented
(#33) Function addltiepisode_form::definition is not documented
blocks/opencast/classes/local/addvideo_form.php
(#37) Class addvideo_form is not documented
(#39) Function addvideo_form::definition is not documented
blocks/opencast/classes/local/apibridge.php
(#40) Class apibridge is not documented
(#48) Function apibridge::__construct is not documented
(#242) Function apibridge::get_opencast_video is not documented
(#42) Variable apibridge::$config is not documented
(#44) Variable apibridge::$workflows is not documented
(#46) Variable apibridge::$testing is not documented
(#950) There is no description in phpdocs for function change_visibility
(#213) Phpdocs for function apibridge::extend_video_status has incomplete parameters list
(#481) Phpdocs for function apibridge::get_pattern_for_group_placeholder has incomplete parameters list
(#494) Phpdocs for function apibridge::get_default_seriestitle has incomplete parameters list
(#506) Phpdocs for function apibridge::create_course_series has incomplete parameters list
(#592) Phpdocs for function apibridge::update_course_series has incomplete parameters list
(#653) Phpdocs for function apibridge::unset_course_series has incomplete parameters list
(#665) Phpdocs for function apibridge::ensure_series_is_valid has incomplete parameters list
(#711) Phpdocs for function apibridge::create_event has incomplete parameters list
(#806) Phpdocs for function apibridge::ensure_event_exists has incomplete parameters list
(#884) Phpdocs for function apibridge::can_delete_acl_group_assignment has incomplete parameters list
(#951) Phpdocs for function apibridge::change_visibility has incomplete parameters list
(#1140) Phpdocs for function apibridge::is_event_visible has incomplete parameters list
(#1227) Phpdocs for function apibridge::start_workflow has incomplete parameters list
(#1276) Phpdocs for function apibridge::check_if_workflow_exists has incomplete parameters list
(#1353) Phpdocs for function apibridge::can_delete_event_assignment has incomplete parameters list
(#1473) Phpdocs for function apibridge::can_update_event_metadata has incomplete parameters list
(#1488) Phpdocs for function apibridge::get_event_metadata has incomplete parameters list
(#56) Not recommended phpdocs tag @staticvar used
blocks/opencast/classes/local/createseries_form.php
(#34) Class createseries_form is not documented
(#36) Function createseries_form::definition is not documented
blocks/opencast/classes/local/editseries_form.php
(#32) Class editseries_form is not documented
(#34) Function editseries_form::definition is not documented
blocks/opencast/classes/local/event.php
(#31) Class event is not documented
(#45) Function event::add_meta_data is not documented
(#33) Variable event::$acl is not documented
(#34) Variable event::$metadatafields is not documented
(#35) Variable event::$presentation is not documented
(#36) Variable event::$presenter is not documented
(#159) Phpdocs for function event::has_acl has incomplete parameters list
(#171) Phpdocs for function event::remove_acl has incomplete parameters list
(#269) Phpdocs for function event::create_duplication_task has incomplete parameters list
blocks/opencast/classes/local/file_system_filedir.php
(#17) No one-line description found in phpdocs for file
(#32) No one-line description found in phpdocs for class file_system_filedir
blocks/opencast/classes/local/notifications.php
(#41) Phpdocs for function notifications::send_message has incomplete parameters list
(#99) Phpdocs for function notifications::notify_missing_events has incomplete parameters list
blocks/opencast/classes/local/updatemetadata_form.php
(#34) Class updatemetadata_form is not documented
(#36) Function updatemetadata_form::definition is not documented
blocks/opencast/classes/local/upload_helper.php
(#32) Class upload_helper is not documented
(#44) Function upload_helper::__construct is not documented
(#48) Function upload_helper::get_status_string is not documented
(#323) Function upload_helper::upload_failed is not documented
(#42) Variable upload_helper::$apibridge is not documented
(#34) Constant upload_helper::OC_FILEAREA is not documented
(#35) Constant upload_helper::STATUS_READY_TO_UPLOAD is not documented
(#36) Constant upload_helper::STATUS_CREATING_GROUP is not documented
(#37) Constant upload_helper::STATUS_CREATING_SERIES is not documented
(#38) Constant upload_helper::STATUS_CREATING_EVENT is not documented
(#39) Constant upload_helper::STATUS_UPLOADED is not documented
(#40) Constant upload_helper::STATUS_TRANSFERRED is not documented
(#17) No one-line description found in phpdocs for file
(#110) Phpdocs for function upload_helper::save_upload_jobs has incomplete parameters list
(#612) Phpdocs for function upload_helper::get_opencast_metadata_catalog has incomplete parameters list
blocks/opencast/classes/local/visibility_form.php
(#36) Class visibility_form is not documented
(#38) Function visibility_form::definition is not documented
blocks/opencast/classes/opencast_state_exception.php
(#17) File-level phpdocs block is not found
(#23) No one-line description found in phpdocs for class opencast_state_exception
(#29) Incorrect path for phpdocs tag @group detected
(#28) Category is not valid
blocks/opencast/classes/privacy/provider.php
(#47) Phpdocs for function provider::get_metadata has incomplete parameters list
blocks/opencast/classes/task/process_delete_cron.php
(#27) Class process_delete_cron is not documented
(#29) Function process_delete_cron::get_name is not documented
(#33) Function process_delete_cron::execute is not documented
(#17) No one-line description found in phpdocs for file
blocks/opencast/classes/task/process_upload_cron.php
(#25) Class process_upload_cron is not documented
(#27) Function process_upload_cron::get_name is not documented
(#31) Function process_upload_cron::execute is not documented
(#17) No one-line description found in phpdocs for file
blocks/opencast/createseries.php
(#19) Invalid inline phpdocs tag @package found
blocks/opencast/db/caches.php
(#17) File-level phpdocs block is not found
blocks/opencast/db/upgrade.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#18) Package blocks_opencast is not valid
blocks/opencast/deletedraft.php
(#21) Category view is not valid
blocks/opencast/editseries.php
(#19) Invalid inline phpdocs tag @package found
blocks/opencast/lib.php
(#17) No one-line description found in phpdocs for file
blocks/opencast/recordvideo.php
(#19) Invalid inline phpdocs tag @package found
(#79) Package is not specified for function block_opencast_create_lti_parameters. It is also not specified in file-level phpdocs
blocks/opencast/renderer.php
(#507) Function block_opencast_renderer::render_series_settings_actions is not documented
(#35) Constant block_opencast_renderer::VISIBLE is not documented
(#36) Constant block_opencast_renderer::MIXED_VISIBLITY is not documented
(#37) Constant block_opencast_renderer::HIDDEN is not documented
(#38) Constant block_opencast_renderer::GROUP is not documented
(#83) Phpdocs for function block_opencast_renderer::render_block_content has incomplete parameters list
(#176) Phpdocs for function block_opencast_renderer::render_upload_jobs has incomplete parameters list
(#262) Phpdocs for function block_opencast_renderer::render_delete_acl_group_assignment_icon has incomplete parameters list
(#278) Phpdocs for function block_opencast_renderer::render_change_visibility_icon has incomplete parameters list
(#357) Phpdocs for function block_opencast_renderer::render_delete_event_icon has incomplete parameters list
(#426) Phpdocs for function block_opencast_renderer::render_update_metadata_event_icon has incomplete parameters list
(#526) Phpdocs for function block_opencast_renderer::render_lti_form has incomplete parameters list
(#30) Package block_customcomments is not valid
blocks/opencast/tests/backup_test.php
(#56) Function block_opencast_backup_testcase::get_backup_filepath is not documented
(#61) Function block_opencast_backup_testcase::get_backup_filename is not documented
(#152) Function block_opencast_backup_testcase::check_task_fail_with_error is not documented
(#70) Phpdocs for function block_opencast_backup_testcase::backup_course has incomplete parameters list
(#98) Phpdocs for function block_opencast_backup_testcase::restore_course has incomplete parameters list
(#131) Phpdocs for function block_opencast_backup_testcase::execute_adhoc_task has incomplete parameters list
(#43) Phpdocs for variable block_opencast_backup_testcase::$apiurl does not contain @var or incorrect
blocks/opencast/tests/generator/lib.php
(#24) Class block_opencast_generator is not documented
(#26) Function block_opencast_generator::create_file is not documented
(#17) No one-line description found in phpdocs for file
blocks/opencast/tests/helper/apibridge_testable.php
(#17) File-level phpdocs block is not found
(#21) Class block_opencast_apibridge_testable is not documented
(#196) Function block_opencast_apibridge_testable::get_course_series is not documented
(#206) Function block_opencast_apibridge_testable::check_if_workflow_exists is not documented
(#210) Function block_opencast_apibridge_testable::start_workflow is not documented
(#26) Constant block_opencast_apibridge_testable::DUPLICATE_WORKFLOW is not documented
(#21) Package is not specified for class block_opencast_apibridge_testable. It is also not specified in file-level phpdocs
blocks/opencast/tests/roles_test.php
(#28) Class block_opencast_roles_testcase is not documented
(#17) No one-line description found in phpdocs for file
blocks/opencast/tests/upload_test.php
(#26) Class block_opencast_upload_testcase is not documented
(#28) Variable block_opencast_upload_testcase::$apiurl is not documented
(#29) Variable block_opencast_upload_testcase::$apiusername is not documented
(#30) Variable block_opencast_upload_testcase::$apipassword is not documented
(#17) No one-line description found in phpdocs for file
blocks/opencast/updatemetadata.php
(#19) Invalid inline phpdocs tag @package found

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]