Passed
Push — master ( 3f6c81...9262e8 )
by
unknown
01:50 queued 15s
created
src/MakeCTe.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -1668,7 +1668,7 @@  discard block
 block discarded – undo
1668 1668
         $identificador = '#91 <ObsCont> - ';
1669 1669
         if (count($this->obsCont) <= 10) {
1670 1670
             $this->obsCont[] = $this->dom->createElement('ObsCont');
1671
-            $posicao = (int)count($this->obsCont) - 1;
1671
+            $posicao = (int) count($this->obsCont) - 1;
1672 1672
             $this->obsCont[$posicao]->setAttribute('xCampo', $std->xCampo);
1673 1673
             $this->dom->addChild(
1674 1674
                 $this->obsCont[$posicao],
@@ -1706,7 +1706,7 @@  discard block
 block discarded – undo
1706 1706
         $identificador = '#94 <ObsFisco> - ';
1707 1707
         if (count($this->obsFisco) <= 10) {
1708 1708
             $this->obsFisco[] = $this->dom->createElement('ObsFisco');
1709
-            $posicao = (int)count($this->obsFisco) - 1;
1709
+            $posicao = (int) count($this->obsFisco) - 1;
1710 1710
             $this->obsFisco[$posicao]->setAttribute('xCampo', $std->xCampo);
1711 1711
             $this->dom->addChild(
1712 1712
                 $this->obsFisco[$posicao],
@@ -2683,7 +2683,7 @@  discard block
 block discarded – undo
2683 2683
         $std = $this->equilizeParameters($std, $possible);
2684 2684
         $identificador = '#65 <pass> - ';
2685 2685
         $this->comp[] = $this->dom->createElement('Comp');
2686
-        $posicao = (int)count($this->comp) - 1;
2686
+        $posicao = (int) count($this->comp) - 1;
2687 2687
         $this->dom->addChild(
2688 2688
             $this->comp[$posicao],
2689 2689
             'xNome',
@@ -2808,7 +2808,7 @@  discard block
 block discarded – undo
2808 2808
                     true,
2809 2809
                     "$identificador  Valor do ICMS"
2810 2810
                 );
2811
-                if($std->vICMSDeson > 0 && $std->cBenef) {
2811
+                if ($std->vICMSDeson > 0 && $std->cBenef) {
2812 2812
                     $this->dom->addChild(
2813 2813
                         $icms,
2814 2814
                         'vICMSDeson',
@@ -2834,7 +2834,7 @@  discard block
 block discarded – undo
2834 2834
                     true,
2835 2835
                     "$identificador  Tributação do ICMS = 40"
2836 2836
                 );
2837
-                if($std->vICMSDeson > 0 && $std->cBenef) {
2837
+                if ($std->vICMSDeson > 0 && $std->cBenef) {
2838 2838
                     $this->dom->addChild(
2839 2839
                         $icms,
2840 2840
                         'vICMSDeson',
@@ -2860,7 +2860,7 @@  discard block
 block discarded – undo
2860 2860
                     true,
2861 2861
                     "$identificador  Tributação do ICMS = 41"
2862 2862
                 );
2863
-                if($std->vICMSDeson > 0 && $std->cBenef) {
2863
+                if ($std->vICMSDeson > 0 && $std->cBenef) {
2864 2864
                     $this->dom->addChild(
2865 2865
                         $icms,
2866 2866
                         'vICMSDeson',
@@ -2886,7 +2886,7 @@  discard block
 block discarded – undo
2886 2886
                     true,
2887 2887
                     "$identificador  Tributação do ICMS = 51"
2888 2888
                 );
2889
-                if($std->vICMSDeson > 0 && $std->cBenef) {
2889
+                if ($std->vICMSDeson > 0 && $std->cBenef) {
2890 2890
                     $this->dom->addChild(
2891 2891
                         $icms,
2892 2892
                         'vICMSDeson',
@@ -2942,7 +2942,7 @@  discard block
 block discarded – undo
2942 2942
                         "$identificador  Valor do Crédito"
2943 2943
                     );
2944 2944
                 }
2945
-                if($std->vICMSDeson > 0 && $std->cBenef) {
2945
+                if ($std->vICMSDeson > 0 && $std->cBenef) {
2946 2946
                     $this->dom->addChild(
2947 2947
                         $icms,
2948 2948
                         'vICMSDeson',
@@ -3000,7 +3000,7 @@  discard block
 block discarded – undo
3000 3000
                         true,
3001 3001
                         "$identificador Valor ICMS Outra UF"
3002 3002
                     );
3003
-                    if($std->vICMSDeson > 0) {
3003
+                    if ($std->vICMSDeson > 0) {
3004 3004
                         $this->dom->addChild(
3005 3005
                             $icms,
3006 3006
                             'vICMSDeson',
@@ -3009,7 +3009,7 @@  discard block
 block discarded – undo
3009 3009
                             "$identificador  Valor do ICMS Desonerado"
3010 3010
                         );
3011 3011
                     }
3012
-                    if($std->cBenef) {
3012
+                    if ($std->cBenef) {
3013 3013
                         $this->dom->addChild(
3014 3014
                             $icms,
3015 3015
                             'cBenef',
@@ -3066,7 +3066,7 @@  discard block
 block discarded – undo
3066 3066
                             "$identificador  Valor do Crédido"
3067 3067
                         );
3068 3068
                     }
3069
-                    if($std->vICMSDeson > 0) {
3069
+                    if ($std->vICMSDeson > 0) {
3070 3070
                         $this->dom->addChild(
3071 3071
                             $icms,
3072 3072
                             'vICMSDeson',
@@ -3075,7 +3075,7 @@  discard block
 block discarded – undo
3075 3075
                             "$identificador  Valor do ICMS Desonerado"
3076 3076
                         );
3077 3077
                     }
3078
-                    if($std->cBenef) {
3078
+                    if ($std->cBenef) {
3079 3079
                         $this->dom->addChild(
3080 3080
                             $icms,
3081 3081
                             'cBenef',
@@ -3306,7 +3306,7 @@  discard block
 block discarded – undo
3306 3306
         $std = $this->equilizeParameters($std, $possible);
3307 3307
         $identificador = '#257 <infQ> - ';
3308 3308
         $this->infQ[] = $this->dom->createElement('infQ');
3309
-        $posicao = (int)count($this->infQ) - 1;
3309
+        $posicao = (int) count($this->infQ) - 1;
3310 3310
         $this->dom->addChild(
3311 3311
             $this->infQ[$posicao],
3312 3312
             'cUnid',
@@ -3789,7 +3789,7 @@  discard block
 block discarded – undo
3789 3789
         $std = $this->equilizeParameters($std, $possible);
3790 3790
         $identificador = '#345 <emiDocAnt> - ';
3791 3791
         $this->emiDocAnt[] = $this->dom->createElement('emiDocAnt');
3792
-        $posicao = (int)count($this->emiDocAnt) - 1;
3792
+        $posicao = (int) count($this->emiDocAnt) - 1;
3793 3793
         if (!empty($std->CNPJ)) {
3794 3794
             $this->dom->addChild(
3795 3795
                 $this->emiDocAnt[$posicao],
@@ -3845,7 +3845,7 @@  discard block
 block discarded – undo
3845 3845
         $std = $this->equilizeParameters($std, $possible);
3846 3846
         $identificador = '#358 <idDocAntEle> - ';
3847 3847
         $this->idDocAntEle[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntEle');
3848
-        $posicao = (int)count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1;
3848
+        $posicao = (int) count($this->idDocAntEle[count($this->emiDocAnt) - 1]) - 1;
3849 3849
         $this->dom->addChild(
3850 3850
             $this->idDocAntEle[count($this->emiDocAnt) - 1][$posicao],
3851 3851
             'chCTe',
@@ -3874,7 +3874,7 @@  discard block
 block discarded – undo
3874 3874
         $std = $this->equilizeParameters($std, $possible);
3875 3875
         $identificador = '#358 <idDocAntPap> - ';
3876 3876
         $this->idDocAntPap[count($this->emiDocAnt) - 1][] = $this->dom->createElement('idDocAntPap');
3877
-        $posicao = (int)count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1;
3877
+        $posicao = (int) count($this->idDocAntPap[count($this->emiDocAnt) - 1]) - 1;
3878 3878
         $this->dom->addChild(
3879 3879
             $this->idDocAntPap[count($this->emiDocAnt) - 1][$posicao],
3880 3880
             'tpDoc',
@@ -4137,7 +4137,7 @@  discard block
 block discarded – undo
4137 4137
         $std = $this->equilizeParameters($std, $possible);
4138 4138
         $identificador = '#12 <detCont> - ';
4139 4139
         $this->lacre[count($this->detCont) - 1][] = $this->dom->createElement('lacre');
4140
-        $posicao = (int)count($this->lacre[count($this->detCont) - 1]) - 1;
4140
+        $posicao = (int) count($this->lacre[count($this->detCont) - 1]) - 1;
4141 4141
         $this->dom->addChild(
4142 4142
             $this->lacre[count($this->detCont) - 1][$posicao],
4143 4143
             'nLacre',
@@ -4164,7 +4164,7 @@  discard block
 block discarded – undo
4164 4164
         $std = $this->equilizeParameters($std, $possible);
4165 4165
         $identificador = '#15 <detCont> <infNF> - ';
4166 4166
         $this->infNFCont[count($this->detCont) - 1][] = $this->dom->createElement('infNF');
4167
-        $posicao = (int)count($this->infNFCont[count($this->detCont) - 1]) - 1;
4167
+        $posicao = (int) count($this->infNFCont[count($this->detCont) - 1]) - 1;
4168 4168
         $this->dom->addChild(
4169 4169
             $this->infNFCont[count($this->detCont) - 1][$posicao],
4170 4170
             'serie',
@@ -4198,7 +4198,7 @@  discard block
 block discarded – undo
4198 4198
         $std = $this->equilizeParameters($std, $possible);
4199 4199
         $identificador = '#19 <infNFe> - ';
4200 4200
         $this->infNFeCont[count($this->detCont) - 1][] = $this->dom->createElement('infNFe');
4201
-        $posicao = (int)count($this->infNFeCont[count($this->detCont) - 1]) - 1;
4201
+        $posicao = (int) count($this->infNFeCont[count($this->detCont) - 1]) - 1;
4202 4202
         $this->dom->addChild(
4203 4203
             $this->infNFeCont[count($this->detCont) - 1][$posicao],
4204 4204
             'chave',
Please login to merge, or discard this patch.