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

(5 errors, 48 warnings)

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

media/player/jwplayer/classes/event/media_audiotrack_switched.php
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) This comment is 48% valid code; is this commented out code?
(#46) Line exceeds 132 characters; contains 153 characters
media/player/jwplayer/classes/event/media_captions_switched.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 48% valid code; is this commented out code?
(#45) Line exceeds 132 characters; contains 154 characters
media/player/jwplayer/classes/event/media_playback_completed.php
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) This comment is 48% valid code; is this commented out code?
media/player/jwplayer/classes/event/media_playback_failed.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 48% valid code; is this commented out code?
media/player/jwplayer/classes/event/media_playback_launched.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 48% valid code; is this commented out code?
media/player/jwplayer/classes/event/media_playback_position_moved.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 48% valid code; is this commented out code?
(#45) Line exceeds 132 characters; contains 173 characters
media/player/jwplayer/classes/event/media_playback_started.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 48% valid code; is this commented out code?
media/player/jwplayer/classes/event/media_playback_stopped.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 48% valid code; is this commented out code?
media/player/jwplayer/classes/event/media_qualitylevel_switched.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 48% valid code; is this commented out code?
(#56) Line exceeds 132 characters; contains 168 characters
media/player/jwplayer/classes/plugin.php
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Line indented incorrectly; expected at least 16 spaces, found 14
(#99) Line indented incorrectly; expected 16 spaces, found 14
(#100) Line indented incorrectly; expected at least 20 spaces, found 16
(#101) Line indented incorrectly; expected 16 spaces, found 14
(#191) Line exceeds 132 characters; contains 157 characters
(#260) Line exceeds 132 characters; contains 137 characters
(#290) Inline comments must start with a capital letter, digit or 3-dots sequence
(#333) Inline comments must end in full-stops, exclamation marks, or question marks
(#484) Line indented incorrectly; expected at least 4 spaces, found 3
media/player/jwplayer/eventlogger.php
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#180) Inline comments must start with a capital letter, digit or 3-dots sequence
media/player/jwplayer/settings.php
(#52) Line exceeds 132 characters; contains 149 characters
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Line exceeds 132 characters; contains 143 characters
(#53) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 10 warnings)

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

media/player/jwplayer/amd/src/jwplayer.js
(#42) Extra space after key 'sesskey'. (key-spacing)
(#59) Requires a space after '{'. (block-spacing)
(#59) Statement inside of curly braces should be on next line. (brace-style)
(#59) Missing space before opening brace. (space-before-blocks)
(#59) Requires a space before '}'. (block-spacing)
(#59) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#75) Comments should not begin with a lowercase character (capitalized-comments)
(#99) Unexpected space before function parentheses. (space-before-function-paren)
(#115) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#127) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(17 errors, 0 warnings)

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

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

PHPDocs style problems

(27 errors, 0 warnings)

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

media/player/jwplayer/classes/event/media_audiotrack_switched.php
(#36) Function media_audiotrack_switched::init is not documented
(#41) Function media_audiotrack_switched::get_name is not documented
(#45) Function media_audiotrack_switched::get_description is not documented
media/player/jwplayer/classes/event/media_captions_switched.php
(#35) Function media_captions_switched::init is not documented
(#40) Function media_captions_switched::get_name is not documented
(#44) Function media_captions_switched::get_description is not documented
media/player/jwplayer/classes/event/media_playback_completed.php
(#34) Function media_playback_completed::init is not documented
(#39) Function media_playback_completed::get_name is not documented
(#43) Function media_playback_completed::get_description is not documented
media/player/jwplayer/classes/event/media_playback_failed.php
(#35) Function media_playback_failed::init is not documented
(#40) Function media_playback_failed::get_name is not documented
(#44) Function media_playback_failed::get_description is not documented
media/player/jwplayer/classes/event/media_playback_launched.php
(#35) Function media_playback_launched::init is not documented
(#40) Function media_playback_launched::get_name is not documented
(#44) Function media_playback_launched::get_description is not documented
media/player/jwplayer/classes/event/media_playback_position_moved.php
(#35) Function media_playback_position_moved::init is not documented
(#40) Function media_playback_position_moved::get_name is not documented
(#44) Function media_playback_position_moved::get_description is not documented
media/player/jwplayer/classes/event/media_playback_started.php
(#35) Function media_playback_started::init is not documented
(#40) Function media_playback_started::get_name is not documented
(#44) Function media_playback_started::get_description is not documented
media/player/jwplayer/classes/event/media_playback_stopped.php
(#35) Function media_playback_stopped::init is not documented
(#40) Function media_playback_stopped::get_name is not documented
(#44) Function media_playback_stopped::get_description is not documented
media/player/jwplayer/classes/event/media_qualitylevel_switched.php
(#35) Function media_qualitylevel_switched::init is not documented
(#40) Function media_qualitylevel_switched::get_name is not documented
(#44) Function media_qualitylevel_switched::get_description is not documented

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]