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

Added pretty print for arrays #231

Merged
merged 63 commits into from
Dec 1, 2021
Merged

Added pretty print for arrays #231

merged 63 commits into from
Dec 1, 2021

Conversation

arogachev
Copy link
Contributor

@arogachev arogachev commented Nov 29, 2021

Q A
Is bugfix?
New feature? ✔️
Breaks BC?
Fixed issues #18

Important notes:

  • Comments and whitespaces are removed.
  • Nesting arrays are supported too.
  • Trailing comma is added after the last element.

Before:

Screenshot 2021-11-29 at 17-09-31 Schema, yii db pgsql Schema

After:

Screenshot 2021-11-29 at 17-11-50 Schema, yii db pgsql Schema

Bizley and others added 30 commits August 30, 2021 15:20
@arogachev arogachev added the type:enhancement Enhancement label Nov 29, 2021
@arogachev arogachev requested a review from a team November 29, 2021 11:08
@arogachev arogachev self-assigned this Nov 29, 2021
@arogachev
Copy link
Contributor Author

Here are 2 main reasons for removing of comments:

But this can be a subject to discuss.

@samdark samdark added the status:code review The pull request needs review. label Dec 1, 2021
@samdark samdark merged commit 4d569ec into yiisoft:master Dec 1, 2021
@arogachev arogachev deleted the 18-array-pretty-print branch December 2, 2021 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review. type:enhancement Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants