Passed
Pull Request — develop (#1)
by Jimmy
03:39
created
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/Version.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,11 +103,11 @@
 block discarded – undo
103 103
         $this->semver = $this->version;
104 104
 
105 105
         if ($this->pre_release) {
106
-            $this->semver .= '-' . $this->pre_release;
106
+            $this->semver .= '-'.$this->pre_release;
107 107
         }
108 108
 
109 109
         if ($this->meta) {
110
-            $this->semver .= '+' . $this->meta;
110
+            $this->semver .= '+'.$this->meta;
111 111
         }
112 112
     }
113 113
 
Please login to merge, or discard this patch.
src/VersionServiceProvider.php 1 patch
Spacing   +4 added lines, -4 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
         }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $this->app->singleton(
65 65
             Version::class,
66
-            function () {
66
+            function() {
67 67
                 return new Version(base_path(Config::get('version.file', 'VERSION')));
68 68
             }
69 69
         );
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         if ($this->app->runningInConsole()) {
72 72
             $this->publishes(
73 73
                 [
74
-                    realpath(__DIR__ . '/config/version.php') => config_path('version.php'),
74
+                    realpath(__DIR__.'/config/version.php') => config_path('version.php'),
75 75
                 ],
76 76
                 'version-config'
77 77
             );
Please login to merge, or discard this patch.