Passed
Push — master ( fe7a8a...4c04ba )
by Arne
01:12 queued 11s
created
src/shared/Version.php 1 patch
Spacing   +5 added lines, -5 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 Version {
@@ -29,15 +29,15 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     public function getInfoString() {
32
-        return 'phpDox ' . $this->getVersion() . ' - Copyright (C) 2010 - ' . \date('Y', (int)\getenv('SOURCE_DATE_EPOCH') ?: \time()) . ' by Arne Blankerts and Contributors';
32
+        return 'phpDox '.$this->getVersion().' - Copyright (C) 2010 - '.\date('Y', (int)\getenv('SOURCE_DATE_EPOCH') ?: \time()).' by Arne Blankerts and Contributors';
33 33
     }
34 34
 
35 35
     public function getGeneratedByString() {
36
-        return 'Generated using ' . $this->getInfoString();
36
+        return 'Generated using '.$this->getInfoString();
37 37
     }
38 38
 
39 39
     private function initialize() {
40
-        if (!\is_dir(__DIR__ . '/../../.git') || \strpos(\ini_get('disable_functions'), 'exec') !== false) {
40
+        if (!\is_dir(__DIR__.'/../../.git') || \strpos(\ini_get('disable_functions'), 'exec') !== false) {
41 41
             return $this->release;
42 42
         }
43 43
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             $cmd     = 'git.exe';
53 53
         }
54 54
 
55
-        $git = \exec($cmd . ' describe --always --dirty 2>' . $devNull, $foo, $rc);
55
+        $git = \exec($cmd.' describe --always --dirty 2>'.$devNull, $foo, $rc);
56 56
         \chdir($dir);
57 57
 
58 58
         if ($rc === 0) {
Please login to merge, or discard this patch.