Passed
Branch master (b0a7b3)
by Nasrul Hazim
09:16
created
Category
stubs/app/Support/env.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 /*
4 4
  * Check environment status
5 5
  */
6
-if (! function_exists('isProduction')) {
6
+if (!function_exists('isProduction')) {
7 7
     function isProduction()
8 8
     {
9 9
         return 'production' == app()->environment();
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 /*
14 14
  * Check environment status
15 15
  */
16
-if (! function_exists('isTesting')) {
16
+if (!function_exists('isTesting')) {
17 17
     function isTesting()
18 18
     {
19 19
         return 'testing' == app()->environment();
Please login to merge, or discard this patch.
stubs/app/Traits/HasMediaExtended.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     {
34 34
         $media = $this->getLastMedia($collectionName);
35 35
 
36
-        if (! $media) {
36
+        if (!$media) {
37 37
             return '';
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/Commander.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@  discard block
 block discarded – undo
17 17
 
18 18
     public function __construct($name = null)
19 19
     {
20
-        if (! $this->gitInstalled()) {
20
+        if (!$this->gitInstalled()) {
21 21
             throw new \Exception('Git are not installed in your machine!');
22 22
         }
23 23
 
24
-        if (! $this->composerInstalled()) {
24
+        if (!$this->composerInstalled()) {
25 25
             throw new \Exception('Composer are not installed in your machine!');
26 26
         }
27 27
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function gitInstalled(): bool
60 60
     {
61
-        return ! empty(exec('which git'));
61
+        return !empty(exec('which git'));
62 62
     }
63 63
 
64 64
     /**
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     public function composerInstalled(): bool
68 68
     {
69
-        return ! empty(exec('which composer')) || file_exists(getcwd() . '/composer.phar');
69
+        return !empty(exec('which composer')) || file_exists(getcwd() . '/composer.phar');
70 70
     }
71 71
 
72 72
     /**
Please login to merge, or discard this patch.
src/Commands/MakeInstallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,13 +58,13 @@  discard block
 block discarded – undo
58 58
 
59 59
         $this->stub_path = $stub_path = __DIR__ . '/../../stubs/';
60 60
 
61
-        if (! $this->filesystem->exists($path)) {
61
+        if (!$this->filesystem->exists($path)) {
62 62
             $output->writeln('<comment>' . $path . ' does not exists!</comment>');
63 63
 
64 64
             return 1;
65 65
         }
66 66
 
67
-        if (! $this->configs($name)) {
67
+        if (!$this->configs($name)) {
68 68
             throw new \Exception('Config not available.', 1);
69 69
 
70 70
             return 1;
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
     private function configs($name)
99 99
     {
100
-        if (! isset($this->configs[$name])) {
100
+        if (!isset($this->configs[$name])) {
101 101
             return false;
102 102
         }
103 103
 
Please login to merge, or discard this patch.
src/Commands/MakeComposeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     {
28 28
         $path = $input->getArgument('path');
29 29
 
30
-        if (! file_exists($path)) {
30
+        if (!file_exists($path)) {
31 31
             $output->writeln('<error>' . $path . ' does not exists!</error>');
32 32
 
33 33
             return 1;
Please login to merge, or discard this patch.