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, 0 warnings)

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


Javascript coding style problems

(0 errors, 3 warnings)

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

filter/imageopt/amd/src/imageopt.js
(#29) Missing space before value for key 'init'. (key-spacing)
(#54) Extra space after key 'appeartopoffset'. (key-spacing)
(#54) Extra space after key 'appearleftoffset'. (key-spacing)

CSS problems

(7 errors, 0 warnings)

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

filter/imageopt/styles.css
(#15) Expected single space before "{" (block-opening-brace-space-before)
(#16) Unexpected data URI (function-url-data-uris)
(#19) Unexpected data URI (function-url-data-uris)
(#22) Unexpected data URI (function-url-data-uris)
(#25) Unexpected data URI (function-url-data-uris)
(#28) Unexpected data URI (function-url-data-uris)
(#31) Unexpected data URI (function-url-data-uris)

PHPDocs style problems

(24 errors, 0 warnings)

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

filter/imageopt/classes/componentsupport/base_component.php
(#22) Package is not specified for class base_component. It is also not specified in file-level phpdocs
(#16) File-level phpdocs block is not found
(#22) Class base_component is not documented
(#44) Phpdocs for function base_component::get_optimised_src has incomplete parameters list
filter/imageopt/classes/componentsupport/question.php
(#30) Class question is not documented
(#32) Function question::get_img_file is not documented
(#48) Function question::get_optimised_path is not documented
(#65) Function question::get_optimised_src is not documented
filter/imageopt/classes/image.php
(#60) Phpdocs for function image::resize has incomplete parameters list
filter/imageopt/classes/local.php
(#31) Class local is not documented
(#180) Function local::file_pluginfile is not documented
(#33) Constant local::REGEXP_IMGSRC is not documented
(#35) Constant local::REGEXP_SRC is not documented
(#95) Phpdocs for function local::get_img_path_from_src has incomplete parameters list
filter/imageopt/filter.php
(#44) Function filter_imageopt::__construct is not documented
(#61) Function filter_imageopt::empty_image is not documented
(#146) Function filter_imageopt::process_img_tag is not documented
filter/imageopt/tests/behat/behat_filter_imageopt.php
(#29) Package is not specified for class behat_filter_imageopt. It is also not specified in file-level phpdocs
(#36) There is no description in phpdocs for function the_imageopt_filter_is_enabled
(#68) There is no description in phpdocs for function image_optimised
(#76) There is no description in phpdocs for function image_not_optimised
(#84) There is no description in phpdocs for function open_label_image_directly
filter/imageopt/tests/filter_test.php
(#205) Phpdocs for function filter_imageopt_filter_testcase::create_image_file_text has incomplete parameters list
(#279) Phpdocs for function filter_imageopt_filter_testcase::filter_imageopt_url_from_file has incomplete parameters list

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]