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

(149 errors, 180 warnings)

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

filter/wiris/classes/accessprovider.php
(#21) Incorrect @package tag for file accessprovider.php. Expected filter_wiris, found filter.
(#38) Missing docblock for class filter_wiris_accessprovider
filter/wiris/classes/configurationupdater.php
(#22) Incorrect @package tag for file configurationupdater.php. Expected filter_wiris, found filter.
(#32) Missing docblock for class filter_wiris_configurationupdater
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#37) Missing member variable doc comment
(#39) Missing member variable doc comment
(#41) Missing docblock for function __construct
(#56) Missing docblock for function init
(#59) Missing docblock for function get_latex_status
(#68) Missing docblock for function eval_parameter
filter/wiris/classes/moodledbcache.php
(#21) Incorrect @package tag for class moodledbcache. Expected filter_wiris, found filter.
(#28) Missing member variable doc comment
(#29) Missing member variable doc comment
(#30) Missing member variable doc comment
(#31) Missing member variable doc comment
(#49) Invalid docblock tag "@throw".
(#56) Invalid docblock tag "@throw".
(#75) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#89) Invalid docblock tag "@key".
(#100) Invalid docblock tag "@throw".
(#107) Short array syntax must be used to define arrays
(#110) Short array syntax must be used to define arrays
(#123) Short array syntax must be used to define arrays
filter/wiris/classes/moodledbjsoncache.php
(#21) Incorrect @package tag for class moodledbjsoncache. Expected filter_wiris, found filter.
(#28) Missing member variable doc comment
(#29) Missing member variable doc comment
(#30) Missing member variable doc comment
(#31) Missing member variable doc comment
(#48) Invalid docblock tag "@throw".
(#55) Invalid docblock tag "@throw".
(#77) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#119) Invalid docblock tag "@key".
(#130) Invalid docblock tag "@throw".
(#143) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
filter/wiris/classes/moodlefilecache.php
(#21) Incorrect @package tag for class moodlefilecache. Expected filter_wiris, found filter.
(#28) Missing member variable doc comment
(#29) Missing member variable doc comment
(#30) Missing member variable doc comment
(#46) Invalid docblock tag "@throw".
(#53) Invalid docblock tag "@throw".
(#81) Invalid docblock tag "@throw".
filter/wiris/classes/paramsprovider.php
(#22) Incorrect @package tag for file paramsprovider.php. Expected filter_wiris, found filter.
(#35) Missing docblock for class filter_wiris_paramsprovider
(#37) Missing member variable doc comment
(#37) Short array syntax must be used to define arrays
(#38) Missing member variable doc comment
(#38) Short array syntax must be used to define arrays
(#39) Missing member variable doc comment
(#41) Missing docblock for function __construct
(#45) Missing docblock for function getrequiredparameter
(#52) Missing docblock for function getparameter
(#59) Missing docblock for function getparameters
(#63) Missing docblock for function getserviceparameters
(#65) Short array syntax must be used to define arrays
(#74) Missing docblock for function getrenderparameters
(#76) Short array syntax must be used to define arrays
filter/wiris/classes/pluginwrapper.php
(#20) Incorrect @package tag for file pluginwrapper.php. Expected filter_wiris, found filter.
(#42) Missing docblock for class filter_wiris_pluginwrapper
(#43) Missing member variable doc comment
(#44) Missing member variable doc comment
(#45) Missing member variable doc comment
(#46) Missing member variable doc comment
(#47) Missing member variable doc comment
(#49) Missing docblock for function set_configuration
(#53) Missing docblock for function __construct
(#57) Missing docblock for function begin
(#61) Missing docblock for function end
(#65) Missing docblock for function is_installed
(#70) Missing docblock for function init
(#104) Missing docblock for function get_instance
(#109) Missing docblock for function was_cas_enabled
(#115) Missing docblock for function was_editor_enabled
(#121) Missing docblock for function was_chem_editor_enabled
filter/wiris/classes/pluginwrapperconfigurationupdater.php
(#22) Incorrect @package tag for file pluginwrapperconfigurationupdater.php. Expected filter_wiris, found filter.
(#32) Missing docblock for class filter_wiris_pluginwrapperconfigurationupdater
(#34) Missing member variable doc comment
(#36) Missing docblock for function __construct
filter/wiris/classes/privacy/provider.php
(#40) There must not be a space before the colon in a return type declaration
filter/wiris/db/caches.php
(#20) Incorrect @package tag for file caches.php. Expected filter_wiris, found filter.
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#30) There should be a comma after the last array item in a multi-line array.
(#32) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
(#34) There should be a comma after the last array item in a multi-line array.
filter/wiris/db/upgrade.php
(#20) Incorrect @package tag for function xmldb_filter_wiris_upgrade. Expected filter_wiris, found filter.
(#40) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
filter/wiris/filter.php
(#25) Incorrect @package tag for file filter.php. Expected filter_wiris, found filter.
(#38) Missing docblock for class filter_wiris
(#39) Missing docblock for function filter
(#39) Short array syntax must be used to define arrays
filter/wiris/info.php
(#20) Incorrect @package tag for file info.php. Expected filter_wiris, found filter.
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#31) Missing docblock for function wrs_assert
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#42) Missing docblock for function wrs_getstatus
(#46) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#55) Missing docblock for function wrs_createtablerow
(#56) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#63) Missing docblock for function get_current_editor_data
(#64) Short array syntax must be used to define arrays
(#104) Missing docblock for function check_if_wiris_button_are_in_toolbar
(#119) Missing docblock for function check_if_wiris_button_are_in_atto_toolbar
(#124) Missing docblock for function check_if_wiris_button_are_in_tinymce_toolbar
(#137) Missing docblock for function create_info_header
(#138) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
(#142) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#145) Short array syntax must be used to define arrays
(#151) Missing docblock for function create_filter_files_row
(#154) Short array syntax must be used to define arrays
(#162) Missing docblock for function create_filter_version_row
(#180) Short array syntax must be used to define arrays
(#180) Line exceeds 132 characters; contains 148 characters
(#183) Missing docblock for function create_filter_enabled_row
(#194) Short array syntax must be used to define arrays
(#194) Line exceeds 132 characters; contains 152 characters
(#197) Missing docblock for function create_atto_installed_row
(#198) Line exceeds 132 characters; contains 179 characters
(#204) Short array syntax must be used to define arrays
(#204) Line exceeds 132 characters; contains 146 characters
(#210) Missing docblock for function create_atto_enabled_row
(#211) Line exceeds 132 characters; contains 177 characters
(#220) Short array syntax must be used to define arrays
(#220) Line exceeds 132 characters; contains 148 characters
(#223) Missing docblock for function create_atto_compatibility_row
(#260) Short array syntax must be used to define arrays
(#260) Line exceeds 132 characters; contains 148 characters
(#263) Missing docblock for function create_tiny_installed_row
(#281) Short array syntax must be used to define arrays
(#281) Line exceeds 132 characters; contains 148 characters
(#284) Missing docblock for function create_table_close
(#293) Missing docblock for function warning_tiny_incompatibility
(#308) Short array syntax must be used to define arrays
(#314) Line exceeds 132 characters; contains 161 characters
(#365) Short array syntax must be used to define arrays
filter/wiris/lang/en/filter_wiris.php
(#21) Incorrect @package tag for file filter_wiris.php. Expected filter_wiris, found filter.
(#36) The string key "cachedef_formulas" is not in the correct order, it should be before "cachedef_images"
(#39) The string key "clearcache" is not in the correct order, it should be before "connectionsettings_text"
(#50) The string key "disabled" is not in the correct order, it should be before "enabled"
(#57) The string key "filter_standalone" is not in the correct order, it should be before "filtername"
(#80) The string key "mustbeinstalled" is not in the correct order, it should be before "wirisplugininstalled"
(#96) The string key "tinymce" is not in the correct order, it should be before "title"
(#108) The string key "wirismatheditor" is not in the correct order, it should be before "wirispluginfortinymce"
(#111) The string key "wirischemeditor" is not in the correct order, it should be before "wirispluginfiltermustbeinstalled"
(#113) The string key "wiriscas" is not in the correct order, it should be before "wirischemeditor_help"
filter/wiris/lib.php
(#20) Incorrect @package tag for file lib.php. Expected filter_wiris, found filter.
(#36) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#135) Short array syntax must be used to define arrays
(#140) Short array syntax must be used to define arrays
filter/wiris/settings.php
(#20) Incorrect @package tag for file settings.php. Expected filter_wiris, found filter.
(#102) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#162) Short array syntax must be used to define arrays
(#170) Short array syntax must be used to define arrays
(#171) Line exceeds 132 characters; contains 135 characters
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
filter/wiris/subfilters/client.php
(#22) Incorrect @package tag for class filter_wiris_client. Expected filter_wiris, found filter.
(#52) Short array syntax must be used to define arrays
filter/wiris/subfilters/php.php
(#23) Incorrect @package tag for class filter_wiris_php. Expected filter_wiris, found filter.
(#41) Missing docblock for function filter
(#41) Short array syntax must be used to define arrays
filter/wiris/test.php
(#20) Incorrect @package tag for file test.php. Expected filter_wiris, found filter.
(#26) Missing docblock for function create_atto_compatibility_row
(#35) Line exceeds 132 characters; contains 138 characters
(#64) Short array syntax must be used to define arrays
(#64) Line exceeds 132 characters; contains 148 characters
filter/wiris/tests/behat/behat_wiris_base.php
(#1) DocBlock missing a @package tag for file behat_wiris_base.php. Expected @package filter_wiris
(#17) Missing @copyright tag
(#17) Missing @license tag
(#39) Missing docblock for class behat_wiris_base
(#42) Invalid docblock tag "@Transform".
(#44) No one-line description found in phpdocs for docblock of function cast_string_to_number
(#48) Missing docblock for constant behat_wiris_base::MAX_NUNMBER_ROWS
filter/wiris/tests/behat/behat_wiris_editor.php
(#19) Incorrect @package tag for file behat_wiris_editor.php. Expected filter_wiris, found filter.
(#31) Missing docblock for class behat_wiris_editor
(#47) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
filter/wiris/tests/behat/behat_wiris_filter.php
(#19) Incorrect @package tag for file behat_wiris_filter.php. Expected filter_wiris, found filter.
(#31) Missing docblock for class behat_wiris_filter
filter/wiris/tests/behat/behat_wiris_formula.php
(#19) Incorrect @package tag for file behat_wiris_formula.php. Expected filter_wiris, found filter.
(#31) Missing docblock for class behat_wiris_formula
(#34) Invalid docblock tag "@Transform".
(#36) No one-line description found in phpdocs for docblock of function cast_string_to_number
(#171) Short array syntax must be used to define arrays
(#172) There should be a comma after the last array item in a multi-line array.
(#259) Short array syntax must be used to define arrays
(#260) There should be a comma after the last array item in a multi-line array.
(#297) Short array syntax must be used to define arrays
(#298) There should be a comma after the last array item in a multi-line array.
filter/wiris/tests/behat/behat_wiris_page.php
(#19) Incorrect @package tag for file behat_wiris_page.php. Expected filter_wiris, found filter.
(#31) Missing docblock for class behat_wiris_page
(#42) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#65) Short array syntax must be used to define arrays
(#69) There should be a comma after the last array item in a multi-line array.
(#122) Short array syntax must be used to define arrays
(#126) There should be a comma after the last array item in a multi-line array.
(#158) Short array syntax must be used to define arrays
(#162) There should be a comma after the last array item in a multi-line array.
(#167) Short array syntax must be used to define arrays
(#172) There should be a comma after the last array item in a multi-line array.
(#200) Short array syntax must be used to define arrays
(#204) There should be a comma after the last array item in a multi-line array.
(#209) Short array syntax must be used to define arrays
(#213) There should be a comma after the last array item in a multi-line array.
(#245) Short array syntax must be used to define arrays
(#250) There should be a comma after the last array item in a multi-line array.
(#255) Short array syntax must be used to define arrays
(#258) There should be a comma after the last array item in a multi-line array.
(#462) Short array syntax must be used to define arrays
(#463) There should be a comma after the last array item in a multi-line array.
(#468) Short array syntax must be used to define arrays
(#470) There should be a comma after the last array item in a multi-line array.
(#497) Short array syntax must be used to define arrays
(#498) There should be a comma after the last array item in a multi-line array.
(#503) Short array syntax must be used to define arrays
(#531) Short array syntax must be used to define arrays
(#532) There should be a comma after the last array item in a multi-line array.
(#537) Short array syntax must be used to define arrays
filter/wiris/tests/filter_performance_png_test.php
(#31) Unit test filter_performance_png_test should be declared as final.
(#31) PHPUnit class "filter_performance_png_test" does not have any namespace. It is recommended to add it to the "filter_wiris" namespace, using more levels if needed, in order to match the code being tested
(#31) Missing docblock for class filter_performance_png_test
(#32) Missing member variable doc comment
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#41) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#78) Test method test_filter_safexml_with_performance_png() is missing any coverage information, own or at class level
(#78) Test method test_filter_safexml_with_performance_png() is missing a return type
(#84) Test method test_filter_xml_with_performance_png() is missing any coverage information, own or at class level
(#84) Test method test_filter_xml_with_performance_png() is missing a return type
(#89) Test method test_filter_safexml_with_performance_png_cache_formula() is missing any coverage information, own or at class level
(#89) Test method test_filter_safexml_with_performance_png_cache_formula() is missing a return type
(#97) Test method test_filter_safexml_with_performance_png_alt_cache() is missing any coverage information, own or at class level
(#97) Test method test_filter_safexml_with_performance_png_alt_cache() is missing a return type
(#105) Test method test_filter_safexml_with_performance_png_cache() is missing any coverage information, own or at class level
(#105) Test method test_filter_safexml_with_performance_png_cache() is missing a return type
filter/wiris/tests/filter_performance_svg_test.php
(#31) Unit test filter_performance_svg_test should be declared as final.
(#31) PHPUnit class "filter_performance_svg_test" does not have any namespace. It is recommended to add it to the "filter_wiris" namespace, using more levels if needed, in order to match the code being tested
(#31) Missing docblock for class filter_performance_svg_test
(#32) Missing member variable doc comment
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#41) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#80) Test method test_filter_safexml_with_performance_svg() is missing any coverage information, own or at class level
(#80) Test method test_filter_safexml_with_performance_svg() is missing a return type
(#86) Test method test_filter_xml_with_performance() is missing any coverage information, own or at class level
(#86) Test method test_filter_xml_with_performance() is missing a return type
(#92) Test method test_filter_safexml_with_performance_cache_svg() is missing any coverage information, own or at class level
(#92) Test method test_filter_safexml_with_performance_cache_svg() is missing a return type
(#93) Short array syntax must be used to define arrays
(#103) Test method test_filter_safexml_with_performance_cache_formula() is missing any coverage information, own or at class level
(#103) Test method test_filter_safexml_with_performance_cache_formula() is missing a return type
(#104) Short array syntax must be used to define arrays
(#113) Test method test_filter_safexml_with_performance_alt_cache() is missing any coverage information, own or at class level
(#113) Test method test_filter_safexml_with_performance_alt_cache() is missing a return type
(#114) Short array syntax must be used to define arrays
(#123) Test method test_filter_xml_with_performance_special_chars() is missing any coverage information, own or at class level
(#123) Test method test_filter_xml_with_performance_special_chars() is missing a return type
filter/wiris/tests/filter_without_performance_png_test.php
(#30) Unit test filter_without_performance_png_test should be declared as final.
(#30) PHPUnit class "filter_without_performance_png_test" does not have any namespace. It is recommended to add it to the "filter_wiris" namespace, using more levels if needed, in order to match the code being tested
(#30) Missing docblock for class filter_without_performance_png_test
(#31) Missing member variable doc comment
(#32) Missing member variable doc comment
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#35) Missing member variable doc comment
(#36) Missing member variable doc comment
(#42) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#73) Test method test_filter_safexml_without_performance_png() is missing any coverage information, own or at class level
(#73) Test method test_filter_safexml_without_performance_png() is missing a return type
(#78) Test method test_filter_xml_without_performance_png() is missing any coverage information, own or at class level
(#78) Test method test_filter_xml_without_performance_png() is missing a return type
(#82) Test method test_filter_safexml_without_performance_png_cache_formula() is missing any coverage information, own or at class level
(#82) Test method test_filter_safexml_without_performance_png_cache_formula() is missing a return type
(#89) Test method test_filter_safexml_without_performance_png_alt_cache() is missing any coverage information, own or at class level
(#89) Test method test_filter_safexml_without_performance_png_alt_cache() is missing a return type
(#96) Test method test_filter_safexml_without_performance_png_cache() is missing any coverage information, own or at class level
(#96) Test method test_filter_safexml_without_performance_png_cache() is missing a return type
filter/wiris/tests/filter_without_performance_svg_test.php
(#30) Unit test filter_without_performance_svg_test should be declared as final.
(#30) PHPUnit class "filter_without_performance_svg_test" does not have any namespace. It is recommended to add it to the "filter_wiris" namespace, using more levels if needed, in order to match the code being tested
(#30) Missing docblock for class filter_without_performance_svg_test
(#31) Missing member variable doc comment
(#32) Missing member variable doc comment
(#33) Missing member variable doc comment
(#34) Missing member variable doc comment
(#40) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#89) Test method test_filter_safexml_without_performance_svg() is missing any coverage information, own or at class level
(#89) Test method test_filter_safexml_without_performance_svg() is missing a return type
(#94) Test method test_filter_xml_without_performance_svg() is missing any coverage information, own or at class level
(#94) Test method test_filter_xml_without_performance_svg() is missing a return type
(#98) Test method test_filter_safexml_without_performance_svg_cache_formula() is missing any coverage information, own or at class level
(#98) Test method test_filter_safexml_without_performance_svg_cache_formula() is missing a return type
(#105) Test method test_filter_safexml_without_performance_svg_alt_cache() is missing any coverage information, own or at class level
(#105) Test method test_filter_safexml_without_performance_svg_alt_cache() is missing a return type
(#112) Test method test_filter_safexml_without_performance_svg_cache() is missing any coverage information, own or at class level
(#112) Test method test_filter_safexml_without_performance_svg_cache() is missing a return type
filter/wiris/version.php
(#20) Incorrect @package tag for file version.php. Expected filter_wiris, found filter.
(#33) Short array syntax must be used to define arrays

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(21 errors, 0 warnings)

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

filter/wiris/classes/moodledbcache.php
(#48) Phpdocs for function moodledbcache::delete has incomplete parameters list
(#67) Phpdocs for function moodledbcache::get has incomplete parameters list
(#87) Phpdocs for function moodledbcache::parse_key has incomplete parameters list
(#98) Phpdocs for function moodledbcache::set has incomplete parameters list
filter/wiris/classes/moodledbjsoncache.php
(#35) Phpdocs for function moodledbjsoncache::__construct has incomplete parameters list
(#47) Phpdocs for function moodledbjsoncache::delete has incomplete parameters list
(#66) Phpdocs for function moodledbjsoncache::get has incomplete parameters list
(#117) Phpdocs for function moodledbjsoncache::parse_key has incomplete parameters list
(#128) Phpdocs for function moodledbjsoncache::set has incomplete parameters list
filter/wiris/classes/moodlefilecache.php
(#45) Phpdocs for function moodlefilecache::delete has incomplete parameters list
(#66) Phpdocs for function moodlefilecache::get has incomplete parameters list
(#79) Phpdocs for function moodlefilecache::set has incomplete parameters list
filter/wiris/db/upgrade.php
(#17) Phpdocs for function xmldb_filter_wiris_upgrade has incomplete parameters list
filter/wiris/subfilters/client.php
(#40) Phpdocs for function filter_wiris_client::filter has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_base.php
(#41) Phpdocs for function behat_wiris_base::cast_string_to_number has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_filter.php
(#75) Phpdocs for function behat_wiris_filter::the_mathtype_filter_render_type_is_set_to has incomplete parameters list
(#84) Phpdocs for function behat_wiris_filter::the_mathtype_buttons_visibility_is_set_to has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_formula.php
(#33) Phpdocs for function behat_wiris_formula::cast_string_to_number has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_page.php
(#103) Phpdocs for function behat_wiris_page::modal_window_is_opened has incomplete parameters list
(#291) Phpdocs for function behat_wiris_page::i_go_to_link has incomplete parameters list
(#301) Phpdocs for function behat_wiris_page::i_check_if_mathtype_formula_src_is_equals_to 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

(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]


Gherkin .feature problems

(0 errors, 0 warnings)

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