Completed
Push — master ( e742c5...abeed3 )
by Petr
02:46
created
src/Rottenwood/KingdomBundle/Entity/Infrastructure/HumanRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * @param Room  $room
21
-     * @param array $onlinePlayerIds
21
+     * @param integer[] $onlinePlayerIds
22 22
      * @param array $excludePlayerIds
23 23
      * @return Human[]
24 24
      */
Please login to merge, or discard this patch.
src/Rottenwood/KingdomBundle/Command/Game/ComposeMap.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,12 +34,12 @@
 block discarded – undo
34 34
         $map = [];
35 35
 
36 36
         for ($y = $currentY - $this->mapRadius, $relativeY = 1, $relativeX = 1;
37
-             $y <= $currentY + $this->mapRadius;
38
-             $y++, $relativeY++, $relativeX = 1) {
37
+                $y <= $currentY + $this->mapRadius;
38
+                $y++, $relativeY++, $relativeX = 1) {
39 39
 
40 40
             for ($x = $currentX - $this->mapRadius;
41
-                 $x <= $currentX + $this->mapRadius;
42
-                 $x++, $relativeX++) {
41
+                    $x <= $currentX + $this->mapRadius;
42
+                    $x++, $relativeX++) {
43 43
 
44 44
                 // пропуск центра карты, комнаты где находится персонаж
45 45
                 if ($relativeY == 3 && $relativeX == 3) {
Please login to merge, or discard this patch.
src/Rottenwood/KingdomBundle/Command/Game/ShowPlayersInRoom.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     public function execute(): CommandResponse
20 20
     {
21 21
         $playersInRoom = array_map(
22
-            function (User $user) {
22
+            function(User $user) {
23 23
                 return [
24 24
                     'name' => $user->getName(),
25 25
                     'stance' => 'стоит тут.',
Please login to merge, or discard this patch.
src/Rottenwood/UserBundle/Controller/RegistrationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
         );
86 86
     }
87 87
 
88
-    private function updateUserAndForm(User &$user, FormInterface &$form, UserService $userService)
88
+    private function updateUserAndForm(User&$user, FormInterface&$form, UserService $userService)
89 89
     {
90 90
         $cyrillicName = $userService->transliterate($user->getLiteralUsername());
91 91
 
Please login to merge, or discard this patch.
src/Rottenwood/KingdomBundle/Command/Console/CreateUserCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,9 +93,9 @@
 block discarded – undo
93 93
             $output->writeln('персонаж создан!');
94 94
 
95 95
             $output->writeln('====================================');
96
-            $output->writeln('Логин: ' . $username);
97
-            $output->writeln('Пароль: ' . $password);
98
-            $output->writeln('E-mail: ' . $email);
96
+            $output->writeln('Логин: '.$username);
97
+            $output->writeln('Пароль: '.$password);
98
+            $output->writeln('E-mail: '.$email);
99 99
             $output->writeln('====================================');
100 100
 
101 101
             /** @var RegistrationLogger $logger */
Please login to merge, or discard this patch.