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

Remove trailing comma in function call #62

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

schlessera
Copy link
Member

Trailing commas in function calls have only been introduced in PHP 7.3.

Given that this project claims to work with PHP 5.6+, this PR removes a trailing comma that creates fatal errors on PHP 5.6 - 7.2.

@swissspidy swissspidy merged commit a42c1b3 into WordPress:main Dec 18, 2023
@schlessera schlessera deleted the fix/trailing-comma branch December 18, 2023 21:27
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