Test Failed
Push — master ( 60df1e...31104f )
by Roberto
03:02 queued 01:32
created
src/Factories/Traits/TraitS2399.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $this->dom->addChild(
21 21
             $ideEvento,
22 22
             "nrRecibo",
23
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
23
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
24 24
             false
25 25
         );
26 26
         $this->dom->addChild(
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
         $this->dom->addChild(
350 350
             $ideEvento,
351 351
             "nrRecibo",
352
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
352
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
353 353
             false
354 354
         );
355 355
         $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/Traits/TraitS2306.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,8 +188,7 @@  discard block
 block discarded – undo
188 188
                 $this->dom->addChild(
189 189
                     $instEnsino,
190 190
                     "bairro",
191
-                    !empty($this->std->estagiario->instituicao->bairro) ? $this->std->estagiario->instituicao->bairro :
192
-                        null,
191
+                    !empty($this->std->estagiario->instituicao->bairro) ? $this->std->estagiario->instituicao->bairro : null,
193 192
                     false
194 193
                 );
195 194
                 $this->dom->addChild(
@@ -369,7 +368,7 @@  discard block
 block discarded – undo
369 368
         if (!empty($this->std->cargofuncao)) {
370 369
             $carg = $this->std->cargofuncao;
371 370
             $infoComplementares = $this->dom->createElement("infoComplementares");
372
-            $cargoFuncao  = $this->dom->createElement("cargoFuncao");
371
+            $cargoFuncao = $this->dom->createElement("cargoFuncao");
373 372
             $this->dom->addChild(
374 373
                 $cargoFuncao,
375 374
                 "nmCargo",
Please login to merge, or discard this patch.
src/Factories/Traits/TraitS2298.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         $this->dom->addChild(
23 23
             $ideEvento,
24 24
             "nrRecibo",
25
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
25
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
26 26
             false
27 27
         );
28 28
         $this->dom->addChild(
@@ -76,13 +76,13 @@  discard block
 block discarded – undo
76 76
         $this->dom->addChild(
77 77
             $infoReintegr,
78 78
             "nrProcJud",
79
-            ! empty($this->std->nrprocjud) ? $this->std->nrprocjud : null,
79
+            !empty($this->std->nrprocjud) ? $this->std->nrprocjud : null,
80 80
             false
81 81
         );
82 82
         $this->dom->addChild(
83 83
             $infoReintegr,
84 84
             "nrLeiAnistia",
85
-            ! empty($this->std->nrleianistia) ? $this->std->nrleianistia : null,
85
+            !empty($this->std->nrleianistia) ? $this->std->nrleianistia : null,
86 86
             false
87 87
         );
88 88
         $this->dom->addChild(
@@ -176,13 +176,13 @@  discard block
 block discarded – undo
176 176
         $this->dom->addChild(
177 177
             $infoReintegr,
178 178
             "nrProcJud",
179
-            ! empty($this->std->nrprocjud) ? $this->std->nrprocjud : null,
179
+            !empty($this->std->nrprocjud) ? $this->std->nrprocjud : null,
180 180
             false
181 181
         );
182 182
         $this->dom->addChild(
183 183
             $infoReintegr,
184 184
             "nrLeiAnistia",
185
-            ! empty($this->std->nrleianistia) ? $this->std->nrleianistia : null,
185
+            !empty($this->std->nrleianistia) ? $this->std->nrleianistia : null,
186 186
             false
187 187
         );
188 188
         $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/Traits/TraitS2210.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $this->dom->addChild(
21 21
             $ideEvento,
22 22
             "nrRecibo",
23
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
23
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
24 24
             false
25 25
         );
26 26
         $this->dom->addChild(
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
         $this->dom->addChild(
350 350
             $ideEvento,
351 351
             "nrRecibo",
352
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
352
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
353 353
             false
354 354
         );
355 355
         $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/Traits/TraitS1005.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $this->dom->addChild(
60 60
             $ideEstab,
61 61
             "fimValid",
62
-            ! empty($this->std->fimvalid) ? $this->std->fimvalid : null,
62
+            !empty($this->std->fimvalid) ? $this->std->fimvalid : null,
63 63
             false
64 64
         );
65 65
 
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         }
73 73
         $node->appendChild($ideEstab);
74 74
 
75
-        if (! empty($this->std->dadosestab)) {
75
+        if (!empty($this->std->dadosestab)) {
76 76
             $dadosEstab = $this->dom->createElement("dadosEstab");
77 77
             $this->dom->addChild(
78 78
                 $dadosEstab,
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
                 $this->std->dadosestab->aliqgilrat->aliqrat,
88 88
                 true
89 89
             );
90
-            $fap = ! empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null;
90
+            $fap = !empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null;
91 91
             if ($fap) {
92 92
                 $fap = number_format($fap, 4, '.', '');
93 93
             }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
                 $fap,
98 98
                 false
99 99
             );
100
-            $aliqrata = ! empty($this->std->dadosestab->aliqgilrat->aliqratajust)
100
+            $aliqrata = !empty($this->std->dadosestab->aliqgilrat->aliqratajust)
101 101
                 ? $this->std->dadosestab->aliqgilrat->aliqratajust
102 102
                 : null;
103 103
             if ($aliqrata) {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
                 $aliqrata,
110 110
                 false
111 111
             );
112
-            if (! empty($this->std->dadosestab->aliqgilrat->procadmjudrat)) {
112
+            if (!empty($this->std->dadosestab->aliqgilrat->procadmjudrat)) {
113 113
                 $procAdmJudRat = $this->dom->createElement("procAdmJudRat");
114 114
                 $this->dom->addChild(
115 115
                     $procAdmJudRat,
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
                 );
132 132
                 $aliqGilrat->appendChild($procAdmJudRat);
133 133
             }
134
-            if (! empty($this->std->dadosestab->aliqgilrat->procadmjudfap)) {
134
+            if (!empty($this->std->dadosestab->aliqgilrat->procadmjudfap)) {
135 135
                 $procAdmJudFap = $this->dom->createElement("procAdmJudFap");
136 136
                 $this->dom->addChild(
137 137
                     $procAdmJudFap,
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
             }
156 156
             $dadosEstab->appendChild($aliqGilrat);
157 157
 
158
-            if (! empty($this->std->dadosestab->infocaepf)) {
158
+            if (!empty($this->std->dadosestab->infocaepf)) {
159 159
                 $infoCaepf = $this->dom->createElement("infoCaepf");
160 160
                 $this->dom->addChild(
161 161
                     $infoCaepf,
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
                 $dadosEstab->appendChild($infoCaepf);
167 167
             }
168 168
 
169
-            if (! empty($this->std->dadosestab->infoobra)) {
169
+            if (!empty($this->std->dadosestab->infoobra)) {
170 170
                 $infoObra = $this->dom->createElement("infoObra");
171 171
                 $this->dom->addChild(
172 172
                     $infoObra,
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
                 $this->std->dadosestab->infotrab->regpt,
185 185
                 true
186 186
             );
187
-            if (! empty($this->std->dadosestab->infoapr)) {
187
+            if (!empty($this->std->dadosestab->infoapr)) {
188 188
                 $infoApr = $this->dom->createElement("infoApr");
189 189
                 $this->dom->addChild(
190 190
                     $infoApr,
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
                 $this->dom->addChild(
196 196
                     $infoApr,
197 197
                     "nrProcJud",
198
-                    ! empty($this->std->dadosestab->infotrab->infoapr->nrprocjud)
198
+                    !empty($this->std->dadosestab->infotrab->infoapr->nrprocjud)
199 199
                         ? $this->std->dadosestab->infotrab->infoapr->nrprocjud
200 200
                         : null,
201 201
                     false
@@ -203,13 +203,13 @@  discard block
 block discarded – undo
203 203
                 $this->dom->addChild(
204 204
                     $infoApr,
205 205
                     "contEntEd",
206
-                    ! empty($this->std->dadosestab->infotrab->infoapr->contented)
206
+                    !empty($this->std->dadosestab->infotrab->infoapr->contented)
207 207
                         ? $this->std->dadosestab->infotrab->infoapr->contented
208 208
                         : null,
209 209
                     false
210 210
                 );
211 211
 
212
-                if (! empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) {
212
+                if (!empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) {
213 213
                     foreach ($this->std->dadosestab->infotrab->infoapr->infoenteduc as $edu) {
214 214
                         $infoEntEduc = $this->dom->createElement("infoEntEduc");
215 215
                         $this->dom->addChild(
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 
225 225
                 $infoTrab->appendChild($infoApr);
226 226
             }
227
-            if (! empty($this->std->dadosestab->infotrab->infopdc)) {
227
+            if (!empty($this->std->dadosestab->infotrab->infopdc)) {
228 228
                 $infoPCD = $this->dom->createElement("infoPCD");
229 229
                 $this->dom->addChild(
230 230
                     $infoPCD,
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
                 $this->dom->addChild(
236 236
                     $infoPCD,
237 237
                     "nrProcJud",
238
-                    ! empty($this->std->dadosestab->infotrab->infopdc->nrprocjud)
238
+                    !empty($this->std->dadosestab->infotrab->infopdc->nrprocjud)
239 239
                         ? $this->std->dadosestab->infotrab->infopdc->nrprocjud
240 240
                         : null,
241 241
                     false
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
             $node->appendChild($dadosEstab);
247 247
         }
248 248
 
249
-        if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') {
249
+        if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') {
250 250
             $newVal = $this->std->novavalidade;
251 251
             $novaValidade = $this->dom->createElement("novaValidade");
252 252
             $this->dom->addChild(
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
             $this->dom->addChild(
259 259
                 $novaValidade,
260 260
                 "fimValid",
261
-                ! empty($newVal->fimvalid) ? $newVal->fimvalid : null,
261
+                !empty($newVal->fimvalid) ? $newVal->fimvalid : null,
262 262
                 false
263 263
             );
264 264
             $node->appendChild($novaValidade);
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
             $this->dom->addChild(
354 354
                 $aliqGilrat,
355 355
                 "aliqRat",
356
-                ! empty($this->std->dadosestab->aliqgilrat->aliqrat) ? $this->std->dadosestab->aliqgilrat->aliqrat : null,
356
+                !empty($this->std->dadosestab->aliqgilrat->aliqrat) ? $this->std->dadosestab->aliqgilrat->aliqrat : null,
357 357
                 false
358 358
             );
359 359
             $fap = !empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null;
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
                 );
422 422
                 $dadosEstab->appendChild($infoCaepf);
423 423
             }
424
-            if (! empty($this->std->dadosestab->infoobra)) {
424
+            if (!empty($this->std->dadosestab->infoobra)) {
425 425
                 $infoObra = $this->dom->createElement("infoObra");
426 426
                 $this->dom->addChild(
427 427
                     $infoObra,
@@ -438,12 +438,12 @@  discard block
 block discarded – undo
438 438
                     $this->dom->addChild(
439 439
                         $infoApr,
440 440
                         "nrProcJud",
441
-                        ! empty($this->std->dadosestab->infotrab->infoapr->nrprocjud)
441
+                        !empty($this->std->dadosestab->infotrab->infoapr->nrprocjud)
442 442
                             ? $this->std->dadosestab->infotrab->infoapr->nrprocjud
443 443
                             : null,
444 444
                         false
445 445
                     );
446
-                    if (! empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) {
446
+                    if (!empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) {
447 447
                         foreach ($this->std->dadosestab->infotrab->infoapr->infoenteduc as $edu) {
448 448
                             $infoEntEduc = $this->dom->createElement("infoEntEduc");
449 449
                             $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/Traits/TraitS2200.php 1 patch
Spacing   +85 added lines, -85 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $this->dom->addChild(
21 21
             $ideEvento,
22 22
             "nrRecibo",
23
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
23
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
24 24
             false
25 25
         );
26 26
         $this->dom->addChild(
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $this->dom->addChild(
79 79
             $trabalhador,
80 80
             "estCiv",
81
-            ! empty($this->std->estciv) ? $this->std->estciv : null,
81
+            !empty($this->std->estciv) ? $this->std->estciv : null,
82 82
             false
83 83
         );
84 84
         $this->dom->addChild(
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         $this->dom->addChild(
97 97
             $trabalhador,
98 98
             "nmSoc",
99
-            ! empty($this->std->nmsoc) ? $this->std->nmsoc : null,
99
+            !empty($this->std->nmsoc) ? $this->std->nmsoc : null,
100 100
             false
101 101
         );
102 102
 
@@ -111,13 +111,13 @@  discard block
 block discarded – undo
111 111
         $this->dom->addChild(
112 112
             $nascimento,
113 113
             "codMunic",
114
-            ! empty($this->std->codmunic) ? $this->std->codmunic : null,
114
+            !empty($this->std->codmunic) ? $this->std->codmunic : null,
115 115
             false
116 116
         );
117 117
         $this->dom->addChild(
118 118
             $nascimento,
119 119
             "uf",
120
-            ! empty($this->std->uf) ? $this->std->uf : null,
120
+            !empty($this->std->uf) ? $this->std->uf : null,
121 121
             false
122 122
         );
123 123
         $this->dom->addChild(
@@ -135,13 +135,13 @@  discard block
 block discarded – undo
135 135
         $this->dom->addChild(
136 136
             $nascimento,
137 137
             "nmMae",
138
-            ! empty($this->std->nmmae) ? $this->std->nmmae : null,
138
+            !empty($this->std->nmmae) ? $this->std->nmmae : null,
139 139
             false
140 140
         );
141 141
         $this->dom->addChild(
142 142
             $nascimento,
143 143
             "nmPai",
144
-            ! empty($this->std->nmpai) ? $this->std->nmpai : null,
144
+            !empty($this->std->nmpai) ? $this->std->nmpai : null,
145 145
             false
146 146
         );
147 147
         $trabalhador->appendChild($nascimento);
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
             $this->dom->addChild(
192 192
                 $ric,
193 193
                 "dtExped",
194
-                ! empty($doc->dtexped) ? $doc->dtexped : null,
194
+                !empty($doc->dtexped) ? $doc->dtexped : null,
195 195
                 false
196 196
             );
197 197
             $documentos->appendChild($ric);
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
             $this->dom->addChild(
216 216
                 $rg,
217 217
                 "dtExped",
218
-                ! empty($doc->dtexped) ? $doc->dtexped : null,
218
+                !empty($doc->dtexped) ? $doc->dtexped : null,
219 219
                 false
220 220
             );
221 221
             $documentos->appendChild($rg);
@@ -239,13 +239,13 @@  discard block
 block discarded – undo
239 239
             $this->dom->addChild(
240 240
                 $rne,
241 241
                 "dtExped",
242
-                ! empty($doc->dtexped) ? $doc->dtexped : null,
242
+                !empty($doc->dtexped) ? $doc->dtexped : null,
243 243
                 false
244 244
             );
245 245
             $this->dom->addChild(
246 246
                 $rne,
247 247
                 "dtValid",
248
-                ! empty($doc->dtvalid) ? $doc->dtvalid : null,
248
+                !empty($doc->dtvalid) ? $doc->dtvalid : null,
249 249
                 false
250 250
             );
251 251
             $documentos->appendChild($rne);
@@ -269,13 +269,13 @@  discard block
 block discarded – undo
269 269
             $this->dom->addChild(
270 270
                 $oc,
271 271
                 "dtExped",
272
-                ! empty($doc->dtexped) ? $doc->dtexped : null,
272
+                !empty($doc->dtexped) ? $doc->dtexped : null,
273 273
                 false
274 274
             );
275 275
             $this->dom->addChild(
276 276
                 $oc,
277 277
                 "dtValid",
278
-                ! empty($doc->dtvalid) ? $doc->dtvalid : null,
278
+                !empty($doc->dtvalid) ? $doc->dtvalid : null,
279 279
                 false
280 280
             );
281 281
             $documentos->appendChild($oc);
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
             $this->dom->addChild(
294 294
                 $cnh,
295 295
                 "dtExped",
296
-                ! empty($doc->dtexped) ? $doc->dtexped : null,
296
+                !empty($doc->dtexped) ? $doc->dtexped : null,
297 297
                 false
298 298
             );
299 299
             $this->dom->addChild(
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
             $this->dom->addChild(
312 312
                 $cnh,
313 313
                 "dtPriHab",
314
-                ! empty($doc->dtprihab) ? $doc->dtprihab : null,
314
+                !empty($doc->dtprihab) ? $doc->dtprihab : null,
315 315
                 false
316 316
             );
317 317
             $this->dom->addChild(
@@ -350,13 +350,13 @@  discard block
 block discarded – undo
350 350
             $this->dom->addChild(
351 351
                 $brasil,
352 352
                 "complemento",
353
-                ! empty($end->complemento) ? $end->complemento : null,
353
+                !empty($end->complemento) ? $end->complemento : null,
354 354
                 false
355 355
             );
356 356
             $this->dom->addChild(
357 357
                 $brasil,
358 358
                 "bairro",
359
-                ! empty($end->bairro) ? $end->bairro : null,
359
+                !empty($end->bairro) ? $end->bairro : null,
360 360
                 true
361 361
             );
362 362
             $this->dom->addChild(
@@ -403,13 +403,13 @@  discard block
 block discarded – undo
403 403
             $this->dom->addChild(
404 404
                 $exterior,
405 405
                 "complemento",
406
-                ! empty($end->complemento) ? $end->complemento : null,
406
+                !empty($end->complemento) ? $end->complemento : null,
407 407
                 false
408 408
             );
409 409
             $this->dom->addChild(
410 410
                 $exterior,
411 411
                 "bairro",
412
-                ! empty($end->bairro) ? $end->bairro : null,
412
+                !empty($end->bairro) ? $end->bairro : null,
413 413
                 false
414 414
             );
415 415
             $this->dom->addChild(
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
             $this->dom->addChild(
422 422
                 $exterior,
423 423
                 "codPostal",
424
-                ! empty($end->codpostal) ? $end->codpostal : null,
424
+                !empty($end->codpostal) ? $end->codpostal : null,
425 425
                 false
426 426
             );
427 427
             $endereco->appendChild($exterior);
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
             $this->dom->addChild(
508 508
                 $deficiencia,
509 509
                 "observacao",
510
-                ! empty($def->observacao) ? $def->observacao : null,
510
+                !empty($def->observacao) ? $def->observacao : null,
511 511
                 false
512 512
             );
513 513
             $trabalhador->appendChild($deficiencia);
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
                 $this->dom->addChild(
539 539
                     $dependente,
540 540
                     "cpfDep",
541
-                    ! empty($dep->cpfdep) ? $dep->cpfdep : null,
541
+                    !empty($dep->cpfdep) ? $dep->cpfdep : null,
542 542
                     false
543 543
                 );
544 544
                 $this->dom->addChild(
@@ -582,25 +582,25 @@  discard block
 block discarded – undo
582 582
             $this->dom->addChild(
583 583
                 $contato,
584 584
                 "fonePrinc",
585
-                ! empty($doc->foneprinc) ? $doc->foneprinc : null,
585
+                !empty($doc->foneprinc) ? $doc->foneprinc : null,
586 586
                 false
587 587
             );
588 588
             $this->dom->addChild(
589 589
                 $contato,
590 590
                 "foneAlternat",
591
-                ! empty($doc->fonealternat) ? $doc->fonealternat : null,
591
+                !empty($doc->fonealternat) ? $doc->fonealternat : null,
592 592
                 false
593 593
             );
594 594
             $this->dom->addChild(
595 595
                 $contato,
596 596
                 "emailPrinc",
597
-                ! empty($doc->emailprinc) ? $doc->emailprinc : null,
597
+                !empty($doc->emailprinc) ? $doc->emailprinc : null,
598 598
                 false
599 599
             );
600 600
             $this->dom->addChild(
601 601
                 $contato,
602 602
                 "emailAlternat",
603
-                ! empty($doc->emailalternat) ? $doc->emailalternat : null,
603
+                !empty($doc->emailalternat) ? $doc->emailalternat : null,
604 604
                 false
605 605
             );
606 606
             $trabalhador->appendChild($contato);
@@ -633,7 +633,7 @@  discard block
 block discarded – undo
633 633
         $this->dom->addChild(
634 634
             $vinculo,
635 635
             "nrRecInfPrelim",
636
-            ! empty($vin->nrrecinfprelim) ? $vin->nrrecinfprelim : null,
636
+            !empty($vin->nrrecinfprelim) ? $vin->nrrecinfprelim : null,
637 637
             false
638 638
         );
639 639
         $this->dom->addChild(
@@ -680,7 +680,7 @@  discard block
 block discarded – undo
680 680
             $this->dom->addChild(
681 681
                 $celetista,
682 682
                 "dtBase",
683
-                ! empty($std->dtbase) ? $std->dtbase : null,
683
+                !empty($std->dtbase) ? $std->dtbase : null,
684 684
                 false
685 685
             );
686 686
             $this->dom->addChild(
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
             $this->dom->addChild(
701 701
                 $fgts,
702 702
                 "dtOpcFGTS",
703
-                ! empty($std->dtopcfgts) ? $std->dtopcfgts : null,
703
+                !empty($std->dtopcfgts) ? $std->dtopcfgts : null,
704 704
                 false
705 705
             );
706 706
             $celetista->appendChild($fgts);
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
             $this->dom->addChild(
828 828
                 $estatutario,
829 829
                 "tpPlanRP",
830
-                ! empty($std->tpplanrp) ? $std->tpplanrp : null,
830
+                !empty($std->tpplanrp) ? $std->tpplanrp : null,
831 831
                 false
832 832
             );
833 833
             //infoDecJud (opcional)
@@ -851,13 +851,13 @@  discard block
 block discarded – undo
851 851
         $this->dom->addChild(
852 852
             $contrato,
853 853
             "codCargo",
854
-            ! empty($std->codcargo) ? $std->codcargo : null,
854
+            !empty($std->codcargo) ? $std->codcargo : null,
855 855
             false
856 856
         );
857 857
         $this->dom->addChild(
858 858
             $contrato,
859 859
             "codFuncao",
860
-            ! empty($std->codfuncao) ? $std->codfuncao : null,
860
+            !empty($std->codfuncao) ? $std->codfuncao : null,
861 861
             false
862 862
         );
863 863
         $this->dom->addChild(
@@ -869,13 +869,13 @@  discard block
 block discarded – undo
869 869
         $this->dom->addChild(
870 870
             $contrato,
871 871
             "codCarreira",
872
-            ! empty($std->codcarreira) ? $std->codcarreira : null,
872
+            !empty($std->codcarreira) ? $std->codcarreira : null,
873 873
             false
874 874
         );
875 875
         $this->dom->addChild(
876 876
             $contrato,
877 877
             "dtIngrCarr",
878
-            ! empty($std->dtingrcarr) ? $std->dtingrcarr : null,
878
+            !empty($std->dtingrcarr) ? $std->dtingrcarr : null,
879 879
             false
880 880
         );
881 881
         //remuneracao (obrigatorio)
@@ -895,7 +895,7 @@  discard block
 block discarded – undo
895 895
         $this->dom->addChild(
896 896
             $remuneracao,
897 897
             "dscSalVar",
898
-            ! empty($std->dscsalvar) ? $std->dscsalvar : null,
898
+            !empty($std->dscsalvar) ? $std->dscsalvar : null,
899 899
             false
900 900
         );
901 901
         $contrato->appendChild($remuneracao);
@@ -910,19 +910,19 @@  discard block
 block discarded – undo
910 910
         $this->dom->addChild(
911 911
             $duracao,
912 912
             "dtTerm",
913
-            ! empty($std->dtterm) ? $std->dtterm : null,
913
+            !empty($std->dtterm) ? $std->dtterm : null,
914 914
             false
915 915
         );
916 916
         $this->dom->addChild(
917 917
             $duracao,
918 918
             "clauAssec",
919
-            ! empty($std->clauassec) ? $std->clauassec : null,
919
+            !empty($std->clauassec) ? $std->clauassec : null,
920 920
             false
921 921
         );
922 922
         $this->dom->addChild(
923 923
             $duracao,
924 924
             "objDet",
925
-            ! empty($std->objdet) ? $std->objdet : null,
925
+            !empty($std->objdet) ? $std->objdet : null,
926 926
             false
927 927
         );
928 928
         $contrato->appendChild($duracao);
@@ -946,7 +946,7 @@  discard block
 block discarded – undo
946 946
             $this->dom->addChild(
947 947
                 $localgeral,
948 948
                 "descComp",
949
-                ! empty($std->localtrabgeral->desccomp) ? $std->localtrabgeral->desccomp : null,
949
+                !empty($std->localtrabgeral->desccomp) ? $std->localtrabgeral->desccomp : null,
950 950
                 false
951 951
             );
952 952
             $localTrabalho->appendChild($localgeral);
@@ -976,13 +976,13 @@  discard block
 block discarded – undo
976 976
             $this->dom->addChild(
977 977
                 $localDomestico,
978 978
                 "complemento",
979
-                ! empty($ld->complemento) ? $ld->complemento : null,
979
+                !empty($ld->complemento) ? $ld->complemento : null,
980 980
                 false
981 981
             );
982 982
             $this->dom->addChild(
983 983
                 $localDomestico,
984 984
                 "bairro",
985
-                ! empty($ld->bairro) ? $ld->bairro : null,
985
+                !empty($ld->bairro) ? $ld->bairro : null,
986 986
                 false
987 987
             );
988 988
             $this->dom->addChild(
@@ -1026,7 +1026,7 @@  discard block
 block discarded – undo
1026 1026
             $this->dom->addChild(
1027 1027
                 $horContratual,
1028 1028
                 "dscTpJorn",
1029
-                ! empty($hc->dsctpjorn) ? $hc->dsctpjorn : null,
1029
+                !empty($hc->dsctpjorn) ? $hc->dsctpjorn : null,
1030 1030
                 false
1031 1031
             );
1032 1032
             $this->dom->addChild(
@@ -1115,7 +1115,7 @@  discard block
 block discarded – undo
1115 1115
             $this->dom->addChild(
1116 1116
                 $sucessaoVinc,
1117 1117
                 "matricAnt",
1118
-                ! empty($std->matricant) ? $std->matricant : null,
1118
+                !empty($std->matricant) ? $std->matricant : null,
1119 1119
                 false
1120 1120
             );
1121 1121
             $this->dom->addChild(
@@ -1127,7 +1127,7 @@  discard block
 block discarded – undo
1127 1127
             $this->dom->addChild(
1128 1128
                 $sucessaoVinc,
1129 1129
                 "observacao",
1130
-                ! empty($std->observacao) ? $std->observacao : null,
1130
+                !empty($std->observacao) ? $std->observacao : null,
1131 1131
                 false
1132 1132
             );
1133 1133
             $vinculo->appendChild($sucessaoVinc);
@@ -1145,7 +1145,7 @@  discard block
 block discarded – undo
1145 1145
             $this->dom->addChild(
1146 1146
                 $transfDom,
1147 1147
                 "matricAnt",
1148
-                ! empty($std->matricant) ? $std->matricant : null,
1148
+                !empty($std->matricant) ? $std->matricant : null,
1149 1149
                 false
1150 1150
             );
1151 1151
             $this->dom->addChild(
@@ -1212,7 +1212,7 @@  discard block
 block discarded – undo
1212 1212
         $this->dom->addChild(
1213 1213
             $ideEvento,
1214 1214
             "nrRecibo",
1215
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
1215
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
1216 1216
             false
1217 1217
         );
1218 1218
         $this->dom->addChild(
@@ -1264,7 +1264,7 @@  discard block
 block discarded – undo
1264 1264
         $this->dom->addChild(
1265 1265
             $trabalhador,
1266 1266
             "estCiv",
1267
-            ! empty($this->std->estciv) ? $this->std->estciv : null,
1267
+            !empty($this->std->estciv) ? $this->std->estciv : null,
1268 1268
             false
1269 1269
         );
1270 1270
         $this->dom->addChild(
@@ -1276,7 +1276,7 @@  discard block
 block discarded – undo
1276 1276
         $this->dom->addChild(
1277 1277
             $trabalhador,
1278 1278
             "nmSoc",
1279
-            ! empty($this->std->nmsoc) ? $this->std->nmsoc : null,
1279
+            !empty($this->std->nmsoc) ? $this->std->nmsoc : null,
1280 1280
             false
1281 1281
         );
1282 1282
 
@@ -1307,7 +1307,7 @@  discard block
 block discarded – undo
1307 1307
         if (isset($this->std->endereco->brasil)) {
1308 1308
             $end = $this->std->endereco->brasil;
1309 1309
             $brasil = $this->dom->createElement("brasil");
1310
-            if (! empty($end->tplograd)) {
1310
+            if (!empty($end->tplograd)) {
1311 1311
                 $this->dom->addChild(
1312 1312
                     $brasil,
1313 1313
                     "tpLograd",
@@ -1330,10 +1330,10 @@  discard block
 block discarded – undo
1330 1330
             $this->dom->addChild(
1331 1331
                 $brasil,
1332 1332
                 "complemento",
1333
-                ! empty($end->complemento) ? $end->complemento : null,
1333
+                !empty($end->complemento) ? $end->complemento : null,
1334 1334
                 false
1335 1335
             );
1336
-            if (! empty($end->bairro)) {
1336
+            if (!empty($end->bairro)) {
1337 1337
                 $this->dom->addChild(
1338 1338
                     $brasil,
1339 1339
                     "bairro",
@@ -1385,13 +1385,13 @@  discard block
 block discarded – undo
1385 1385
             $this->dom->addChild(
1386 1386
                 $exterior,
1387 1387
                 "complemento",
1388
-                ! empty($end->complemento) ? $end->complemento : null,
1388
+                !empty($end->complemento) ? $end->complemento : null,
1389 1389
                 false
1390 1390
             );
1391 1391
             $this->dom->addChild(
1392 1392
                 $exterior,
1393 1393
                 "bairro",
1394
-                ! empty($end->bairro) ? $end->bairro : null,
1394
+                !empty($end->bairro) ? $end->bairro : null,
1395 1395
                 false
1396 1396
             );
1397 1397
             $this->dom->addChild(
@@ -1403,7 +1403,7 @@  discard block
 block discarded – undo
1403 1403
             $this->dom->addChild(
1404 1404
                 $exterior,
1405 1405
                 "codPostal",
1406
-                ! empty($end->codpostal) ? $end->codpostal : null,
1406
+                !empty($end->codpostal) ? $end->codpostal : null,
1407 1407
                 false
1408 1408
             );
1409 1409
             $endereco->appendChild($exterior);
@@ -1477,7 +1477,7 @@  discard block
 block discarded – undo
1477 1477
             $this->dom->addChild(
1478 1478
                 $deficiencia,
1479 1479
                 "observacao",
1480
-                ! empty($def->observacao) ? $def->observacao : null,
1480
+                !empty($def->observacao) ? $def->observacao : null,
1481 1481
                 false
1482 1482
             );
1483 1483
             $trabalhador->appendChild($deficiencia);
@@ -1508,13 +1508,13 @@  discard block
 block discarded – undo
1508 1508
                 $this->dom->addChild(
1509 1509
                     $dependente,
1510 1510
                     "cpfDep",
1511
-                    ! empty($dep->cpfdep) ? $dep->cpfdep : null,
1511
+                    !empty($dep->cpfdep) ? $dep->cpfdep : null,
1512 1512
                     false
1513 1513
                 );
1514 1514
                 $this->dom->addChild(
1515 1515
                     $dependente,
1516 1516
                     "sexoDep",
1517
-                    ! empty($dep->sexodep) ? $dep->sexodep : null,
1517
+                    !empty($dep->sexodep) ? $dep->sexodep : null,
1518 1518
                     false
1519 1519
                 );
1520 1520
                 $this->dom->addChild(
@@ -1546,13 +1546,13 @@  discard block
 block discarded – undo
1546 1546
             $this->dom->addChild(
1547 1547
                 $contato,
1548 1548
                 "fonePrinc",
1549
-                ! empty($doc->foneprinc) ? $doc->foneprinc : null,
1549
+                !empty($doc->foneprinc) ? $doc->foneprinc : null,
1550 1550
                 false
1551 1551
             );
1552 1552
             $this->dom->addChild(
1553 1553
                 $contato,
1554 1554
                 "emailPrinc",
1555
-                ! empty($doc->emailprinc) ? $doc->emailprinc : null,
1555
+                !empty($doc->emailprinc) ? $doc->emailprinc : null,
1556 1556
                 false
1557 1557
             );
1558 1558
             $trabalhador->appendChild($contato);
@@ -1610,7 +1610,7 @@  discard block
 block discarded – undo
1610 1610
                 $std->indadmissao,
1611 1611
                 true
1612 1612
             );
1613
-            if (! empty($std->nrproctrab)) {
1613
+            if (!empty($std->nrproctrab)) {
1614 1614
                 $this->dom->addChild(
1615 1615
                     $celetista,
1616 1616
                     "nrProcTrab",
@@ -1633,7 +1633,7 @@  discard block
 block discarded – undo
1633 1633
             $this->dom->addChild(
1634 1634
                 $celetista,
1635 1635
                 "dtBase",
1636
-                ! empty($std->dtbase) ? $std->dtbase : null,
1636
+                !empty($std->dtbase) ? $std->dtbase : null,
1637 1637
                 false
1638 1638
             );
1639 1639
             $this->dom->addChild(
@@ -1644,7 +1644,7 @@  discard block
 block discarded – undo
1644 1644
             );
1645 1645
 
1646 1646
             //FGTS
1647
-            if (! empty($std->dtopcfgts)) {
1647
+            if (!empty($std->dtopcfgts)) {
1648 1648
                 $fgts = $this->dom->createElement("FGTS");
1649 1649
                 $this->dom->addChild(
1650 1650
                     $fgts,
@@ -1735,25 +1735,25 @@  discard block
 block discarded – undo
1735 1735
             $this->dom->addChild(
1736 1736
                 $estatutario,
1737 1737
                 "tpPlanRP",
1738
-                ! empty($std->tpplanrp) ? $std->tpplanrp : null,
1738
+                !empty($std->tpplanrp) ? $std->tpplanrp : null,
1739 1739
                 false
1740 1740
             );
1741 1741
             $this->dom->addChild(
1742 1742
                 $estatutario,
1743 1743
                 "indTetoRGPS",
1744
-                ! empty($std->indtetorgps) ? $std->indtetorgps : null,
1744
+                !empty($std->indtetorgps) ? $std->indtetorgps : null,
1745 1745
                 false
1746 1746
             );
1747 1747
             $this->dom->addChild(
1748 1748
                 $estatutario,
1749 1749
                 "indAbonoPerm",
1750
-                ! empty($std->indabonoperm) ? $std->indabonoperm : null,
1750
+                !empty($std->indabonoperm) ? $std->indabonoperm : null,
1751 1751
                 false
1752 1752
             );
1753 1753
             $this->dom->addChild(
1754 1754
                 $estatutario,
1755 1755
                 "dtIniAbono",
1756
-                ! empty($std->dtiniabono) ? $std->dtiniabono : null,
1756
+                !empty($std->dtiniabono) ? $std->dtiniabono : null,
1757 1757
                 false
1758 1758
             );
1759 1759
             $infoRegimeTrab->appendChild($estatutario);
@@ -1766,37 +1766,37 @@  discard block
 block discarded – undo
1766 1766
         $this->dom->addChild(
1767 1767
             $contrato,
1768 1768
             "nmCargo",
1769
-            ! empty($std->nmcargo) ? $std->nmcargo : null,
1769
+            !empty($std->nmcargo) ? $std->nmcargo : null,
1770 1770
             false
1771 1771
         );
1772 1772
         $this->dom->addChild(
1773 1773
             $contrato,
1774 1774
             "CBOCargo",
1775
-            ! empty($std->cbocargo) ? $std->cbocargo : null,
1775
+            !empty($std->cbocargo) ? $std->cbocargo : null,
1776 1776
             false
1777 1777
         );
1778 1778
         $this->dom->addChild(
1779 1779
             $contrato,
1780 1780
             "dtIngrCargo",
1781
-            ! empty($std->dtingrcargo) ? $std->dtingrcargo : null,
1781
+            !empty($std->dtingrcargo) ? $std->dtingrcargo : null,
1782 1782
             false
1783 1783
         );
1784 1784
         $this->dom->addChild(
1785 1785
             $contrato,
1786 1786
             "nmFuncao",
1787
-            ! empty($std->nmfuncao) ? $std->nmfuncao : null,
1787
+            !empty($std->nmfuncao) ? $std->nmfuncao : null,
1788 1788
             false
1789 1789
         );
1790 1790
         $this->dom->addChild(
1791 1791
             $contrato,
1792 1792
             "CBOFuncao",
1793
-            ! empty($std->cbofuncao) ? $std->cbofuncao : null,
1793
+            !empty($std->cbofuncao) ? $std->cbofuncao : null,
1794 1794
             false
1795 1795
         );
1796 1796
         $this->dom->addChild(
1797 1797
             $contrato,
1798 1798
             "acumCargo",
1799
-            ! empty($std->acumcargo) ? $std->acumcargo : null,
1799
+            !empty($std->acumcargo) ? $std->acumcargo : null,
1800 1800
             false
1801 1801
         );
1802 1802
         $this->dom->addChild(
@@ -1822,7 +1822,7 @@  discard block
 block discarded – undo
1822 1822
         $this->dom->addChild(
1823 1823
             $remuneracao,
1824 1824
             "dscSalVar",
1825
-            ! empty($std->dscsalvar) ? $std->dscsalvar : null,
1825
+            !empty($std->dscsalvar) ? $std->dscsalvar : null,
1826 1826
             false
1827 1827
         );
1828 1828
         $contrato->appendChild($remuneracao);
@@ -1837,19 +1837,19 @@  discard block
 block discarded – undo
1837 1837
         $this->dom->addChild(
1838 1838
             $duracao,
1839 1839
             "dtTerm",
1840
-            ! empty($std->dtterm) ? $std->dtterm : null,
1840
+            !empty($std->dtterm) ? $std->dtterm : null,
1841 1841
             false
1842 1842
         );
1843 1843
         $this->dom->addChild(
1844 1844
             $duracao,
1845 1845
             "clauAssec",
1846
-            ! empty($std->clauassec) ? $std->clauassec : null,
1846
+            !empty($std->clauassec) ? $std->clauassec : null,
1847 1847
             false
1848 1848
         );
1849 1849
         $this->dom->addChild(
1850 1850
             $duracao,
1851 1851
             "objDet",
1852
-            ! empty($std->objdet) ? $std->objdet : null,
1852
+            !empty($std->objdet) ? $std->objdet : null,
1853 1853
             false
1854 1854
         );
1855 1855
         $contrato->appendChild($duracao);
@@ -1873,7 +1873,7 @@  discard block
 block discarded – undo
1873 1873
             $this->dom->addChild(
1874 1874
                 $localgeral,
1875 1875
                 "descComp",
1876
-                ! empty($std->localtrabgeral->desccomp) ? $std->localtrabgeral->desccomp : null,
1876
+                !empty($std->localtrabgeral->desccomp) ? $std->localtrabgeral->desccomp : null,
1877 1877
                 false
1878 1878
             );
1879 1879
             $localTrabalho->appendChild($localgeral);
@@ -1903,13 +1903,13 @@  discard block
 block discarded – undo
1903 1903
             $this->dom->addChild(
1904 1904
                 $localDomestico,
1905 1905
                 "complemento",
1906
-                ! empty($ld->complemento) ? $ld->complemento : null,
1906
+                !empty($ld->complemento) ? $ld->complemento : null,
1907 1907
                 false
1908 1908
             );
1909 1909
             $this->dom->addChild(
1910 1910
                 $localDomestico,
1911 1911
                 "bairro",
1912
-                ! empty($ld->bairro) ? $ld->bairro : null,
1912
+                !empty($ld->bairro) ? $ld->bairro : null,
1913 1913
                 false
1914 1914
             );
1915 1915
             $this->dom->addChild(
@@ -1956,7 +1956,7 @@  discard block
 block discarded – undo
1956 1956
                 $hc->tmpparc,
1957 1957
                 true
1958 1958
             );
1959
-            if (! empty($hc->hornoturno)) {
1959
+            if (!empty($hc->hornoturno)) {
1960 1960
                 $this->dom->addChild(
1961 1961
                     $horContratual,
1962 1962
                     "horNoturno",
@@ -2031,7 +2031,7 @@  discard block
 block discarded – undo
2031 2031
             $this->dom->addChild(
2032 2032
                 $sucessaoVinc,
2033 2033
                 "matricAnt",
2034
-                ! empty($std->matricant) ? $std->matricant : null,
2034
+                !empty($std->matricant) ? $std->matricant : null,
2035 2035
                 false
2036 2036
             );
2037 2037
             $this->dom->addChild(
@@ -2043,7 +2043,7 @@  discard block
 block discarded – undo
2043 2043
             $this->dom->addChild(
2044 2044
                 $sucessaoVinc,
2045 2045
                 "observacao",
2046
-                ! empty($std->observacao) ? $std->observacao : null,
2046
+                !empty($std->observacao) ? $std->observacao : null,
2047 2047
                 false
2048 2048
             );
2049 2049
             $vinculo->appendChild($sucessaoVinc);
@@ -2061,7 +2061,7 @@  discard block
 block discarded – undo
2061 2061
             $this->dom->addChild(
2062 2062
                 $transfDom,
2063 2063
                 "matricAnt",
2064
-                ! empty($std->matricant) ? $std->matricant : null,
2064
+                !empty($std->matricant) ? $std->matricant : null,
2065 2065
                 false
2066 2066
             );
2067 2067
             $this->dom->addChild(
@@ -2085,7 +2085,7 @@  discard block
 block discarded – undo
2085 2085
             $this->dom->addChild(
2086 2086
                 $mudancaCPF,
2087 2087
                 "matricAnt",
2088
-                ! empty($std->matricant) ? $std->matricant : null,
2088
+                !empty($std->matricant) ? $std->matricant : null,
2089 2089
                 false
2090 2090
             );
2091 2091
             $this->dom->addChild(
@@ -2097,7 +2097,7 @@  discard block
 block discarded – undo
2097 2097
             $this->dom->addChild(
2098 2098
                 $mudancaCPF,
2099 2099
                 "observacao",
2100
-                ! empty($std->observacao) ? $std->observacao : null,
2100
+                !empty($std->observacao) ? $std->observacao : null,
2101 2101
                 false
2102 2102
             );
2103 2103
             $vinculo->appendChild($mudancaCPF);
Please login to merge, or discard this patch.
src/Factories/Traits/TraitS2230.php 1 patch
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         );
72 72
         $this->node->appendChild($ideVinculo);
73 73
         $infoAfastamento = $this->dom->createElement("infoAfastamento");
74
-        if (! empty($this->std->iniafastamento)) {
74
+        if (!empty($this->std->iniafastamento)) {
75 75
             $iniAfastamento = $this->dom->createElement("iniAfastamento");
76 76
             $this->dom->addChild(
77 77
                 $iniAfastamento,
@@ -88,19 +88,19 @@  discard block
 block discarded – undo
88 88
             $this->dom->addChild(
89 89
                 $iniAfastamento,
90 90
                 "infoMesmoMtv",
91
-                ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null,
91
+                !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null,
92 92
                 false
93 93
             );
94 94
             $this->dom->addChild(
95 95
                 $iniAfastamento,
96 96
                 "tpAcidTransito",
97
-                ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null,
97
+                !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null,
98 98
                 false
99 99
             );
100 100
             $this->dom->addChild(
101 101
                 $iniAfastamento,
102 102
                 "observacao",
103
-                ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null,
103
+                !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null,
104 104
                 false
105 105
             );
106 106
             if (isset($this->std->iniafastamento->infoatestado)) {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
                     $this->dom->addChild(
110 110
                         $infoAtestado,
111 111
                         "codCID",
112
-                        ! empty($info->codcid) ? $info->codcid : null,
112
+                        !empty($info->codcid) ? $info->codcid : null,
113 113
                         false
114 114
                     );
115 115
                     $this->dom->addChild(
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
                         $this->dom->addChild(
143 143
                             $emitente,
144 144
                             "ufOC",
145
-                            ! empty($info->emitente->ufoc) ? $info->emitente->ufoc : null,
145
+                            !empty($info->emitente->ufoc) ? $info->emitente->ufoc : null,
146 146
                             false
147 147
                         );
148 148
                         $infoAtestado->appendChild($emitente);
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
                     $iniAfastamento->appendChild($infoAtestado);
151 151
                 }
152 152
             }
153
-            if (! empty($this->std->infocessao)) {
153
+            if (!empty($this->std->infocessao)) {
154 154
                 $infoCessao = $this->dom->createElement("infoCessao");
155 155
                 $this->dom->addChild(
156 156
                     $infoCessao,
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
                 );
167 167
                 $iniAfastamento->appendChild($infoCessao);
168 168
             }
169
-            if (! empty($this->std->infomandsind)) {
169
+            if (!empty($this->std->infomandsind)) {
170 170
                 $infoMandSind = $this->dom->createElement("infoMandSind");
171 171
                 $this->dom->addChild(
172 172
                     $infoMandSind,
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
             }
185 185
             $infoAfastamento->appendChild($iniAfastamento);
186 186
         }
187
-        if (! empty($this->std->inforetif)) {
187
+        if (!empty($this->std->inforetif)) {
188 188
             $infoRetif = $this->dom->createElement("infoRetif");
189 189
             $this->dom->addChild(
190 190
                 $infoRetif,
@@ -201,12 +201,12 @@  discard block
 block discarded – undo
201 201
             $this->dom->addChild(
202 202
                 $infoRetif,
203 203
                 "nrProc",
204
-                ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null,
204
+                !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null,
205 205
                 false
206 206
             );
207 207
             $infoAfastamento->appendChild($infoRetif);
208 208
         }
209
-        if (! empty($this->std->fimafastamento)) {
209
+        if (!empty($this->std->fimafastamento)) {
210 210
             $fimAfastamento = $this->dom->createElement("fimAfastamento");
211 211
             $this->dom->addChild(
212 212
                 $fimAfastamento,
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
         );
284 284
         $this->node->appendChild($ideVinculo);
285 285
         $infoAfastamento = $this->dom->createElement("infoAfastamento");
286
-        if (! empty($this->std->iniafastamento)) {
286
+        if (!empty($this->std->iniafastamento)) {
287 287
             $iniAfastamento = $this->dom->createElement("iniAfastamento");
288 288
             $this->dom->addChild(
289 289
                 $iniAfastamento,
@@ -300,22 +300,22 @@  discard block
 block discarded – undo
300 300
             $this->dom->addChild(
301 301
                 $iniAfastamento,
302 302
                 "infoMesmoMtv",
303
-                ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null,
303
+                !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null,
304 304
                 false
305 305
             );
306 306
             $this->dom->addChild(
307 307
                 $iniAfastamento,
308 308
                 "tpAcidTransito",
309
-                ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null,
309
+                !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null,
310 310
                 false
311 311
             );
312 312
             $this->dom->addChild(
313 313
                 $iniAfastamento,
314 314
                 "observacao",
315
-                ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null,
315
+                !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null,
316 316
                 false
317 317
             );
318
-            if (! empty($this->std->peraquis)) {
318
+            if (!empty($this->std->peraquis)) {
319 319
                 $perAquis = $this->dom->createElement("perAquis");
320 320
                 $this->dom->addChild(
321 321
                     $perAquis,
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
                 );
332 332
                 $iniAfastamento->appendChild($perAquis);
333 333
             }
334
-            if (! empty($this->std->infocessao)) {
334
+            if (!empty($this->std->infocessao)) {
335 335
                 $infoCessao = $this->dom->createElement("infoCessao");
336 336
                 $this->dom->addChild(
337 337
                     $infoCessao,
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
                 );
348 348
                 $iniAfastamento->appendChild($infoCessao);
349 349
             }
350
-            if (! empty($this->std->infomandsind)) {
350
+            if (!empty($this->std->infomandsind)) {
351 351
                 $infoMandSind = $this->dom->createElement("infoMandSind");
352 352
                 $this->dom->addChild(
353 353
                     $infoMandSind,
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
                 );
364 364
                 $iniAfastamento->appendChild($infoMandSind);
365 365
             }
366
-            if (! empty($this->std->infomandelet)) {
366
+            if (!empty($this->std->infomandelet)) {
367 367
                 $infoMandElet = $this->dom->createElement("infoMandElet");
368 368
                 $this->dom->addChild(
369 369
                     $infoMandElet,
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
             }
382 382
             $infoAfastamento->appendChild($iniAfastamento);
383 383
         }
384
-        if (! empty($this->std->inforetif)) {
384
+        if (!empty($this->std->inforetif)) {
385 385
             $infoRetif = $this->dom->createElement("infoRetif");
386 386
             $this->dom->addChild(
387 387
                 $infoRetif,
@@ -398,12 +398,12 @@  discard block
 block discarded – undo
398 398
             $this->dom->addChild(
399 399
                 $infoRetif,
400 400
                 "nrProc",
401
-                ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null,
401
+                !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null,
402 402
                 false
403 403
             );
404 404
             $infoAfastamento->appendChild($infoRetif);
405 405
         }
406
-        if (! empty($this->std->fimafastamento)) {
406
+        if (!empty($this->std->fimafastamento)) {
407 407
             $fimAfastamento = $this->dom->createElement("fimAfastamento");
408 408
             $this->dom->addChild(
409 409
                 $fimAfastamento,
Please login to merge, or discard this patch.
src/Factories/Traits/TraitS2206.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
         $this->dom->addChild(
21 21
             $ideEvento,
22 22
             "nrRecibo",
23
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
23
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
24 24
             false
25 25
         );
26 26
         $this->dom->addChild(
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
         $this->dom->addChild(
432 432
             $ideEvento,
433 433
             "nrRecibo",
434
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
434
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
435 435
             false
436 436
         );
437 437
         $this->dom->addChild(
@@ -564,13 +564,13 @@  discard block
 block discarded – undo
564 564
             $this->dom->addChild(
565 565
                 $infoEstatutario,
566 566
                 "indTetoRGPS",
567
-                ! empty($ct->indtetorgps) ? $ct->indtetorgps : null,
567
+                !empty($ct->indtetorgps) ? $ct->indtetorgps : null,
568 568
                 false
569 569
             );
570 570
             $this->dom->addChild(
571 571
                 $infoEstatutario,
572 572
                 "indAbonoPerm",
573
-                ! empty($ct->indabonoperm) ? $ct->indabonoperm : null,
573
+                !empty($ct->indabonoperm) ? $ct->indabonoperm : null,
574 574
                 false
575 575
             );
576 576
             $infoRegimeTrab->appendChild($infoEstatutario);
@@ -582,31 +582,31 @@  discard block
 block discarded – undo
582 582
         $this->dom->addChild(
583 583
             $infoContrato,
584 584
             "nmCargo",
585
-            ! empty($ct->nmcargo) ? $ct->nmcargo : null,
585
+            !empty($ct->nmcargo) ? $ct->nmcargo : null,
586 586
             false
587 587
         );
588 588
         $this->dom->addChild(
589 589
             $infoContrato,
590 590
             "CBOCargo",
591
-            ! empty($ct->cbocargo) ? $ct->cbocargo : null,
591
+            !empty($ct->cbocargo) ? $ct->cbocargo : null,
592 592
             false
593 593
         );
594 594
         $this->dom->addChild(
595 595
             $infoContrato,
596 596
             "nmFuncao",
597
-            ! empty($ct->nmfuncao) ? $ct->nmfuncao : null,
597
+            !empty($ct->nmfuncao) ? $ct->nmfuncao : null,
598 598
             false
599 599
         );
600 600
         $this->dom->addChild(
601 601
             $infoContrato,
602 602
             "CBOFuncao",
603
-            ! empty($ct->cbofuncao) ? $ct->cbofuncao : null,
603
+            !empty($ct->cbofuncao) ? $ct->cbofuncao : null,
604 604
             false
605 605
         );
606 606
         $this->dom->addChild(
607 607
             $infoContrato,
608 608
             "acumCargo",
609
-            ! empty($ct->acumcargo) ? $ct->acumcargo : null,
609
+            !empty($ct->acumcargo) ? $ct->acumcargo : null,
610 610
             false
611 611
         );
612 612
         $this->dom->addChild(
@@ -632,7 +632,7 @@  discard block
 block discarded – undo
632 632
         $this->dom->addChild(
633 633
             $remuneracao,
634 634
             "dscSalVar",
635
-            ! empty($ct->dscsalvar) ? $ct->dscsalvar : null,
635
+            !empty($ct->dscsalvar) ? $ct->dscsalvar : null,
636 636
             false
637 637
         );
638 638
         $infoContrato->appendChild($remuneracao);
@@ -647,13 +647,13 @@  discard block
 block discarded – undo
647 647
         $this->dom->addChild(
648 648
             $duracao,
649 649
             "dtTerm",
650
-            ! empty($ct->dtterm) ? $ct->dtterm : null,
650
+            !empty($ct->dtterm) ? $ct->dtterm : null,
651 651
             false
652 652
         );
653 653
         $this->dom->addChild(
654 654
             $duracao,
655 655
             "objDet",
656
-            ! empty($ct->objdet) ? $ct->objdet : null,
656
+            !empty($ct->objdet) ? $ct->objdet : null,
657 657
             false
658 658
         );
659 659
         $infoContrato->appendChild($duracao);
@@ -677,7 +677,7 @@  discard block
 block discarded – undo
677 677
             $this->dom->addChild(
678 678
                 $localgeral,
679 679
                 "descComp",
680
-                ! empty($ct->localtrabgeral->desccomp) ? $ct->localtrabgeral->desccomp : null,
680
+                !empty($ct->localtrabgeral->desccomp) ? $ct->localtrabgeral->desccomp : null,
681 681
                 false
682 682
             );
683 683
             $localTrabalho->appendChild($localgeral);
@@ -707,13 +707,13 @@  discard block
 block discarded – undo
707 707
             $this->dom->addChild(
708 708
                 $localDomestico,
709 709
                 "complemento",
710
-                ! empty($ld->complemento) ? $ld->complemento : null,
710
+                !empty($ld->complemento) ? $ld->complemento : null,
711 711
                 false
712 712
             );
713 713
             $this->dom->addChild(
714 714
                 $localDomestico,
715 715
                 "bairro",
716
-                ! empty($ld->bairro) ? $ld->bairro : null,
716
+                !empty($ld->bairro) ? $ld->bairro : null,
717 717
                 false
718 718
             );
719 719
             $this->dom->addChild(
@@ -760,7 +760,7 @@  discard block
 block discarded – undo
760 760
                 $hc->tmpparc,
761 761
                 true
762 762
             );
763
-            if (! empty($hc->hornoturno)) {
763
+            if (!empty($hc->hornoturno)) {
764 764
                 $this->dom->addChild(
765 765
                     $horContratual,
766 766
                     "horNoturno",
Please login to merge, or discard this patch.
src/Factories/Traits/TraitS1260.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -220,13 +220,13 @@
 block discarded – undo
220 220
             true
221 221
         );
222 222
         if( $this->std->indretif == 2 ){
223
-			$this->dom->addChild(
224
-				$ideEvento,
225
-				"nrRecibo",
226
-				$this->std->nrrecibo,
227
-				true
228
-			);
229
-		}
223
+            $this->dom->addChild(
224
+                $ideEvento,
225
+                "nrRecibo",
226
+                $this->std->nrrecibo,
227
+                true
228
+            );
229
+        }
230 230
         $this->dom->addChild(
231 231
             $ideEvento,
232 232
             "perApur",
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
             $this->std->indretif,
220 220
             true
221 221
         );
222
-        if( $this->std->indretif == 2 ){
222
+        if ($this->std->indretif == 2) {
223 223
 			$this->dom->addChild(
224 224
 				$ideEvento,
225 225
 				"nrRecibo",
Please login to merge, or discard this patch.