Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordPress Coding Standards #29

Open
Zodiac1978 opened this issue Nov 4, 2022 · 0 comments · May be fixed by #30
Open

WordPress Coding Standards #29

Zodiac1978 opened this issue Nov 4, 2022 · 0 comments · May be fixed by #30

Comments

@Zodiac1978
Copy link
Member

There are some coding standard warnings and errors:

phpcs: error
error - Class file names should be based on the class name with "class-" prepended. Expected class-wpmeetuplistwidget.php, but found wpmeetup-widget.php.
phpcs: error
error - When a multi-item array uses associative keys, each value should start on a new line.
phpcs: warning
warning - Array double arrow not aligned correctly; expected 23 space(s) between "'https://wpkoblenz.de'" and double arrow, but found 1.
phpcs: warning
warning - Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: XSS okay.
phpcs: error
error - Only one argument is allowed per line in a multi-line function call
phpcs: error
error - Closing parenthesis of a multi-line function call must be on a line by itself
phpcs: error
error - Visibility must be declared on method "update"
phpcs: warning
warning - Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space

@Zodiac1978 Zodiac1978 linked a pull request Nov 4, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant