Skip to content

Use short array syntax in all PHP files #111

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

Merged
merged 1 commit into from
Jul 17, 2017
Merged

Use short array syntax in all PHP files #111

merged 1 commit into from
Jul 17, 2017

Conversation

thiemowmde
Copy link
Contributor

No description provided.

@thiemowmde thiemowmde requested a review from JeroenDeDauw July 17, 2017 08:00
<rule ref="vendor/wikibase/wikibase-codesniffer/Wikibase">
<exclude name="Generic.Arrays.DisallowLongArraySyntax" />
</rule>
<rule ref="./vendor/wikibase/wikibase-codesniffer/Wikibase" />
Copy link
Member

Choose a reason for hiding this comment

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

why is it needed/better to change this line like this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be honest I don't know. But I have seen Umherirrender adding this ./ to all phpcs.xml files, and I believe being consistent is important.

@Ladsgroup Ladsgroup merged commit b500a0c into master Jul 17, 2017
@thiemowmde thiemowmde deleted the shortArrays branch July 18, 2017 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants