Skip to content

Commit

Permalink
minor #35958 improve PlaintextPasswordEncoder docBlock summary (jrush…
Browse files Browse the repository at this point in the history
…low)

This PR was squashed before being merged into the 3.4 branch.

Discussion
----------

improve PlaintextPasswordEncoder docBlock summary

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Updates class summary as suggested in tkt #35927 & pr #35929 to suggest the encoder is for test usage.

Commits
-------

622facf Tweak message
a56d262 improve PlaintextPasswordEncoder docBlock summary
  • Loading branch information
fabpot committed Mar 5, 2020
2 parents 0ad2fdf + 622facf commit bd0bf52
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -14,7 +14,9 @@
use Symfony\Component\Security\Core\Exception\BadCredentialsException;

/**
* PlaintextPasswordEncoder does not do any encoding.
* PlaintextPasswordEncoder does not do any encoding but is useful in testing environments.
*
* As this encoder is not cryptographically secure, usage of it in production environments is discouraged.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
Expand Down

0 comments on commit bd0bf52

Please sign in to comment.