Completed
Push — master ( 4b5164...400d05 )
by Roberto
06:13 queued 03:41
created
src/Factories/EvtTabEstab.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         $this->dom->addChild(
118 118
             $ideEstab,
119 119
             "fimValid",
120
-            ! empty($this->std->fimvalid) ? $this->std->fimvalid : null,
120
+            !empty($this->std->fimvalid) ? $this->std->fimvalid : null,
121 121
             false
122 122
         );
123 123
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         }
131 131
         $node->appendChild($ideEstab);
132 132
 
133
-        if (! empty($this->std->dadosestab)) {
133
+        if (!empty($this->std->dadosestab)) {
134 134
             $dadosEstab = $this->dom->createElement("dadosEstab");
135 135
             $this->dom->addChild(
136 136
                 $dadosEstab,
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
                 $this->std->dadosestab->aliqgilrat->aliqrat,
146 146
                 true
147 147
             );
148
-            $fap = ! empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null;
148
+            $fap = !empty($this->std->dadosestab->aliqgilrat->fap) ? $this->std->dadosestab->aliqgilrat->fap : null;
149 149
             if ($fap) {
150 150
                 $fap = number_format($fap, 4, '.', '');
151 151
             }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
                 $fap,
156 156
                 false
157 157
             );
158
-            $aliqrata = ! empty($this->std->dadosestab->aliqgilrat->aliqratajust)
158
+            $aliqrata = !empty($this->std->dadosestab->aliqgilrat->aliqratajust)
159 159
                 ? $this->std->dadosestab->aliqgilrat->aliqratajust
160 160
                 : null;
161 161
             if ($aliqrata) {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
                 $aliqrata,
168 168
                 false
169 169
             );
170
-            if (! empty($this->std->dadosestab->aliqgilrat->procadmjudrat)) {
170
+            if (!empty($this->std->dadosestab->aliqgilrat->procadmjudrat)) {
171 171
                 $procAdmJudRat = $this->dom->createElement("procAdmJudRat");
172 172
                 $this->dom->addChild(
173 173
                     $procAdmJudRat,
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
                 );
190 190
                 $aliqGilrat->appendChild($procAdmJudRat);
191 191
             }
192
-            if (! empty($this->std->dadosestab->aliqgilrat->procadmjudfap)) {
192
+            if (!empty($this->std->dadosestab->aliqgilrat->procadmjudfap)) {
193 193
                 $procAdmJudFap = $this->dom->createElement("procAdmJudFap");
194 194
                 $this->dom->addChild(
195 195
                     $procAdmJudFap,
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
             }
214 214
             $dadosEstab->appendChild($aliqGilrat);
215 215
 
216
-            if (! empty($this->std->dadosestab->infocaepf)) {
216
+            if (!empty($this->std->dadosestab->infocaepf)) {
217 217
                 $infoCaepf = $this->dom->createElement("infoCaepf");
218 218
                 $this->dom->addChild(
219 219
                     $infoCaepf,
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
                 $dadosEstab->appendChild($infoCaepf);
225 225
             }
226 226
 
227
-            if (! empty($this->std->dadosestab->infoobra)) {
227
+            if (!empty($this->std->dadosestab->infoobra)) {
228 228
                 $infoObra = $this->dom->createElement("infoObra");
229 229
                 $this->dom->addChild(
230 230
                     $infoObra,
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
             $this->dom->addChild(
254 254
                 $infoApr,
255 255
                 "nrProcJud",
256
-                ! empty($this->std->dadosestab->infotrab->infoapr->nrprocjud)
256
+                !empty($this->std->dadosestab->infotrab->infoapr->nrprocjud)
257 257
                     ? $this->std->dadosestab->infotrab->infoapr->nrprocjud
258 258
                     : null,
259 259
                 false
@@ -261,13 +261,13 @@  discard block
 block discarded – undo
261 261
             $this->dom->addChild(
262 262
                 $infoApr,
263 263
                 "contEntEd",
264
-                ! empty($this->std->dadosestab->infotrab->infoapr->contented)
264
+                !empty($this->std->dadosestab->infotrab->infoapr->contented)
265 265
                     ? $this->std->dadosestab->infotrab->infoapr->contented
266 266
                     : null,
267 267
                 false
268 268
             );
269 269
 
270
-            if (! empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) {
270
+            if (!empty($this->std->dadosestab->infotrab->infoapr->infoenteduc)) {
271 271
                 foreach ($this->std->dadosestab->infotrab->infoapr->infoenteduc as $edu) {
272 272
                     $infoEntEduc = $this->dom->createElement("infoEntEduc");
273 273
                     $this->dom->addChild(
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
             }
282 282
 
283 283
             $infoTrab->appendChild($infoApr);
284
-            if (! empty($this->std->dadosestab->infotrab->infopdc)) {
284
+            if (!empty($this->std->dadosestab->infotrab->infopdc)) {
285 285
                 $infoPCD = $this->dom->createElement("infoPCD");
286 286
                 $this->dom->addChild(
287 287
                     $infoPCD,
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
                 $this->dom->addChild(
293 293
                     $infoPCD,
294 294
                     "nrProcJud",
295
-                    ! empty($this->std->dadosestab->infotrab->infopdc->nrprocjud)
295
+                    !empty($this->std->dadosestab->infotrab->infopdc->nrprocjud)
296 296
                         ? $this->std->dadosestab->infotrab->infopdc->nrprocjud
297 297
                         : null,
298 298
                     false
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
             $node->appendChild($dadosEstab);
304 304
         }
305 305
 
306
-        if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') {
306
+        if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') {
307 307
             $newVal = $this->std->novavalidade;
308 308
             $novaValidade = $this->dom->createElement("novaValidade");
309 309
             $this->dom->addChild(
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
             $this->dom->addChild(
316 316
                 $novaValidade,
317 317
                 "fimValid",
318
-                ! empty($newVal->fimvalid) ? $newVal->fimvalid : null,
318
+                !empty($newVal->fimvalid) ? $newVal->fimvalid : null,
319 319
                 false
320 320
             );
321 321
             $node->appendChild($novaValidade);
Please login to merge, or discard this patch.