@@ -66,6 +66,6 @@ |
||
| 66 | 66 | |
| 67 | 67 | $this->handler->handle($userWithPasswordTransferObject); |
| 68 | 68 | |
| 69 | - $output->writeln($userWithPasswordTransferObject->userName . ' has been created'); |
|
| 69 | + $output->writeln($userWithPasswordTransferObject->userName.' has been created'); |
|
| 70 | 70 | } |
| 71 | 71 | } |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public function getRoles() |
| 32 | 32 | { |
| 33 | - return [ 'ROLE_USER' ]; |
|
| 33 | + return ['ROLE_USER']; |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | |
| 84 | 84 | private function getCredentials($salt = 'zout', $username = 'wouter', $password = 'test') |
| 85 | 85 | { |
| 86 | - $mock = $this->getMock(FormCredentials::class, [], [$username, $password . '{' . $salt . '}']); |
|
| 86 | + $mock = $this->getMock(FormCredentials::class, [], [$username, $password.'{'.$salt.'}']); |
|
| 87 | 87 | $mock->method('getUserName')->willReturn($username); |
| 88 | 88 | $mock->method('getPlainPassword')->willReturn($password); |
| 89 | 89 | |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | $this->userRepository->findByUsername('wouter')->getDisplayName() |
| 59 | 59 | ); |
| 60 | 60 | $this->assertEquals( |
| 61 | - 'randomPassword{' . $this->userRepository->findByUsername('wouter')->getSalt() . '}', |
|
| 61 | + 'randomPassword{'.$this->userRepository->findByUsername('wouter')->getSalt().'}', |
|
| 62 | 62 | $this->userRepository->findByUsername('wouter')->getPassword() |
| 63 | 63 | ); |
| 64 | 64 | $this->assertNotEquals( |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | $this->userRepository->findByUsername('sumo')->getDisplayName() |
| 57 | 57 | ); |
| 58 | 58 | $this->assertEquals( |
| 59 | - 'randomPassword{' . $this->userRepository->findByUsername('sumo')->getSalt() . '}', |
|
| 59 | + 'randomPassword{'.$this->userRepository->findByUsername('sumo')->getSalt().'}', |
|
| 60 | 60 | $this->userRepository->findByUsername('sumo')->getPassword() |
| 61 | 61 | ); |
| 62 | 62 | $this->assertEquals( |