Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Messenger] Fix broken Redis mocks #43029

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
Sep 14, 2021
Merged

Conversation

derrabus
Copy link
Member

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

Apparently, the PHP 8.1 CI runs a dev snapshot of ext-redis that has return types. This breaks some of our mock configurations.

@derrabus derrabus requested a review from sroze as a code owner September 14, 2021 17:31
@carsonbot carsonbot added this to the 5.3 milestone Sep 14, 2021
@carsonbot carsonbot changed the title Fix broken Redis mocks [Messenger] Fix broken Redis mocks Sep 14, 2021
@derrabus derrabus force-pushed the bugfix/redis-mocks branch 2 times, most recently from 505631b to d9a4d1d Compare September 14, 2021 17:47
@derrabus
Copy link
Member Author

Apparently, SetupPHP installs some dev snapshot of ext-edis on PHP 8.1. I don't know why they do that since the stable 5.3.4 works fine on PHP 8.1. This PR fixes all the tests I could fix. Regarding the remaining failures, I believe that the extension is simply broken.

@derrabus
Copy link
Member Author

I've pinned the redis extension to get green tests again.

derrabus added a commit that referenced this pull request Sep 14, 2021
This PR was merged into the 4.4 branch.

Discussion
----------

Pin ext-redis version in CI

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Backport from #43029
| License       | MIT
| Doc PR        | N/A

Commits
-------

ca34753 Pin ext-redis version in CI
@derrabus derrabus merged commit 0fee05e into symfony:5.3 Sep 14, 2021
@derrabus derrabus deleted the bugfix/redis-mocks branch September 14, 2021 19:26
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.

3 participants