Completed
Push — master ( 41c3f3...cfdb57 )
by Bobby
36:28 queued 21:34
created
src/Version.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     public function getVersionNumber($bits = null)
76 76
     {
77 77
         if (is_null($bits)) {
78
-            return (int)str_replace('.', '', $this->version);
78
+            return (int) str_replace('.', '', $this->version);
79 79
         }
80 80
         return implode('', $this->versionFromBits($bits));
81 81
     }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     private function setRepositoryPath($path)
115 115
     {
116
-        $this->gitPath = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . '.git';
116
+        $this->gitPath = rtrim($path, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'.git';
117 117
     }
118 118
 
119 119
     /**
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
         }
136 136
 
137 137
         $version = trim($git->resultAsText());
138
-        $this->version = '0.0.0-0-' . $version;
138
+        $this->version = '0.0.0-0-'.$version;
139 139
 
140 140
         if (strlen($version) > 7) {
141 141
             $this->version = str_replace('v', '', $version);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         if (strlen($versionBits[0])) {
154 154
             $this->version = $versionBits[0];
155 155
             if (isset($versionBits[1])) {
156
-                $this->version = $versionBits[0] . '.' . $versionBits[1];
156
+                $this->version = $versionBits[0].'.'.$versionBits[1];
157 157
             }
158 158
             if (isset($versionBits[2])) {
159 159
                 $this->hash = $versionBits[2];
Please login to merge, or discard this patch.