Test Failed
Push — feature/sf2.8 ( 74ce43...651c8b )
by
unknown
39:50 queued 17:14
created
Zicht/Bundle/UrlBundle/Form/DataTransformer/AbstractAliasingTransformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function transform($data)
48 48
     {
49
-        if (self::MODE_TO_PUBLIC === (self::MODE_TO_PUBLIC & $this->mode)) {
49
+        if (self::MODE_TO_PUBLIC === (self::MODE_TO_PUBLIC&$this->mode)) {
50 50
             return $this->map($data, UrlMapperInterface::MODE_INTERNAL_TO_PUBLIC);
51 51
         } else {
52 52
             return $data;
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function reverseTransform($data)
63 63
     {
64
-        if (self::MODE_TO_INTERNAL === (self::MODE_TO_INTERNAL & $this->mode)) {
64
+        if (self::MODE_TO_INTERNAL === (self::MODE_TO_INTERNAL&$this->mode)) {
65 65
             return $this->map($data, UrlMapperInterface::MODE_PUBLIC_TO_INTERNAL);
66 66
         } else {
67 67
             return $data;
Please login to merge, or discard this patch.
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.