Passed
Push — master ( 6ac48f...cd0850 )
by Nasrul Hazim
02:01
created
src/Traits/ProjectTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     protected function verifyProjectDoesExist($directory)
28 28
     {
29
-        if (! is_dir($directory)) {
29
+        if (!is_dir($directory)) {
30 30
             throw new LaravelProjectException('Laravel Project does not exists!');
31 31
         }
32 32
     }
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     protected function verifyPackageDoesExist($directory)
40 40
     {
41
-        if (! is_dir($directory)) {
41
+        if (!is_dir($directory)) {
42 42
             throw new LaravelProjectException('Package does not exists!');
43 43
         }
44 44
     }
Please login to merge, or discard this patch.
src/Traits/GitTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
      */
24 24
     public function gitInstalled()
25 25
     {
26
-        return ! empty(exec('which git'));
26
+        return !empty(exec('which git'));
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
src/stubs/tests/TestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@
 block discarded – undo
49 49
     protected function getEnvironmentSetUp($app)
50 50
     {
51 51
         // Setup default database to use sqlite :memory:
52
-        $app['config']->set('database.default', 'testbench');
53
-        $app['config']->set('database.connections.testbench', [
52
+        $app[ 'config' ]->set('database.default', 'testbench');
53
+        $app[ 'config' ]->set('database.connections.testbench', [
54 54
             'driver'   => 'sqlite',
55 55
             'database' => ':memory:',
56 56
             'prefix'   => '',
Please login to merge, or discard this patch.
src/stubs/tests/Traits/TestCaseTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
      */
41 41
     public function migrate()
42 42
     {
43
-        $this->loadLaravelMigrations(['--database' => 'testbench']);
44
-        $this->artisan('migrate', ['--database' => 'testbench']);
43
+        $this->loadLaravelMigrations([ '--database' => 'testbench' ]);
44
+        $this->artisan('migrate', [ '--database' => 'testbench' ]);
45 45
     }
46 46
 
47 47
     /**
Please login to merge, or discard this patch.