Skip to content

Issue #125: Fix deprecated locale function calls. #42

Issue #125: Fix deprecated locale function calls.

Issue #125: Fix deprecated locale function calls. #42

Triggered via pull request October 3, 2024 16:18
Status Failure
Total duration 33s
Artifacts

coding-standards.yml

on: pull_request
PHPStan and phpcs
25s
PHPStan and phpcs
Fit to window
Zoom out
Zoom in

Annotations

20 errors
PHPStan and phpcs: tests/xmlsitemap.test#L39
No space found before comment text; expected "// $this->_assertNoWatchdogErrors();" but found "//$this->_assertNoWatchdogErrors();"
PHPStan and phpcs: tests/xmlsitemap.test#L60
The array declaration extends to column 168 (the limit is 80). The array content should be split up over multiple lines
PHPStan and phpcs: tests/xmlsitemap.test#L85
Return type missing for @return tag in function comment
PHPStan and phpcs: tests/xmlsitemap.test#L141
The array declaration extends to column 158 (the limit is 80). The array content should be split up over multiple lines
PHPStan and phpcs: tests/xmlsitemap.test#L160
Line indented incorrectly; expected at least 4 spaces, found 0
PHPStan and phpcs: tests/xmlsitemap.test#L227
The array declaration extends to column 116 (the limit is 80). The array content should be split up over multiple lines
PHPStan and phpcs: tests/xmlsitemap.test#L238
The array declaration extends to column 116 (the limit is 80). The array content should be split up over multiple lines
PHPStan and phpcs: tests/xmlsitemap.test#L442
Missing function doc comment
PHPStan and phpcs: tests/xmlsitemap.test#L442
Visibility must be declared on method "testAssertFlag"
PHPStan and phpcs: tests/xmlsitemap.test#L877
The array declaration extends to column 120 (the limit is 80). The array content should be split up over multiple lines
PHPStan and phpcs: tests/xmlsitemap.test#L31
Method XMLSitemapTestHelper::setUp() should return bool but return statement is missing.
PHPStan and phpcs: tests/xmlsitemap.test#L862
Method XMLSitemapFunctionalTest::setUp() should return bool but return statement is missing.
PHPStan and phpcs: tests/xmlsitemap.test#L948
Method XMLSitemapRobotsTxtIntegrationTest::setUp() should return bool but return statement is missing.
PHPStan and phpcs: tests/xmlsitemap_views_fields.test#L33
Method XmlsitemapViewsFieldsTest::setUp() should return bool but return statement is missing.
PHPStan and phpcs: xmlsitemap.drush.inc#L68
Function drush_print not found.
PHPStan and phpcs: xmlsitemap.drush.inc#L68
Function dt not found.
PHPStan and phpcs: xmlsitemap.drush.inc#L79
Function drush_get_option not found.
PHPStan and phpcs: xmlsitemap.drush.inc#L82
Function drush_set_error not found.
PHPStan and phpcs: xmlsitemap.drush.inc#L82
Function dt not found.
PHPStan and phpcs: xmlsitemap.drush.inc#L87
Function drush_log not found.