Passed
Pull Request — develop (#1)
by Jimmy
06:04
created
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.
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   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
                     'namespace'  => 'Spinen\Version\Http\Controllers',
35 35
                     'middleware' => Config::get('version.route.middleware', 'web'),
36 36
                 ],
37
-                function () {
38
-                    $this->loadRoutesFrom(realpath(__DIR__ . '/../routes/web.php'));
37
+                function() {
38
+                    $this->loadRoutesFrom(realpath(__DIR__.'/../routes/web.php'));
39 39
                 }
40 40
             );
41 41
         }
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         if (Config::get('version.view.enabled')) {
44 44
             View::composer(
45 45
                 Config::get('version.view.views', '*'),
46
-                function ($view) {
46
+                function($view) {
47 47
                     return $view->with(
48 48
                         Config::get('version.view.variable', 'version'),
49 49
                         $this->app->make(Version::class)
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $this->app->singleton(
78 78
             Version::class,
79
-            function () {
79
+            function() {
80 80
                 return new Version(base_path(Config::get('version.file', 'VERSION')));
81 81
             }
82 82
         );
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         if ($this->app->runningInConsole()) {
85 85
             $this->publishes(
86 86
                 [
87
-                    realpath(__DIR__ . '/../config/version.php') => config_path('version.php'),
87
+                    realpath(__DIR__.'/../config/version.php') => config_path('version.php'),
88 88
                 ],
89 89
                 'version-config'
90 90
             );
Please login to merge, or discard this patch.