Test Setup Failed
Pull Request — release/3.x (#29)
by
unknown
07:42 queued 03:46
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.