Skip to content

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