Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

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

filter/wiris/classes/pluginwrapper.php
(#89) Line exceeds 132 characters; contains 159 characters
(#317) Inline comments must end in full-stops, exclamation marks, or question marks
(#373) Inline comments must end in full-stops, exclamation marks, or question marks
filter/wiris/info.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#93) Line exceeds 132 characters; contains 138 characters
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#320) Line exceeds 132 characters; contains 160 characters
(#326) Inline comments must start with a capital letter, digit or 3-dots sequence
(#326) Inline comments must end in full-stops, exclamation marks, or question marks
(#331) Inline comments must start with a capital letter, digit or 3-dots sequence
(#331) Inline comments must end in full-stops, exclamation marks, or question marks
(#336) Inline comments must start with a capital letter, digit or 3-dots sequence
(#336) Inline comments must end in full-stops, exclamation marks, or question marks
(#340) Inline comments must start with a capital letter, digit or 3-dots sequence
(#340) Inline comments must end in full-stops, exclamation marks, or question marks
(#397) Inline comments must end in full-stops, exclamation marks, or question marks
(#409) Inline comments must end in full-stops, exclamation marks, or question marks
(#412) Inline comments must end in full-stops, exclamation marks, or question marks
(#414) Inline comments must end in full-stops, exclamation marks, or question marks
(#423) Inline comments must end in full-stops, exclamation marks, or question marks
(#444) Inline comments must end in full-stops, exclamation marks, or question marks
(#447) Inline comments must end in full-stops, exclamation marks, or question marks
(#450) Inline comments must end in full-stops, exclamation marks, or question marks
(#476) Inline comments must end in full-stops, exclamation marks, or question marks
(#482) Inline comments must end in full-stops, exclamation marks, or question marks
(#508) Inline comments must end in full-stops, exclamation marks, or question marks
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#514) Line exceeds 132 characters; contains 161 characters
(#516) Inline comments must end in full-stops, exclamation marks, or question marks
filter/wiris/settings.php
(#266) Inline comments must end in full-stops, exclamation marks, or question marks
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
filter/wiris/subfilters/client.php
(#58) Line exceeds 132 characters; contains 164 characters
filter/wiris/subfilters/php.php
(#94) Line exceeds 132 characters; contains 178 characters
filter/wiris/tests/behat/behat_wiris_editor.php
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Line exceeds 132 characters; contains 150 characters
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) Line exceeds 132 characters; contains 136 characters
filter/wiris/tests/behat/behat_wiris_page.php
(#75) Line exceeds 132 characters; contains 143 characters
(#77) Line exceeds 132 characters; contains 152 characters
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#347) Inline comments must end in full-stops, exclamation marks, or question marks
(#590) Inline comments must end in full-stops, exclamation marks, or question marks
filter/wiris/tests/filter_performance_png_test.php
(#40) 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
(#103) Test method test_filter_safexml_with_performance_png() is missing any coverage information, own or at class level
(#109) Test method test_filter_xml_with_performance_png() is missing any coverage information, own or at class level
(#114) Test method test_filter_safexml_with_performance_png_cache_formula() is missing any coverage information, own or at class level
(#122) Test method test_filter_safexml_with_performance_png_alt_cache() is missing any coverage information, own or at class level
(#130) Test method test_filter_safexml_with_performance_png_cache() is missing any coverage information, own or at class level
filter/wiris/tests/filter_performance_svg_test.php
(#36) 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
(#105) Test method test_filter_safexml_with_performance_svg() is missing any coverage information, own or at class level
(#111) Test method test_filter_xml_with_performance() is missing any coverage information, own or at class level
(#117) Test method test_filter_safexml_with_performance_cache_svg() is missing any coverage information, own or at class level
(#128) Test method test_filter_safexml_with_performance_cache_formula() is missing any coverage information, own or at class level
(#138) Test method test_filter_safexml_with_performance_alt_cache() is missing any coverage information, own or at class level
(#148) Test method test_filter_xml_with_performance_special_chars() is missing any coverage information, own or at class level
filter/wiris/tests/filter_without_performance_png_test.php
(#38) 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
(#106) Test method test_filter_safexml_without_performance_png() is missing any coverage information, own or at class level
(#111) Test method test_filter_xml_without_performance_png() is missing any coverage information, own or at class level
(#115) Test method test_filter_safexml_without_performance_png_cache_formula() is missing any coverage information, own or at class level
(#122) Test method test_filter_safexml_without_performance_png_alt_cache() is missing any coverage information, own or at class level
(#129) Test method test_filter_safexml_without_performance_png_cache() is missing any coverage information, own or at class level
filter/wiris/tests/filter_without_performance_svg_test.php
(#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
(#103) Test method test_filter_safexml_without_performance_svg() is missing any coverage information, own or at class level
(#108) Test method test_filter_xml_without_performance_svg() is missing any coverage information, own or at class level
(#112) Test method test_filter_safexml_without_performance_svg_cache_formula() is missing any coverage information, own or at class level
(#119) Test method test_filter_safexml_without_performance_svg_alt_cache() is missing any coverage information, own or at class level
(#126) Test method test_filter_safexml_without_performance_svg_cache() is missing any coverage information, own or at class level

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

(5 errors, 0 warnings)

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

filter/wiris/styles.css
(#2) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(24 errors, 0 warnings)

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

filter/wiris/classes/moodledbcache.php
(#62) Phpdocs for function moodledbcache::delete has incomplete parameters list
(#82) Phpdocs for function moodledbcache::get has incomplete parameters list
(#103) Phpdocs for function moodledbcache::parse_key has incomplete parameters list
(#112) Phpdocs for function moodledbcache::set has incomplete parameters list
filter/wiris/classes/moodledbjsoncache.php
(#51) Phpdocs for function moodledbjsoncache::__construct has incomplete parameters list
(#64) Phpdocs for function moodledbjsoncache::delete has incomplete parameters list
(#86) Phpdocs for function moodledbjsoncache::get has incomplete parameters list
(#137) Phpdocs for function moodledbjsoncache::parse_key has incomplete parameters list
(#147) Phpdocs for function moodledbjsoncache::set has incomplete parameters list
filter/wiris/classes/moodlefilecache.php
(#55) Phpdocs for function moodlefilecache::delete has incomplete parameters list
(#76) Phpdocs for function moodlefilecache::get has incomplete parameters list
(#89) 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/info.php
(#224) Phpdocs for function process_table_row has incomplete parameters list
filter/wiris/subfilters/client.php
(#42) Phpdocs for function filter_wiris_client::filter has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_editor.php
(#253) Phpdocs for function behat_wiris_editor::full_screen_modal_window_is_opened has incomplete parameters list
(#359) Phpdocs for function behat_wiris_editor::i_return_to_default_frame has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_filter.php
(#113) Phpdocs for function behat_wiris_filter::the_mathtype_filter_render_type_is_set_to has incomplete parameters list
(#122) 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
(#41) Phpdocs for function behat_wiris_formula::cast_string_to_number has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_page.php
(#59) Phpdocs for function behat_wiris_page::input_value_is_equal_to has incomplete parameters list
(#149) Phpdocs for function behat_wiris_page::modal_window_is_opened has incomplete parameters list
(#369) Phpdocs for function behat_wiris_page::i_go_to_link has incomplete parameters list
(#379) 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

(1 errors, 1 warnings)

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

Problems running grunt
Task "gherkinlint" 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

(21 errors, 0 warnings)

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

filter/wiris/tests/behat/validateFilterServicesAvailability-NotLoggedUser.feature
(#40) New line at EOF(end of file) is required
filter/wiris/tests/behat/validateFilterSettingsPage.feature
(#12) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#23) Trailing spaces are not allowed
(#31) New line at EOF(end of file) is required
filter/wiris/tests/behat/testPerformanceDisabled.feature
(#19) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#34) Trailing spaces are not allowed
(#57) Trailing spaces are not allowed
filter/wiris/tests/behat/validateForumWirisFormula.feature
(#18) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#26) Trailing spaces are not allowed
(#37) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#59) Trailing spaces are not allowed
(#102) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#148) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#191) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#244) New line at EOF(end of file) is required
filter/wiris/tests/behat/validateImageFormat-SVG.feature
(#190) New line at EOF(end of file) is required
filter/wiris/tests/behat/validateModalWindowInFullScreenMode.feature
(#20) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#88) New line at EOF(end of file) is required
filter/wiris/tests/behat/validatePageWirisFormula.feature
(#21) Wrong indentation for "scenario tag", expected indentation level of 2, but got 1
(#51) Wrong indentation for "scenario tag", expected indentation level of 2, but got 1
(#107) New line at EOF(end of file) is required