Passed
Pull Request — master (#284)
by
unknown
03:06
created
src/Factories/EvtTabEstab.php 1 patch
Spacing   +16 added lines, -16 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,
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
                 $this->std->dadosestab->infotrab->regpt,
243 243
                 true
244 244
             );
245
-            if (! empty($this->std->dadosestab->infoapr)) {
245
+            if (!empty($this->std->dadosestab->infoapr)) {
246 246
                 $infoApr = $this->dom->createElement("infoApr");
247 247
                 $this->dom->addChild(
248 248
                     $infoApr,
@@ -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(
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
 
283 283
                 $infoTrab->appendChild($infoApr);
284 284
             }
285
-            if (! empty($this->std->dadosestab->infotrab->infopdc)) {
285
+            if (!empty($this->std->dadosestab->infotrab->infopdc)) {
286 286
                 $infoPCD = $this->dom->createElement("infoPCD");
287 287
                 $this->dom->addChild(
288 288
                     $infoPCD,
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
                 $this->dom->addChild(
294 294
                     $infoPCD,
295 295
                     "nrProcJud",
296
-                    ! empty($this->std->dadosestab->infotrab->infopdc->nrprocjud)
296
+                    !empty($this->std->dadosestab->infotrab->infopdc->nrprocjud)
297 297
                         ? $this->std->dadosestab->infotrab->infopdc->nrprocjud
298 298
                         : null,
299 299
                     false
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
             $node->appendChild($dadosEstab);
305 305
         }
306 306
 
307
-        if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') {
307
+        if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') {
308 308
             $newVal = $this->std->novavalidade;
309 309
             $novaValidade = $this->dom->createElement("novaValidade");
310 310
             $this->dom->addChild(
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
             $this->dom->addChild(
317 317
                 $novaValidade,
318 318
                 "fimValid",
319
-                ! empty($newVal->fimvalid) ? $newVal->fimvalid : null,
319
+                !empty($newVal->fimvalid) ? $newVal->fimvalid : null,
320 320
                 false
321 321
             );
322 322
             $node->appendChild($novaValidade);
Please login to merge, or discard this patch.