Skip to content

Commit

Permalink
Upgrade to google/cloud-pubsub v2
Browse files Browse the repository at this point in the history
  • Loading branch information
pulzarraider committed May 14, 2024
1 parent e2fd5ee commit ac05ee6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Transport/GpsTransportFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function createTransport(string $dsn, array $options, SerializerInterface

$clientConfig = $options->getClientConfig();
if ($this->cache instanceof CacheItemPoolInterface) {
$clientConfig['authCache'] ??= $this->cache;
$clientConfig['credentialsConfig']['authCache'] ??= $this->cache;
}

return new GpsTransport(
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"symfony/http-kernel": "^5.1|^6.0|^7.0",
"symfony/messenger": "^5.1|^6.0|^7.0",
"symfony/options-resolver": "^5.1|^6.0|^7.0",
"google/cloud-pubsub": "^1.29"
"google/cloud-pubsub": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down

0 comments on commit ac05ee6

Please sign in to comment.