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

(0 errors, 54 warnings)

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

filter/jwplayer/classes/event/media_audiotrack_switched.php
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) This comment is 48% valid code; is this commented out code?
(#48) Line exceeds 132 characters; contains 153 characters
filter/jwplayer/classes/event/media_captions_switched.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 48% valid code; is this commented out code?
(#47) Line exceeds 132 characters; contains 154 characters
filter/jwplayer/classes/event/media_playback_completed.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 48% valid code; is this commented out code?
filter/jwplayer/classes/event/media_playback_failed.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 48% valid code; is this commented out code?
filter/jwplayer/classes/event/media_playback_launched.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 48% valid code; is this commented out code?
filter/jwplayer/classes/event/media_playback_position_moved.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 48% valid code; is this commented out code?
(#47) Line exceeds 132 characters; contains 173 characters
filter/jwplayer/classes/event/media_playback_started.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 48% valid code; is this commented out code?
filter/jwplayer/classes/event/media_playback_stopped.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 48% valid code; is this commented out code?
filter/jwplayer/classes/event/media_qualitylevel_switched.php
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) This comment is 48% valid code; is this commented out code?
(#58) Line exceeds 132 characters; contains 168 characters
filter/jwplayer/classes/player.php
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#181) Line exceeds 132 characters; contains 158 characters
(#250) Line exceeds 132 characters; contains 139 characters
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
(#323) Inline comments must end in full-stops, exclamation marks, or question marks
filter/jwplayer/db/upgrade.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
filter/jwplayer/eventlogger.php
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
filter/jwplayer/lib.php
(#177) Line exceeds 132 characters; contains 137 characters
(#183) Inline comments must start with a capital letter, digit or 3-dots sequence
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
filter/jwplayer/settings.php
(#53) Line exceeds 132 characters; contains 149 characters
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Line exceeds 132 characters; contains 143 characters
(#54) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 9 warnings)

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

filter/jwplayer/amd/src/jwplayer.js
(#43) Extra space after key 'sesskey'. (key-spacing)
(#60) Requires a space after '{'. (block-spacing)
(#60) Missing space before opening brace. (space-before-blocks)
(#60) Statement inside of curly braces should be on next line. (brace-style)
(#60) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#60) Requires a space before '}'. (block-spacing)
(#100) Unexpected space before function parentheses. (space-before-function-paren)
(#116) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#128) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(15 errors, 0 warnings)

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

filter/jwplayer/styles.css
(#4) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#5) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#4) Unexpected single-line block (block-no-single-line)
(#5) Unexpected single-line block (block-no-single-line)
(#4) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#5) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#5) Expected single space before "{" (block-opening-brace-space-before)
(#4) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#4) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#4) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#4) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)

PHPDocs style problems

(62 errors, 0 warnings)

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

filter/jwplayer/adminlib.php
(#20) Package filter is not valid
(#30) Package filter is not valid
(#75) Package filter is not valid
filter/jwplayer/classes/event/media_audiotrack_switched.php
(#38) Function media_audiotrack_switched::init is not documented
(#43) Function media_audiotrack_switched::get_name is not documented
(#47) Function media_audiotrack_switched::get_description is not documented
(#20) Package filter is not valid
(#32) Package filter is not valid
filter/jwplayer/classes/event/media_captions_switched.php
(#37) Function media_captions_switched::init is not documented
(#42) Function media_captions_switched::get_name is not documented
(#46) Function media_captions_switched::get_description is not documented
(#20) Package filter is not valid
(#31) Package filter is not valid
filter/jwplayer/classes/event/media_playback_completed.php
(#37) Function media_playback_completed::init is not documented
(#42) Function media_playback_completed::get_name is not documented
(#46) Function media_playback_completed::get_description is not documented
(#20) Package filter is not valid
(#31) Package filter is not valid
filter/jwplayer/classes/event/media_playback_failed.php
(#37) Function media_playback_failed::init is not documented
(#42) Function media_playback_failed::get_name is not documented
(#46) Function media_playback_failed::get_description is not documented
(#20) Package filter is not valid
(#31) Package filter is not valid
filter/jwplayer/classes/event/media_playback_launched.php
(#37) Function media_playback_launched::init is not documented
(#42) Function media_playback_launched::get_name is not documented
(#46) Function media_playback_launched::get_description is not documented
(#20) Package filter is not valid
(#31) Package filter is not valid
filter/jwplayer/classes/event/media_playback_position_moved.php
(#37) Function media_playback_position_moved::init is not documented
(#42) Function media_playback_position_moved::get_name is not documented
(#46) Function media_playback_position_moved::get_description is not documented
(#20) Package filter is not valid
(#31) Package filter is not valid
filter/jwplayer/classes/event/media_playback_started.php
(#37) Function media_playback_started::init is not documented
(#42) Function media_playback_started::get_name is not documented
(#46) Function media_playback_started::get_description is not documented
(#20) Package filter is not valid
(#31) Package filter is not valid
filter/jwplayer/classes/event/media_playback_stopped.php
(#37) Function media_playback_stopped::init is not documented
(#42) Function media_playback_stopped::get_name is not documented
(#46) Function media_playback_stopped::get_description is not documented
(#20) Package filter is not valid
(#31) Package filter is not valid
filter/jwplayer/classes/event/media_qualitylevel_switched.php
(#37) Function media_qualitylevel_switched::init is not documented
(#42) Function media_qualitylevel_switched::get_name is not documented
(#46) Function media_qualitylevel_switched::get_description is not documented
(#20) Package filter is not valid
(#31) Package filter is not valid
filter/jwplayer/classes/manager.php
(#36) Class filter_jwplayer_manager is not documented
(#38) Function filter_jwplayer_manager::instance is not documented
(#45) Function filter_jwplayer_manager::get_players is not documented
filter/jwplayer/db/upgrade.php
(#26) There is no description in phpdocs for function xmldb_filter_jwplayer_upgrade
(#20) Package filter is not valid
filter/jwplayer/eventlogger.php
(#20) Package filter is not valid
filter/jwplayer/filter.php
(#44) Phpdocs for function filter_jwplayer::filter has incomplete parameters list
(#23) Package filter is not valid
(#35) Package filter is not valid
filter/jwplayer/lang/en/filter_jwplayer.php
(#20) Package filter is not valid
filter/jwplayer/lib.php
(#166) Function filter_jwplayer_pluginfile is not documented
(#20) Package filter is not valid
filter/jwplayer/settings.php
(#20) Package filter is not valid
filter/jwplayer/version.php
(#20) Package filter is not valid

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]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]