Passed
Push — master ( 0a73c7...6e1700 )
by Roberto
02:51
created
src/Common/Soap/SoapCode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     public static function info($code)
24 24
     {
25
-        $codes = (array) json_decode(file_get_contents(__DIR__.'/httpcodes.json'), true);
25
+        $codes = (array) json_decode(file_get_contents(__DIR__ . '/httpcodes.json'), true);
26 26
         if (array_key_exists($code, $codes)) {
27 27
             return $codes[$code];
28 28
         }
Please login to merge, or discard this patch.
src/Factories/EvtAvPrevio.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 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,
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $this->dom->addChild(
88 88
             $ideEvento,
89 89
             "nrRecibo",
90
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
90
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
91 91
             false
92 92
         );
93 93
         $this->dom->addChild(
@@ -171,14 +171,14 @@  discard block
 block discarded – undo
171 171
         $this->dom->addChild(
172 172
             $detAvPrevio,
173 173
             "observacao",
174
-            ! empty($this->std->observacao) ? $this->std->observacao : null,
174
+            !empty($this->std->observacao) ? $this->std->observacao : null,
175 175
             false
176 176
         );
177 177
 
178 178
         $infoAvPrevio->appendChild($detAvPrevio);
179 179
         $evtAvPrevio->appendChild($infoAvPrevio);
180 180
 
181
-        if (! empty($this->std->cancavprevio)) {
181
+        if (!empty($this->std->cancavprevio)) {
182 182
             $cancAvPrevio = $this->dom->createElement("cancAvPrevio");
183 183
             $this->dom->addChild(
184 184
                 $cancAvPrevio,
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
             $this->dom->addChild(
190 190
                 $cancAvPrevio,
191 191
                 "observacao",
192
-                ! empty($this->std->cancavprevio->observacao) ? $this->std->cancavprevio->observacao : null,
192
+                !empty($this->std->cancavprevio->observacao) ? $this->std->cancavprevio->observacao : null,
193 193
                 false
194 194
             );
195 195
             $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/EvtAltContratual.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/EvtAfastTemp.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         $this->dom->addChild(
135 135
             $ideVinculo,
136 136
             "codCateg",
137
-            ! empty($this->std->idevinculo->codcateg) ? $this->std->idevinculo->codcateg : null,
137
+            !empty($this->std->idevinculo->codcateg) ? $this->std->idevinculo->codcateg : null,
138 138
             false
139 139
         );
140 140
         $this->node->appendChild($ideVinculo);
@@ -160,21 +160,21 @@  discard block
 block discarded – undo
160 160
         $this->dom->addChild(
161 161
             $iniAfastamento,
162 162
             "infoMesmoMtv",
163
-            ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null,
163
+            !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null,
164 164
             false
165 165
         );
166 166
 
167 167
         $this->dom->addChild(
168 168
             $iniAfastamento,
169 169
             "tpAcidTransito",
170
-            ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null,
170
+            !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null,
171 171
             false
172 172
         );
173 173
 
174 174
         $this->dom->addChild(
175 175
             $iniAfastamento,
176 176
             "observacao",
177
-            ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null,
177
+            !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null,
178 178
             false
179 179
         );
180 180
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
                 $this->dom->addChild(
186 186
                     $infoAtestado,
187 187
                     "codCID",
188
-                    ! empty($info->codcid) ? $info->codcid : null,
188
+                    !empty($info->codcid) ? $info->codcid : null,
189 189
                     false
190 190
                 );
191 191
 
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
                     $this->dom->addChild(
224 224
                         $emitente,
225 225
                         "ufOC",
226
-                        ! empty($info->emitente->ufoc) ? $info->emitente->ufoc : null,
226
+                        !empty($info->emitente->ufoc) ? $info->emitente->ufoc : null,
227 227
                         false
228 228
                     );
229 229
 
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
             }
235 235
         }
236 236
 
237
-        if (! empty($this->std->infocessao)) {
237
+        if (!empty($this->std->infocessao)) {
238 238
             $infoCessao = $this->dom->createElement("infoCessao");
239 239
 
240 240
             $this->dom->addChild(
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
             $iniAfastamento->appendChild($infoCessao);
255 255
         }
256 256
 
257
-        if (! empty($this->std->infomandsind)) {
257
+        if (!empty($this->std->infomandsind)) {
258 258
             $infoMandSind = $this->dom->createElement("infoMandSind");
259 259
 
260 260
             $this->dom->addChild(
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
 
277 277
         $infoAfastamento->appendChild($iniAfastamento);
278 278
 
279
-        if (! empty($this->std->inforetif)) {
279
+        if (!empty($this->std->inforetif)) {
280 280
             $infoRetif = $this->dom->createElement("infoRetif");
281 281
 
282 282
             $this->dom->addChild(
@@ -296,14 +296,14 @@  discard block
 block discarded – undo
296 296
             $this->dom->addChild(
297 297
                 $infoRetif,
298 298
                 "nrProc",
299
-                ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null,
299
+                !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null,
300 300
                 false
301 301
             );
302 302
 
303 303
             $infoAfastamento->appendChild($infoRetif);
304 304
         }
305 305
 
306
-        if (! empty($this->std->fimafastamento)) {
306
+        if (!empty($this->std->fimafastamento)) {
307 307
             $fimAfastamento = $this->dom->createElement("fimAfastamento");
308 308
 
309 309
             $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/EvtMonit.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -170,14 +170,14 @@  discard block
 block discarded – undo
170 170
                 $this->dom->addChild(
171 171
                     $exame,
172 172
                     "procRealizado",
173
-                    ! empty($exam->procrealizado) ? $exam->procrealizado : null,
173
+                    !empty($exam->procrealizado) ? $exam->procrealizado : null,
174 174
                     false
175 175
                 );
176 176
 
177 177
                 $this->dom->addChild(
178 178
                     $exame,
179 179
                     "obsProc",
180
-                    ! empty($exam->obsproc) ? $exam->obsproc : null,
180
+                    !empty($exam->obsproc) ? $exam->obsproc : null,
181 181
                     false
182 182
                 );
183 183
 
@@ -205,14 +205,14 @@  discard block
 block discarded – undo
205 205
                 $this->dom->addChild(
206 206
                     $exame,
207 207
                     "dtFimMonit",
208
-                    ! empty($exam->dtfimmonit) ? $exam->dtfimmonit : null,
208
+                    !empty($exam->dtfimmonit) ? $exam->dtfimmonit : null,
209 209
                     false
210 210
                 );
211 211
 
212 212
                 $this->dom->addChild(
213 213
                     $exame,
214 214
                     "indResult",
215
-                    ! empty($exam->indresult) ? $exam->indresult : null,
215
+                    !empty($exam->indresult) ? $exam->indresult : null,
216 216
                     false
217 217
                 );
218 218
 
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
         $this->dom->addChild(
240 240
             $respMonit,
241 241
             "ufConsClasse",
242
-            ! empty($this->std->respmonit->ufconsclasse) ? $this->std->respmonit->ufconsclasse : null,
242
+            !empty($this->std->respmonit->ufconsclasse) ? $this->std->respmonit->ufconsclasse : null,
243 243
             false
244 244
         );
245 245
 
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         $this->dom->addChild(
251 251
             $ideServSaude,
252 252
             "codCNES",
253
-            ! empty($this->std->ideservsaude->codcnes) ? $this->std->ideservsaude->codcnes : null,
253
+            !empty($this->std->ideservsaude->codcnes) ? $this->std->ideservsaude->codcnes : null,
254 254
             false
255 255
         );
256 256
 
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
         $this->dom->addChild(
265 265
             $ideServSaude,
266 266
             "email",
267
-            ! empty($this->std->ideservsaude->email) ? $this->std->ideservsaude->email : null,
267
+            !empty($this->std->ideservsaude->email) ? $this->std->ideservsaude->email : null,
268 268
             false
269 269
         );
270 270
 
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/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.