Passed
Push — feature/ZICHTDEV-1097 ( 913e21...324a68 )
by Erik
03:19
created
src/Zicht/Bundle/UrlBundle/Url/Params/Params.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
         if (!$multiple) {
111 111
             if (!is_scalar($value)) {
112 112
                 throw new \InvalidArgumentException(
113
-                    'Invalid argument $value to with(), expected scalar, got ' . gettype($value)
113
+                    'Invalid argument $value to with(), expected scalar, got '.gettype($value)
114 114
                 );
115 115
             }
116 116
             if ($ret->contains($key, $value)) {
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Aliasing/DefaultAliasingStrategy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,11 +43,11 @@
 block discarded – undo
43 43
             }
44 44
         }
45 45
         if (!is_string($subject)) {
46
-            throw new \InvalidArgumentException('Expected a string or object as subject, got ' . gettype($subject));
46
+            throw new \InvalidArgumentException('Expected a string or object as subject, got '.gettype($subject));
47 47
         }
48 48
 
49 49
         if ($alias = $this->toAlias($subject)) {
50
-            return $this->basePath . $alias;
50
+            return $this->basePath.$alias;
51 51
         }
52 52
         return null;
53 53
     }
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
         $treeBuilder = new TreeBuilder();
23 23
         $rootNode = $treeBuilder->root('zicht_url');
24 24
 
25
-        $isBool = function ($v) {
25
+        $isBool = function($v) {
26 26
             return is_bool($v);
27 27
         };
28
-        $convertToEnabledKey = function ($v) {
28
+        $convertToEnabledKey = function($v) {
29 29
             return ['enabled' => $v];
30 30
         };
31 31
 
Please login to merge, or discard this patch.
test.foo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,4 +15,4 @@
 block discarded – undo
15 15
     }
16 16
 }
17 17
 
18
-var_dump($o);exit;
19 18
\ No newline at end of file
19
+var_dump($o); exit;
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Twig/UrlExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,13 +104,13 @@
 block discarded – undo
104 104
             try {
105 105
                 $this->static_refs[$name] = $this->provider->url($name);
106 106
             } catch (UnsupportedException $e) {
107
-                $this->static_refs[$name] = '/[static_reference: ' . $name . ']';
107
+                $this->static_refs[$name] = '/[static_reference: '.$name.']';
108 108
             }
109 109
         }
110 110
 
111 111
         $ret = $this->static_refs[$name];
112 112
         if ($params) {
113
-            $ret .= '?' . http_build_query($params, 0, '&');
113
+            $ret .= '?'.http_build_query($params, 0, '&');
114 114
         }
115 115
 
116 116
         return $ret;
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Validator/Constraints/ContainsValidUrls.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
      */
18 18
     public function validatedBy()
19 19
     {
20
-        return get_class($this) . 'Validator';
20
+        return get_class($this).'Validator';
21 21
     }
22 22
 }
Please login to merge, or discard this patch.
Zicht/Bundle/UrlBundle/Form/DataTransformer/AbstractAliasingTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * @param Aliasing $aliasing
31 31
      * @param int $mode
32 32
      */
33
-    public function __construct(Aliasing $aliasing, $mode = self::MODE_TO_PUBLIC | self::MODE_TO_INTERNAL)
33
+    public function __construct(Aliasing $aliasing, $mode = self::MODE_TO_PUBLIC|self::MODE_TO_INTERNAL)
34 34
     {
35 35
         $this->aliasing = $aliasing;
36 36
         $this->mode = $mode;
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/DependencyInjection/ZichtUrlExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function load(array $configs, ContainerBuilder $container)
28 28
     {
29
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
29
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
30 30
         $loader->load('services.xml');
31 31
 
32 32
         $config = $this->processConfiguration(new Configuration(), $configs);
Please login to merge, or discard this patch.
src/Zicht/Bundle/UrlBundle/Url/Params/QueryStringUriParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function composeUri($params)
28 28
     {
29
-        $ret   = [];
29
+        $ret = [];
30 30
 
31 31
         foreach ($params as $param => $values) {
32 32
             $internal = $param;
Please login to merge, or discard this patch.