From 8f8a8b58f5c8b2d959b16cea62d2a3967e9d4afd Mon Sep 17 00:00:00 2001 From: n0nag0n Date: Fri, 27 Sep 2024 11:29:21 -0600 Subject: [PATCH] updated dependencies and fixed db service issue --- app/config/services.php | 5 +++-- composer.json | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/config/services.php b/app/config/services.php index 80c883e..93e7ff1 100644 --- a/app/config/services.php +++ b/app/config/services.php @@ -16,9 +16,10 @@ // uncomment the following line for SQLite // $dsn = 'sqlite:' . $config['database']['file_path']; +// Uncomment the below lines if you want to add a Flight::db() service // In development, you'll want the class that captures the queries for you. In production, not so much. -$pdoClass = Debugger::$showBar === true ? PdoQueryCapture::class : PdoWrapper::class; -$app->register('db', $pdoClass, [ $dsn, $config['database']['user'] ?? null, $config['database']['password'] ?? null ]); +// $pdoClass = Debugger::$showBar === true ? PdoQueryCapture::class : PdoWrapper::class; +// $app->register('db', $pdoClass, [ $dsn, $config['database']['user'] ?? null, $config['database']['password'] ?? null ]); // Got google oauth stuff? You could register that here // $app->register('google_oauth', Google_Client::class, [ $config['google_oauth'] ]); diff --git a/composer.json b/composer.json index 6791357..4dc0109 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "php": "^7.4 || ^8.0", "ext-json": "*", "flightphp/core": "^3.0", - "flightphp/runway": "^0.2", + "flightphp/runway": "^1.1", "tracy/tracy": "^2.9" }, "config": { @@ -42,6 +42,6 @@ ] }, "require-dev": { - "flightphp/tracy-extensions": "^0.1" + "flightphp/tracy-extensions": "^0.1 || ^0.2" } }