Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a8d437e

Browse filesBrowse files
committed
minor #19191 Update console.rst (hbgamra)
This PR was submitted for the 6.3 branch but it was merged into the 5.4 branch instead. Discussion ---------- Update console.rst remove $kernel variable <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 625e432 Update console.rst
2 parents 18683a7 + 625e432 commit a8d437e
Copy full SHA for a8d437e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎console.rst

Copy file name to clipboardExpand all lines: console.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,8 @@ console::
513513
{
514514
public function testExecute()
515515
{
516-
$kernel = self::bootKernel();
517-
$application = new Application($kernel);
516+
self::bootKernel();
517+
$application = new Application(self::$kernel);
518518

519519
$command = $application->find('app:create-user');
520520
$commandTester = new CommandTester($command);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.