Passed
Pull Request — develop (#1)
by Jimmy
03:57
created
src/Version.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function __construct($file = null)
82 82
     {
83
-        $this->version_file = $file ? : base_path(Config::get('version.file', 'VERSION'));
83
+        $this->version_file = $file ?: base_path(Config::get('version.file', 'VERSION'));
84 84
 
85 85
         $this->parseVersionFile();
86 86
 
@@ -105,11 +105,11 @@  discard block
 block discarded – undo
105 105
         $this->semver = $this->version;
106 106
 
107 107
         if ($this->pre_release) {
108
-            $this->semver .= '-' . $this->pre_release;
108
+            $this->semver .= '-'.$this->pre_release;
109 109
         }
110 110
 
111 111
         if ($this->meta) {
112
-            $this->semver .= '+' . $this->meta;
112
+            $this->semver .= '+'.$this->meta;
113 113
         }
114 114
     }
115 115
 
Please login to merge, or discard this patch.
src/routes/web.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,4 +4,4 @@
 block discarded – undo
4 4
 use Illuminate\Support\Facades\Route;
5 5
 
6 6
 Route::get(Config::get('version.route.uri', 'version'), 'VersionController@version')
7
-     ->name(Config::get('version.route.name', 'version'));
7
+        ->name(Config::get('version.route.name', 'version'));
Please login to merge, or discard this patch.
src/VersionServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
                     'namespace' => 'Spinen\Version\Http\Controllers',
34 34
                     'middleware' => Config::get('version.route.middleware', 'web'),
35 35
                 ],
36
-                function () {
37
-                    $this->loadRoutesFrom(realpath(__DIR__ . '/routes/web.php'));
36
+                function() {
37
+                    $this->loadRoutesFrom(realpath(__DIR__.'/routes/web.php'));
38 38
                 }
39 39
             );
40 40
         }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         if ($this->app->runningInConsole()) {
65 65
             $this->publishes(
66 66
                 [
67
-                    realpath(__DIR__ . '/config/version.php') => config_path('version.php'),
67
+                    realpath(__DIR__.'/config/version.php') => config_path('version.php'),
68 68
                 ],
69 69
                 'version-config'
70 70
             );
Please login to merge, or discard this patch.