Issue #127: Fix standards checks, part one: phpstan #44
coding-standards.yml
on: pull_request
PHPStan and phpcs
28s
Annotations
10 errors
PHPStan and phpcs:
tests/xmlsitemap.test#L40
No space found before comment text; expected "// $this->_assertNoWatchdogErrors();" but found "//$this->_assertNoWatchdogErrors();"
|
PHPStan and phpcs:
tests/xmlsitemap.test#L61
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#L86
Return type missing for @return tag in function comment
|
PHPStan and phpcs:
tests/xmlsitemap.test#L142
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#L161
Line indented incorrectly; expected at least 4 spaces, found 0
|
PHPStan and phpcs:
tests/xmlsitemap.test#L228
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#L239
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#L443
Missing function doc comment
|
PHPStan and phpcs:
tests/xmlsitemap.test#L443
Visibility must be declared on method "testAssertFlag"
|
PHPStan and phpcs:
tests/xmlsitemap.test#L879
The array declaration extends to column 120 (the limit is 80). The array content should be split up over multiple lines
|