Skip to content

Commit 2de5c2c

Browse files
committed
Bump google/cloud-storage dependency to remove deprecation warnings
See googleapis/google-cloud-php#8689
1 parent 0176500 commit 2de5c2c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"fig/http-message-util": "^1.1.5",
3636
"firebase/php-jwt": "^6.10.2",
3737
"google/auth": "^1.45",
38-
"google/cloud-storage": "^1.45",
38+
"google/cloud-storage": "^1.48.7",
3939
"guzzlehttp/guzzle": "^7.9.2",
4040
"guzzlehttp/promises": "^2.0.4",
4141
"guzzlehttp/psr7": "^2.7",

src/Firebase/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ public function createFirestore(?string $databaseName = null): Contract\Firestor
524524
public function createStorage(): Contract\Storage
525525
{
526526
try {
527-
$storageClient = new StorageClient($this->googleCloudClientConfig()); // @phpstan-ignore method.deprecated
527+
$storageClient = new StorageClient($this->googleCloudClientConfig());
528528
} catch (Throwable $e) {
529529
throw new RuntimeException('Unable to create a StorageClient: '.$e->getMessage(), $e->getCode(), $e);
530530
}

src/Firebase/Firestore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private function __construct(private readonly FirestoreClient $client)
2323
public static function fromConfig(array $config): Contract\Firestore
2424
{
2525
try {
26-
return new self(new FirestoreClient($config)); // @phpstan-ignore method.deprecated
26+
return new self(new FirestoreClient($config));
2727
} catch (Throwable $e) {
2828
throw new RuntimeException('Unable to create a FirestoreClient: '.$e->getMessage(), $e->getCode(), $e);
2929
}

0 commit comments

Comments
 (0)