Skip to content

Commit

Permalink
Merge branch '3.4' into 4.3
Browse files Browse the repository at this point in the history
* 3.4:
  remove 'command' from execute argument
  Fixes symfony#12662
  • Loading branch information
wouterj committed Nov 23, 2019
2 parents bf930b4 + 6c67c6e commit ac9fbb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,6 @@ console::
$command = $application->find('app:create-user');
$commandTester = new CommandTester($command);
$commandTester->execute([
'command' => $command->getName(),

// pass arguments to the helper
'username' => 'Wouter',

Expand Down
8 changes: 4 additions & 4 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ encoding algorithm. Also, each algorithm defines different config options:
time_cost: 2 # Number of iterations
threads: 4 # Number of parallel threads
# PBKDF2 encoder using SHA512 hashing with default options
App\Entity\User: 'sha512'
# MessageDigestPasswordEncoder encoder using SHA512 hashing with default options
AppBundle\Entity\User: 'sha512'
.. code-block:: xml
Expand Down Expand Up @@ -193,7 +193,7 @@ encoding algorithm. Also, each algorithm defines different config options:
threads="4"
/>
<!-- PBKDF2 encoder using SHA512 hashing with default options -->
<!-- MessageDigestPasswordEncoder encoder using SHA512 hashing with default options -->
<encoder
class="App\Entity\User"
algorithm="sha512"
Expand Down Expand Up @@ -233,7 +233,7 @@ encoding algorithm. Also, each algorithm defines different config options:
'threads' => 4, // Number of parallel threads
],
// PBKDF2 encoder using SHA512 hashing with default options
// MessageDigestPasswordEncoder encoder using SHA512 hashing with default options
User::class => [
'algorithm' => 'sha512',
],
Expand Down

0 comments on commit ac9fbb2

Please sign in to comment.