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

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

filter/wiris/classes/pluginwrapper.php
(#91) Line exceeds 132 characters; contains 159 characters
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#370) 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
(#335) Inline comments must start with a capital letter, digit or 3-dots sequence
(#335) Inline comments must end in full-stops, exclamation marks, or question marks
(#392) Inline comments must end in full-stops, exclamation marks, or question marks
(#404) Inline comments must end in full-stops, exclamation marks, or question marks
(#407) 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
(#418) Inline comments must end in full-stops, exclamation marks, or question marks
(#439) Inline comments must end in full-stops, exclamation marks, or question marks
(#442) Inline comments must end in full-stops, exclamation marks, or question marks
(#445) Inline comments must end in full-stops, exclamation marks, or question marks
(#471) Inline comments must end in full-stops, exclamation marks, or question marks
(#477) Inline comments must end in full-stops, exclamation marks, or question marks
(#503) 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
(#509) Line exceeds 132 characters; contains 161 characters
(#511) Inline comments must end in full-stops, exclamation marks, or question marks
filter/wiris/settings.php
(#244) Line exceeds 132 characters; contains 135 characters
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
filter/wiris/subfilters/client.php
(#59) Line exceeds 132 characters; contains 164 characters
filter/wiris/subfilters/php.php
(#96) Line exceeds 132 characters; contains 178 characters
filter/wiris/test.php
(#34) Line exceeds 132 characters; contains 138 characters
(#63) Line exceeds 132 characters; contains 143 characters
filter/wiris/tests/behat/behat_wiris_editor.php
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Line exceeds 132 characters; contains 150 characters
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) Line exceeds 132 characters; contains 136 characters
filter/wiris/tests/behat/behat_wiris_page.php
(#77) Line exceeds 132 characters; contains 135 characters
(#79) Line exceeds 132 characters; contains 145 characters
(#342) Inline comments must end in full-stops, exclamation marks, or question marks
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#591) 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
(#105) Test method test_filter_safexml_with_performance_png() is missing any coverage information, own or at class level
(#111) Test method test_filter_xml_with_performance_png() is missing any coverage information, own or at class level
(#116) Test method test_filter_safexml_with_performance_png_cache_formula() is missing any coverage information, own or at class level
(#124) Test method test_filter_safexml_with_performance_png_alt_cache() is missing any coverage information, own or at class level
(#132) 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
(#109) Test method test_filter_safexml_with_performance_svg() is missing any coverage information, own or at class level
(#115) Test method test_filter_xml_with_performance() is missing any coverage information, own or at class level
(#121) Test method test_filter_safexml_with_performance_cache_svg() is missing any coverage information, own or at class level
(#132) Test method test_filter_safexml_with_performance_cache_formula() is missing any coverage information, own or at class level
(#142) Test method test_filter_safexml_with_performance_alt_cache() is missing any coverage information, own or at class level
(#152) 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
(#108) Test method test_filter_safexml_without_performance_png() is missing any coverage information, own or at class level
(#113) Test method test_filter_xml_without_performance_png() is missing any coverage information, own or at class level
(#117) Test method test_filter_safexml_without_performance_png_cache_formula() is missing any coverage information, own or at class level
(#124) Test method test_filter_safexml_without_performance_png_alt_cache() is missing any coverage information, own or at class level
(#131) 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
(#106) Test method test_filter_safexml_without_performance_svg() is missing any coverage information, own or at class level
(#111) Test method test_filter_xml_without_performance_svg() is missing any coverage information, own or at class level
(#115) Test method test_filter_safexml_without_performance_svg_cache_formula() is missing any coverage information, own or at class level
(#122) Test method test_filter_safexml_without_performance_svg_alt_cache() is missing any coverage information, own or at class level
(#129) 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

(25 errors, 0 warnings)

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

filter/wiris/classes/moodledbcache.php
(#65) Phpdocs for function moodledbcache::delete has incomplete parameters list
(#85) Phpdocs for function moodledbcache::get has incomplete parameters list
(#106) Phpdocs for function moodledbcache::parse_key has incomplete parameters list
(#115) Phpdocs for function moodledbcache::set has incomplete parameters list
filter/wiris/classes/moodledbjsoncache.php
(#54) Phpdocs for function moodledbjsoncache::__construct has incomplete parameters list
(#67) Phpdocs for function moodledbjsoncache::delete has incomplete parameters list
(#89) Phpdocs for function moodledbjsoncache::get has incomplete parameters list
(#140) Phpdocs for function moodledbjsoncache::parse_key has incomplete parameters list
(#150) Phpdocs for function moodledbjsoncache::set has incomplete parameters list
filter/wiris/classes/moodlefilecache.php
(#56) Phpdocs for function moodlefilecache::delete has incomplete parameters list
(#77) Phpdocs for function moodlefilecache::get has incomplete parameters list
(#90) 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
(#43) Phpdocs for function filter_wiris_client::filter has incomplete parameters list
filter/wiris/test.php
(#17) Phpdocs for function create_atto_compatibility_row has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_editor.php
(#257) Phpdocs for function behat_wiris_editor::full_screen_modal_window_is_opened has incomplete parameters list
(#363) Phpdocs for function behat_wiris_editor::i_return_to_default_frame has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_filter.php
(#115) Phpdocs for function behat_wiris_filter::the_mathtype_filter_render_type_is_set_to has incomplete parameters list
(#124) 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
(#43) Phpdocs for function behat_wiris_formula::cast_string_to_number has incomplete parameters list
filter/wiris/tests/behat/behat_wiris_page.php
(#61) Phpdocs for function behat_wiris_page::input_value_is_equal_to has incomplete parameters list
(#151) Phpdocs for function behat_wiris_page::modal_window_is_opened has incomplete parameters list
(#370) Phpdocs for function behat_wiris_page::i_go_to_link has incomplete parameters list
(#380) 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

(13 errors, 0 warnings)

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

filter/wiris/tests/behat/validateForumWirisFormula.feature
(#42) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#60) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#82) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#101) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
(#130) New line at EOF(end of file) is required
filter/wiris/tests/behat/validateImageFormat-SVG.feature
(#132) New line at EOF(end of file) is required
filter/wiris/tests/behat/validateModalWindowInFullScreenMode.feature
(#64) New line at EOF(end of file) is required
filter/wiris/tests/behat/validatePageWirisFormula.feature
(#50) Wrong indentation for "scenario tag", expected indentation level of 2, but got 1
(#77) New line at EOF(end of file) is required
filter/wiris/tests/behat/validateFilterServicesAvailability-NotLoggedUser.feature
(#40) New line at EOF(end of file) is required
filter/wiris/tests/behat/validateFilterSettingsPage.feature
(#11) Trailing spaces are not allowed
(#22) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#31) New line at EOF(end of file) is required