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

ENH Use short array syntax #1348

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli commented Aug 25, 2022

This has been done on various other modules already - looks like this one was missed at the time.
The phpcs rule was taken from cms - IMO it makes a lot of sense to add this to linting just to keep things tidy. It's part of PSR12 so we'll likely globally adopt it anyway.

Parent issue

@GuySartorelli GuySartorelli mentioned this pull request Aug 25, 2022
2 tasks
Copy link
Contributor

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

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

LGTM

@maxime-rainville maxime-rainville merged commit c5a01ba into silverstripe:1 Aug 28, 2022
@maxime-rainville maxime-rainville deleted the pulls/1/array-syntax branch August 28, 2022 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants