Skip to content

Conversation

@Crell
Copy link
Collaborator

@Crell Crell commented Jun 1, 2022

This is consistent with what I have most often seen in the wild. It also makes for the easiest diffs.

@Crell Crell mentioned this pull request Jun 1, 2022
25 tasks
Copy link
Contributor

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

The multi-line examples in sections "4.5 Method and Function Arguments" and "7. Closures" should likely also be updated to add the trailing comma.

@Crell
Copy link
Collaborator Author

Crell commented Jun 14, 2022

Yes, once we're comfortable with this change policy-wise I will update the PR to cover the rest of the document. I'm holding off on that until approval to minimize diff conflicts.

@KorvinSzanto We need an internal decision/acceptance process. :-)

@KorvinSzanto KorvinSzanto merged commit 843d379 into php-fig:master Jul 17, 2022
@Crell Crell deleted the trailing-comma branch July 18, 2022 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

4 participants