Skip to content

Commit 8f8a8b5

Browse files
committed
updated dependencies and fixed db service issue
1 parent 6c788e1 commit 8f8a8b5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

app/config/services.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
// uncomment the following line for SQLite
1717
// $dsn = 'sqlite:' . $config['database']['file_path'];
1818

19+
// Uncomment the below lines if you want to add a Flight::db() service
1920
// In development, you'll want the class that captures the queries for you. In production, not so much.
20-
$pdoClass = Debugger::$showBar === true ? PdoQueryCapture::class : PdoWrapper::class;
21-
$app->register('db', $pdoClass, [ $dsn, $config['database']['user'] ?? null, $config['database']['password'] ?? null ]);
21+
// $pdoClass = Debugger::$showBar === true ? PdoQueryCapture::class : PdoWrapper::class;
22+
// $app->register('db', $pdoClass, [ $dsn, $config['database']['user'] ?? null, $config['database']['password'] ?? null ]);
2223

2324
// Got google oauth stuff? You could register that here
2425
// $app->register('google_oauth', Google_Client::class, [ $config['google_oauth'] ]);

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"php": "^7.4 || ^8.0",
2525
"ext-json": "*",
2626
"flightphp/core": "^3.0",
27-
"flightphp/runway": "^0.2",
27+
"flightphp/runway": "^1.1",
2828
"tracy/tracy": "^2.9"
2929
},
3030
"config": {
@@ -42,6 +42,6 @@
4242
]
4343
},
4444
"require-dev": {
45-
"flightphp/tracy-extensions": "^0.1"
45+
"flightphp/tracy-extensions": "^0.1 || ^0.2"
4646
}
4747
}

0 commit comments

Comments
 (0)