Completed
Push — master ( 290274...0d6445 )
by Arne
04:08
created
src/generator/project/TokenFileIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\phpDox\Generator;
3 3
 
4 4
 use TheSeer\phpDox\FileInfo;
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
     public function current(): TokenFile {
22 22
         $item = $this->nodeList->item($this->pos);
23
-        $path = \dirname(\str_replace('file:/', '', \urldecode($item->ownerDocument->documentURI))) . '/' . $item->getAttribute('xml');
23
+        $path = \dirname(\str_replace('file:/', '', \urldecode($item->ownerDocument->documentURI))).'/'.$item->getAttribute('xml');
24 24
 
25 25
         return new TokenFile(new FileInfo($path));
26 26
     }
Please login to merge, or discard this patch.
src/shared/FileInfo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\phpDox;
3 3
 
4 4
 class FileInfo extends \SplFileInfo {
@@ -32,10 +32,10 @@  discard block
 block discarded – undo
32 32
         $result = $this->getRealPath();
33 33
 
34 34
         if ($result[0] !== '/') {
35
-            $result = '/' . $result;
35
+            $result = '/'.$result;
36 36
         }
37 37
 
38
-        return 'file://' . urlencode($result);
38
+        return 'file://'.urlencode($result);
39 39
     }
40 40
 
41 41
     public function getPath() {
Please login to merge, or discard this patch.