Passed
Pull Request — master (#35)
by
unknown
05:31
created
source/FluidXml/FluidXml.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -9,17 +9,17 @@  discard block
 block discarded – undo
9 9
 class FluidXml implements FluidInterface
10 10
 {
11 11
         use FluidAliasesTrait,
12
-            FluidSaveTrait,
13
-            NewableTrait,
14
-            ReservedCallTrait,          // For compatibility with PHP 5.6.
15
-            ReservedCallStaticTrait;    // For compatibility with PHP 5.6.
12
+                FluidSaveTrait,
13
+                NewableTrait,
14
+                ReservedCallTrait,          // For compatibility with PHP 5.6.
15
+                ReservedCallStaticTrait;    // For compatibility with PHP 5.6.
16 16
 
17 17
         const ROOT_NODE = 'doc';
18 18
 
19 19
         private $defaults = [ 'root'       => self::ROOT_NODE,
20
-                              'version'    => '1.0',
21
-                              'encoding'   => 'UTF-8',
22
-                              'stylesheet' => null ];
20
+                                'version'    => '1.0',
21
+                                'encoding'   => 'UTF-8',
22
+                                'stylesheet' => null ];
23 23
 
24 24
         private $document;
25 25
         private $handler;
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
                 // Now, we can further populate the DOM with any stylesheet or child.
65 65
                 $this->initStylesheet($options)
66
-                     ->initRoot($options);
66
+                        ->initRoot($options);
67 67
         }
68 68
 
69 69
         protected function mergeOptions(&$arguments)
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 $dom->formatOutput       = true;
92 92
                 $dom->preserveWhiteSpace = false;
93 93
                 if (array_key_exists('standalone', $options)) {
94
-                    $dom->xmlStandalone = (bool) $options['standalone'];
94
+                        $dom->xmlStandalone = (bool) $options['standalone'];
95 95
                 }
96 96
 
97 97
                 return $dom;
@@ -101,9 +101,9 @@  discard block
 block discarded – undo
101 101
         {
102 102
                 if (! empty($options['stylesheet'])) {
103 103
                         $attrs = 'type="text/xsl" '
104
-                               . "encoding=\"{$options['encoding']}\" "
105
-                               . 'indent="yes" '
106
-                               . "href=\"{$options['stylesheet']}\"";
104
+                                . "encoding=\"{$options['encoding']}\" "
105
+                                . 'indent="yes" '
106
+                                . "href=\"{$options['stylesheet']}\"";
107 107
 
108 108
                         $stylesheet = new \DOMProcessingInstruction('xml-stylesheet', $attrs);
109 109
 
Please login to merge, or discard this patch.