Skip to content

Commit 1463ede

Browse files
committed
[Cache] Remove deprecated CouchbaseBucketAdapter
1 parent 6e4ffa6 commit 1463ede

File tree

7 files changed

+10
-301
lines changed

7 files changed

+10
-301
lines changed

UPGRADE-8.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ AssetMapper
1414

1515
* Remove `ImportMapConfigReader::splitPackageNameAndFilePath()`, use `ImportMapEntry::splitPackageNameAndFilePath()` instead
1616

17+
Cache
18+
-----
19+
20+
* Remove `CouchbaseBucketAdapter`, use `CouchbaseCollectionAdapter` instead
21+
1722
Console
1823
-------
1924

src/Symfony/Component/Cache/Adapter/AbstractAdapter.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ public static function createConnection(#[\SensitiveParameter] string $dsn, arra
131131
return MemcachedAdapter::createConnection($dsn, $options);
132132
}
133133
if (str_starts_with($dsn, 'couchbase:')) {
134-
if (class_exists(\CouchbaseBucket::class) && CouchbaseBucketAdapter::isSupported()) {
135-
return CouchbaseBucketAdapter::createConnection($dsn, $options);
136-
}
137-
138134
return CouchbaseCollectionAdapter::createConnection($dsn, $options);
139135
}
140136
if (preg_match('/^(mysql|oci|pgsql|sqlsrv|sqlite):/', $dsn)) {

src/Symfony/Component/Cache/Adapter/CouchbaseBucketAdapter.php

Lines changed: 0 additions & 237 deletions
This file was deleted.

src/Symfony/Component/Cache/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
8.0
5+
---
6+
7+
* Remove `CouchbaseBucketAdapter`, use `CouchbaseCollectionAdapter` instead
8+
49
7.3
510
---
611

src/Symfony/Component/Cache/LockRegistry.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ final class LockRegistry
4141
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'ApcuAdapter.php',
4242
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'ArrayAdapter.php',
4343
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'ChainAdapter.php',
44-
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'CouchbaseBucketAdapter.php',
4544
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'CouchbaseCollectionAdapter.php',
4645
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'DoctrineDbalAdapter.php',
4746
__DIR__.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'FilesystemAdapter.php',

src/Symfony/Component/Cache/Tests/Adapter/CouchbaseBucketAdapterTest.php

Lines changed: 0 additions & 58 deletions
This file was deleted.

src/Symfony/Component/Cache/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"psr/cache": "^2.0|^3.0",
2626
"psr/log": "^1.1|^2|^3",
2727
"symfony/cache-contracts": "^3.6",
28-
"symfony/deprecation-contracts": "^2.5|^3.0",
2928
"symfony/service-contracts": "^2.5|^3",
3029
"symfony/var-exporter": "^7.4|^8.0"
3130
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy