We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742bed9 commit d3c7cd4Copy full SHA for d3c7cd4
1 file changed
src/common/etc/entrypoint.d/lib/laravel/test-db-connection.php
@@ -20,6 +20,8 @@
20
* @package serversideup/php
21
*/
22
23
+use Illuminate\Support\Facades\DB;
24
+
25
// Validate arguments
26
if ($argc < 2 || $argc > 5) {
27
fwrite(STDERR, "Usage: php test-db-connection.php /path/to/app/base/dir [migration_mode] [migration_isolation] [database_connection]\n");
@@ -80,8 +82,6 @@
80
82
81
83
// Test database connection
84
try {
- use Illuminate\Support\Facades\DB;
-
85
// Use specific database connection if provided
86
$connection = $databaseConnection ? DB::connection($databaseConnection) : DB::connection();
87
$driver = $connection->getDriverName();
0 commit comments