Passed
Pull Request — master (#267)
by Thiago
01:57
created
src/Factories/EvtTabAmbiente.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $this->dom->addChild(
106 106
             $ide,
107 107
             "fimValid",
108
-            ! empty($this->std->fimvalid) ? $this->std->fimvalid : null,
108
+            !empty($this->std->fimvalid) ? $this->std->fimvalid : null,
109 109
             false
110 110
         );
111 111
         $dados = null;
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
             $this->dom->addChild(
160 160
                 $nova,
161 161
                 "fimValid",
162
-                ! empty($this->std->novavalidade->fimvalid)
162
+                !empty($this->std->novavalidade->fimvalid)
163 163
                     ? $this->std->novavalidade->fimvalid
164 164
                     : null,
165 165
                 false
Please login to merge, or discard this patch.
src/Common/Soap/SoapInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      * @param string $action
81 81
      * @param string $envelope
82 82
      * @param array $parameters
83
-      */
83
+     */
84 84
     public function send(
85 85
         $operation,
86 86
         $url,
Please login to merge, or discard this patch.
src/Common/FakePretty.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     public static function prettyPrint($response, $save = '')
14 14
     {
15 15
         $std = json_decode($response);
16
-        if (! empty($save)) {
16
+        if (!empty($save)) {
17 17
             file_put_contents(
18 18
                 "$save.xml",
19 19
                 $std->body
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $html .= $std->header;
47 47
         $html .= "<br>";
48 48
         $html .= '<h2>namespaces</h2>';
49
-        $an   = json_decode(json_encode($std->namespaces), true);
49
+        $an = json_decode(json_encode($std->namespaces), true);
50 50
         foreach ($an as $key => $nam) {
51 51
             $html .= "[$key] => $nam <br>";
52 52
         }
Please login to merge, or discard this patch.
src/Tools.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
         }
195 195
         foreach ($eventos as $evt) {
196 196
             //verifica se o evento pertence ao grupo indicado
197
-            if (! in_array($evt->alias(), $this->grupos[$grupo])) {
197
+            if (!in_array($evt->alias(), $this->grupos[$grupo])) {
198 198
                 throw new RuntimeException(
199 199
                     'O evento ' . $evt->alias() . ' não pertence a este grupo [ '
200 200
                     . $this->eventGroup[$grupo] . ' ].'
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -662,6 +662,9 @@
 block discarded – undo
662 662
         }
663 663
     }
664 664
     
665
+    /**
666
+     * @param string $request
667
+     */
665 668
     protected function sign($request)
666 669
     {
667 670
         return str_replace(
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
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $this->dom->addChild(
77 77
             $ideEvento,
78 78
             "nrRecibo",
79
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
79
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
80 80
             false
81 81
         );
82 82
         $this->dom->addChild(
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
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $this->dom->addChild(
77 77
             $ideEvento,
78 78
             "nrRecibo",
79
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
79
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
80 80
             false
81 81
         );
82 82
         $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/EvtCAT.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $this->dom->addChild(
77 77
             $ideEvento,
78 78
             "nrRecibo",
79
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
79
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
80 80
             false
81 81
         );
82 82
         $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/EvtTSVTermino.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $this->dom->addChild(
77 77
             $ideEvento,
78 78
             "nrRecibo",
79
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
79
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
80 80
             false
81 81
         );
82 82
         $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/EvtTSVInicio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $this->dom->addChild(
77 77
             $ideEvento,
78 78
             "nrRecibo",
79
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
79
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
80 80
             false
81 81
         );
82 82
         $this->dom->addChild(
Please login to merge, or discard this patch.