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

Skip to content

RedisCluster stub fixes#2183

Merged
michael-grunder merged 2 commits into
developfrom
cluster-stub-fixes
Oct 12, 2022
Merged

RedisCluster stub fixes#2183
michael-grunder merged 2 commits into
developfrom
cluster-stub-fixes

Conversation

@michael-grunder

Copy link
Copy Markdown
Member

I can now run RedisCluster unit tests within a PHP build tree build in debug mode without any deprecation warnings or arginfo/zpp errors.

Comment thread redis.stub.php Outdated
Comment thread redis_cluster.stub.php Outdated
Comment thread redis_cluster.stub.php Outdated
Comment thread redis_cluster.stub.php Outdated
I can now run RedisCluster unit tests within a PHP build tree build in
debug mode without any deprecation warnings or arginfo/zpp errors.
@nicolas-grekas

nicolas-grekas commented Oct 12, 2022 via email

Copy link
Copy Markdown
Contributor

@michael-grunder

michael-grunder commented Oct 12, 2022

Copy link
Copy Markdown
Member Author

Ahh, I understand now. It's that mixed implies NULLable. I'll make sure there are no other occurrences.

It's weird that this doesn't throw a fatal error for me when I run our unit tests. Perhaps declare(strict_types = 1); might do it?

@michael-grunder michael-grunder merged commit e392dd8 into develop Oct 12, 2022
@michael-grunder michael-grunder deleted the cluster-stub-fixes branch October 12, 2022 20:16
@michael-grunder

Copy link
Copy Markdown
Member Author

@yatsukhnenko Since this was almost entirely changes in PHP I figured it was safe to just merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants