8000 fix indentation when adding new key after multiline array by jrushlow · Pull Request #753 · symfony/maker-bundle · GitHub
[go: up one dir, main page]

Skip to content

fix indentation when adding new key after multiline array #753

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

Closed

Conversation

jrushlow
Copy link
Collaborator
@jrushlow jrushlow commented Nov 30, 2020

YSM does not decrease the indentation after adding a multi line array. This PR fixes that by removing the manual indentation that is added for the additional lines in the multi line array - after the multi line array values are created.

custom_authenticator:
- App\Security\SomeOtherAuthenticator
- App\Security\AppCustomAuthenticator
entry_point: Entry
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to add a newline? or is the test failing afterwards?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no - ysm test fixtures do not get a new line at the EOF or between the source, changeCode, and/or the expected sections. Makes them go bonkers..

@jrushlow
Copy link
Collaborator Author
jrushlow commented Dec 3, 2020

PR was merged into #736 - closing

@jrushlow jrushlow closed this Dec 3, 2020
@jrushlow jrushlow added Status: Needs Work Additional work is needed and removed Related Tests Pass labels Dec 3, 2020
@jrushlow jrushlow deleted the fix/manual-indentation-increases branch March 3, 2021 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Work Additional work is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0