Passed
Push — master ( 1dc501...372ce1 )
by
unknown
01:14 queued 13s
created
src/MakeCTeOS.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
                 $this->dom->appChild($this->rodo, $this->infFretamento, 'Falta tag "infFretamento"');
304 304
                 $this->dom->appChild($this->infModal, $this->rodo, 'Falta tag "rodo"');
305 305
             }
306
-            if(!empty($this->infCteSub)){ // Caso seja um CT-e OS tipo substituição
306
+            if (!empty($this->infCteSub)) { // Caso seja um CT-e OS tipo substituição
307 307
                 $this->dom->appChild($this->infCTeNorm, $this->infCteSub, 'Falta tag "infCteSub"');
308 308
             }
309 309
         }
@@ -599,7 +599,7 @@  discard block
 block discarded – undo
599 599
         $std = $this->equilizeParameters($std, $possible);
600 600
         $identificador = '#4 <infPercurso> - ';
601 601
         $this->infPercurso[] = $this->dom->createElement('infPercurso');
602
-        $posicao = (int)count($this->infPercurso) - 1;
602
+        $posicao = (int) count($this->infPercurso) - 1;
603 603
         $this->dom->addChild(
604 604
             $this->infPercurso[$posicao],
605 605
             'UFPer',
@@ -678,7 +678,7 @@  discard block
 block discarded – undo
678 678
         $identificador = '#91 <ObsCont> - ';
679 679
         if (count($this->obsCont) <= 10) {
680 680
             $this->obsCont[] = $this->dom->createElement('ObsCont');
681
-            $posicao = (int)count($this->obsCont) - 1;
681
+            $posicao = (int) count($this->obsCont) - 1;
682 682
             $this->obsCont[$posicao]->setAttribute('xCampo', $std->xCampo);
683 683
             $this->dom->addChild(
684 684
                 $this->obsCont[$posicao],
@@ -716,7 +716,7 @@  discard block
 block discarded – undo
716 716
         $identificador = '#94 <ObsFisco> - ';
717 717
         if (count($this->obsFisco) <= 10) {
718 718
             $this->obsFisco[] = $this->dom->createElement('ObsFisco');
719
-            $posicao = (int)count($this->obsFisco) - 1;
719
+            $posicao = (int) count($this->obsFisco) - 1;
720 720
             $this->obsFisco[$posicao]->setAttribute('xCampo', $std->xCampo);
721 721
             $this->dom->addChild(
722 722
                 $this->obsFisco[$posicao],
@@ -1106,7 +1106,7 @@  discard block
 block discarded – undo
1106 1106
         $std = $this->equilizeParameters($std, $possible);
1107 1107
         $identificador = '#65 <Comp> - ';
1108 1108
         $this->comp[] = $this->dom->createElement('Comp');
1109
-        $posicao = (int)count($this->comp) - 1;
1109
+        $posicao = (int) count($this->comp) - 1;
1110 1110
         $this->dom->addChild(
1111 1111
             $this->comp[$posicao],
1112 1112
             'xNome',
@@ -1593,7 +1593,7 @@  discard block
 block discarded – undo
1593 1593
         $std = $this->equilizeParameters($std, $possible);
1594 1594
         $ident = '#319 <infDocRef> - ';
1595 1595
         $this->infDocRef[] = $this->dom->createElement('infDocRef');
1596
-        $posicao = (int)count($this->infDocRef) - 1;
1596
+        $posicao = (int) count($this->infDocRef) - 1;
1597 1597
         if (!empty($std->chBPe)) {
1598 1598
             $this->dom->addChild(
1599 1599
                 $this->infDocRef[$posicao],
@@ -1658,7 +1658,7 @@  discard block
 block discarded – undo
1658 1658
         $std = $this->equilizeParameters($std, $possible);
1659 1659
         $identificador = '#360 <seg> - ';
1660 1660
         $this->seg[] = $this->dom->createElement('seg');
1661
-        $posicao = (int)count($this->seg) - 1;
1661
+        $posicao = (int) count($this->seg) - 1;
1662 1662
         $this->dom->addChild(
1663 1663
             $this->seg[$posicao],
1664 1664
             'respSeg',
@@ -2088,7 +2088,7 @@  discard block
 block discarded – undo
2088 2088
         $std = $this->equilizeParameters($std, $possible);
2089 2089
         $identificador = '#65 <comp> - ';
2090 2090
         $this->infGTVe[] = $this->dom->createElement('infGTVe');
2091
-        $posicao = (int)count($this->infGTVe) - 1;
2091
+        $posicao = (int) count($this->infGTVe) - 1;
2092 2092
         $this->dom->addChild(
2093 2093
             $this->infGTVe[$posicao],
2094 2094
             'chCTe',
@@ -2139,7 +2139,7 @@  discard block
 block discarded – undo
2139 2139
             false,
2140 2140
             $identificador . 'Nome do componente (informar apenas para outros)'
2141 2141
         );
2142
-        $posicao = (int)count($this->infGTVe) - 1;
2142
+        $posicao = (int) count($this->infGTVe) - 1;
2143 2143
         $this->dom->appChild($this->infGTVe[$posicao], $comp, 'Inclui Comp na tag infGTVe');
2144 2144
         return $comp;
2145 2145
     }
Please login to merge, or discard this patch.