Completed
Pull Request — master (#250)
by Roberto
02:25
created
src/Factories/EvtTabRubrica.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $this->dom->addChild(
114 114
             $ideRubrica,
115 115
             "fimValid",
116
-            ! empty($this->std->fimvalid) ? $this->std->fimvalid : null,
116
+            !empty($this->std->fimvalid) ? $this->std->fimvalid : null,
117 117
             false
118 118
         );
119 119
         //seleção do modo
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         }
127 127
         $node->appendChild($ideRubrica);
128 128
 
129
-        if (! empty($this->std->dadosrubrica)) {
129
+        if (!empty($this->std->dadosrubrica)) {
130 130
             $dadosRubrica = $this->dom->createElement("dadosRubrica");
131 131
             $this->dom->addChild(
132 132
                 $dadosRubrica,
@@ -173,13 +173,13 @@  discard block
 block discarded – undo
173 173
             $this->dom->addChild(
174 174
                 $dadosRubrica,
175 175
                 "observacao",
176
-                ! empty($this->std->dadosrubrica->observacao)
176
+                !empty($this->std->dadosrubrica->observacao)
177 177
                     ? $this->std->dadosrubrica->observacao
178 178
                     : null,
179 179
                 false
180 180
             );
181 181
 
182
-            if (! empty($this->std->dadosrubrica->ideprocessocp)) {
182
+            if (!empty($this->std->dadosrubrica->ideprocessocp)) {
183 183
                 foreach ($this->std->dadosrubrica->ideprocessocp as $cp) {
184 184
                     $ideProcessoCP = $this->dom->createElement("ideProcessoCP");
185 185
                     $this->dom->addChild(
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
                 }
211 211
             }
212 212
 
213
-            if (! empty($this->std->dadosrubrica->ideprocessoirrf)) {
213
+            if (!empty($this->std->dadosrubrica->ideprocessoirrf)) {
214 214
                 foreach ($this->std->dadosrubrica->ideprocessoirrf as $irrf) {
215 215
                     $ideProcessoIRRF = $this->dom->createElement("ideProcessoIRRF");
216 216
                     $this->dom->addChild(
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
                     $dadosRubrica->appendChild($ideProcessoIRRF);
229 229
                 }
230 230
             }
231
-            if (! empty($this->std->dadosrubrica->ideprocessofgts)) {
231
+            if (!empty($this->std->dadosrubrica->ideprocessofgts)) {
232 232
                 foreach ($this->std->dadosrubrica->ideprocessofgts as $fgts) {
233 233
                     $ideProcessoFGTS = $this->dom->createElement("ideProcessoFGTS");
234 234
                     $this->dom->addChild(
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
                     $dadosRubrica->appendChild($ideProcessoFGTS);
241 241
                 }
242 242
             }
243
-            if (! empty($this->std->dadosrubrica->ideprocessosind)) {
243
+            if (!empty($this->std->dadosrubrica->ideprocessosind)) {
244 244
                 foreach ($this->std->dadosrubrica->ideprocessosind as $sind) {
245 245
                     $ideProcessoSIND = $this->dom->createElement("ideProcessoSIND");
246 246
                     $this->dom->addChild(
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
             }
255 255
             $node->appendChild($dadosRubrica);
256 256
         }
257
-        if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') {
257
+        if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') {
258 258
             $newVal = $this->std->novavalidade;
259 259
             $novaValidade = $this->dom->createElement("novaValidade");
260 260
             $this->dom->addChild(
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
             $this->dom->addChild(
267 267
                 $novaValidade,
268 268
                 "fimValid",
269
-                ! empty($newVal->fimvalid) ? $newVal->fimvalid : null,
269
+                !empty($newVal->fimvalid) ? $newVal->fimvalid : null,
270 270
                 false
271 271
             );
272 272
             $node->appendChild($novaValidade);
Please login to merge, or discard this patch.
src/Factories/EvtInfoEmpregador.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -250,8 +250,8 @@  discard block
 block discarded – undo
250 250
             );
251 251
             $infoCadastro->appendChild($info);
252 252
         }
253
-        if (isset($this->std->infoop)  && !empty($infoCadastro)) {
254
-            $cad  = $this->std->infoop;
253
+        if (isset($this->std->infoop) && !empty($infoCadastro)) {
254
+            $cad = $this->std->infoop;
255 255
             $infoOP = $this->dom->createElement("infoOP");
256 256
             $this->dom->addChild(
257 257
                 $infoOP,
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
                 true
261 261
             );
262 262
             if (isset($this->std->infoefr)) {
263
-                $cad  = $this->std->infoefr;
263
+                $cad = $this->std->infoefr;
264 264
                 $infoEFR = $this->dom->createElement("infoEFR");
265 265
                 $this->dom->addChild(
266 266
                     $infoEFR,
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
                 $infoOP->appendChild($infoEFR);
278 278
             }
279 279
             if (isset($this->std->infoente)) {
280
-                $cad  = $this->std->infoente;
280
+                $cad = $this->std->infoente;
281 281
                 $infoEnte = $this->dom->createElement("infoEnte");
282 282
                 $this->dom->addChild(
283 283
                     $infoEnte,
Please login to merge, or discard this patch.