Passed
Push — fix/added-mode-column-to-url-a... ( f67334 )
by
unknown
11:15
created
src/Zicht/Bundle/UrlBundle/Entity/ErrorLog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     public function __toString()
96 96
     {
97 97
         return (string)$this->message
98
-            . ' @ ' . (string)($this->date_created ? $this->date_created->format('YmdHis') : '');
98
+            . ' @ '.(string)($this->date_created ? $this->date_created->format('YmdHis') : '');
99 99
     }
100 100
 
101 101
     /**
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Entity/UrlAlias.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,17 +25,17 @@
 block discarded – undo
25 25
      * The alias is an internal rewrite, i.e. external url's are rewritten to internal on request,
26 26
      * and vice versa when composing an url.
27 27
      */
28
-    const REWRITE   = 0;
28
+    const REWRITE = 0;
29 29
 
30 30
     /**
31 31
      * The MOVE type yields a 301 response with the internal url if the public url is matched
32 32
      */
33
-    const MOVE      = 301;
33
+    const MOVE = 301;
34 34
 
35 35
     /**
36 36
      * The ALIAS type yields a 302 response with the internal url if the public url is matched
37 37
      */
38
-    const ALIAS     = 302;
38
+    const ALIAS = 302;
39 39
 
40 40
     /**
41 41
      * @ORM\Id
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Form/Extension/TinymceTypeExtension.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function getExtendedType()
42 42
     {
43
-       return TinymceTypeExtension::class;
43
+        return TinymceTypeExtension::class;
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Url/Params/UriParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
             if ($external = $this->translateKeyOutput($param)) {
122 122
                 $param = $external;
123 123
             }
124
-            $ret .= $param . $this->seperators['key_value'];
124
+            $ret .= $param.$this->seperators['key_value'];
125 125
             $firstValue = true;
126 126
             foreach ($values as $value) {
127 127
                 if ($external = $this->translateValueOutput($internal, $value)) {
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Url/DelegatingProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         $objectType = is_object($object)
69 69
             ? get_class($object)
70
-            : (gettype($object) . ' (' . var_export($object, true) . ')');
70
+            : (gettype($object).' ('.var_export($object, true).')');
71 71
 
72 72
         throw new UnsupportedException("Can not render url for {$objectType}");
73 73
     }
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Aliasing/Mapper/JsonHalMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function processAliasing($content, $mode, Rewriter $rewriter)
33 33
     {
34
-        $options = JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT;
34
+        $options = JSON_HEX_TAG|JSON_HEX_APOS|JSON_HEX_AMP|JSON_HEX_QUOT;
35 35
 
36 36
         // Json is escaped by default we remove the escaping to replace the url. The escaping is added after
37 37
         $content = json_encode(json_decode($content, false, 512, $options), JSON_UNESCAPED_SLASHES);
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Aliasing/Listener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 }
89 89
 
90 90
                 if (null !== $relative && null !== ($url = $this->aliasing->hasPublicAlias($relative))) {
91
-                    $rewrite = $absolutePrefix . $url . $suffix;
91
+                    $rewrite = $absolutePrefix.$url.$suffix;
92 92
                     $response->headers->set('location', $rewrite);
93 93
                 }
94 94
             }
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
                     $request->query->add($parser->parseUri(join('/', array_reverse($params))));
178 178
 
179 179
                     if (!$this->aliasing->hasInternalAlias($publicUrl, false)) {
180
-                        $this->rewriteRequest($event, $publicUrl . $queryString);
180
+                        $this->rewriteRequest($event, $publicUrl.$queryString);
181 181
 
182 182
                         return;
183 183
                     }
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.