Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Fix: Do not print empty arrays and objects with new lines #38

Merged
merged 2 commits into from
Jan 4, 2018

Conversation

localheinz
Copy link
Member

@localheinz localheinz commented Jan 1, 2018

This PR

  • asserts that empty arrays and objects are printed without new lines
  • looks ahead for closing brackets and skips new lines if there's only whitespace in-between

@weierophinney weierophinney merged commit 3988e49 into zendframework:master Jan 4, 2018
weierophinney added a commit that referenced this pull request Jan 4, 2018
Fix: Do not print empty arrays and objects with new lines
weierophinney added a commit that referenced this pull request Jan 4, 2018
weierophinney added a commit that referenced this pull request Jan 4, 2018
weierophinney added a commit that referenced this pull request Jan 4, 2018
@weierophinney
Copy link
Member

Thanks, @localheinz

@localheinz localheinz deleted the fix/empty branch January 4, 2018 17:00
@localheinz
Copy link
Member Author

Thank you, @weierophinney!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants