File tree 5 files changed +9
-9
lines changed
src/Symfony/Component/Console 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public function getCommandDocument(Command $command)
93
93
public function getApplicationDocument (Application $ application , $ namespace = null )
94
94
{
95
95
$ dom = new \DOMDocument ('1.0 ' , 'UTF-8 ' );
96
- $ dom ->appendChild ($ rootXml = $ dom ->createElement ('application ' ));
96
+ $ dom ->appendChild ($ rootXml = $ dom ->createElement ('symfony ' ));
97
97
98
98
if ($ application ->getName () !== 'UNKNOWN ' ) {
99
99
$ rootXml ->setAttribute ('name ' , $ application ->getName ());
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <application >
2
+ <symfony >
3
3
<commands >
4
4
<command id =" help" name =" help" >
5
5
<usage >help [--xml] [--format="..."] [--raw] [command_name]</usage >
105
105
<command >list</command >
106
106
</namespace >
107
107
</namespaces >
108
- </application >
108
+ </symfony >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <application name =" My Symfony application" version =" v1.0" >
2
+ <symfony name =" My Symfony application" version =" v1.0" >
3
3
<commands >
4
4
<command id =" help" name =" help" >
5
5
<usage >help [--xml] [--format="..."] [--raw] [command_name]</usage >
182
182
<command >descriptor:command2</command >
183
183
</namespace >
184
184
</namespaces >
185
- </application >
185
+ </symfony >
Original file line number Diff line number Diff line change 1
1
<?xml version="1.0" encoding="UTF-8"?>
2
- <application >
2
+ <symfony >
3
3
<commands>
4
4
<command id="help" name="help">
5
5
<usage>help [--xml] [--format="..."] [--raw] [command_name]</usage>
141
141
<command>foo:bar</command>
142
142
</namespace>
143
143
</namespaces>
144
- </application >
144
+ </symfony >
Original file line number Diff line number Diff line change 1
1
<?xml version="1.0" encoding="UTF-8"?>
2
- <application >
2
+ <symfony >
3
3
<commands namespace="foo">
4
4
<command id="foo:bar" name="foo:bar">
5
5
<usage>foo:bar</usage>
34
34
</options>
35
35
</command>
36
36
</commands>
37
- </application >
37
+ </symfony >
You can’t perform that action at this time.
0 commit comments