Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4938b6

Browse files
committed
Move command to Form Component
1 parent 10610d3 commit a4938b6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
</service>
207207

208208
<!-- Commands -->
209-
<service id="form.command.debug" class="Symfony\Bundle\FrameworkBundle\Command\FormDebugCommand">
209+
<service id="form.command.debug" class="Symfony\Component\Form\Command\FormDebugCommand">
210210
<tag name="console.command" command="debug:form" />
211211
<argument type="service" id="form.registry" />
212212
</service>

src/Symfony/Bundle/FrameworkBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"symfony/dom-crawler": "~2.8|~3.0|~4.0",
4141
"symfony/polyfill-intl-icu": "~1.0",
4242
"symfony/security": "~2.8|~3.0|~4.0",
43-
"symfony/form": "~3.3|~4.0",
43+
"symfony/form": "~3.4|~4.0",
4444
"symfony/expression-language": "~2.8|~3.0|~4.0",
4545
"symfony/process": "~2.8|~3.0|~4.0",
4646
"symfony/security-core": "~3.2|~4.0",

src/Symfony/Bundle/FrameworkBundle/Command/FormDebugCommand.php renamed to src/Symfony/Component/Form/Command/FormDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bundle\FrameworkBundle\Command;
12+
namespace Symfony\Component\Form\Command;
1313

1414
use Symfony\Component\Console\Command\Command;
1515
use Symfony\Component\Console\Helper\TableSeparator;

0 commit comments

Comments
 (0)