Test Setup Failed
Pull Request — master (#631)
by Luis Henrique
02:03
created
src/Common/Tools.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      * Canonical conversion options
98 98
      * @var array
99 99
      */
100
-    protected $canonical = [true,false,null,null];
100
+    protected $canonical = [true, false, null, null];
101 101
     /**
102 102
      * Model of NFe 55 or 65
103 103
      * @var int
@@ -299,8 +299,8 @@  discard block
 block discarded – undo
299 299
         $this->versao = $version;
300 300
         $this->config->schemes = $this->availableVersions[$version];
301 301
         $this->pathschemes = realpath(
302
-            __DIR__ . '/../../schemes/'. $this->config->schemes
303
-        ).'/';
302
+            __DIR__ . '/../../schemes/' . $this->config->schemes
303
+        ) . '/';
304 304
 
305 305
         return $this->versao;
306 306
     }
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
      */
401 401
     protected function isValid($version, $body, $method)
402 402
     {
403
-        $schema = $this->pathschemes.$method."_v$version.xsd";
403
+        $schema = $this->pathschemes . $method . "_v$version.xsd";
404 404
         if (!is_file($schema)) {
405 405
             return true;
406 406
         }
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
         }
548 548
         
549 549
         $path = $this->pathwsfiles . $file;
550
-        if (! file_exists($path)) {
550
+        if (!file_exists($path)) {
551 551
             return '';
552 552
         }
553 553
         return file_get_contents($path);
Please login to merge, or discard this patch.