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

Update to PHPCS v3.5.x #132

Merged
merged 1 commit into from Oct 4, 2019
Merged

Update to PHPCS v3.5.x #132

merged 1 commit into from Oct 4, 2019

Conversation

carusogabriel
Copy link
Contributor

@carusogabriel carusogabriel commented Oct 4, 2019

The only sniff that affects us is Squiz.Functions.FunctionDeclarationArgumentSpacing, that now checks space after a variadic operator. But, since we have SlevomatCodingStandard.Operators.SpreadOperatorSpacing doing that on a larger scale, we can ignore that one. Changelog:

  • Squiz.Functions.FunctionDeclarationArgumentSpacing now checks for no space after a variadic operator
    - If you don't want this new behaviour, exclude the SpacingAfterVariadic error message in a ruleset.xml file

This PR will allow us to adopt PSR-12 in the future.

@carusogabriel carusogabriel added this to the 7.0.0 milestone Oct 4, 2019
@carusogabriel carusogabriel requested a review from a team as a code owner October 4, 2019 16:21
@greg0ire greg0ire merged commit 7a84240 into master Oct 4, 2019
@greg0ire greg0ire deleted the dependencies/phpcs-3.5 branch October 4, 2019 19:55
@greg0ire
Copy link
Member

greg0ire commented Oct 4, 2019

Thanks @carusogabriel !

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.

None yet

6 participants