Passed
Push — master ( 792085...cd85d0 )
by Valery
04:19 queued 41s
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/DataFixtures/NeighborhoodFixtures.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
             // $neighborhoodData = [$city, $name, $slug];
31
-           [$this->getReference('Miami'), 'South Beach', 'south-beach'],
32
-           [$this->getReference('Miami'), 'Downtown', 'downtown'],
33
-           [$this->getReference('Tampa'), 'Ballast Point', 'ballast-point'],
34
-           [$this->getReference('Tampa'), 'Culbreath Isles', 'culbreath-isles'],
31
+            [$this->getReference('Miami'), 'South Beach', 'south-beach'],
32
+            [$this->getReference('Miami'), 'Downtown', 'downtown'],
33
+            [$this->getReference('Tampa'), 'Ballast Point', 'ballast-point'],
34
+            [$this->getReference('Tampa'), 'Culbreath Isles', 'culbreath-isles'],
35 35
         ];
36 36
     }
37 37
 
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('Tampa'), 'South Tampa', 'south-tampa'],
31
+            [$this->getReference('Tampa'), 'South Tampa', 'south-tampa'],
32 32
         ];
33 33
     }
34 34
 
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/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, $metro, $title, $address, $latitude, $longitude, $price, $priceType, ]) {
18
+                    $neighborhood, $metro, $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.
public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
 
5 5
 require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
6 6
 
7
-return function (array $context) {
7
+return function(array $context) {
8 8
     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
9 9
 };
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->getProfile()->getFullName(),
Please login to merge, or discard this patch.