Skip to content

Commit

Permalink
Use upstream SQL widget (barryvdh#1519)
Browse files Browse the repository at this point in the history
* Use upstream widget

* Fix version

* Remove file
  • Loading branch information
barryvdh authored Feb 13, 2024
1 parent 676247e commit 800cec8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 317 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"require": {
"php": "^8.0",
"maximebf/debugbar": "1.20.x",
"maximebf/debugbar": "~1.20.1",
"illuminate/routing": "^9|^10|^11",
"illuminate/session": "^9|^10|^11",
"illuminate/support": "^9|^10|^11",
Expand Down
2 changes: 1 addition & 1 deletion src/DataCollector/QueryCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ public function getWidgets()
return [
"queries" => [
"icon" => "database",
"widget" => "PhpDebugBar.Widgets.LaravelSQLQueriesWidget",
"widget" => "PhpDebugBar.Widgets.SQLQueriesWidget",
"map" => "queries",
"default" => "[]"
],
Expand Down
1 change: 0 additions & 1 deletion src/JavascriptRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public function __construct(DebugBar $debugBar, $baseUrl = null, $basePath = nul

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

$theme = config('debugbar.theme', 'auto');
Expand Down
314 changes: 0 additions & 314 deletions src/Resources/sqlqueries/widget.js

This file was deleted.

0 comments on commit 800cec8

Please sign in to comment.