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

Docs: array properties expect arrays #2345

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 17, 2023

Follow up on #1584, which was included in WPCS 2.0.0.

While PHPCS still supports the old array syntax (comma-delimited string), WPCS no longer has a (WPCS native) tolerance for those properties being passed with the type="array" attribute, so these public properties should always be arrays.

Follow up on 1584, which was included in WPCS 2.0.0.

While PHPCS still supports the _old_ array syntax (comma-delimited string), WPCS no longer has a (WPCS native) tolerance for those properties being passed with the `type="array"` attribute, so these public properties should always be arrays.
@jrfnl jrfnl force-pushed the feature/docs-public-array-properties branch from 0649adf to f119d86 Compare August 17, 2023 03:25
Copy link
Member

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GaryJones GaryJones merged commit eb8fe7e into develop Aug 17, 2023
35 checks passed
@GaryJones GaryJones deleted the feature/docs-public-array-properties branch August 17, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants