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

(3 errors, 3 warnings)

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

mod/videofile/backup/moodle2/restore_videofile_stepslib.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
mod/videofile/db/install.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
mod/videofile/db/uninstall.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
mod/videofile/renderer.php
(#184) Expected 1 space after "?"; newline found
(#186) Expected 1 space after "?"; newline found
(#329) Expected 1 space after "?"; newline found

Javascript coding style problems

(7 errors, 769 warnings)

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

mod/videofile/video-js-4.6.3/video.dev.js
(#59) ['player'] is better written in dot notation.
(#68) Expected '===' and instead saw '=='.
(#114) ['flash'] is better written in dot notation.
(#114) ['swf'] is better written in dot notation.
(#130) ['amd'] is better written in dot notation.
(#135) ['exports'] is better written in dot notation.
(#188) ['CoreObject'] is better written in dot notation.
(#213) ['init'] is better written in dot notation.
(#213) ['init'] is better written in dot notation.
(#287) Expected '{' and instead saw 'data'.
(#289) Expected '{' and instead saw 'data'.
(#291) Expected '{' and instead saw 'fn'.
(#300) Expected '{' and instead saw 'return'.
(#320) Expected '===' and instead saw '=='.
(#338) Expected '{' and instead saw 'return'.
(#353) Expected '{' and instead saw 'removeType'.
(#360) Expected '{' and instead saw 'return'.
(#451) Expected '===' and instead saw '=='.
(#503) Expected '!==' and instead saw '!='.
(#519) Expected '!==' and instead saw '!='.
(#520) Unexpected use of '&'.
(#521) Unexpected use of '&'.
(#522) Unexpected use of '&'.
(#643) Expected '===' and instead saw '=='.
(#919) Expected '===' and instead saw '=='.
(#933) Expected '===' and instead saw '=='.
(#1240) Expected '===' and instead saw '=='.
(#1240) Expected '===' and instead saw '=='.
(#1285) Expected '===' and instead saw '=='.
(#1285) Expected '===' and instead saw '=='.
(#1288) Expected '===' and instead saw '=='.
(#1362) ['console'] is better written in dot notation.
(#1552) ['id'] is better written in dot notation.
(#1552) ['el'] is better written in dot notation.
(#1552) ['el'] is better written in dot notation.
(#1552) ['id'] is better written in dot notation.
(#1552) ['el'] is better written in dot notation.
(#1552) ['id'] is better written in dot notation.
(#1554) ['name'] is better written in dot notation.
(#1557) ['el'] is better written in dot notation.
(#1631) Expected an assignment or function call and instead saw an expression.
(#1675) Expected '{' and instead saw 'return'.
(#1677) Did you mean to return a conditional instead of an assignment?
(#1686) Expected an assignment or function call and instead saw an expression.
(#1717) Expected an assignment or function call and instead saw an expression.
(#1735) Expected an assignment or function call and instead saw an expression.
(#1754) Expected an assignment or function call and instead saw an expression.
(#1773) Expected an assignment or function call and instead saw an expression.
(#1792) Expected an assignment or function call and instead saw an expression.
(#1809) Expected an assignment or function call and instead saw an expression.
(#1846) Line is too long.
(#1860) ['componentClass'] is better written in dot notation.
(#1863) ['name'] is better written in dot notation.
(#1869) ['videojs'] is better written in dot notation.
(#1892) ['el'] is better written in dot notation.
(#1892) ['el'] is better written in dot notation.
(#1893) ['el'] is better written in dot notation.
(#1911) Expected '{' and instead saw 'return'.
(#1922) Expected '{' and instead saw 'return'.
(#1971) ['children'] is better written in dot notation.
(#1979) Expected '===' and instead saw '=='.
(#1993) Expected '{' and instead saw 'return'.
(#2086) Expected an assignment or function call and instead saw an expression.
(#2106) Expected an assignment or function call and instead saw an expression.
(#2320) Expected '{' and instead saw 'return'.
(#2355) Expected an assignment or function call and instead saw an expression.
(#2555) Expected '===' and instead saw '=='.
(#2555) Expected '===' and instead saw '=='.
(#2580) ['barName'] is better written in dot notation.
(#2581) ['handleName'] is better written in dot notation.
(#2640) Expected '{' and instead saw 'return'.
(#2741) Expected '===' and instead saw '=='.
(#2744) Expected '===' and instead saw '=='.
(#2850) ['selected'] is better written in dot notation.
(#2858) ['label'] is better written in dot notation.
(#2930) ['createItems'] is better written in dot notation.
(#2979) Expected '===' and instead saw '=='.
(#2979) Expected '===' and instead saw '=='.
(#2986) Expected '===' and instead saw '=='.
(#3085) Expected an assignment or function call and instead saw an expression.
(#3207) ['poster'] is better written in dot notation.
(#3209) ['controls'] is better written in dot notation.
(#3241) ['plugins'] is better written in dot notation.
(#3242) ['plugins'] is better written in dot notation.
(#3277) ['player'] is better written in dot notation.
(#3277) ['player'] is better written in dot notation.
(#3278) ['player'] is better written in dot notation.
(#3278) ['player'] is better written in dot notation.
(#3309) ['sources'] is better written in dot notation.
(#3311) ['tracks'] is better written in dot notation.
(#3362) ['player'] is better written in dot notation.
(#3362) ['player'] is better written in dot notation.
(#3368) ['width'] is better written in dot notation.
(#3369) ['height'] is better written in dot notation.
(#3422) ['progressEvents'] is better written in dot notation.
(#3427) ['timeupdateEvents'] is better written in dot notation.
(#3436) Expected '===' and instead saw '=='.
(#3437) ['startTime'] is better written in dot notation.
(#3444) ['videojs'] is better written in dot notation.
(#3493) ['progressEvents'] is better written in dot notation.
(#3514) Expected '===' and instead saw '=='.
(#3534) ['timeupdateEvents'] is better written in dot notation.
(#3614) Expected an assignment or function call and instead saw an expression.
(#3620) Expected an assignment or function call and instead saw an expression.
(#3626) Expected an assignment or function call and instead saw an expression.
(#3649) ['starttime'] is better written in dot notation.
(#3650) ['starttime'] is better written in dot notation.
(#3672) Expected an assignment or function call and instead saw an expression.
(#3680) Expected '===' and instead saw '=='.
(#3690) ['loop'] is better written in dot notation.
(#3723) Expected an assignment or function call and instead saw an expression.
(#3744) Expected an assignment or function call and instead saw an expression.
(#3784) Expected '===' and instead saw '=='.
(#3865) Did you mean to return a conditional instead of an assignment?
(#4083) ['fullscreenchange'] is better written in dot notation.
(#4088) ['fullscreenchange'] is better written in dot notation.
(#4088) Avoid arguments.callee.
(#4199) ['techOrder'] is better written in dot notation.
(#4201) ['videojs'] is better written in dot notation.
(#4216) ['canPlaySource'] is better written in dot notation.
(#4274) Expected '===' and instead saw '=='.
(#4284) ['notSupportedMessage'] is better written in dot notation.
(#4291) ['videojs'] is better written in dot notation.
(#4291) ['canPlaySource'] is better written in dot notation.
(#4309) ['preload'] is better written in dot notation.
(#4309) Expected '===' and instead saw '=='.
(#4312) ['autoplay'] is better written in dot notation.
(#4337) ['preload'] is better written in dot notation.
(#4345) ['autoplay'] is better written in dot notation.
(#4353) ['loop'] is better written in dot notation.
(#4364) Expected an assignment or function call and instead saw an expression.
(#4401) Expected an assignment or function call and instead saw an expression.
(#4429) Expected an assignment or function call and instead saw an expression.
(#4587) Expected '!==' and instead saw '!='.
(#4587) Expected '!==' and instead saw '!='.
(#4665) ['playbackRate'] is better written in dot notation.
(#5057) Expected '===' and instead saw '=='.
(#5177) ['volumeControl'] is better written in dot notation.
(#5181) ['volumeControl'] is better written in dot notation.
(#5319) ['volumeControl'] is better written in dot notation.
(#5323) ['volumeControl'] is better written in dot notation.
(#5359) Expected '!==' and instead saw '!='.
(#5363) Expected '!==' and instead saw '!='.
(#5461) ['playbackRates'] is better written in dot notation.
(#5468) Unnecessary semicolon.
(#5482) ['playbackRates'] is better written in dot notation.
(#5490) Unnecessary semicolon.
(#5496) ['playbackRate'] is better written in dot notation.
(#5497) ['playbackRates'] is better written in dot notation.
(#5498) ['playbackRates'] is better written in dot notation.
(#5531) ['rate'] is better written in dot notation.
(#5535) ['label'] is better written in dot notation.
(#5536) ['selected'] is better written in dot notation.
(#5549) Expected '===' and instead saw '=='.
(#5772) 'activateControls' is already defined.
(#5842) Expected '{' and instead saw 'return'.
(#5890) Line is too long.
(#5918) ['volumeControl'] is better written in dot notation.
(#5921) ['playbackRate'] is better written in dot notation.
(#5924) ['movingMediaElementInDOM'] is better written in dot notation.
(#5927) ['fullscreenResize'] is better written in dot notation.
(#5932) ['source'] is better written in dot notation.
(#5947) ['nativeControlsForTouch'] is better written in dot notation.
(#5956) ['autoplay'] is better written in dot notation.
(#5957) ['poster'] is better written in dot notation.
(#5980) ['movingMediaElementInDOM'] is better written in dot notation.
(#5995) ['player'] is better written in dot notation.
(#6025) Expected '===' and instead saw '=='.
(#6095) Expected '===' and instead saw '=='.
(#6157) ['volume'] is better written in dot notation.
(#6238) Line is too long.
(#6243) ['player'] is better written in dot notation.
(#6290) ['source'] is better written in dot notation.
(#6293) ['parentEl'] is better written in dot notation.
(#6320) ['flashVars'] is better written in dot notation.
(#6326) ['params'] is better written in dot notation.
(#6333) ['attributes'] is better written in dot notation.
(#6342) ['rtmpConnection'] is better written in dot notation.
(#6343) ['rtmpStream'] is better written in dot notation.
(#6346) ['src'] is better written in dot notation.
(#6350) ['setCurrentTime'] is better written in dot notation.
(#6354) ['currentTime'] is better written in dot notation.
(#6368) ['startTime'] is better written in dot notation.
(#6372) ['startTime'] is better written in dot notation.
(#6402) Line is too long.
(#6411) ['iFrameMode'] is better written in dot notation.
(#6425) ['readyFunction'] is better written in dot notation.
(#6426) ['eventProxyFunction'] is better written in dot notation.
(#6427) ['errorEventProxyFunction'] is better written in dot notation.
(#6478) ['swf'] is better written in dot notation.
(#6482) ['player'] is better written in dot notation.
(#6485) ['ready'] is better written in dot notation.
(#6498) ['events'] is better written in dot notation.
(#6506) ['errors'] is better written in dot notation.
(#6517) ['swf'] is better written in dot notation.
(#6560) Expected '===' and instead saw '=='.
(#6561) ['rtmpConnection'] is better written in dot notation.
(#6562) ['rtmpStream'] is better written in dot notation.
(#6597) Line is too long.
(#6663) ['onReady'] is better written in dot notation.
(#6668) ['player'] is better written in dot notation.
(#6668) ['player'] is better written in dot notation.
(#6672) ['player'] is better written in dot notation.
(#6701) ['onEvent'] is better written in dot notation.
(#6702) ['player'] is better written in dot notation.
(#6707) ['onError'] is better written in dot notation.
(#6708) ['player'] is better written in dot notation.
(#6711) Expected '===' and instead saw '=='.
(#6867) ['sources'] is better written in dot notation.
(#6867) ['sources'] is better written in dot notation.
(#6868) ['techOrder'] is better written in dot notation.
(#6870) ['videojs'] is better written in dot notation.
(#6883) ['sources'] is better written in dot notation.
(#6903) Expected an assignment or function call and instead saw an expression.
(#6930) ['kind'] is better written in dot notation.
(#6931) ['label'] is better written in dot notation.
(#6932) ['language'] is better written in dot notation.
(#6939) ['videojs'] is better written in dot notation.
(#6971) ['kind'] is better written in dot notation.
(#6971) ['label'] is better written in dot notation.
(#6971) ['language'] is better written in dot notation.
(#6993) Expected '===' and instead saw '=='.
(#7027) ['id'] is better written in dot notation.
(#7027) ['kind'] is better written in dot notation.
(#7027) ['language'] is better written in dot notation.
(#7028) ['src'] is better written in dot notation.
(#7030) ['dflt'] is better written in dot notation.
(#7031) ['title'] is better written in dot notation.
(#7032) ['srclang'] is better written in dot notation.
(#7033) ['label'] is better written in dot notation.
(#7047) Expected an assignment or function call and instead saw an expression.
(#7061) Expected an assignment or function call and instead saw an expression.
(#7076) Expected an assignment or function call and instead saw an expression.
(#7090) Expected an assignment or function call and instead saw an expression.
(#7105) Expected an assignment or function call and instead saw an expression.
(#7120) Expected an assignment or function call and instead saw an expression.
(#7135) Expected an assignment or function call and instead saw an expression.
(#7150) Expected an assignment or function call and instead saw an expression.
(#7169) Expected an assignment or function call and instead saw an expression.
(#7187) Expected an assignment or function call and instead saw an expression.
(#7229) Line is too long.
(#7265) Expected '===' and instead saw '=='.
(#7323) Line is too long.
(#7356) Expected '===' and instead saw '=='.
(#7403) Expected '===' and instead saw '=='.
(#7441) ['trackTimeOffset'] is better written in dot notation.
(#7612) ['tracks'] is better written in dot notation.
(#7612) ['tracks'] is better written in dot notation.
(#7613) ['tracks'] is better written in dot notation.
(#7633) ['track'] is better written in dot notation.
(#7636) ['label'] is better written in dot notation.
(#7637) ['selected'] is better written in dot notation.
(#7650) Expected '===' and instead saw '=='.
(#7663) ['track'] is better written in dot notation.
(#7664) ['kind'] is better written in dot notation.
(#7666) ['kind'] is better written in dot notation.
(#7687) Expected '===' and instead saw '=='.
(#7687) Expected '===' and instead saw '=='.
(#7830) Expected '===' and instead saw '=='.
(#7885) ['track'] is better written in dot notation.
(#7886) ['cue'] is better written in dot notation.
(#7890) ['label'] is better written in dot notation.
(#7891) ['selected'] is better written in dot notation.
(#7913) ['children'] is better written in dot notation.
(#7940) Expected an assignment or function call and instead saw an expression.
(#7991) eval can be harmful.
(#8021) ['player'] is better written in dot notation.
(#1849) 'componentId' is defined but never used.
(#2471) 'event' is defined but never used.
(#4083) 'e' is defined but never used.
(#4531) 'event' is defined but never used.
(#4606) 'event' is defined but never used.
(#5805) 'event' is defined but never used.
(#5974) 'newEl' is defined but never used.
(#6354) 'time' is defined but never used.
mod/videofile/video-js-4.6.3/video.js
(#2) Line is too long.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'throw'.
(#2) Missing semicolon.
(#3) Line is too long.
(#3) Expected '===' and instead saw '=='.
(#3) Expected an assignment or function call and instead saw an expression.
(#4) Line is too long.
(#4) Missing semicolon.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#4) Expected '{' and instead saw 'a'.
(#4) Expected an assignment or function call and instead saw an expression.
(#4) Missing semicolon.
(#5) Line is too long.
(#5) Missing semicolon.
(#5) Expected an assignment or function call and instead saw an expression.
(#5) Expected an assignment or function call and instead saw an expression.
(#5) Expected an assignment or function call and instead saw an expression.
(#5) Expected '{' and instead saw 'for'.
(#5) 'd' is already defined.
(#5) Expected '{' and instead saw 'd'.
(#5) Missing semicolon.
(#5) Expected an assignment or function call and instead saw an expression.
(#5) Expected '===' and instead saw '=='.
(#5) Expected an assignment or function call and instead saw an expression.
(#5) Missing semicolon.
(#6) Line is too long.
(#6) Expected '{' and instead saw 'if'.
(#6) Expected '{' and instead saw 'for'.
(#6) Expected '{' and instead saw 'g'.
(#6) Expected an assignment or function call and instead saw an expression.
(#6) Missing semicolon.
(#6) Expected '{' and instead saw 'e'.
(#6) Missing semicolon.
(#6) Expected '{' and instead saw 'for'.
(#6) Expected '{' and instead saw 'c'.
(#6) 'g' used out of scope.
(#6) Expected an assignment or function call and instead saw an expression.
(#6) Missing semicolon.
(#6) Expected an assignment or function call and instead saw an expression.
(#6) Expected an assignment or function call and instead saw an expression.
(#6) Expected an assignment or function call and instead saw an expression.
(#6) Missing semicolon.
(#7) Line is too long.
(#7) Missing semicolon.
(#7) Missing semicolon.
(#7) Expected '{' and instead saw 'layerX'.
(#7) Expected '===' and instead saw '=='.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Expected an assignment or function call and instead saw an expression.
(#7) Missing semicolon.
(#8) Line is too long.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Missing semicolon.
(#8) Expected an assignment or function call and instead saw an expression.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#8) Missing semicolon.
(#8) Expected '!==' and instead saw '!='.
(#9) Line is too long.
(#8) Unexpected use of '&'.
(#8) Unexpected use of '&'.
(#9) Unexpected use of '&'.
(#9) Expected an assignment or function call and instead saw an expression.
(#9) Missing semicolon.
(#9) Missing semicolon.
(#9) Expected an assignment or function call and instead saw an expression.
(#9) Expected an assignment or function call and instead saw an expression.
(#9) Expected '{' and instead saw 'u'.
(#9) Expected '{' and instead saw 'c'.
(#9) Missing semicolon.
(#9) Missing semicolon.
(#10) Line is too long.
(#10) Missing semicolon.
(#10) Missing semicolon.
(#10) Expected '{' and instead saw 'v'.
(#10) Expected '===' and instead saw '=='.
(#10) Expected an assignment or function call and instead saw an expression.
(#10) Missing semicolon.
(#10) Missing semicolon.
(#10) A constructor name should start with an uppercase letter.
(#10) Missing '()' invoking a constructor.
(#10) Missing semicolon.
(#11) Line is too long.
(#11) Expected '{' and instead saw 'v'.
(#11) Expected an assignment or function call and instead saw an expression.
(#11) Missing semicolon.
(#11) Expected '{' and instead saw 'return'.
(#11) Expected '{' and instead saw 'v'.
(#11) Expected an assignment or function call and instead saw an expression.
(#11) Missing semicolon.
(#11) Expected '{' and instead saw 'v'.
(#11) Expected an assignment or function call and instead saw an expression.
(#11) Missing semicolon.
(#11) Missing semicolon.
(#11) Missing semicolon.
(#12) Line is too long.
(#12) Missing semicolon.
(#12) Missing semicolon.
(#12) Expected an assignment or function call and instead saw an expression.
(#12) Missing semicolon.
(#12) Missing '()' invoking a constructor.
(#12) Expected an assignment or function call and instead saw an expression.
(#12) Missing semicolon.
(#12) Missing semicolon.
(#13) Line is too long.
(#13) Missing semicolon.
(#13) Expected an assignment or function call and instead saw an expression.
(#13) Missing semicolon.
(#13) Expected '{' and instead saw 'if'.
(#13) Expected '{' and instead saw 'return'.
(#13) Missing semicolon.
(#13) Expected '===' and instead saw '=='.
(#13) Expected an assignment or function call and instead saw an expression.
(#13) Missing semicolon.
(#13) Expected '!==' and instead saw '!='.
(#13) Expected '{' and instead saw 'd'.
(#13) Expected an assignment or function call and instead saw an expression.
(#13) Missing semicolon.
(#14) Line is too long.
(#14) Expected an assignment or function call and instead saw an expression.
(#15) Line is too long.
(#15) Expected '{' and instead saw 'g'.
(#15) Missing semicolon.
(#15) Missing semicolon.
(#16) Line is too long.
(#16) Expected an assignment or function call and instead saw an expression.
(#16) Missing semicolon.
(#16) Expected an assignment or function call and instead saw an expression.
(#16) Missing semicolon.
(#16) Expected an assignment or function call and instead saw an expression.
(#16) Missing semicolon.
(#17) Line is too long.
(#17) Expected '{' and instead saw 'g'.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Missing semicolon.
(#17) Expected an assignment or function call and instead saw an expression.
(#17) Missing semicolon.
(#18) Missing semicolon.
(#18) Missing semicolon.
(#18) Missing semicolon.
(#19) Line is too long.
(#19) Missing semicolon.
(#19) Missing semicolon.
(#19) Missing semicolon.
(#19) Expected an assignment or function call and instead saw an expression.
(#19) Missing '()' invoking a constructor.
(#20) Line is too long.
(#20) Missing '()' invoking a constructor.
(#20) Missing semicolon.
(#20) Expected '===' and instead saw '=='.
(#20) Expected '===' and instead saw '=='.
(#20) Expected an assignment or function call and instead saw an expression.
(#20) Missing semicolon.
(#20) Expected an assignment or function call and instead saw an expression.
(#20) Expected an assignment or function call and instead saw an expression.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#20) Missing semicolon.
(#21) Line is too long.
(#21) Expected an assignment or function call and instead saw an expression.
(#21) Missing semicolon.
(#21) Expected '===' and instead saw '=='.
(#21) Expected '===' and instead saw '=='.
(#21) Expected '===' and instead saw '=='.
(#21) Expected an assignment or function call and instead saw an expression.
(#21) Missing semicolon.
(#21) Expected an assignment or function call and instead saw an expression.
(#21) Missing semicolon.
(#22) Line is too long.
(#22) Expected a conditional expression and instead saw an assignment.
(#22) Expected '{' and instead saw 'c'.
(#22) Expected an assignment or function call and instead saw an expression.
(#22) Expected '{' and instead saw 'a'.
(#22) Expected an assignment or function call and instead saw an expression.
(#22) Missing semicolon.
(#23) Line is too long.
(#23) Expected an assignment or function call and instead saw an expression.
(#23) Expected '{' and instead saw 'E'.
(#23) Expected '{' and instead saw 'E'.
(#23) Missing semicolon.
(#23) Missing 'new' prefix when invoking a constructor.
(#23) Missing semicolon.
(#23) Missing 'new' prefix when invoking a constructor.
(#23) Missing semicolon.
(#23) Missing 'new' prefix when invoking a constructor.
(#23) Missing semicolon.
(#24) Line is too long.
(#24) Expected an assignment or function call and instead saw an expression.
(#24) Expected '{' and instead saw 'return'.
(#24) Missing semicolon.
(#24) Expected '{' and instead saw 'c'.
(#24) Expected an assignment or function call and instead saw an expression.
(#24) Missing semicolon.
(#25) Line is too long.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#25) Missing semicolon.
(#26) Line is too long.
(#26) Expected '{' and instead saw 'for'.
(#26) Expected '{' and instead saw 'this'.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Expected an assignment or function call and instead saw an expression.
(#26) Missing semicolon.
(#26) Missing semicolon.
(#26) Missing semicolon.
(#26) Missing semicolon.
(#26) Missing semicolon.
(#27) Line is too long.
(#27) Missing semicolon.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Expected an assignment or function call and instead saw an expression.
(#27) Missing semicolon.
(#28) Line is too long.
(#28) Missing semicolon.
(#28) Expected an identifier and instead saw '==='.
(#28) Expected an operator and instead saw 'typeof'.
(#28) Expected an assignment or function call and instead saw an expression.
(#28) Missing semicolon.
(#28) Expected an assignment or function call and instead saw an expression.
(#28) Expected '{' and instead saw 'if'.
(#28) Missing semicolon.
(#28) Expected an assignment or function call and instead saw an expression.
(#28) Missing semicolon.
(#28) Expected a conditional expression and instead saw an assignment.
(#28) Expected '{' and instead saw 'if'.
(#28) Expected '{' and instead saw 'for'.
(#28) Expected '{' and instead saw 'd'.
(#28) Expected '===' and instead saw '=='.
(#28) Expected an assignment or function call and instead saw an expression.
(#28) Expected '{' and instead saw 'u'.
(#28) Expected an assignment or function call and instead saw an expression.
(#28) Missing semicolon.
(#28) Missing semicolon.
(#29) Line is too long.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#29) Expected an assignment or function call and instead saw an expression.
(#29) Missing semicolon.
(#29) Expected '{' and instead saw 'a'.
(#29) Missing semicolon.
(#29) Missing semicolon.
(#30) Line is too long.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#30) Missing 'new' prefix when invoking a constructor.
(#30) Missing semicolon.
(#30) Missing 'new' prefix when invoking a constructor.
(#30) Missing semicolon.
(#30) Missing semicolon.
(#31) Line is too long.
(#31) Expected '{' and instead saw 'return'.
(#31) Expected '{' and instead saw 'return'.
(#31) Missing semicolon.
(#32) Line is too long.
(#32) Missing '()' invoking a constructor.
(#32) Expected an assignment or function call and instead saw an expression.
(#32) Missing semicolon.
(#32) Expected an assignment or function call and instead saw an expression.
(#32) Missing semicolon.
(#32) Missing semicolon.
(#32) Missing '()' invoking a constructor.
(#32) Expected an assignment or function call and instead saw an expression.
(#32) Missing semicolon.
(#32) Missing semicolon.
(#33) Missing 'new' prefix when invoking a constructor.
(#33) Missing semicolon.
(#34) Line is too long.
(#34) Expected an assignment or function call and instead saw an expression.
(#34) Missing semicolon.
(#34) Missing semicolon.
(#34) Missing semicolon.
(#35) Line is too long.
(#35) Expected '===' and instead saw '=='.
(#35) Expected '===' and instead saw '=='.
(#35) Expected '{' and instead saw 'a'.
(#35) Expected an assignment or function call and instead saw an expression.
(#35) Missing semicolon.
(#35) Missing semicolon.
(#35) Missing semicolon.
(#36) Line is too long.
(#36) Missing semicolon.
(#36) Missing semicolon.
(#37) Line is too long.
(#37) Missing semicolon.
(#37) Expected an assignment or function call and instead saw an expression.
(#37) Missing semicolon.
(#37) Missing semicolon.
(#38) Line is too long.
(#38) Expected '{' and instead saw 'return'.
(#38) Expected an assignment or function call and instead saw an expression.
(#38) Missing semicolon.
(#38) Missing semicolon.
(#39) Line is too long.
(#39) Expected '===' and instead saw '=='.
(#39) Expected '===' and instead saw '=='.
(#39) Expected an assignment or function call and instead saw an expression.
(#39) Missing semicolon.
(#39) Missing semicolon.
(#39) Missing semicolon.
(#39) Missing semicolon.
(#40) Line is too long.
(#40) Missing 'new' prefix when invoking a constructor.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#40) Missing semicolon.
(#41) Line is too long.
(#41) Missing semicolon.
(#41) Missing semicolon.
(#41) Expected an assignment or function call and instead saw an expression.
(#41) Missing semicolon.
(#42) Line is too long.
(#42) Expected an assignment or function call and instead saw an expression.
(#42) Missing semicolon.
(#42) Expected an assignment or function call and instead saw an expression.
(#42) Expected a conditional expression and instead saw an assignment.
(#42) Expected '{' and instead saw 'for'.
(#42) Expected '{' and instead saw 'ca'.
(#42) Missing semicolon.
(#43) Line is too long.
(#43) Missing semicolon.
(#43) Missing 'new' prefix when invoking a constructor.
(#43) Missing semicolon.
(#43) Missing 'new' prefix when invoking a constructor.
(#43) Missing 'new' prefix when invoking a constructor.
(#43) Expected an assignment or function call and instead saw an expression.
(#43) Missing semicolon.
(#43) Expected '===' and instead saw '=='.
(#43) Expected '===' and instead saw '=='.
(#43) Missing 'new' prefix when invoking a constructor.
(#43) Missing 'new' prefix when invoking a constructor.
(#43) Expected '===' and instead saw '=='.
(#43) Missing 'new' prefix when invoking a constructor.
(#43) Expected an assignment or function call and instead saw an expression.
(#43) Missing semicolon.
(#43) Expected an assignment or function call and instead saw an expression.
(#43) Missing semicolon.
(#44) Line is too long.
(#44) Missing 'new' prefix when invoking a constructor.
(#44) Missing semicolon.
(#44) Missing semicolon.
(#44) Expected an identifier and instead saw '==='.
(#44) Expected an operator and instead saw 'typeof'.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Missing semicolon.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Expected an assignment or function call and instead saw an expression.
(#44) Missing semicolon.
(#45) Line is too long.
(#45) Expected '{' and instead saw 'u'.
(#45) Expected an assignment or function call and instead saw an expression.
(#47) Line is too long.
(#48) Expected '{' and instead saw 'if'.
(#48) Missing semicolon.
(#48) Expected '{' and instead saw 'u'.
(#48) Missing semicolon.
(#49) Line is too long.
(#49) Expected an assignment or function call and instead saw an expression.
(#49) Missing semicolon.
(#49) Expected an assignment or function call and instead saw an expression.
(#49) Missing semicolon.
(#50) Line is too long.
(#49) Expected '!==' and instead saw '!='.
(#50) Expected '!==' and instead saw '!='.
(#50) Expected '{' and instead saw 'n'.
(#50) Expected an assignment or function call and instead saw an expression.
(#50) Missing semicolon.
(#50) Missing semicolon.
(#50) Expected an assignment or function call and instead saw an expression.
(#50) Missing semicolon.
(#50) Expected an assignment or function call and instead saw an expression.
(#50) Missing semicolon.
(#50) Missing semicolon.
(#50) Missing semicolon.
(#51) Line is too long.
(#51) Expected an assignment or function call and instead saw an expression.
(#51) Expected an assignment or function call and instead saw an expression.
(#51) Expected an assignment or function call and instead saw an expression.
(#51) Missing semicolon.
(#51) Expected '{' and instead saw 'd'.
(#51) Expected an assignment or function call and instead saw an expression.
(#51) Missing semicolon.
(#51) Missing semicolon.
(#52) Line is too long.
(#52) Expected '{' and instead saw 'g'.
(#52) Expected an assignment or function call and instead saw an expression.
(#52) Expected '{' and instead saw 'c'.
(#52) Missing semicolon.
(#53) Line is too long.
(#53) Expected an assignment or function call and instead saw an expression.
(#53) Missing semicolon.
(#54) Line is too long.
(#54) Expected an assignment or function call and instead saw an expression.
(#54) Expected an assignment or function call and instead saw an expression.
(#54) Expected '===' and instead saw '=='.
(#54) Expected an assignment or function call and instead saw an expression.
(#54) Expected '===' and instead saw '=='.
(#55) Line is too long.
(#55) Expected an assignment or function call and instead saw an expression.
(#55) Missing semicolon.
(#55) Missing semicolon.
(#55) Expected an assignment or function call and instead saw an expression.
(#55) Missing semicolon.
(#55) 'a' used out of scope.
(#55) 'a' used out of scope.
(#55) 'a' used out of scope.
(#55) 'a' used out of scope.
(#55) 'a' used out of scope.
(#55) 'a' used out of scope.
(#55) 'a' used out of scope.
(#55) 'a' used out of scope.
(#55) Missing semicolon.
(#55) Expected an assignment or function call and instead saw an expression.
(#55) Missing semicolon.
(#55) Missing semicolon.
(#55) Missing semicolon.
(#55) Expected an assignment or function call and instead saw an expression.
(#55) Missing semicolon.
(#55) Missing semicolon.
(#56) Line is too long.
(#56) Missing semicolon.
(#56) Missing semicolon.
(#56) Expected an assignment or function call and instead saw an expression.
(#56) Missing semicolon.
(#56) Expected an assignment or function call and instead saw an expression.
(#56) Missing semicolon.
(#56) Missing semicolon.
(#56) Expected an assignment or function call and instead saw an expression.
(#56) Missing semicolon.
(#57) Line is too long.
(#57) Missing semicolon.
(#57) Expected '===' and instead saw '=='.
(#57) Expected an assignment or function call and instead saw an expression.
(#57) Missing semicolon.
(#57) Expected an assignment or function call and instead saw an expression.
(#57) Missing semicolon.
(#57) Missing 'new' prefix when invoking a constructor.
(#57) Expected an assignment or function call and instead saw an expression.
(#57) Missing semicolon.
(#57) Expected an assignment or function call and instead saw an expression.
(#57) Missing semicolon.
(#58) Line is too long.
(#58) Expected '{' and instead saw 'a'.
(#58) Missing semicolon.
(#58) Expected '{' and instead saw 'try'.
(#58) Missing semicolon.
(#58) Missing semicolon.
(#58) Expected an identifier and instead saw ','.
(#58) Expected an assignment or function call and instead saw an expression.
(#58) Missing semicolon.
(#58) Expected an assignment or function call and instead saw an expression.
(#58) Expected '{' and instead saw 'try'.
(#58) Missing semicolon.
(#58) Expected '===' and instead saw '=='.
(#58) Missing semicolon.
(#58) Expected an identifier and instead saw ','.
(#58) Expected an assignment or function call and instead saw an expression.
(#58) Missing semicolon.
(#58) Expected an assignment or function call and instead saw an expression.
(#58) Missing 'new' prefix when invoking a constructor.
(#58) Missing semicolon.
(#58) Missing 'new' prefix when invoking a constructor.
(#58) Missing semicolon.
(#59) Line is too long.
(#59) Missing 'new' prefix when invoking a constructor.
(#59) Missing semicolon.
(#59) Missing 'new' prefix when invoking a constructor.
(#59) Missing 'new' prefix when invoking a constructor.
(#59) Missing semicolon.
(#59) Expected '{' and instead saw 'return'.
(#59) Expected an assignment or function call and instead saw an expression.
(#59) Missing semicolon.
(#59) Missing 'new' prefix when invoking a constructor.
(#59) Expected an assignment or function call and instead saw an expression.
(#59) Missing semicolon.
(#60) Line is too long.
(#60) Missing semicolon.
(#60) Expected '{' and instead saw 'return'.
(#60) Missing 'new' prefix when invoking a constructor.
(#60) Too many errors. (40% scanned).

CSS problems

(2 errors, 18 warnings)

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

mod/videofile/styles.css
(#16) Use of !important
(#16) Use of !important
mod/videofile/video-js-4.6.3/video-js.css
(#165) Rule is empty.
(#427) vertical-align can't be used with display: block.
(#576) Use of !important
(#813) Use of !important
(#814) Use of !important
(#816) Duplicate property '_position' found.
(#819) Use of !important
(#820) Use of !important
(#887) Use of !important
mod/videofile/video-js-4.6.3/video-js.min.css
(#5) Rule is empty.
(#5) vertical-align can't be used with display: block.
(#5) Use of !important
(#5) Use of !important
(#5) Use of !important
(#5) Duplicate property '_position' found.
(#5) Use of !important
(#5) Use of !important
(#5) Use of !important

PHPDocs style problems

(27 errors, 0 warnings)

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

mod/videofile/backup/moodle2/backup_videofile_activity_task.class.php
(#30) Class backup_videofile_activity_task does not have @copyright tag
(#30) Class backup_videofile_activity_task does not have @license tag
mod/videofile/backup/moodle2/backup_videofile_stepslib.php
(#33) Function backup_videofile_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#28) Class backup_videofile_activity_structure_step does not have @copyright tag
(#28) Class backup_videofile_activity_structure_step does not have @license tag
mod/videofile/backup/moodle2/restore_videofile_activity_task.class.php
(#31) Class restore_videofile_activity_task is not documented
(#17) No one-line description found in phpdocs for file
mod/videofile/backup/moodle2/restore_videofile_stepslib.php
(#17) No one-line description found in phpdocs for file
(#46) Phpdocs for function restore_videofile_activity_structure_step::process_videofile has incomplete parameters list
(#28) Class restore_videofile_activity_structure_step does not have @copyright tag
(#28) Class restore_videofile_activity_structure_step does not have @license tag
mod/videofile/db/install.php
(#17) No one-line description found in phpdocs for file
mod/videofile/db/uninstall.php
(#17) No one-line description found in phpdocs for file
mod/videofile/index.php
(#17) No one-line description found in phpdocs for file
mod/videofile/lib.php
(#132) Phpdocs for function videofile_user_outline has incomplete parameters list
(#406) Phpdocs for function videofile_reset_userdata has incomplete parameters list
(#244) Invalid phpdocs tag @catgory used
mod/videofile/locallib.php
(#27) Class videofile does not have @copyright tag
(#27) Class videofile does not have @license tag
mod/videofile/mod_form.php
(#34) Class mod_videofile_mod_form is not documented
(#150) Phpdocs for function mod_videofile_mod_form::data_preprocessing has incomplete parameters list
mod/videofile/renderer.php
(#37) Phpdocs for function mod_videofile_renderer::video_header has incomplete parameters list
(#106) Phpdocs for function mod_videofile_renderer::video_page has incomplete parameters list
(#176) Phpdocs for function mod_videofile_renderer::get_video_element_html has incomplete parameters list
(#29) Class mod_videofile_renderer does not have @copyright tag
(#29) Class mod_videofile_renderer does not have @license tag

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]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]