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 6c67c6e

Browse filesBrowse files
committed
minor #12652 remove 'command' from execute argument (aldenw)
This PR was submitted for the 4.3 branch but it was merged into the 3.4 branch instead (closes #12652). Discussion ---------- remove 'command' from execute argument Including the 'command' argument triggers an exception, "Symfony\Component\Console\Exception\InvalidArgumentException : The "command" argument does not exist.", needs to be removed. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap 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 `master` for features of unreleased versions). --> Commits ------- 9030c6b remove 'command' from execute argument
2 parents d7adc5a + 9030c6b commit 6c67c6e
Copy full SHA for 6c67c6e

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+0
-2
lines changed

‎console.rst

Copy file name to clipboardExpand all lines: console.rst
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ console::
286286
$command = $application->find('app:create-user');
287287
$commandTester = new CommandTester($command);
288288
$commandTester->execute([
289-
'command' => $command->getName(),
290-
291289
// pass arguments to the helper
292290
'username' => 'Wouter',
293291

0 commit comments

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