Skip to content

[DI] Fix missing new line after private alias #21220

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

Merged
merged 1 commit into from
Jan 9, 2017
Merged

[DI] Fix missing new line after private alias #21220

merged 1 commit into from
Jan 9, 2017

Conversation

ogizanagi
Copy link
Contributor

@ogizanagi ogizanagi commented Jan 9, 2017

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #21219 (comment)
License MIT
Doc PR N/A

Without this change, the output is:

# [...]
alias_for_foo: '@foo'
another_alias_for_foo:
    alias: foo
    public: false    another_third_alias_for_foo: '@foo' # <--- missing new line after `public: false`

(this is tested by the CrossCheckTest but there is no fixture file to update (automatically dumped and removed by the test case))

@fabpot
Copy link
Member

fabpot commented Jan 9, 2017

Thank you @ogizanagi.

@fabpot fabpot merged commit 101a165 into symfony:2.7 Jan 9, 2017
fabpot added a commit that referenced this pull request Jan 9, 2017
This PR was merged into the 2.7 branch.

Discussion
----------

[DI] Fix missing new line after private alias

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #21219 (comment)
| License       | MIT
| Doc PR        | N/A

Without this change, the output is:

```yml
# [...]
alias_for_foo: '@foo'
another_alias_for_foo:
    alias: foo
    public: false    another_third_alias_for_foo: '@foo' # <--- missing new line after `public: false`
```

(this is tested by the `CrossCheckTest` but there is no fixture file to update (automatically dumped and removed by the test case))

Commits
-------

101a165 [DI] Fix missing new line after private alias
@ogizanagi ogizanagi deleted the fix/2.7/di/yaml/dumper_alias_nl branch January 9, 2017 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants