Completed
Push — master ( c6fa5e...bf7113 )
by Roberto
05:28 queued 02:36
created
src/Factories/EvtTabHorTur.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\Common\Certificate;
19 19
 use NFePHP\eSocial\Common\Factory;
20
-use NFePHP\eSocial\Common\FactoryId;
21 20
 use NFePHP\eSocial\Common\FactoryInterface;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $this->dom->addChild(
106 106
             $ide,
107 107
             "fimValid",
108
-            ! empty($this->std->fimvalid) ? $this->std->fimvalid : null,
108
+            !empty($this->std->fimvalid) ? $this->std->fimvalid : null,
109 109
             false
110 110
         );
111 111
         
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             $this->dom->addChild(
172 172
                 $nova,
173 173
                 "fimValid",
174
-                ! empty($this->std->novavalidade->fimvalid)
174
+                !empty($this->std->novavalidade->fimvalid)
175 175
                     ? $this->std->novavalidade->fimvalid
176 176
                     : null,
177 177
                 false
Please login to merge, or discard this patch.
src/Factories/EvtTabOperPort.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\Common\Certificate;
19 19
 use NFePHP\eSocial\Common\Factory;
20
-use NFePHP\eSocial\Common\FactoryId;
21 20
 use NFePHP\eSocial\Common\FactoryInterface;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      */
62 62
     protected function toNode()
63 63
     {
64
-         $ideEmpregador = $this->node->getElementsByTagName('ideEmpregador')->item(0);
64
+            $ideEmpregador = $this->node->getElementsByTagName('ideEmpregador')->item(0);
65 65
         //o idEvento pode variar de evento para evento
66 66
         //então cada factory individualmente terá de construir o seu
67 67
         $ideEvento = $this->dom->createElement("ideEvento");
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $this->dom->addChild(
106 106
             $ide,
107 107
             "fimValid",
108
-            ! empty($this->std->fimvalid) ? $this->std->fimvalid : null,
108
+            !empty($this->std->fimvalid) ? $this->std->fimvalid : null,
109 109
             false
110 110
         );
111 111
         
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             $this->dom->addChild(
172 172
                 $nova,
173 173
                 "fimValid",
174
-                ! empty($this->std->novavalidade->fimvalid)
174
+                !empty($this->std->novavalidade->fimvalid)
175 175
                     ? $this->std->novavalidade->fimvalid
176 176
                     : null,
177 177
                 false
Please login to merge, or discard this patch.
src/Factories/EvtTabLotacao.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\Common\Certificate;
19 19
 use NFePHP\eSocial\Common\Factory;
20
-use NFePHP\eSocial\Common\FactoryId;
21 20
 use NFePHP\eSocial\Common\FactoryInterface;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $this->dom->addChild(
106 106
             $ide,
107 107
             "fimValid",
108
-            ! empty($this->std->fimvalid) ? $this->std->fimvalid : null,
108
+            !empty($this->std->fimvalid) ? $this->std->fimvalid : null,
109 109
             false
110 110
         );
111 111
         
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             $this->dom->addChild(
172 172
                 $nova,
173 173
                 "fimValid",
174
-                ! empty($this->std->novavalidade->fimvalid)
174
+                !empty($this->std->novavalidade->fimvalid)
175 175
                     ? $this->std->novavalidade->fimvalid
176 176
                     : null,
177 177
                 false
Please login to merge, or discard this patch.
src/Factories/EvtTotConting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
         $this->dom->addChild(
124 124
             $ide,
125 125
             "email",
126
-            ! empty($this->std->email) ? $this->std->email : null,
126
+            !empty($this->std->email) ? $this->std->email : null,
127 127
             false
128 128
         );
129 129
         $this->node->appendChild($ide);
Please login to merge, or discard this patch.
src/Factories/EvtTSVAltContr.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -285,8 +285,7 @@
 block discarded – undo
285 285
                 $this->dom->addChild(
286 286
                     $instEnsino,
287 287
                     "bairro",
288
-                    !empty($this->std->estagiario->instituicao->bairro) ? $this->std->estagiario->instituicao->bairro :
289
-                        null,
288
+                    !empty($this->std->estagiario->instituicao->bairro) ? $this->std->estagiario->instituicao->bairro : null,
290 289
                     false
291 290
                 );
292 291
 
Please login to merge, or discard this patch.
src/Factories/EvtInfoEmpregador.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         $this->dom->addChild(
91 91
             $idePeriodo,
92 92
             "fimValid",
93
-            ! empty($this->std->ideperiodo->fimvalid) ? $this->std->ideperiodo->fimvalid : '',
93
+            !empty($this->std->ideperiodo->fimvalid) ? $this->std->ideperiodo->fimvalid : '',
94 94
             false
95 95
         );
96 96
 
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
             $this->dom->addChild(
233 233
                 $info,
234 234
                 "foneFixo",
235
-                ! empty($cad->foneFixo) ? $cad->foneFixo : '',
235
+                !empty($cad->foneFixo) ? $cad->foneFixo : '',
236 236
                 false
237 237
             );
238 238
             $this->dom->addChild(
@@ -250,8 +250,8 @@  discard block
 block discarded – undo
250 250
             $infoCadastro->appendChild($info);
251 251
         }
252 252
 
253
-        if (isset($this->std->infoop)  && !empty($infoCadastro)) {
254
-            $cad  = $this->std->infoop;
253
+        if (isset($this->std->infoop) && !empty($infoCadastro)) {
254
+            $cad = $this->std->infoop;
255 255
             $infoOP = $this->dom->createElement("infoOP");
256 256
             $this->dom->addChild(
257 257
                 $infoOP,
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
                 true
261 261
             );
262 262
             if (isset($this->std->infoefr)) {
263
-                $cad  = $this->std->infoefr;
263
+                $cad = $this->std->infoefr;
264 264
                 $infoEFR = $this->dom->createElement("infoEFR");
265 265
                 $this->dom->addChild(
266 266
                     $infoEFR,
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
                 $infoOP->appendChild($infoEFR);
278 278
             }
279 279
             if (isset($this->std->infoente)) {
280
-                $cad  = $this->std->infoente;
280
+                $cad = $this->std->infoente;
281 281
                 $infoEnte = $this->dom->createElement("infoEnte");
282 282
                 $this->dom->addChild(
283 283
                     $infoEnte,
Please login to merge, or discard this patch.