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

(15 errors, 5 warnings)

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

filter/urlresource/db/access.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
filter/urlresource/db/upgrade.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
filter/urlresource/filter.php
(#20) Whitespace found at end of line
(#21) Whitespace found at end of line
(#22) Whitespace found at end of line
(#25) Whitespace found at end of line
filter/urlresource/lib.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#48) Whitespace found at end of line
(#76) Whitespace found at end of line
(#89) Whitespace found at end of line
(#93) Whitespace found at end of line
(#127) Whitespace found at end of line
(#177) Whitespace found at end of line
(#198) Whitespace found at end of line
(#314) Line exceeds 132 characters; contains 156 characters
(#315) Whitespace found at end of line
(#341) Line exceeds 132 characters; contains 133 characters
(#346) Whitespace found at end of line
(#349) Whitespace found at end of line
filter/urlresource/pages/urlreplaceedit_form.php
(#68) Line exceeds 132 characters; contains 152 characters

Javascript coding style problems

(0 errors, 6 warnings)

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

filter/urlresource/yui/src/urlreplaceform/js/urlreplaceform.js
(#60) Use '===' to compare with '0'.
(#79) Use '===' to compare with '0'.
(#144) Use '===' to compare with '0'.
(#203) Line is too long.
(#153) 'alert' is not defined.
(#212) 'e' is defined but never used.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(43 errors, 5 warnings)

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

filter/urlresource/ajax.php
(#17) No one-line description found in phpdocs for file
(#18) Package filter is not valid
filter/urlresource/db/access.php
(#17) No one-line description found in phpdocs for file
(#18) Package filter is not valid
filter/urlresource/db/upgrade.php
(#17) File-level phpdocs block is not found
(#17) There is no description in phpdocs for function xmldb_filter_urlresource_upgrade
(#17) Phpdocs for function xmldb_filter_urlresource_upgrade has incomplete parameters list
(#18) Package filter is not valid
filter/urlresource/filter.php
(#35) Class filter_urlresource is not documented
(#39) Function filter_urlresource::filter is not documented
(#48) Function filter_urlresource::filter_urlresource_img_callback is not documented
(#37) Variable filter_urlresource::$globalconfig is not documented
(#17) No one-line description found in phpdocs for file
(#26) Package filter is not valid
filter/urlresource/lang/en/filter_urlresource.php
(#20) Package filter is not valid
filter/urlresource/lib.php
(#25) Class filter_url_resource_helper is not documented
(#31) Function filter_url_resource_helper::__construct is not documented
(#284) Function filter_url_resource_helper::load_loadnewimages is not documented
(#297) Function filter_url_resource_helper::add_postformfields is not documented
(#387) Function filter_url_resource_helper::save_externalurl is not documented
(#408) Function filter_url_resource_helper::clean_url is not documented
(#27) Variable filter_url_resource_helper::$urlresources is not documented
(#28) Variable filter_url_resource_helper::$webpage is not documented
(#29) Variable filter_url_resource_helper::$curlinfo is not documented
(#17) No one-line description found in phpdocs for file
(#35) Phpdocs for function filter_url_resource_helper::instance has incomplete parameters list
(#77) Phpdocs for function filter_url_resource_helper::get_filterdata has incomplete parameters list
(#91) Phpdocs for function filter_url_resource_helper::get_urlreplacedata has incomplete parameters list
(#159) Phpdocs for function filter_url_resource_helper::get_webpage has incomplete parameters list
(#178) Phpdocs for function filter_url_resource_helper::get_title_from_webpage has incomplete parameters list
(#200) Phpdocs for function filter_url_resource_helper::grab_imageurls_from_webpage has incomplete parameters list
(#348) Phpdocs for function filter_url_resource_helper::save_urlreplace has incomplete parameters list
(#49) Not recommended phpdocs tag @global used
(#90) Not recommended phpdocs tag @global used
(#128) Not recommended phpdocs tag @global used
(#199) Not recommended phpdocs tag @global used
(#347) Not recommended phpdocs tag @global used
(#18) Package filter is not valid
filter/urlresource/pages/urlreplace.php
(#17) No one-line description found in phpdocs for file
(#18) Package filter is not valid
filter/urlresource/pages/urlreplaceedit_form.php
(#29) Class urlreplaceedit_form is not documented
(#32) Function urlreplaceedit_form::definition is not documented
(#17) No one-line description found in phpdocs for file
(#18) Package filter is not valid
filter/urlresource/settings.php
(#17) No one-line description found in phpdocs for file
(#19) Package filter is not valid
filter/urlresource/version.php
(#17) No one-line description found in phpdocs for file
(#19) 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, 0 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt shifter

shifter problems

(1 errors, 0 warnings)

This section shows problems detected by shifter [More info]

filter/urlresource/yui/src/urlreplaceform/js/urlreplaceform.js
contains 6 lint errors

Mustache template problems

(0 errors, 0 warnings)

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