Add/switch feed v5 #1455
php-coding-standards.yml
on: pull_request
PHP coding standards
28s
Annotations
10 errors
PHP coding standards:
src/Feeds.php#L42
Functions must not contain multiple empty lines in a row; found 2 empty lines
|
PHP coding standards:
src/Feeds.php#L56
The $text arg must not contain interpolated variables. Found "$default_country".
|
PHP coding standards:
src/Feeds.php#L56
The $text arg must not contain interpolated variables. Found "$default_currency".
|
PHP coding standards:
src/Feeds.php#L98
Must use "self::" for local static member reference
|
PHP coding standards:
src/LocaleMapper.php#L107
A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
PHP coding standards:
src/API/Base.php#L662
Comment missing for @throws tag in function comment
|
PHP coding standards:
src/API/Base.php#L679
Comment missing for @throws tag in function comment
|
PHP coding standards:
src/API/Base.php#L743
Comment missing for @throws tag in function comment
|
PHP coding standards:
src/API/APIV5.php#L91
Comment missing for @throws tag in function comment
|
PHP coding standards:
src/API/APIV5.php#L538
Comment missing for @throws tag in function comment
|