Completed
Push — master ( abae97...fc5d0c )
by Breno
03:37 queued 01:48
created
src/XmlSigner/Signer.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             $node
55 55
         );
56 56
         return (string) '<?xml version="1.0" encoding="UTF-8"?>'
57
-           . $dom->saveXML($dom->documentElement, LIBXML_NOXMLDECL);
57
+            . $dom->saveXML($dom->documentElement, LIBXML_NOXMLDECL);
58 58
     }
59 59
 
60 60
     private function assertValidContent($content)
@@ -142,11 +142,11 @@  discard block
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-    * Calculate digest value for given node
146
-    * @param DOMNode $node
147
-    * @param string $algorithm
148
-    * @return string
149
-    */
145
+     * Calculate digest value for given node
146
+     * @param DOMNode $node
147
+     * @param string $algorithm
148
+     * @return string
149
+     */
150 150
     private function makeDigest(DOMNode $node, $algorithm)
151 151
     {
152 152
         $c14n = $this->canonize($node);
@@ -155,10 +155,10 @@  discard block
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-    * Reduced to the canonical form
159
-    * @param DOMNode $node
160
-    * @return string
161
-    */
158
+     * Reduced to the canonical form
159
+     * @param DOMNode $node
160
+     * @return string
161
+     */
162 162
     private function canonize(DOMNode $node)
163 163
     {
164 164
         return $node->C14N(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         $referenceNode->appendChild($transformsNode);
93 93
         $transfNode1 = $dom->createElement('Transform');
94 94
         $transformsNode->appendChild($transfNode1);
95
-        $transfNode1->setAttribute('Algorithm', self::XMLDSIGNS.'enveloped-signature');
95
+        $transfNode1->setAttribute('Algorithm', self::XMLDSIGNS . 'enveloped-signature');
96 96
         $transfNode2 = $dom->createElement('Transform');
97 97
         $transformsNode->appendChild($transfNode2);
98 98
         $transfNode2->setAttribute('Algorithm', self::C14N);
Please login to merge, or discard this patch.