Skip to content

[Cache] Fix CI because of Couchbase version #39131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2020
Merged

Conversation

jderusse
Copy link
Member

Q A
Branch? 5.1
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

It looks likes the version 3.0 of the couchbase extension does not exposes the \CouchbaseCluster class anymore.
I didn't find documentaiton about the BC break, but their documentation changes
version 2.6 => https://docs.couchbase.com/php-sdk/2.6/managing-connections.html
version 3.0 => https://docs.couchbase.com/php-sdk/current/howtos/managing-connections.html

It wasn't reported before, because shivammathur/setup-php added the extension 3days ago shivammathur/setup-php#337

Sounds like the adapter were never tested, because the extension where missing and phpunit skipped the tests.

@@ -16,7 +16,8 @@
use Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter;

/**
* @requires extension couchbase 2.6.0
* @requires extension couchbase <3.0.0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate with check in setupBeforeClass because not all version of phpunit supports multiple requires on the same extension

@fabpot
Copy link
Member

fabpot commented Nov 21, 2020

Thank you @jderusse.

@fabpot fabpot merged commit ab9c4a7 into symfony:5.1 Nov 21, 2020
@jderusse jderusse deleted the couchbase branch November 21, 2020 13:56
This was referenced Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants