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

Skip to content

Commit af77f5e

Browse files
committed
bug #6822 Adjust Application use statement (kvdnberg)
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6822). Discussion ---------- Adjust Application use statement The code example assumes the use of the Console Application (no kernel parameter) but the use statement is for the Frameworkbundle Console Application, which requires the kernel parameter. This is confusing, basically the example cannot work as it is. Commits ------- 38d8f15 Adjust Application use statement
2 parents edcfe8d + 38d8f15 commit af77f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ console::
216216
namespace Tests\AppBundle\Command;
217217

218218
use AppBundle\Command\CreateUserCommand;
219-
use Symfony\Bundle\FrameworkBundle\Console\Application;
219+
use Symfony\Component\Console\Application;
220220
use Symfony\Component\Console\Tester\CommandTester;
221221

222222
class CreateUserCommandTest extends \PHPUnit_Framework_TestCase

0 commit comments

Comments
 (0)