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

(10 errors, 27 warnings)

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

filter/oembed/classes/provider/base.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#79) Line exceeds 132 characters; contains 139 characters
(#81) Line exceeds 132 characters; contains 144 characters
(#108) Expected 1 space before "+"; 0 found
(#108) Expected 1 space after "+"; 0 found
filter/oembed/classes/provider/docsdotcom.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/classes/provider/officeforms.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#51) Line exceeds 132 characters; contains 138 characters
filter/oembed/classes/provider/powerbi.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/classes/rest/powerbi.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/db/caches.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
filter/oembed/db/install.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/db/upgrade.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/filter.php
(#78) This comment is 58% valid code; is this commented out code?
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) This comment is 60% valid code; is this commented out code?
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) This comment is 50% valid code; is this commented out code?
(#92) Line exceeds maximum limit of 180 characters; contains 209 characters
(#120) Line exceeds 132 characters; contains 157 characters
(#192) Line exceeds 132 characters; contains 145 characters
(#205) Line exceeds 132 characters; contains 146 characters
(#218) Line exceeds 132 characters; contains 148 characters
(#234) Expected "if (...) {\n"; found "if(...){\n"
(#254) Line exceeds 132 characters; contains 174 characters
(#280) Line exceeds 132 characters; contains 139 characters
(#383) Line indented incorrectly; expected 4 spaces, found 3
(#402) Expected 1 space before "+"; 0 found
(#402) Expected 1 space after "+"; 0 found
(#436) Expected "if (...) {\n"; found "if (...){\n"
(#454) Line exceeds 132 characters; contains 135 characters
(#456) Line exceeds 132 characters; contains 140 characters
filter/oembed/settings.php
(#40) Line exceeds 132 characters; contains 133 characters
(#46) Line exceeds 132 characters; contains 133 characters
(#69) Line exceeds 132 characters; contains 140 characters

Javascript coding style problems

(0 errors, 13 warnings)

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

filter/oembed/yui/lazyload/lazyload.js
(#21) 'modifier' is already defined.
(#23) 'modifier' used out of scope.
(#32) Missing semicolon.
(#8) 'config' is defined but never used.
(#11) 'title' is defined but never used.
(#21) 'modifier' is defined but never used.
filter/oembed/yui/powerbiloader/powerbiloader.js
(#36) Unnecessary semicolon.
(#37) Missing semicolon.
(#14) 'postActionLoadReport' is not defined.
(#31) 'postActionLoadReport' is not defined.
(#33) 'message' is not defined.
(#35) 'message' is not defined.
(#8) 'config' is defined but never used.

CSS problems

(0 errors, 1 warnings)

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

filter/oembed/styles.css
(#15) Use of !important

PHPDocs style problems

(41 errors, 0 warnings)

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

filter/oembed/classes/provider/base.php
(#17) No one-line description found in phpdocs for file
(#94) Phpdocs for function base::getoembeddata has incomplete parameters list
(#30) Class base does not have @copyright tag
(#30) Class base does not have @license tag
filter/oembed/classes/provider/docsdotcom.php
(#17) No one-line description found in phpdocs for file
(#26) Class docsdotcom does not have @copyright tag
(#26) Class docsdotcom does not have @license tag
filter/oembed/classes/provider/officeforms.php
(#17) No one-line description found in phpdocs for file
(#25) Class officeforms does not have @copyright tag
(#25) Class officeforms does not have @license tag
filter/oembed/classes/provider/powerbi.php
(#64) Function powerbi::getembedhtml is not documented
(#17) No one-line description found in phpdocs for file
(#25) Class powerbi does not have @copyright tag
(#25) Class powerbi does not have @license tag
filter/oembed/classes/rest/powerbi.php
(#46) Function powerbi::getreportoembedurl is not documented
(#17) No one-line description found in phpdocs for file
(#26) Class powerbi does not have @copyright tag
(#26) Class powerbi does not have @license tag
filter/oembed/db/upgrade.php
(#31) Phpdocs for function xmldb_filter_oembed_upgrade has incomplete parameters list
filter/oembed/filter.php
(#31) No one-line description found in phpdocs for class filter_oembed
(#42) Phpdocs for function filter_oembed::setup has incomplete parameters list
(#67) Phpdocs for function filter_oembed::filter has incomplete parameters list
(#174) Phpdocs for function filter_oembed_youtubecallback has incomplete parameters list
(#187) Phpdocs for function filter_oembed_vimeocallback has incomplete parameters list
(#200) Phpdocs for function filter_oembed_tedcallback has incomplete parameters list
(#213) Phpdocs for function filter_oembed_slidesharecallback has incomplete parameters list
(#226) Phpdocs for function filter_oembed_officemixcallback has incomplete parameters list
(#249) Phpdocs for function filter_oembed_pollevcallback has incomplete parameters list
(#262) Phpdocs for function filter_oembed_issuucallback has incomplete parameters list
(#275) Phpdocs for function filter_oembed_soundcloudcallback has incomplete parameters list
(#288) Phpdocs for function filter_oembed_o365videocallback has incomplete parameters list
(#339) Phpdocs for function filter_oembed_swaycallback has incomplete parameters list
(#379) Phpdocs for function filter_oembed_curlcall has incomplete parameters list
(#31) Class filter_oembed does not have @copyright tag
(#31) Class filter_oembed does not have @license tag
filter/oembed/tests/filter_test.php
(#37) Variable filter_oembed_testcase::$filter is not documented
(#31) No one-line description found in phpdocs for class filter_oembed_testcase
(#31) Class filter_oembed_testcase does not have @copyright tag
(#31) Class filter_oembed_testcase does not have @license tag
(#32) Invalid phpdocs tag @group used
(#32) Invalid phpdocs tag @group used

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]