Skip to content

[Config] Prototypes info #15635

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
Sep 1, 2015
Merged

[Config] Prototypes info #15635

merged 1 commit into from
Sep 1, 2015

Conversation

ogizanagi
Copy link
Contributor

Q A
Bug fix? no ?
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Prototypes info is currently ignored by dumpers. It might be useful to add extra informations to the # Prototype comment in the config:dump-reference output.

@@ -84,14 +84,19 @@ private function writeNode(NodeInterface $node, $depth = 0, $root = false, $name

// render prototyped nodes
if ($node instanceof PrototypedArrayNode) {
array_unshift($rootComments, 'prototype');

Copy link
Member

Choose a reason for hiding this comment

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

please remove this empty line

@wouterj
Copy link
Member

wouterj commented Aug 27, 2015

I like this feature!

I've left 2 minor things to do. It would be great if you can fix them in this PR. (you are quick! thanks for fixing them) This will probably also fix the failures on Travis & Appveyor, fabbot failures are unrelated to changes in this PR.

Status: Reviewed

@fabpot
Copy link
Member

fabpot commented Aug 31, 2015

👍

1 similar comment
@aitboudad
Copy link
Contributor

👍

@fabpot
Copy link
Member

fabpot commented Sep 1, 2015

Thank you @ogizanagi.

@fabpot fabpot merged commit 599fcb4 into symfony:2.8 Sep 1, 2015
fabpot added a commit that referenced this pull request Sep 1, 2015
This PR was merged into the 2.8 branch.

Discussion
----------

[Config] Prototypes info

| Q             | A
| ------------- | ---
| Bug fix?      | no ?
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Prototypes info is currently ignored by dumpers. It might be useful to add extra informations to the `# Prototype` comment in the `config:dump-reference` output.

Commits
-------

599fcb4 [Config] Prototypes info
@ogizanagi ogizanagi deleted the prototypes_info branch September 1, 2015 11:45
@fabpot fabpot mentioned this pull request Nov 16, 2015
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.

5 participants