Completed
Push — master ( 7b1812...72843d )
by CodexShaper
05:03
created
src/Commands/DatabaseAdmin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
      */
40 40
     protected function findComposer()
41 41
     {
42
-        if (file_exists(getcwd() . '/composer.phar')) {
43
-            return '"' . PHP_BINARY . '" ' . getcwd() . '/composer.phar';
42
+        if (file_exists(getcwd().'/composer.phar')) {
43
+            return '"'.PHP_BINARY.'" '.getcwd().'/composer.phar';
44 44
         }
45 45
         return 'composer';
46 46
     }
Please login to merge, or discard this patch.
src/Commands/InstallDatabaseManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      *
27 27
      * @var string
28 28
      */
29
-    protected $seedersPath = __DIR__ . '/../../database/seeds/';
29
+    protected $seedersPath = __DIR__.'/../../database/seeds/';
30 30
 
31 31
     /**
32 32
      * Get Option
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
      */
48 48
     protected function findComposer()
49 49
     {
50
-        if (file_exists(getcwd() . '/composer.phar')) {
51
-            return '"' . PHP_BINARY . '" ' . getcwd() . '/composer.phar';
50
+        if (file_exists(getcwd().'/composer.phar')) {
51
+            return '"'.PHP_BINARY.'" '.getcwd().'/composer.phar';
52 52
         }
53 53
         return 'composer';
54 54
     }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
         $this->info('Dumping the autoloaded files and reloading all new files');
76 76
         $composer = $this->findComposer();
77
-        $process  = new Process($composer . ' dump-autoload');
77
+        $process  = new Process($composer.' dump-autoload');
78 78
         $process->setTimeout(null); // Setting timeout to null to prevent installation from stopping at a certain point in time
79 79
         $process->setWorkingDirectory(base_path())->run();
80 80
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $this->info('Seeding...');
99 99
         // Seeding Dummy Data
100 100
         $class = 'DatabaseManagerSeeder';
101
-        $file  = $this->seedersPath . $class . '.php';
101
+        $file  = $this->seedersPath.$class.'.php';
102 102
         if (file_exists($file) && !class_exists($class)) {
103 103
             require_once $file;
104 104
         }
Please login to merge, or discard this patch.
routes/api.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
     'prefix'     => 'database',
5 5
     'middleware' => 'auth:api',
6 6
     'namespace'  => config('dbm.controller_namespace'),
7
-], function () {
7
+], function() {
8 8
 
9 9
     // Helpers Route
10 10
     Route::get('assets', 'ManagerController@assets')->name('dbm.asset');
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     Route::put('/relationship', 'RelationController@update');
45 45
     Route::delete('/relationship', 'RelationController@delete');
46 46
     // Table
47
-    Route::group(['prefix' => 'table'], function () {
47
+    Route::group(['prefix' => 'table'], function() {
48 48
         Route::get('/details/{table}', 'RecordController@getTableDetails');
49 49
         Route::get('/columns/{table}', 'TableController@getTableColumns');
50 50
     });
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 Route::group([
60 60
     'prefix'    => 'database',
61 61
     'namespace' => config('dbm.controller_namespace'),
62
-], function () {
62
+], function() {
63 63
     // User
64 64
     Route::post('/login', 'UserController@login');
65 65
     // Route::post('/oauth/token', 'UserController@getPersonalAccessToken');
Please login to merge, or discard this patch.