Skip to content

Commit 800cec8

Browse files
authored
Use upstream SQL widget (#1519)
* Use upstream widget * Fix version * Remove file
1 parent 676247e commit 800cec8

File tree

4 files changed

+2
-317
lines changed

4 files changed

+2
-317
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": "^8.0",
14-
"maximebf/debugbar": "1.20.x",
14+
"maximebf/debugbar": "~1.20.1",
1515
"illuminate/routing": "^9|^10|^11",
1616
"illuminate/session": "^9|^10|^11",
1717
"illuminate/support": "^9|^10|^11",

src/DataCollector/QueryCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ public function getWidgets()
666666
return [
667667
"queries" => [
668668
"icon" => "database",
669-
"widget" => "PhpDebugBar.Widgets.LaravelSQLQueriesWidget",
669+
"widget" => "PhpDebugBar.Widgets.SQLQueriesWidget",
670670
"map" => "queries",
671671
"default" => "[]"
672672
],

src/JavascriptRenderer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ public function __construct(DebugBar $debugBar, $baseUrl = null, $basePath = nul
2121

2222
$this->cssFiles['laravel'] = __DIR__ . '/Resources/laravel-debugbar.css';
2323
$this->cssVendors['fontawesome'] = __DIR__ . '/Resources/vendor/font-awesome/style.css';
24-
$this->jsFiles['laravel-sql'] = __DIR__ . '/Resources/sqlqueries/widget.js';
2524
$this->jsFiles['laravel-cache'] = __DIR__ . '/Resources/cache/widget.js';
2625

2726
$theme = config('debugbar.theme', 'auto');

src/Resources/sqlqueries/widget.js

Lines changed: 0 additions & 314 deletions
This file was deleted.

0 commit comments

Comments
 (0)