Test Setup Failed
Pull Request — master (#29)
by
unknown
04:19 queued 32s
created
src/DataFixtures/MetroFixtures.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
     {
29 29
         return [
30 30
             // $metroData = [$city, $name, $slug];
31
-           [$this->getReference('Miami'), 'Government Center', 'government-center'],
32
-           [$this->getReference('Miami'), 'Allapattah', 'allapattah'],
33
-           [$this->getReference('Miami'), 'Brickell', 'brickell'],
34
-           [$this->getReference('Miami'), 'Culmer', 'culmer'],
31
+            [$this->getReference('Miami'), 'Government Center', 'government-center'],
32
+            [$this->getReference('Miami'), 'Allapattah', 'allapattah'],
33
+            [$this->getReference('Miami'), 'Brickell', 'brickell'],
34
+            [$this->getReference('Miami'), 'Culmer', 'culmer'],
35 35
         ];
36 36
     }
37 37
 
Please login to merge, or discard this patch.
src/MessageHandler/SendResetPasswordLinkHandler.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -70,13 +70,13 @@
 block discarded – undo
70 70
     private function buildEmail(User $user): TemplatedEmail
71 71
     {
72 72
         return (new TemplatedEmail())
73
-              ->from($this->getSender())
74
-              ->to($user->getEmail())
75
-              ->subject($this->getSubject())
76
-              ->textTemplate('emails/reset.txt.twig')
77
-              ->context([
78
-                  'confirmationUrl' => $this->getConfirmationUrl($user),
79
-                  'username' => $user->getUsername(),
80
-              ]);
73
+                ->from($this->getSender())
74
+                ->to($user->getEmail())
75
+                ->subject($this->getSubject())
76
+                ->textTemplate('emails/reset.txt.twig')
77
+                ->context([
78
+                    'confirmationUrl' => $this->getConfirmationUrl($user),
79
+                    'username' => $user->getUsername(),
80
+                ]);
81 81
     }
82 82
 }
Please login to merge, or discard this patch.
src/Service/Cache/GetCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         $this->persistentObjectName = $class;
36 36
 
37
-        $count = $this->cache->get($key, function () {
37
+        $count = $this->cache->get($key, function() {
38 38
             return $this->countItems();
39 39
         });
40 40
 
Please login to merge, or discard this patch.
src/Command/ListUsersCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
         $allUsers = $this->users->findBy([], ['id' => 'DESC'], $limit);
50 50
 
51
-        $usersAsPlainArrays = array_map(function (User $user) {
51
+        $usersAsPlainArrays = array_map(function(User $user) {
52 52
             return [
53 53
                 $user->getId(),
54 54
                 $user->getFullName(),
Please login to merge, or discard this patch.
src/Form/Type/UserType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use App\Entity\User;
14 14
 use Symfony\Component\Form\AbstractType;
15
-use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
16 15
 use Symfony\Component\Form\Extension\Core\Type\PasswordType;
17 16
 use Symfony\Component\Form\FormBuilderInterface;
18 17
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
src/DataFixtures/DistrictFixtures.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     {
29 29
         return [
30 30
             // $districtData = [$city, $name, $slug];
31
-           [$this->getReference('Варна'), 'Община Варна', 'south-tampa'],
31
+            [$this->getReference('Варна'), 'Община Варна', 'south-tampa'],
32 32
         ];
33 33
     }
34 34
 
Please login to merge, or discard this patch.
src/DataFixtures/NeighborhoodFixtures.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -28,23 +28,23 @@
 block discarded – undo
28 28
     {
29 29
         return [
30 30
             // $neighborhoodData = [$city, $name, $slug];
31
-           [$this->getReference('Варна'), 'бул. Владислав Варненчик', 'bul-vladislav-varnenchik'],
32
-           [$this->getReference('Варна'), 'Владиславово', 'vladislavovo'],
33
-           [$this->getReference('Варна'), 'Възраждане 1', 'vazdrazhdane-1'],
34
-           [$this->getReference('Варна'), 'Възраждане 2', 'vazdrazhdane-2'],
35
-           [$this->getReference('Варна'), 'Възраждане 3', 'vazdrazhdane-3'],
36
-           [$this->getReference('Варна'), 'Възраждане 4', 'vazdrazhdane-4'],
37
-           [$this->getReference('Варна'), 'Зимно кино тракия', 'zimno-kino-trakiya'],
38
-           [$this->getReference('Варна'), 'Лятно кино тракия', 'lyatno-kino-trakiya'],
39
-           [$this->getReference('Варна'), 'Кайсиева градина', 'kaysieva-gradina'],
40
-           [$this->getReference('Варна'), 'Младост 1', 'mladost-1'],
41
-           [$this->getReference('Варна'), 'Младост 2', 'mladost-2'],
42
-           [$this->getReference('Варна'), 'м-т Балъм дере', 'm-t-balam-dere'],
43
-           [$this->getReference('Варна'), 'м-т Ментеше', 'm-t-menteshe'],
44
-           [$this->getReference('Варна'), 'м-т Боровец - Юг', 'm-t-borovetsh-yug'],
45
-           [$this->getReference('Варна'), 'м-т Боровец - Север', 'm-t-borovets-sever'],
46
-           [$this->getReference('Варна'), 'Галата', 'galata'],
47
-           [$this->getReference('Варна'), 'Трошево', 'troshevo'],
31
+            [$this->getReference('Варна'), 'бул. Владислав Варненчик', 'bul-vladislav-varnenchik'],
32
+            [$this->getReference('Варна'), 'Владиславово', 'vladislavovo'],
33
+            [$this->getReference('Варна'), 'Възраждане 1', 'vazdrazhdane-1'],
34
+            [$this->getReference('Варна'), 'Възраждане 2', 'vazdrazhdane-2'],
35
+            [$this->getReference('Варна'), 'Възраждане 3', 'vazdrazhdane-3'],
36
+            [$this->getReference('Варна'), 'Възраждане 4', 'vazdrazhdane-4'],
37
+            [$this->getReference('Варна'), 'Зимно кино тракия', 'zimno-kino-trakiya'],
38
+            [$this->getReference('Варна'), 'Лятно кино тракия', 'lyatno-kino-trakiya'],
39
+            [$this->getReference('Варна'), 'Кайсиева градина', 'kaysieva-gradina'],
40
+            [$this->getReference('Варна'), 'Младост 1', 'mladost-1'],
41
+            [$this->getReference('Варна'), 'Младост 2', 'mladost-2'],
42
+            [$this->getReference('Варна'), 'м-т Балъм дере', 'm-t-balam-dere'],
43
+            [$this->getReference('Варна'), 'м-т Ментеше', 'm-t-menteshe'],
44
+            [$this->getReference('Варна'), 'м-т Боровец - Юг', 'm-t-borovetsh-yug'],
45
+            [$this->getReference('Варна'), 'м-т Боровец - Север', 'm-t-borovets-sever'],
46
+            [$this->getReference('Варна'), 'Галата', 'galata'],
47
+            [$this->getReference('Варна'), 'Трошево', 'troshevo'],
48 48
         ];
49 49
     }
50 50
 
Please login to merge, or discard this patch.
src/DataFixtures/PropertyFixtures.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function load(ObjectManager $manager): void
16 16
     {
17 17
         foreach ($this->getPropertyData() as [$author, $dealType, $category, $bedrooms, $guests, $city, $district,
18
-                 $neighborhood, $title, $address, $latitude, $longitude, $price, $priceType, ]) {
18
+                    $neighborhood, $title, $address, $latitude, $longitude, $price, $priceType, ]) {
19 19
             $property = new Property();
20 20
             $property->setAuthor($author);
21 21
             $property->setDealType($dealType);
Please login to merge, or discard this patch.