Passed
Push — master ( 47b309...8e61b1 )
by Roberto
05:31 queued 03:17
created
src/Tools.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -575,6 +575,9 @@
 block discarded – undo
575 575
         }
576 576
     }
577 577
     
578
+    /**
579
+     * @param stdClass $std
580
+     */
578 581
     protected function validInputParameters($properties, $std)
579 582
     {
580 583
         foreach ($properties as $key => $rules) {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
                 'required' => true,
285 285
                 'type' => 'string',
286 286
                 'regex' => '^(19[0-9][0-9]|2[0-9][0-9][0-9])[-](0?[1-9]|1[0-2])$'
287
-             ],
287
+                ],
288 288
             'nrinscestabprest' => [
289 289
                 'required' => true,
290 290
                 'type' => 'string',
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -490,20 +490,20 @@
 block discarded – undo
490 490
                 throw ProcessException::wrongArgument(2002, '');
491 491
             }
492 492
             //verifica se o evento pertence ao grupo indicado
493
-            if (! in_array($evt->alias(), $this->grupos[$grupo])) {
493
+            if (!in_array($evt->alias(), $this->grupos[$grupo])) {
494 494
                 throw new \RuntimeException(
495 495
                     'O evento ' . $evt->alias() . ' não pertence a este grupo [ '
496 496
                     . $this->eventGroup[$grupo] . ' ].'
497 497
                 );
498 498
             }
499 499
             $this->checkCertificate($evt);
500
-            $xml .= "<evento id=\"".$evt->getId()."\">";
500
+            $xml .= "<evento id=\"" . $evt->getId() . "\">";
501 501
             $xml .= $evt->toXML();
502 502
             $xml .= "</evento>";
503 503
         }
504 504
         //build request
505 505
         $request = "<Reinf xmlns=\"http://www.reinf.esocial.gov.br/schemas/envioLoteEventos/v"
506
-            . $this->serviceVersion."\" >"
506
+            . $this->serviceVersion . "\" >"
507 507
             . "<loteEventos>"
508 508
             . $xml
509 509
             . "</loteEventos>"
Please login to merge, or discard this patch.
src/Factories/EvtBenefNId.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\EFDReinf\Common\Factory;
19 19
 use NFePHP\EFDReinf\Common\FactoryInterface;
20
-use NFePHP\EFDReinf\Common\FactoryId;
21 20
 use NFePHP\Common\Certificate;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
src/Factories/EvtFech.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\EFDReinf\Common\Factory;
19 19
 use NFePHP\EFDReinf\Common\FactoryInterface;
20
-use NFePHP\EFDReinf\Common\FactoryId;
21 20
 use NFePHP\Common\Certificate;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
src/Factories/EvtReab.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\EFDReinf\Common\Factory;
19 19
 use NFePHP\EFDReinf\Common\FactoryInterface;
20
-use NFePHP\EFDReinf\Common\FactoryId;
21 20
 use NFePHP\Common\Certificate;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
src/Factories/EvtRetCons.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\EFDReinf\Common\Factory;
19 19
 use NFePHP\EFDReinf\Common\FactoryInterface;
20
-use NFePHP\EFDReinf\Common\FactoryId;
21 20
 use NFePHP\Common\Certificate;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
src/Factories/EvtRetPF.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\EFDReinf\Common\Factory;
19 19
 use NFePHP\EFDReinf\Common\FactoryInterface;
20
-use NFePHP\EFDReinf\Common\FactoryId;
21 20
 use NFePHP\Common\Certificate;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.
src/Factories/EvtRetPJ.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use NFePHP\EFDReinf\Common\Factory;
19 19
 use NFePHP\EFDReinf\Common\FactoryInterface;
20
-use NFePHP\EFDReinf\Common\FactoryId;
21 20
 use NFePHP\Common\Certificate;
22 21
 use stdClass;
23 22
 
Please login to merge, or discard this patch.