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

Add missing comma for function call with arrow function as argument #539

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

fredden
Copy link
Contributor

@fredden fredden commented Apr 1, 2024

In versions before 8.15.0 the SlevomatCodingStandard.Functions.RequireTrailingCommaInCall sniff had a false-negative for arrow functions. This has been fixed in version 8.15.0 as noted in the release notes. See slevomat/coding-standard@8d0f603 for the specific commit which resolves this issue.

The change in this pull request should allow the test suite to pass for #535 where the version of the Slevomat coding standard has been increased from 8.14.1 to 8.15.0.

Copy link
Collaborator

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

Thanks @fredden

@Ocramius Ocramius self-assigned this Apr 1, 2024
@Ocramius Ocramius added enhancement dependencies Pull requests that update a dependency file labels Apr 1, 2024
@Ocramius Ocramius added this to the 4.11.0 milestone Apr 1, 2024
@Ocramius Ocramius merged commit a1e4a0c into maglnet:4.11.x Apr 1, 2024
18 checks passed
@fredden fredden deleted the phpcs/slevomat/8.15 branch April 1, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants