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

(26 errors, 5 warnings)

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

admin/tool/emailutils/classes/check/dnsdkim.php
(#57) There must not be a space before the colon in a return type declaration
admin/tool/emailutils/classes/check/dnsdmarc.php
(#57) There must not be a space before the colon in a return type declaration
admin/tool/emailutils/classes/check/dnsmx.php
(#57) There must not be a space before the colon in a return type declaration
admin/tool/emailutils/classes/check/dnsnoreply.php
(#57) There must not be a space before the colon in a return type declaration
admin/tool/emailutils/classes/check/dnspostmastertools.php
(#57) There must not be a space before the colon in a return type declaration
admin/tool/emailutils/classes/check/dnsspf.php
(#57) There must not be a space before the colon in a return type declaration
admin/tool/emailutils/classes/complaints_list.php
(#52) There should be a comma after the last array item in a multi-line array.
(#90) There should be a comma after the last array item in a multi-line array.
admin/tool/emailutils/classes/dns_util.php
(#209) There should be a comma after the last array item in a multi-line array.
admin/tool/emailutils/classes/sns_client.php
(#247) There must not be a space before the colon in a return type declaration
(#257) There must not be a space before the colon in a return type declaration
(#267) There must not be a space before the colon in a return type declaration
(#276) There must not be a space before the colon in a return type declaration
(#285) There must not be a space before the colon in a return type declaration
admin/tool/emailutils/classes/sns_notification.php
(#52) There must not be a space before the colon in a return type declaration
(#88) There must not be a space before the colon in a return type declaration
(#96) There must not be a space before the colon in a return type declaration
(#104) There must not be a space before the colon in a return type declaration
(#112) There must not be a space before the colon in a return type declaration
(#120) There must not be a space before the colon in a return type declaration
(#128) There must not be a space before the colon in a return type declaration
(#136) There must not be a space before the colon in a return type declaration
(#145) There must not be a space before the colon in a return type declaration
(#158) There must not be a space before the colon in a return type declaration
admin/tool/emailutils/client.php
(#68) Short array syntax must be used to define arrays
admin/tool/emailutils/tests/suffix_test.php
(#33) PHPUnit testcase name "tool_emailutils_suffix_test" does not match file name "suffix_test"
(#33) PHPUnit class "tool_emailutils_suffix_test" does not have any namespace. It is recommended to add it to the "tool_emailutils" namespace, using more levels if needed, in order to match the code being tested
(#44) Test method test_suffix() is missing any coverage information, own or at class level
(#67) Data provider method "dns_comparisons" will need to be converted to static in future.
(#67) Data provider method "dns_comparisons" must return an array, a Generator or an Iterable.
admin/tool/emailutils/version.php
(#33) There should be a comma after the last array item in a multi-line array.

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

(1 errors, 0 warnings)

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

admin/tool/emailutils/styles.css
(#8) Unknown property `text-wrap` (csstree/validator)

PHPDocs style problems

(0 errors, 0 warnings)

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


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

This section shows problems detected in mustache templates [More info]

admin/tool/emailutils/templates/admin_setting_configpasswordhashed.mustache
(#1) HTML Validation info, line 3: Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. (ltsnext"><input type="password" minlength="8" id="myid" name="myname" value="" class="form-control" size="30" /></div)
admin/tool/emailutils/templates/dkimselector.mustache
(#1) HTML Validation error, line 2: Stray start tag “tr”. (ad><body><tr> <)
(#1) HTML Validation error, line 3: Stray start tag “td”. (<tr> <td> )
(#1) HTML Validation error, line 6: Stray end tag “td”. (span> </td> <)
(#1) HTML Validation error, line 7: Stray start tag “td”. (</td> <td> )
(#1) HTML Validation error, line 42: Stray end tag “td”. (/div> </td> <)
(#1) HTML Validation error, line 43: Stray start tag “td”. (</td> <td> )
(#1) HTML Validation error, line 52: Stray end tag “td”. (></p> </td></tr>)
(#1) HTML Validation error, line 53: Stray end tag “tr”. ( </td></tr></bo)

Gherkin .feature problems

(0 errors, 0 warnings)

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