Passed
Push — main ( 1cc6a3...3edd16 )
by Daniel
02:07
created
source/TraitHeader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
                 'TaxTotal'                => $this->getTaxTotal($arrayParams['CAC']->TaxTotal),
50 50
             ],
51 51
         ];
52
-        $intLineNo     = 0;
52
+        $intLineNo = 0;
53 53
         if (isset($arrayParams['CAC']->PaymentMeans)) {
54 54
             foreach ($arrayParams['CAC']->PaymentMeans as $child) {
55 55
                 $intLineNo++;
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                     ->CreditNoteTypeCode->__toString();
97 97
                 break;
98 98
             case 'Invoice':
99
-                $arrayOutput['InvoiceTypeCode']    = (integer) $objCommonBasicComponents
99
+                $arrayOutput['InvoiceTypeCode'] = (integer) $objCommonBasicComponents
100 100
                     ->InvoiceTypeCode->__toString();
101 101
                 break;
102 102
         }
Please login to merge, or discard this patch.
source/TraitLines.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
                     ];
126 126
                     break;
127 127
                 case 'SellersItemIdentification':
128
-                    $arrayOutput[$strName]['ID']                     = $value->children('cbc', true)->ID->__toString();
128
+                    $arrayOutput[$strName]['ID'] = $value->children('cbc', true)->ID->__toString();
129 129
                     break;
130 130
             }
131 131
         }
Please login to merge, or discard this patch.
source/ElectornicInvoiceRead.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
             'DocumentNameSpaces' => $arrayDocument['DocumentNameSpaces'],
60 60
             'DocumentTagName'    => $arrayDocument['DocumentTagName'],
61 61
         ]);
62
-        $arrayDocument['Lines']  = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
62
+        $arrayDocument['Lines'] = $this->getDocumentLines($objFile, $arrayDocument['DocumentTagName']);
63 63
         return $arrayDocument;
64 64
     }
65 65
 }
Please login to merge, or discard this patch.
source/ElectornicInvoiceWrite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     }
96 96
 
97 97
     private function setHeaderCommonAggregateComponentsCompanies(array $arrayParameters): void {
98
-        $key              = $arrayParameters['tag'];
98
+        $key = $arrayParameters['tag'];
99 99
         $this->setElementComment($key, 'CAC', $arrayParameters['comments']);
100 100
         $this->objXmlWriter->startElement('cac:' . $key);
101 101
         $this->objXmlWriter->startElement('cac:Party');
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
         $this->objXmlWriter->startDocument('1.0', 'UTF-8');
178 178
         // if no DocumentNameSpaces seen take Default ones from local configuration
179 179
         $this->getSettingsFromFileIntoMemory();
180
-        $arrayDefaults      = $this->getDefaultsIntoDataSet($arrayData);
180
+        $arrayDefaults = $this->getDefaultsIntoDataSet($arrayData);
181 181
         if ($arrayDefaults !== []) {
182 182
             $arrayData = array_merge($arrayData, $arrayDefaults['Root']);
183 183
             if (!array_key_exists('CustomizationID', $arrayData['Header']['CommonBasicComponents-2'])) {
Please login to merge, or discard this patch.