Passed
Push — feature/depend-on-metadata-inf... ( eb748e...f9dfde )
by Michael
19:28 queued 13:07
created
src/Zicht/Bundle/UrlBundle/Url/RequestAwareProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $request = $requestStack->getMasterRequest();
27 27
 
28 28
         $this->baseUrl = $request->getBaseUrl();
29
-        $this->prefix = $request->getSchemeAndHttpHost() . $this->baseUrl;
29
+        $this->prefix = $request->getSchemeAndHttpHost().$this->baseUrl;
30 30
         $this->baseUrlLen = strlen($this->baseUrl);
31 31
     }
32 32
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         }
43 43
         $ret = ltrim($ret, '/');
44 44
         if (!empty($options['absolute'])) {
45
-            $ret = $this->prefix . '/' . $ret;
45
+            $ret = $this->prefix.'/'.$ret;
46 46
         }
47 47
         return $ret;
48 48
     }
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Entity/Repository/UrlAliasRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     {
22 22
         $where = ['public_url' => $publicUrl];
23 23
         if (null !== $mode) {
24
-            $where['mode']= $mode;
24
+            $where['mode'] = $mode;
25 25
         }
26 26
         return $this->findOneBy($where, ['id' => 'ASC']);
27 27
     }
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $where = ['internal_url' => $internalUrl];
35 35
         if (null !== $mode) {
36
-            $where['mode']= $mode;
36
+            $where['mode'] = $mode;
37 37
         }
38 38
         return $this->findOneBy($where, ['id' => 'ASC']);
39 39
     }
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Url/AliasSitemapProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         }
51 51
 
52 52
         return array_map(
53
-            function ($url) {
53
+            function($url) {
54 54
                 return ['value' => $url['public_url']];
55 55
             },
56 56
             $urls->getArrayCopy()
Please login to merge, or discard this patch.