-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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
[Config] Prototypes info #15635
Conversation
@@ -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'); | |||
|
There was a problem hiding this comment.
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
I like this feature! I've left 2 minor things to do. Status: Reviewed |
👍 |
1 similar comment
👍 |
Thank you @ogizanagi. |
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
Prototypes info is currently ignored by dumpers. It might be useful to add extra informations to the
# Prototype
comment in theconfig:dump-reference
output.