Passed
Pull Request — master (#455)
by
unknown
07:05
created
src/Commands/FEBuild.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      */
53 53
     public function handle()
54 54
     {
55
-        if(!FEInstall::checkNodeModules()) {
55
+        if (!FEInstall::checkNodeModules()) {
56 56
             $this->info('Twill frontend dependencies are not installed.');
57 57
             $this->info('Install it right now !');
58 58
             $this->call('twill:fe-install');
Please login to merge, or discard this patch.
src/Commands/FEInstall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,6 @@
 block discarded – undo
67 67
 
68 68
     public static function checkNodeModules()
69 69
     {
70
-        return file_exists(config('twill.vendor_path').'/node_modules');
70
+        return file_exists(config('twill.vendor_path') . '/node_modules');
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
src/Helpers/frontend_helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     {
12 12
         if (!app()->environment('local', 'development')) {
13 13
             try {
14
-                $manifest = Cache::rememberForever('rev-manifest', function () {
14
+                $manifest = Cache::rememberForever('rev-manifest', function() {
15 15
                     return json_decode(file_get_contents(config('twill.frontend.rev_manifest_path')), true);
16 16
                 });
17 17
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         if (!app()->environment('local', 'development')) {
39 39
             try {
40
-                $manifest = Cache::rememberForever('twill-manifest', function () {
40
+                $manifest = Cache::rememberForever('twill-manifest', function() {
41 41
                     return json_decode(file_get_contents(config('twill.frontend.twill_manifest_path')), true);
42 42
                 });
43 43
 
Please login to merge, or discard this patch.