Completed
Push — master ( 64dcc0...a65b19 )
by Benjamin
04:08 queued 01:53
created
src/Negotiation/FormatNegotiator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 class FormatNegotiator extends \Negotiation\FormatNegotiator
6 6
 {
7 7
     protected $formats = array(
8
-      'json' => array('application/json', 'application/x-json', 'application/json+oembed', 'text/javascript; charset=UTF-8'),
9
-      'xml' => array('text/xml', 'application/xml', 'application/x-xml', 'text/xml+oembed'),
8
+        'json' => array('application/json', 'application/x-json', 'application/json+oembed', 'text/javascript; charset=UTF-8'),
9
+        'xml' => array('text/xml', 'application/xml', 'application/x-xml', 'text/xml+oembed'),
10 10
     );
11 11
 }
Please login to merge, or discard this patch.
src/Serializer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,11 +54,11 @@
 block discarded – undo
54 54
     {
55 55
         $nameConverter = new CamelCaseToSnakeCaseNameConverter();
56 56
         $serializer = new SymfonySerializer([
57
-          new PropertyNormalizer(null, $nameConverter),
58
-          new GetSetMethodNormalizer(null, $nameConverter),
57
+            new PropertyNormalizer(null, $nameConverter),
58
+            new GetSetMethodNormalizer(null, $nameConverter),
59 59
         ], [
60
-          new JsonEncoder(),
61
-          new XmlEncoder('oembed'),
60
+            new JsonEncoder(),
61
+            new XmlEncoder('oembed'),
62 62
         ]);
63 63
 
64 64
         return new self($serializer, $map);
Please login to merge, or discard this patch.