@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | public function up() |
| 12 | 12 | { |
| 13 | - Schema::table('pull_requests_has_commits', function (Blueprint $table) { |
|
| 13 | + Schema::table('pull_requests_has_commits', function(Blueprint $table) { |
|
| 14 | 14 | $table->foreign('commit_id', 'fk_pull_requests_has_commits_commit_id')->references('id')->on('commits')->onUpdate('NO ACTION')->onDelete('NO ACTION'); |
| 15 | 15 | $table->foreign('pull_request_id', 'fk_pull_requests_has_commits_pull_request_id')->references('id')->on('pull_requests')->onUpdate('NO ACTION')->onDelete('NO ACTION'); |
| 16 | 16 | }); |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | */ |
| 22 | 22 | public function down() |
| 23 | 23 | { |
| 24 | - Schema::table('pull_requests_has_commits', function (Blueprint $table) { |
|
| 24 | + Schema::table('pull_requests_has_commits', function(Blueprint $table) { |
|
| 25 | 25 | $table->dropForeign('fk_pull_requests_has_commits_commit_id'); |
| 26 | 26 | $table->dropForeign('fk_pull_requests_has_commits_pull_request_id'); |
| 27 | 27 | }); |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | public function up() |
| 12 | 12 | { |
| 13 | - Schema::create('commits', function (Blueprint $table) { |
|
| 13 | + Schema::create('commits', function(Blueprint $table) { |
|
| 14 | 14 | $table->increments('id'); |
| 15 | 15 | $table->integer('product_backlog_id')->unsigned()->nullable()->index('fk_commits_product_backlog_id_idx'); |
| 16 | 16 | $table->integer('branch_id')->unsigned()->nullable()->index('fk_commits_branch_id_idx'); |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | public function up() |
| 12 | 12 | { |
| 13 | - Schema::create('pull_requests', function (Blueprint $table) { |
|
| 13 | + Schema::create('pull_requests', function(Blueprint $table) { |
|
| 14 | 14 | $table->increments('id'); |
| 15 | 15 | $table->integer('github_id')->unsigned()->nullable()->unique('github_id_UNIQUE'); |
| 16 | 16 | $table->integer('head_branch_id')->unsigned()->nullable()->index('fk_pull_requests_head_branch_id_idx'); |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | public function up() |
| 12 | 12 | { |
| 13 | - Schema::table('product_backlogs', function (Blueprint $table) { |
|
| 13 | + Schema::table('product_backlogs', function(Blueprint $table) { |
|
| 14 | 14 | $table->foreign('organization_id', 'fk_product_backlogs_organization_id')->references('id')->on('organizations')->onUpdate('NO ACTION')->onDelete('NO ACTION'); |
| 15 | 15 | $table->foreign('user_id', 'fk_product_backlogs_user_id')->references('id')->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION'); |
| 16 | 16 | }); |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | */ |
| 22 | 22 | public function down() |
| 23 | 23 | { |
| 24 | - Schema::table('product_backlogs', function (Blueprint $table) { |
|
| 24 | + Schema::table('product_backlogs', function(Blueprint $table) { |
|
| 25 | 25 | $table->dropForeign('fk_product_backlogs_organization_id'); |
| 26 | 26 | $table->dropForeign('fk_product_backlogs_user_id'); |
| 27 | 27 | }); |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | public function up() |
| 12 | 12 | { |
| 13 | - Schema::table('user_stories', function (Blueprint $table) { |
|
| 13 | + Schema::table('user_stories', function(Blueprint $table) { |
|
| 14 | 14 | $table->foreign('config_priority_id', 'fk_user_stories_config_priority_id')->references('id')->on('config_priorities')->onUpdate('NO ACTION')->onDelete('NO ACTION'); |
| 15 | 15 | $table->foreign('product_backlog_id', 'fk_user_stories_product_backlog_id')->references('id')->on('product_backlogs')->onUpdate('NO ACTION')->onDelete('NO ACTION'); |
| 16 | 16 | $table->foreign('user_id', 'fk_user_stories_user_id')->references('id')->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION'); |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | public function down() |
| 24 | 24 | { |
| 25 | - Schema::table('user_stories', function (Blueprint $table) { |
|
| 25 | + Schema::table('user_stories', function(Blueprint $table) { |
|
| 26 | 26 | $table->dropForeign('fk_user_stories_config_priority_id'); |
| 27 | 27 | $table->dropForeign('fk_user_stories_product_backlog_id'); |
| 28 | 28 | $table->dropForeign('fk_user_stories_user_id'); |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | 'enabled' => true, |
| 37 | 37 | 'driver' => 'file', // redis, file, pdo, custom |
| 38 | 38 | 'path' => storage_path('debugbar'), // For file driver |
| 39 | - 'connection' => null, // Leave null for default connection (Redis/PDO) |
|
| 39 | + 'connection' => null, // Leave null for default connection (Redis/PDO) |
|
| 40 | 40 | 'provider' => '', // Instance of StorageInterface for custom driver |
| 41 | 41 | ], |
| 42 | 42 | |
@@ -89,26 +89,26 @@ discard block |
||
| 89 | 89 | */ |
| 90 | 90 | |
| 91 | 91 | 'collectors' => [ |
| 92 | - 'phpinfo' => true, // Php version |
|
| 93 | - 'messages' => true, // Messages |
|
| 94 | - 'time' => true, // Time Datalogger |
|
| 95 | - 'memory' => true, // Memory usage |
|
| 96 | - 'exceptions' => true, // Exception displayer |
|
| 97 | - 'log' => true, // Logs from Monolog (merged in messages if enabled) |
|
| 98 | - 'db' => true, // Show database (PDO) queries and bindings |
|
| 99 | - 'views' => true, // Views with their data |
|
| 100 | - 'route' => true, // Current route information |
|
| 92 | + 'phpinfo' => true, // Php version |
|
| 93 | + 'messages' => true, // Messages |
|
| 94 | + 'time' => true, // Time Datalogger |
|
| 95 | + 'memory' => true, // Memory usage |
|
| 96 | + 'exceptions' => true, // Exception displayer |
|
| 97 | + 'log' => true, // Logs from Monolog (merged in messages if enabled) |
|
| 98 | + 'db' => true, // Show database (PDO) queries and bindings |
|
| 99 | + 'views' => true, // Views with their data |
|
| 100 | + 'route' => true, // Current route information |
|
| 101 | 101 | 'laravel' => false, // Laravel version and environment |
| 102 | 102 | 'events' => false, // All events fired |
| 103 | 103 | 'default_request' => false, // Regular or special Symfony request logger |
| 104 | - 'symfony_request' => true, // Only one can be enabled.. |
|
| 105 | - 'mail' => true, // Catch mail messages |
|
| 104 | + 'symfony_request' => true, // Only one can be enabled.. |
|
| 105 | + 'mail' => true, // Catch mail messages |
|
| 106 | 106 | 'logs' => false, // Add the latest log messages |
| 107 | 107 | 'files' => false, // Show the included files |
| 108 | 108 | 'config' => false, // Display config settings |
| 109 | 109 | 'auth' => false, // Display Laravel authentication status |
| 110 | 110 | 'gate' => false, // Display Laravel Gate checks |
| 111 | - 'session' => true, // Display session data |
|
| 111 | + 'session' => true, // Display session data |
|
| 112 | 112 | ], |
| 113 | 113 | |
| 114 | 114 | /* |
@@ -122,26 +122,26 @@ discard block |
||
| 122 | 122 | |
| 123 | 123 | 'options' => [ |
| 124 | 124 | 'auth' => [ |
| 125 | - 'show_name' => false, // Also show the users name/email in the debugbar |
|
| 125 | + 'show_name' => false, // Also show the users name/email in the debugbar |
|
| 126 | 126 | ], |
| 127 | 127 | 'db' => [ |
| 128 | - 'with_params' => true, // Render SQL with the parameters substituted |
|
| 129 | - 'timeline' => false, // Add the queries to the timeline |
|
| 130 | - 'backtrace' => false, // EXPERIMENTAL: Use a backtrace to find the origin of the query in your files. |
|
| 131 | - 'explain' => [ // EXPERIMENTAL: Show EXPLAIN output on queries |
|
| 128 | + 'with_params' => true, // Render SQL with the parameters substituted |
|
| 129 | + 'timeline' => false, // Add the queries to the timeline |
|
| 130 | + 'backtrace' => false, // EXPERIMENTAL: Use a backtrace to find the origin of the query in your files. |
|
| 131 | + 'explain' => [// EXPERIMENTAL: Show EXPLAIN output on queries |
|
| 132 | 132 | 'enabled' => false, |
| 133 | - 'types' => ['SELECT'], // ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+ |
|
| 133 | + 'types' => ['SELECT'], // ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+ |
|
| 134 | 134 | ], |
| 135 | - 'hints' => true, // Show hints for common mistakes |
|
| 135 | + 'hints' => true, // Show hints for common mistakes |
|
| 136 | 136 | ], |
| 137 | 137 | 'mail' => [ |
| 138 | 138 | 'full_log' => false, |
| 139 | 139 | ], |
| 140 | 140 | 'views' => [ |
| 141 | - 'data' => false, //Note: Can slow down the application, because the data can be quite large.. |
|
| 141 | + 'data' => false, //Note: Can slow down the application, because the data can be quite large.. |
|
| 142 | 142 | ], |
| 143 | 143 | 'route' => [ |
| 144 | - 'label' => true, // show complete route on bar |
|
| 144 | + 'label' => true, // show complete route on bar |
|
| 145 | 145 | ], |
| 146 | 146 | 'logs' => [ |
| 147 | 147 | 'file' => null, |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | * suffix to append to the slug. |
| 80 | 80 | */ |
| 81 | 81 | |
| 82 | - 'uniqueSuffix' => function ($slug, $separator, Collection $list) { |
|
| 82 | + 'uniqueSuffix' => function($slug, $separator, Collection $list) { |
|
| 83 | 83 | $size = count($list); |
| 84 | 84 | |
| 85 | 85 | return chr($size + 96); |