@@ -26,7 +26,7 @@ discard block |
||
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 |
||
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 | } |
@@ -23,6 +23,6 @@ |
||
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 | } |
@@ -49,8 +49,8 @@ |
||
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' => '', |
@@ -40,8 +40,8 @@ |
||
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 | /** |