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, 4 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)
(#58) Comments should not begin with a lowercase character. (capitalized-comments)

CSS problems

(1 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)

PHPDocs style problems

(33 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
(#20) Package is not specified for class base_component. It is also not specified in file-level phpdocs
(#20) Class base_component is not documented
(#39) Phpdocs for function base_component::get_optimised_src has incomplete parameters list
filter/imageopt/classes/componentsupport/mod_page.php
(#30) Class mod_page is not documented
(#32) Function mod_page::check_component is not documented
(#38) Function mod_page::get_img_file is not documented
(#56) Function mod_page::get_optimised_path is not documented
(#76) Function mod_page::get_optimised_src is not documented
filter/imageopt/classes/componentsupport/question.php
(#30) Class question is not documented
(#32) Function question::get_img_file is not documented
(#54) Function question::get_optimised_path is not documented
(#77) 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
(#223) Function local::file_pluginfile is not documented
(#33) Constant local::REGEXP_IMGSRC is not documented
(#35) Constant local::REGEXP_SRC is not documented
(#129) Phpdocs for function local::delete_queue_item_by_path has incomplete parameters list
(#140) Phpdocs for function local::get_img_path_from_src has incomplete parameters list
filter/imageopt/classes/privacy/provider.php
(#28) Class provider is not documented
filter/imageopt/db/upgrade.php
(#27) Package is not specified for function xmldb_filter_imageopt_upgrade. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#27) Function xmldb_filter_imageopt_upgrade is not documented
filter/imageopt/filter.php
(#44) Function filter_imageopt::__construct is not documented
(#61) Function filter_imageopt::empty_image is not documented
(#149) 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
(#207) Phpdocs for function filter_imageopt_filter_testcase::create_image_file_text has incomplete parameters list
(#281) 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]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]


Gherkin .feature problems

(1 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]

filter/imageopt/tests/behat/image_processing.feature
(#63) New line at EOF(end of file) is required