Passed
Push — master ( 502a73...9f4d43 )
by Dominik
01:58
created
src/Provider/SerializationProvider.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Serialization\Provider;
6 6
 
@@ -21,22 +21,22 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function register(Container $container)
23 23
     {
24
-        $container['serializer.objectmappings'] = function () {
24
+        $container['serializer.objectmappings'] = function() {
25 25
             return [];
26 26
         };
27 27
 
28
-        $container['serializer.objectmappingregistry'] = function () use ($container) {
28
+        $container['serializer.objectmappingregistry'] = function() use ($container) {
29 29
             return new ObjectMappingRegistry($container['serializer.objectmappings']);
30 30
         };
31 31
 
32
-        $container['serializer'] = function () use ($container) {
32
+        $container['serializer'] = function() use ($container) {
33 33
             return new Serializer(
34 34
                 $container['serializer.objectmappingregistry'],
35 35
                 $container['logger'] ?? null
36 36
             );
37 37
         };
38 38
 
39
-        $container['serializer.transformer'] = function () use ($container) {
39
+        $container['serializer.transformer'] = function() use ($container) {
40 40
             return new Transformer([
41 41
                 $container['serializer.transformer.json'],
42 42
                 $container['serializer.transformer.urlencoded'],
@@ -45,19 +45,19 @@  discard block
 block discarded – undo
45 45
             ]);
46 46
         };
47 47
 
48
-        $container['serializer.transformer.json'] = function () {
48
+        $container['serializer.transformer.json'] = function() {
49 49
             return new JsonTransformer();
50 50
         };
51 51
 
52
-        $container['serializer.transformer.urlencoded'] = function () {
52
+        $container['serializer.transformer.urlencoded'] = function() {
53 53
             return new UrlEncodedTransformer();
54 54
         };
55 55
 
56
-        $container['serializer.transformer.xml'] = function () {
56
+        $container['serializer.transformer.xml'] = function() {
57 57
             return new XmlTransformer();
58 58
         };
59 59
 
60
-        $container['serializer.transformer.yaml'] = function () {
60
+        $container['serializer.transformer.yaml'] = function() {
61 61
             return new YamlTransformer();
62 62
         };
63 63
     }
Please login to merge, or discard this patch.
src/TransformerInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Serialization;
6 6
 
Please login to merge, or discard this patch.
src/Transformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\Serialization;
6 6
 
Please login to merge, or discard this patch.