Test Setup Failed
Pull Request — master (#63)
by Ezra
16:55
created
source/FluidXml/FluidContext.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@
 block discarded – undo
8 8
 class FluidContext implements FluidInterface, \ArrayAccess, \Iterator
9 9
 {
10 10
         use FluidAliasesTrait,
11
-            FluidSaveTrait,
12
-            NewableTrait,
13
-            ReservedCallTrait,          // For compatibility with PHP 5.6.
14
-            ReservedCallStaticTrait;
11
+                FluidSaveTrait,
12
+                NewableTrait,
13
+                ReservedCallTrait,          // For compatibility with PHP 5.6.
14
+                ReservedCallStaticTrait;
15 15
         private array $nodes = [];
16 16
         private int $seek = 0;
17 17
 
Please login to merge, or discard this patch.
source/FluidXml/FluidXml.php 1 patch
Indentation   +11 added lines, -11 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
         final public const ROOT_NODE = 'doc';
18 18
 
19 19
         private array $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 readonly \FluidXml\FluidDocument $document;
25 25
         private readonly \FluidXml\FluidInsertionHandler $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): array
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
         {
99 99
                 if (! empty($options['stylesheet'])) {
100 100
                         $attrs = 'type="text/xsl" '
101
-                               . "encoding=\"{$options['encoding']}\" "
102
-                               . 'indent="yes" '
103
-                               . "href=\"{$options['stylesheet']}\"";
101
+                                . "encoding=\"{$options['encoding']}\" "
102
+                                . 'indent="yes" '
103
+                                . "href=\"{$options['stylesheet']}\"";
104 104
 
105 105
                         $stylesheet = new \DOMProcessingInstruction('xml-stylesheet', $attrs);
106 106
 
Please login to merge, or discard this patch.
source/FluidXml/FluidNamespace.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
         final public const MODE_EXPLICIT = 1;
13 13
 
14 14
         private array $config = [ self::ID   => '',
15
-                            self::URI  => '',
16
-                            self::MODE => self::MODE_EXPLICIT ];
15
+                                self::URI  => '',
16
+                                self::MODE => self::MODE_EXPLICIT ];
17 17
 
18 18
         public function __construct($id, $uri, $mode = 1)
19 19
         {
Please login to merge, or discard this patch.