From 5b682a00c5c82ade0fb8085432d103279a58ad4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Thu, 5 Oct 2023 17:56:24 +0200 Subject: [PATCH] Apply Laravel code style to config Co-authored-by: Clem Blanco --- config/firebase.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/firebase.php b/config/firebase.php index 10118ee..fe567e6 100644 --- a/config/firebase.php +++ b/config/firebase.php @@ -8,6 +8,7 @@ * Default Firebase project * ------------------------------------------------------------------------ */ + 'default' => env('FIREBASE_PROJECT', 'app'), /* @@ -15,8 +16,10 @@ * Firebase project configurations * ------------------------------------------------------------------------ */ + 'projects' => [ 'app' => [ + /* * ------------------------------------------------------------------------ * Credentials / Service Account @@ -46,6 +49,7 @@ * first time you try to access a component of the Firebase Admin SDK. * */ + 'credentials' => env('FIREBASE_CREDENTIALS', env('GOOGLE_APPLICATION_CREDENTIALS')), /* @@ -65,6 +69,7 @@ */ 'database' => [ + /* * In most of the cases the project ID defined in the credentials file * determines the URL of your project's Realtime Database. If the @@ -76,6 +81,7 @@ * Please make sure that you use a full URL like, for example, * https://my-project-id.firebaseio.com */ + 'url' => env('FIREBASE_DATABASE_URL'), /* @@ -85,12 +91,15 @@ * * https://firebase.google.com/docs/database/admin/start#authenticate-with-limited-privileges */ + // 'auth_variable_override' => [ // 'uid' => 'my-service-worker' // ], + ], 'dynamic_links' => [ + /* * Dynamic links can be built with any URL prefix registered on * @@ -102,6 +111,7 @@ * The value must be a valid domain, for example, * https://example.page.link */ + 'default_domain' => env('FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAIN'), ], @@ -112,6 +122,7 @@ */ 'storage' => [ + /* * Your project's default storage bucket usually uses the project ID * as its name. If you have multiple storage buckets and want to @@ -120,6 +131,7 @@ */ 'default_bucket' => env('FIREBASE_STORAGE_DEFAULT_BUCKET'), + ], /* @@ -162,11 +174,14 @@ * * Behavior of the HTTP Client performing the API requests */ + 'http_client_options' => [ + /* * Use a proxy that all API requests should be passed through. * (default: none) */ + 'proxy' => env('FIREBASE_HTTP_CLIENT_PROXY'), /* @@ -176,6 +191,7 @@ * The default time out can be reviewed at * https://github.com/kreait/firebase-php/blob/6.x/src/Firebase/Http/HttpClientOptions.php */ + 'timeout' => env('FIREBASE_HTTP_CLIENT_TIMEOUT'), 'guzzle_middlewares' => [],