Passed
Push — master ( d5f45e...403c65 )
by Roberto
49s
created
src/Factories/EvtContratAvNP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Factories/EvtTSVAltContr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Factories/EvtRmnRPPS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Factories/EvtIrrfBenef.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Factories/EvtAltCadastral.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Factories/EvtRemun.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Factories/EvtIrrf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Factories/EvtAqProd.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Factories/EvtTabEstab.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.