@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $this->dom->addChild( |
72 | 72 | $ideEvento, |
73 | 73 | "nrRecArqBase", |
74 | - ! empty($this->std->nrrecarqbase) ? $this->std->nrrecarqbase : null, |
|
74 | + !empty($this->std->nrrecarqbase) ? $this->std->nrrecarqbase : null, |
|
75 | 75 | false |
76 | 76 | ); |
77 | 77 | $this->dom->addChild( |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | ); |
92 | 92 | $this->node->appendChild($ideTrabalhador); |
93 | 93 | |
94 | - if (! empty($this->std->vrdeddep)) { |
|
94 | + if (!empty($this->std->vrdeddep)) { |
|
95 | 95 | $infoDep = $this->dom->createElement("infoDep"); |
96 | 96 | $this->dom->addChild( |
97 | 97 | $infoDep, |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | $this->dom->addChild( |
108 | 108 | $infoIrrf, |
109 | 109 | "codCateg", |
110 | - ! empty($nIrrf->codcateg) ? $nIrrf->codcateg : null, |
|
110 | + !empty($nIrrf->codcateg) ? $nIrrf->codcateg : null, |
|
111 | 111 | false |
112 | 112 | ); |
113 | 113 | $this->dom->addChild( |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | $this->dom->addChild( |
170 | 170 | $idePais, |
171 | 171 | "nifBenef", |
172 | - ! empty($nIrrf->idepgtoext->nifbenef) ? $nIrrf->idepgtoext->nifbenef : null, |
|
172 | + !empty($nIrrf->idepgtoext->nifbenef) ? $nIrrf->idepgtoext->nifbenef : null, |
|
173 | 173 | false |
174 | 174 | ); |
175 | 175 | $idePgtoExt->appendChild($idePais); |
@@ -184,19 +184,19 @@ discard block |
||
184 | 184 | $this->dom->addChild( |
185 | 185 | $endExt, |
186 | 186 | "nrLograd", |
187 | - ! empty($nIrrf->idepgtoext->nrlograd) ? $nIrrf->idepgtoext->nrlograd : null, |
|
187 | + !empty($nIrrf->idepgtoext->nrlograd) ? $nIrrf->idepgtoext->nrlograd : null, |
|
188 | 188 | false |
189 | 189 | ); |
190 | 190 | $this->dom->addChild( |
191 | 191 | $endExt, |
192 | 192 | "complem", |
193 | - ! empty($nIrrf->idepgtoext->complem) ? $nIrrf->idepgtoext->complem : null, |
|
193 | + !empty($nIrrf->idepgtoext->complem) ? $nIrrf->idepgtoext->complem : null, |
|
194 | 194 | false |
195 | 195 | ); |
196 | 196 | $this->dom->addChild( |
197 | 197 | $endExt, |
198 | 198 | "bairro", |
199 | - ! empty($nIrrf->idepgtoext->bairro) ? $nIrrf->idepgtoext->bairro : null, |
|
199 | + !empty($nIrrf->idepgtoext->bairro) ? $nIrrf->idepgtoext->bairro : null, |
|
200 | 200 | false |
201 | 201 | ); |
202 | 202 | $this->dom->addChild( |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | $this->dom->addChild( |
209 | 209 | $endExt, |
210 | 210 | "codPostal", |
211 | - ! empty($nIrrf->idepgtoext->codpostal) ? $nIrrf->idepgtoext->codpostal : null, |
|
211 | + !empty($nIrrf->idepgtoext->codpostal) ? $nIrrf->idepgtoext->codpostal : null, |
|
212 | 212 | false |
213 | 213 | ); |
214 | 214 | $idePgtoExt->appendChild($endExt); |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -81,7 +81,7 @@ |
||
81 | 81 | $this->dom->addChild( |
82 | 82 | $infoIrrf, |
83 | 83 | "nrRecArqBase", |
84 | - ! empty($this->std->infoirrf->nrrecarqbase) ? $this->std->infoirrf->nrrecarqbase : '', |
|
84 | + !empty($this->std->infoirrf->nrrecarqbase) ? $this->std->infoirrf->nrrecarqbase : '', |
|
85 | 85 | false |
86 | 86 | ); |
87 | 87 | $this->dom->addChild( |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | $this->dom->addChild( |
94 | 94 | $ideEvento, |
95 | 95 | "nrRecibo", |
96 | - ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
96 | + !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
97 | 97 | false |
98 | 98 | ); |
99 | 99 | $this->dom->addChild( |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | $this->dom->addChild( |
216 | 216 | $nfs, |
217 | 217 | "serie", |
218 | - ! empty($prodnfs->serie) ? $prodnfs->serie : null, |
|
218 | + !empty($prodnfs->serie) ? $prodnfs->serie : null, |
|
219 | 219 | false |
220 | 220 | ); |
221 | 221 |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | $this->dom->addChild( |
115 | 115 | $ideEstab, |
116 | 116 | "fimValid", |
117 | - ! empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
117 | + !empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
118 | 118 | false |
119 | 119 | ); |
120 | 120 | |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | } |
128 | 128 | $node->appendChild($ideEstab); |
129 | 129 | |
130 | - if (! empty($this->std->dadosestab)) { |
|
130 | + if (!empty($this->std->dadosestab)) { |
|
131 | 131 | $dadosEstab = $this->dom->createElement("dadosEstab"); |
132 | 132 | $this->dom->addChild( |
133 | 133 | $dadosEstab, |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | $this->std->dadosestab->aliqgilrat->aliqrat, |
143 | 143 | true |
144 | 144 | ); |
145 | - $fap = ! empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null; |
|
145 | + $fap = !empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null; |
|
146 | 146 | if ($fap) { |
147 | 147 | $fap = number_format($fap, 4, '.', ''); |
148 | 148 | } |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | $fap, |
153 | 153 | false |
154 | 154 | ); |
155 | - $aliqrata = ! empty($this->std->dadosestab->aliqgilrat->aliqratajust) |
|
155 | + $aliqrata = !empty($this->std->dadosestab->aliqgilrat->aliqratajust) |
|
156 | 156 | ? $this->std->dadosestab->aliqgilrat->aliqratajust |
157 | 157 | : null; |
158 | 158 | if ($aliqrata) { |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | $aliqrata, |
165 | 165 | false |
166 | 166 | ); |
167 | - if (! empty($this->std->dadosestab->aliqgilrat->procadmjudrat)) { |
|
167 | + if (!empty($this->std->dadosestab->aliqgilrat->procadmjudrat)) { |
|
168 | 168 | $procAdmJudRat = $this->dom->createElement("procAdmJudRat"); |
169 | 169 | $this->dom->addChild( |
170 | 170 | $procAdmJudRat, |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | ); |
187 | 187 | $aliqGilrat->appendChild($procAdmJudRat); |
188 | 188 | } |
189 | - if (! empty($this->std->dadosestab->aliqgilrat->procadmjudfap)) { |
|
189 | + if (!empty($this->std->dadosestab->aliqgilrat->procadmjudfap)) { |
|
190 | 190 | $procAdmJudFap = $this->dom->createElement("procAdmJudFap"); |
191 | 191 | $this->dom->addChild( |
192 | 192 | $procAdmJudFap, |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | } |
211 | 211 | $dadosEstab->appendChild($aliqGilrat); |
212 | 212 | |
213 | - if (! empty($this->std->dadosestab->infocaepf)) { |
|
213 | + if (!empty($this->std->dadosestab->infocaepf)) { |
|
214 | 214 | $infoCaepf = $this->dom->createElement("infoCaepf"); |
215 | 215 | $this->dom->addChild( |
216 | 216 | $infoCaepf, |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | $dadosEstab->appendChild($infoCaepf); |
222 | 222 | } |
223 | 223 | |
224 | - if (! empty($this->std->dadosestab->infoobra)) { |
|
224 | + if (!empty($this->std->dadosestab->infoobra)) { |
|
225 | 225 | $infoObra = $this->dom->createElement("infoObra"); |
226 | 226 | $this->dom->addChild( |
227 | 227 | $infoObra, |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | $this->dom->addChild( |
251 | 251 | $infoApr, |
252 | 252 | "nrProcJud", |
253 | - ! empty($this->std->dadosestab->infotrab->infoapr->nrprocjud) |
|
253 | + !empty($this->std->dadosestab->infotrab->infoapr->nrprocjud) |
|
254 | 254 | ? $this->std->dadosestab->infotrab->infoapr->nrprocjud |
255 | 255 | : null, |
256 | 256 | false |
@@ -258,13 +258,13 @@ discard block |
||
258 | 258 | $this->dom->addChild( |
259 | 259 | $infoApr, |
260 | 260 | "contEntEd", |
261 | - ! empty($this->std->dadosestab->infotrab->infoapr->contented) |
|
261 | + !empty($this->std->dadosestab->infotrab->infoapr->contented) |
|
262 | 262 | ? $this->std->dadosestab->infotrab->infoapr->contented |
263 | 263 | : null, |
264 | 264 | false |
265 | 265 | ); |
266 | 266 | |
267 | - if (! empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) { |
|
267 | + if (!empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) { |
|
268 | 268 | foreach ($this->std->dadosestab->infotrab->infoapr->infoenteduc as $edu) { |
269 | 269 | $infoEntEduc = $this->dom->createElement("infoEntEduc"); |
270 | 270 | $this->dom->addChild( |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | } |
279 | 279 | |
280 | 280 | $infoTrab->appendChild($infoApr); |
281 | - if (! empty($this->std->dadosestab->infotrab->infopdc)) { |
|
281 | + if (!empty($this->std->dadosestab->infotrab->infopdc)) { |
|
282 | 282 | $infoPCD = $this->dom->createElement("infoPCD"); |
283 | 283 | $this->dom->addChild( |
284 | 284 | $infoPCD, |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | $this->dom->addChild( |
290 | 290 | $infoPCD, |
291 | 291 | "nrProcJud", |
292 | - ! empty($this->std->dadosestab->infotrab->infopdc->nrprocjud) |
|
292 | + !empty($this->std->dadosestab->infotrab->infopdc->nrprocjud) |
|
293 | 293 | ? $this->std->dadosestab->infotrab->infopdc->nrprocjud |
294 | 294 | : null, |
295 | 295 | false |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | $node->appendChild($dadosEstab); |
301 | 301 | } |
302 | 302 | |
303 | - if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
303 | + if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
304 | 304 | $newVal = $this->std->novavalidade; |
305 | 305 | $novaValidade = $this->dom->createElement("novaValidade"); |
306 | 306 | $this->dom->addChild( |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | $this->dom->addChild( |
313 | 313 | $ideRubrica, |
314 | 314 | "fimValid", |
315 | - ! empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
315 | + !empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
316 | 316 | false |
317 | 317 | ); |
318 | 318 | $node->appendChild($novaValidade); |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | */ |
64 | 64 | protected function toNode() |
65 | 65 | { |
66 | - $evtid = FactoryId::build( |
|
66 | + $evtid = FactoryId::build( |
|
67 | 67 | $this->tpInsc, |
68 | 68 | $this->nrInsc, |
69 | 69 | $this->date, |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | $this->dom->addChild( |
86 | 86 | $ideEvento, |
87 | 87 | "nrRecibo", |
88 | - ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
88 | + !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
89 | 89 | false |
90 | 90 | ); |
91 | 91 | $this->dom->addChild( |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | $this->dom->addChild( |
160 | 160 | $trabalhador, |
161 | 161 | "estCiv", |
162 | - ! empty($this->std->trabalhador->estciv) ? $this->std->trabalhador->estciv : null, |
|
162 | + !empty($this->std->trabalhador->estciv) ? $this->std->trabalhador->estciv : null, |
|
163 | 163 | false |
164 | 164 | ); |
165 | 165 | $this->dom->addChild( |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | $this->dom->addChild( |
178 | 178 | $trabalhador, |
179 | 179 | "nmSoc", |
180 | - ! empty($this->std->trabalhador->nmsoc) ? $this->std->trabalhador->nmsoc : null, |
|
180 | + !empty($this->std->trabalhador->nmsoc) ? $this->std->trabalhador->nmsoc : null, |
|
181 | 181 | false |
182 | 182 | ); |
183 | 183 | //nascimento (obrigatorio) |
@@ -191,13 +191,13 @@ discard block |
||
191 | 191 | $this->dom->addChild( |
192 | 192 | $nascimento, |
193 | 193 | "codMunic", |
194 | - ! empty($this->std->trabalhador->codmunic) ? $this->std->trabalhador->codmunic : null, |
|
194 | + !empty($this->std->trabalhador->codmunic) ? $this->std->trabalhador->codmunic : null, |
|
195 | 195 | false |
196 | 196 | ); |
197 | 197 | $this->dom->addChild( |
198 | 198 | $nascimento, |
199 | 199 | "uf", |
200 | - ! empty($this->std->trabalhador->uf) ? $this->std->trabalhador->uf : null, |
|
200 | + !empty($this->std->trabalhador->uf) ? $this->std->trabalhador->uf : null, |
|
201 | 201 | false |
202 | 202 | ); |
203 | 203 | $this->dom->addChild( |
@@ -215,13 +215,13 @@ discard block |
||
215 | 215 | $this->dom->addChild( |
216 | 216 | $nascimento, |
217 | 217 | "nmMae", |
218 | - ! empty($this->std->trabalhador->nmmae) ? $this->std->trabalhador->nmmae : null, |
|
218 | + !empty($this->std->trabalhador->nmmae) ? $this->std->trabalhador->nmmae : null, |
|
219 | 219 | false |
220 | 220 | ); |
221 | 221 | $this->dom->addChild( |
222 | 222 | $nascimento, |
223 | 223 | "nmPai", |
224 | - ! empty($this->std->trabalhador->nmpai) ? $this->std->trabalhador->nmpai : null, |
|
224 | + !empty($this->std->trabalhador->nmpai) ? $this->std->trabalhador->nmpai : null, |
|
225 | 225 | false |
226 | 226 | ); |
227 | 227 | //encerra nascimento |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | $this->dom->addChild( |
271 | 271 | $ric, |
272 | 272 | "dtExped", |
273 | - ! empty($this->std->ric->dtexped) ? $this->std->ric->dtexped : null, |
|
273 | + !empty($this->std->ric->dtexped) ? $this->std->ric->dtexped : null, |
|
274 | 274 | false |
275 | 275 | ); |
276 | 276 | $documentos->appendChild($ric); |
@@ -293,7 +293,7 @@ discard block |
||
293 | 293 | $this->dom->addChild( |
294 | 294 | $rg, |
295 | 295 | "dtExped", |
296 | - ! empty($this->std->rg->dtexped) ? $this->std->rg->dtexped : null, |
|
296 | + !empty($this->std->rg->dtexped) ? $this->std->rg->dtexped : null, |
|
297 | 297 | false |
298 | 298 | ); |
299 | 299 | $documentos->appendChild($rg); |
@@ -316,13 +316,13 @@ discard block |
||
316 | 316 | $this->dom->addChild( |
317 | 317 | $rne, |
318 | 318 | "dtExped", |
319 | - ! empty($this->std->rne->dtexped) ? $this->std->rne->dtexped : null, |
|
319 | + !empty($this->std->rne->dtexped) ? $this->std->rne->dtexped : null, |
|
320 | 320 | false |
321 | 321 | ); |
322 | 322 | $this->dom->addChild( |
323 | 323 | $rne, |
324 | 324 | "dtValid", |
325 | - ! empty($this->std->rne->dtvalid) ? $this->std->rne->dtvalid : null, |
|
325 | + !empty($this->std->rne->dtvalid) ? $this->std->rne->dtvalid : null, |
|
326 | 326 | false |
327 | 327 | ); |
328 | 328 | $documentos->appendChild($rne); |
@@ -345,14 +345,14 @@ discard block |
||
345 | 345 | $this->dom->addChild( |
346 | 346 | $oc, |
347 | 347 | "dtExped", |
348 | - ! empty($this->std->oc->dtexped) ? $this->std->oc->dtexped : null, |
|
348 | + !empty($this->std->oc->dtexped) ? $this->std->oc->dtexped : null, |
|
349 | 349 | false |
350 | 350 | ); |
351 | 351 | |
352 | 352 | $this->dom->addChild( |
353 | 353 | $oc, |
354 | 354 | "dtValid", |
355 | - ! empty($this->std->oc->dtvalid) ? $this->std->oc->dtvalid : null, |
|
355 | + !empty($this->std->oc->dtvalid) ? $this->std->oc->dtvalid : null, |
|
356 | 356 | false |
357 | 357 | ); |
358 | 358 | |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | $this->dom->addChild( |
371 | 371 | $cnh, |
372 | 372 | "dtExped", |
373 | - ! empty($this->std->cnh->dtExped) ? $this->std->cnh->dtExped : null, |
|
373 | + !empty($this->std->cnh->dtExped) ? $this->std->cnh->dtExped : null, |
|
374 | 374 | false |
375 | 375 | ); |
376 | 376 | $this->dom->addChild( |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | $this->dom->addChild( |
389 | 389 | $cnh, |
390 | 390 | "dtPriHab", |
391 | - ! empty($this->std->cnh->dtprihab) ? $this->std->cnh->dtprihab : null, |
|
391 | + !empty($this->std->cnh->dtprihab) ? $this->std->cnh->dtprihab : null, |
|
392 | 392 | false |
393 | 393 | ); |
394 | 394 | $this->dom->addChild( |
@@ -427,13 +427,13 @@ discard block |
||
427 | 427 | $this->dom->addChild( |
428 | 428 | $brasil, |
429 | 429 | "complemento", |
430 | - ! empty($this->std->endereco->brasil->complemento) ? $this->std->endereco->brasil->complemento : null, |
|
430 | + !empty($this->std->endereco->brasil->complemento) ? $this->std->endereco->brasil->complemento : null, |
|
431 | 431 | false |
432 | 432 | ); |
433 | 433 | $this->dom->addChild( |
434 | 434 | $brasil, |
435 | 435 | "bairro", |
436 | - ! empty($this->std->endereco->brasil->bairro) ? $this->std->endereco->brasil->bairro : null, |
|
436 | + !empty($this->std->endereco->brasil->bairro) ? $this->std->endereco->brasil->bairro : null, |
|
437 | 437 | true |
438 | 438 | ); |
439 | 439 | $this->dom->addChild( |
@@ -479,14 +479,14 @@ discard block |
||
479 | 479 | $this->dom->addChild( |
480 | 480 | $exterior, |
481 | 481 | "complemento", |
482 | - ! empty($this->std->endereco->exterior->complemento) ? |
|
482 | + !empty($this->std->endereco->exterior->complemento) ? |
|
483 | 483 | $this->std->endereco->exterior->complemento : null, |
484 | 484 | false |
485 | 485 | ); |
486 | 486 | $this->dom->addChild( |
487 | 487 | $exterior, |
488 | 488 | "bairro", |
489 | - ! empty($this->std->endereco->exterior->bairro) ? $this->std->endereco->exterior->bairro : null, |
|
489 | + !empty($this->std->endereco->exterior->bairro) ? $this->std->endereco->exterior->bairro : null, |
|
490 | 490 | false |
491 | 491 | ); |
492 | 492 | $this->dom->addChild( |
@@ -498,7 +498,7 @@ discard block |
||
498 | 498 | $this->dom->addChild( |
499 | 499 | $exterior, |
500 | 500 | "codPostal", |
501 | - ! empty($this->std->endereco->exterior->codpostal) ? $this->std->endereco->exterior->codpostal : null, |
|
501 | + !empty($this->std->endereco->exterior->codpostal) ? $this->std->endereco->exterior->codpostal : null, |
|
502 | 502 | false |
503 | 503 | ); |
504 | 504 | $endereco->appendChild($exterior); |
@@ -584,7 +584,7 @@ discard block |
||
584 | 584 | $this->dom->addChild( |
585 | 585 | $deficiencia, |
586 | 586 | "observacao", |
587 | - ! empty($this->std->deficiencia->observacao) ? $this->std->deficiencia->observacao : null, |
|
587 | + !empty($this->std->deficiencia->observacao) ? $this->std->deficiencia->observacao : null, |
|
588 | 588 | false |
589 | 589 | ); |
590 | 590 | $trabalhador->appendChild($deficiencia); |
@@ -614,7 +614,7 @@ discard block |
||
614 | 614 | $this->dom->addChild( |
615 | 615 | $dependente, |
616 | 616 | "cpfDep", |
617 | - ! empty($dep->cpfdep) ? $dep->cpfdep : null, |
|
617 | + !empty($dep->cpfdep) ? $dep->cpfdep : null, |
|
618 | 618 | false |
619 | 619 | ); |
620 | 620 | $this->dom->addChild( |
@@ -657,25 +657,25 @@ discard block |
||
657 | 657 | $this->dom->addChild( |
658 | 658 | $contato, |
659 | 659 | "fonePrinc", |
660 | - ! empty($this->std->contato->foneprinc) ? $this->std->contato->foneprinc : null, |
|
660 | + !empty($this->std->contato->foneprinc) ? $this->std->contato->foneprinc : null, |
|
661 | 661 | false |
662 | 662 | ); |
663 | 663 | $this->dom->addChild( |
664 | 664 | $contato, |
665 | 665 | "foneAlternat", |
666 | - ! empty($this->std->contato->fonealternat) ? $this->std->contato->fonealternat : null, |
|
666 | + !empty($this->std->contato->fonealternat) ? $this->std->contato->fonealternat : null, |
|
667 | 667 | false |
668 | 668 | ); |
669 | 669 | $this->dom->addChild( |
670 | 670 | $contato, |
671 | 671 | "emailPrinc", |
672 | - ! empty($this->std->contato->emailprinc) ? $this->std->contato->emailprinc : null, |
|
672 | + !empty($this->std->contato->emailprinc) ? $this->std->contato->emailprinc : null, |
|
673 | 673 | false |
674 | 674 | ); |
675 | 675 | $this->dom->addChild( |
676 | 676 | $contato, |
677 | 677 | "emailAlternat", |
678 | - ! empty($this->std->contato->emailalternat) ? $this->std->contato->emailalternat : null, |
|
678 | + !empty($this->std->contato->emailalternat) ? $this->std->contato->emailalternat : null, |
|
679 | 679 | false |
680 | 680 | ); |
681 | 681 | $trabalhador->appendChild($contato); |
@@ -707,7 +707,7 @@ discard block |
||
707 | 707 | $this->dom->addChild( |
708 | 708 | $vinculo, |
709 | 709 | "nrRecInfPrelim", |
710 | - ! empty($this->std->vinculo->nrrecinfprelim) ? $this->std->vinculo->nrrecinfprelim : null, |
|
710 | + !empty($this->std->vinculo->nrrecinfprelim) ? $this->std->vinculo->nrrecinfprelim : null, |
|
711 | 711 | false |
712 | 712 | ); |
713 | 713 | $this->dom->addChild( |
@@ -754,7 +754,7 @@ discard block |
||
754 | 754 | $this->dom->addChild( |
755 | 755 | $celetista, |
756 | 756 | "dtBase", |
757 | - ! empty($this->std->vinculo->celetista->dtbase) ? $this->std->vinculo->celetista->dtbase : null, |
|
757 | + !empty($this->std->vinculo->celetista->dtbase) ? $this->std->vinculo->celetista->dtbase : null, |
|
758 | 758 | false |
759 | 759 | ); |
760 | 760 | $this->dom->addChild( |
@@ -774,7 +774,7 @@ discard block |
||
774 | 774 | $this->dom->addChild( |
775 | 775 | $fgts, |
776 | 776 | "dtOpcFGTS", |
777 | - ! empty($this->std->vinculo->celetista->dtopcfgts) ? $this->std->vinculo->celetista->dtopcfgts : null, |
|
777 | + !empty($this->std->vinculo->celetista->dtopcfgts) ? $this->std->vinculo->celetista->dtopcfgts : null, |
|
778 | 778 | false |
779 | 779 | ); |
780 | 780 | $celetista->appendChild($fgts); |
@@ -905,7 +905,7 @@ discard block |
||
905 | 905 | $this->dom->addChild( |
906 | 906 | $estatutario, |
907 | 907 | "tpPlanRP", |
908 | - ! empty($this->std->vinculo->estatutario->tpplanrp) ? $this->std->vinculo->estatutario->tpplanrp : null, |
|
908 | + !empty($this->std->vinculo->estatutario->tpplanrp) ? $this->std->vinculo->estatutario->tpplanrp : null, |
|
909 | 909 | false |
910 | 910 | ); |
911 | 911 | //infoDecJud (opcional) |
@@ -928,13 +928,13 @@ discard block |
||
928 | 928 | $this->dom->addChild( |
929 | 929 | $contrato, |
930 | 930 | "codCargo", |
931 | - ! empty($this->std->vinculo->contrato->codcargo) ? $this->std->vinculo->contrato->codcargo : null, |
|
931 | + !empty($this->std->vinculo->contrato->codcargo) ? $this->std->vinculo->contrato->codcargo : null, |
|
932 | 932 | false |
933 | 933 | ); |
934 | 934 | $this->dom->addChild( |
935 | 935 | $contrato, |
936 | 936 | "codFuncao", |
937 | - ! empty($this->std->vinculo->contrato->codfuncao) ? $this->std->vinculo->contrato->codfuncao : null, |
|
937 | + !empty($this->std->vinculo->contrato->codfuncao) ? $this->std->vinculo->contrato->codfuncao : null, |
|
938 | 938 | false |
939 | 939 | ); |
940 | 940 | $this->dom->addChild( |
@@ -946,13 +946,13 @@ discard block |
||
946 | 946 | $this->dom->addChild( |
947 | 947 | $contrato, |
948 | 948 | "codCarreira", |
949 | - ! empty($this->std->vinculo->contrato->codcarreira) ? $this->std->vinculo->contrato->codcarreira : null, |
|
949 | + !empty($this->std->vinculo->contrato->codcarreira) ? $this->std->vinculo->contrato->codcarreira : null, |
|
950 | 950 | false |
951 | 951 | ); |
952 | 952 | $this->dom->addChild( |
953 | 953 | $contrato, |
954 | 954 | "dtIngrCarr", |
955 | - ! empty($this->std->vinculo->contrato->dtingrcarr) ? $this->std->vinculo->contrato->dtingrcarr : null, |
|
955 | + !empty($this->std->vinculo->contrato->dtingrcarr) ? $this->std->vinculo->contrato->dtingrcarr : null, |
|
956 | 956 | false |
957 | 957 | ); |
958 | 958 | //remuneracao (obrigatorio) |
@@ -972,7 +972,7 @@ discard block |
||
972 | 972 | $this->dom->addChild( |
973 | 973 | $remuneracao, |
974 | 974 | "dscSalVar", |
975 | - ! empty($this->std->vinculo->contrato->dscsalvar) ? $this->std->vinculo->contrato->dscsalvar : null, |
|
975 | + !empty($this->std->vinculo->contrato->dscsalvar) ? $this->std->vinculo->contrato->dscsalvar : null, |
|
976 | 976 | false |
977 | 977 | ); |
978 | 978 | $contrato->appendChild($remuneracao); |
@@ -988,13 +988,13 @@ discard block |
||
988 | 988 | $this->dom->addChild( |
989 | 989 | $duracao, |
990 | 990 | "dtTerm", |
991 | - ! empty($this->std->vinculo->contrato->dtterm) ? $this->std->vinculo->contrato->dtterm : null, |
|
991 | + !empty($this->std->vinculo->contrato->dtterm) ? $this->std->vinculo->contrato->dtterm : null, |
|
992 | 992 | false |
993 | 993 | ); |
994 | 994 | $this->dom->addChild( |
995 | 995 | $duracao, |
996 | 996 | "clauAsseg", |
997 | - ! empty($this->std->vinculo->contrato->clauasseg) ? $this->std->vinculo->contrato->clauasseg : null, |
|
997 | + !empty($this->std->vinculo->contrato->clauasseg) ? $this->std->vinculo->contrato->clauasseg : null, |
|
998 | 998 | false |
999 | 999 | ); |
1000 | 1000 | $contrato->appendChild($duracao); |
@@ -1019,7 +1019,7 @@ discard block |
||
1019 | 1019 | $this->dom->addChild( |
1020 | 1020 | $localgeral, |
1021 | 1021 | "descComp", |
1022 | - ! empty($this->std->vinculo->contrato->local->desccomp) ? |
|
1022 | + !empty($this->std->vinculo->contrato->local->desccomp) ? |
|
1023 | 1023 | $this->std->vinculo->contrato->local->desccomp : null, |
1024 | 1024 | false |
1025 | 1025 | ); |
@@ -1049,14 +1049,14 @@ discard block |
||
1049 | 1049 | $this->dom->addChild( |
1050 | 1050 | $localDomestico, |
1051 | 1051 | "complemento", |
1052 | - ! empty($this->std->vinculo->contrato->domestico->complemento) ? |
|
1052 | + !empty($this->std->vinculo->contrato->domestico->complemento) ? |
|
1053 | 1053 | $this->std->vinculo->contrato->domestico->complemento : null, |
1054 | 1054 | false |
1055 | 1055 | ); |
1056 | 1056 | $this->dom->addChild( |
1057 | 1057 | $localDomestico, |
1058 | 1058 | "bairro", |
1059 | - ! empty($this->std->vinculo->contrato->domestico->bairro) ? |
|
1059 | + !empty($this->std->vinculo->contrato->domestico->bairro) ? |
|
1060 | 1060 | $this->std->vinculo->contrato->domestico->bairro : null, |
1061 | 1061 | false |
1062 | 1062 | ); |
@@ -1100,7 +1100,7 @@ discard block |
||
1100 | 1100 | $this->dom->addChild( |
1101 | 1101 | $horContratual, |
1102 | 1102 | "dscTpJorn", |
1103 | - ! empty($this->std->vinculo->contrato->horcontratual->dsctpjorn) ? |
|
1103 | + !empty($this->std->vinculo->contrato->horcontratual->dsctpjorn) ? |
|
1104 | 1104 | $this->std->vinculo->contrato->horcontratual->dsctpjorn : null, |
1105 | 1105 | false |
1106 | 1106 | ); |
@@ -1172,7 +1172,7 @@ discard block |
||
1172 | 1172 | $this->dom->addChild( |
1173 | 1173 | $sucessaoVinc, |
1174 | 1174 | "matricAnt", |
1175 | - ! empty($this->std->vinculo->sucessao->matricant) ? $this->std->vinculo->sucessao->matricant : null, |
|
1175 | + !empty($this->std->vinculo->sucessao->matricant) ? $this->std->vinculo->sucessao->matricant : null, |
|
1176 | 1176 | false |
1177 | 1177 | ); |
1178 | 1178 | $this->dom->addChild( |
@@ -1184,7 +1184,7 @@ discard block |
||
1184 | 1184 | $this->dom->addChild( |
1185 | 1185 | $sucessaoVinc, |
1186 | 1186 | "observacao", |
1187 | - ! empty($this->std->vinculo->sucessao->observacao) ? $this->std->vinculo->sucessao->observacao : null, |
|
1187 | + !empty($this->std->vinculo->sucessao->observacao) ? $this->std->vinculo->sucessao->observacao : null, |
|
1188 | 1188 | false |
1189 | 1189 | ); |
1190 | 1190 | $vinculo->appendChild($sucessaoVinc); |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | $this->dom->addChild( |
115 | 115 | $ide, |
116 | 116 | "fimValid", |
117 | - ! empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
117 | + !empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
118 | 118 | false |
119 | 119 | ); |
120 | 120 | //seleção do modo |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | $this->dom->addChild( |
132 | 132 | $dados, |
133 | 133 | "indAutoria", |
134 | - ! empty($this->std->dadosproc->indautoria) |
|
134 | + !empty($this->std->dadosproc->indautoria) |
|
135 | 135 | ? $this->std->dadosproc->indautoria |
136 | 136 | : null, |
137 | 137 | false |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | $this->std->dadosproc->indmatproc, |
143 | 143 | true |
144 | 144 | ); |
145 | - if (! empty($this->std->dadosproc->dadosprocjud)) { |
|
145 | + if (!empty($this->std->dadosproc->dadosprocjud)) { |
|
146 | 146 | $dadosProcJud = $this->dom->createElement("dadosProcJud"); |
147 | 147 | $this->dom->addChild( |
148 | 148 | $dadosProcJud, |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | ); |
165 | 165 | $dados->appendChild($dadosProcJud); |
166 | 166 | } |
167 | - if (! empty($this->std->dadosproc->infosusp)) { |
|
167 | + if (!empty($this->std->dadosproc->infosusp)) { |
|
168 | 168 | foreach ($this->std->dadosproc->infosusp as $susp) { |
169 | 169 | $infoSusp = $this->dom->createElement("infoSusp"); |
170 | 170 | $this->dom->addChild( |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | } |
197 | 197 | $node->appendChild($dados); |
198 | 198 | |
199 | - if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
199 | + if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
200 | 200 | $newVal = $this->std->novavalidade; |
201 | 201 | $novaValidade = $this->dom->createElement("novaValidade"); |
202 | 202 | $this->dom->addChild( |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | $this->dom->addChild( |
209 | 209 | $ideRubrica, |
210 | 210 | "fimValid", |
211 | - ! empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
211 | + !empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
212 | 212 | false |
213 | 213 | ); |
214 | 214 | $node->appendChild($novaValidade); |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $this->dom->addChild( |
72 | 72 | $ideEvento, |
73 | 73 | "nrRecArqBase", |
74 | - ! empty($this->std->nrrecarqbase) ? $this->std->nrrecarqbase : null, |
|
74 | + !empty($this->std->nrrecarqbase) ? $this->std->nrrecarqbase : null, |
|
75 | 75 | false |
76 | 76 | ); |
77 | 77 | $this->dom->addChild( |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $this->dom->addChild( |
167 | 167 | $infoCategIncid, |
168 | 168 | "matricula", |
169 | - ! empty($infocat->matricula) ? $infocat->matricula : null, |
|
169 | + !empty($infocat->matricula) ? $infocat->matricula : null, |
|
170 | 170 | false |
171 | 171 | ); |
172 | 172 | $this->dom->addChild( |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | $this->dom->addChild( |
179 | 179 | $infoCategIncid, |
180 | 180 | "indSimples", |
181 | - ! empty($infocat->indsimples) ? $infocat->indsimples : null, |
|
181 | + !empty($infocat->indsimples) ? $infocat->indsimples : null, |
|
182 | 182 | false |
183 | 183 | ); |
184 | 184 | foreach ($infocat->infobasecs as $infobase) { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | protected function toNode() |
67 | 67 | { |
68 | - $evtid = FactoryId::build( |
|
68 | + $evtid = FactoryId::build( |
|
69 | 69 | $this->tpInsc, |
70 | 70 | $this->nrInsc, |
71 | 71 | $this->date, |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $this->dom->addChild( |
148 | 148 | $ideRespInf, |
149 | 149 | "email", |
150 | - ! empty($this->std->iderespinf->email) ? $this->std->iderespinf->email : null, |
|
150 | + !empty($this->std->iderespinf->email) ? $this->std->iderespinf->email : null, |
|
151 | 151 | false |
152 | 152 | ); |
153 | 153 | $evtFechaEvPer->appendChild($ideRespInf); |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | $this->dom->addChild( |
193 | 193 | $infoFech, |
194 | 194 | "compSemMovto", |
195 | - ! empty($this->std->infofech->compsemmovto) ? $this->std->infofech->compsemmovto : null, |
|
195 | + !empty($this->std->infofech->compsemmovto) ? $this->std->infofech->compsemmovto : null, |
|
196 | 196 | false |
197 | 197 | ); |
198 | 198 | $evtFechaEvPer->appendChild($infoFech); |