@@ -19,7 +19,7 @@ |
||
19 | 19 | class UserFixtures extends Fixture implements OrderedFixtureInterface |
20 | 20 | { |
21 | 21 | const ORDER = 0; |
22 | - const TESTER_REFERENCE = User::class.'_tester'; |
|
22 | + const TESTER_REFERENCE = User::class . '_tester'; |
|
23 | 23 | |
24 | 24 | public function load(ObjectManager $manager) |
25 | 25 | { |
@@ -20,13 +20,13 @@ |
||
20 | 20 | { |
21 | 21 | public function save(Event $event) |
22 | 22 | { |
23 | - $identifierContent = $event->getOrganizer().'-'.$event->getName(); |
|
23 | + $identifierContent = $event->getOrganizer() . '-' . $event->getName(); |
|
24 | 24 | $optimalIdentifier = IdentifierHelper::getHumanReadableIdentifier($identifierContent); |
25 | 25 | $identifier = $optimalIdentifier; |
26 | 26 | |
27 | 27 | $number = 1; |
28 | 28 | while ($this->findOneBy(['identifier' => $identifier])) { |
29 | - $identifier = $optimalIdentifier.$number++; |
|
29 | + $identifier = $optimalIdentifier . $number++; |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | $random = RandomHelper::generateHumanReadableRandom(9, '-'); |
@@ -62,6 +62,6 @@ |
||
62 | 62 | } |
63 | 63 | } |
64 | 64 | |
65 | - throw new \LogicException('Attribute '.$attribute.' unknown!'); |
|
65 | + throw new \LogicException('Attribute ' . $attribute . ' unknown!'); |
|
66 | 66 | } |
67 | 67 | } |