| Total Complexity | 3 | 
| Total Lines | 17 | 
| Duplicated Lines | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 9 | class UserListener | ||
| 10 | { | ||
| 11 | protected $passwordEncoder; | ||
| 12 | |||
| 13 | public function __construct(UserPasswordEncoderInterface $passwordEncoder) | ||
| 16 | } | ||
| 17 | |||
| 18 | /** | ||
| 19 | * Set Password on database update if PlainPassword is set. | ||
| 20 | */ | ||
| 21 | public function preUpdate(UserInterface $user, PreUpdateEventArgs $event) | ||
| 29 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.