Test Failed
Push — feature/sf2.8 ( 51e9c1...3941b1 )
by
unknown
02:40
created
Zicht/Bundle/UrlBundle/Validator/Constraints/ContainsUrlAliasValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      * @param string $url
71 71
      * @param Constraint $constraint
72 72
      */
73
-    public function addViolation($url,  Constraint $constraint)
73
+    public function addViolation($url, Constraint $constraint)
74 74
     {
75 75
         $this->context->addViolation($constraint->message, ['%url%' => $url]);
76 76
     }
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Url/DbStaticProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         $url = $this->refs[$object][$this->getLocale()];
93 93
 
94 94
         if (!preg_match('/^(http|https)/', $url) && (null !== ($request = $this->getMasterRequest()))) {
95
-            $url = $request->getBaseUrl() . '/' . ltrim($url, '/');
95
+            $url = $request->getBaseUrl().'/'.ltrim($url, '/');
96 96
         }
97 97
 
98 98
         return $url;
Please login to merge, or discard this patch.
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.