-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix Memcached adapter bind #136
Conversation
Important Auto Review SkippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe recent updates involve transitioning from using Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
@coderabbitai review |
Actions PerformedReview triggered.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- src/StorageMemcachedModule.php (2 hunks)
- src/StorageRedisMemcachedModule.php (2 hunks)
Additional Context Used
GitHub Check Runs (2)
sa / Psalm failure (7)
src/StorageMemcachedModule.php: [failure] 30-30:
UndefinedClass: Class, interface or enum named Ray\PsrCacheModule\MemcachedAdapter does not exist
src/StorageMemcachedModule.php: [failure] 30-30:
MixedArgument: Argument 1 of Ray\Di\Bind::toConstructor cannot be mixed, expecting class-string
src/StorageRedisMemcachedModule.php: [failure] 45-45:
UndefinedClass: Class, interface or enum named Ray\PsrCacheModule\MemcachedAdapter does not exist
src/StorageRedisMemcachedModule.php: [failure] 45-45:
MixedArgument: Argument 1 of Ray\Di\Bind::toConstructor cannot be mixed, expecting class-stringsa / PHPStan failure (4)
src/StorageMemcachedModule.php: [failure] 30-30:
Class Ray\PsrCacheModule\MemcachedAdapter not found.
src/StorageRedisMemcachedModule.php: [failure] 45-45:
Class Ray\PsrCacheModule\MemcachedAdapter not found.
Additional comments not posted (2)
src/StorageMemcachedModule.php (1)
32-32
: The addition of'clientProvider' => 'memcached'
as a parameter in the constructor call toMemcachedAdapter
is intended to standardize client provider specification. However, ensure thatMemcachedAdapter
supports this parameter and that it is correctly implemented, as the class itself could not be found in the static analysis.src/StorageRedisMemcachedModule.php (1)
47-47
: The addition of'clientProvider' => 'memcached'
in the constructor call toMemcachedAdapter
is consistent with the changes in the other module. However, the existence and correct implementation ofMemcachedAdapter
need to be verified as previously mentioned.
A new binding has been added for MemcachedProvider in the StorageRedisMemcachedModule. This update ensures that the MemcachedProvider class is correctly bound and can be injected where needed.
The version of "ray/psr-cache-module" in composer.json file was updated from "^1.3.3" to "^1.3.4". This change makes sure that we are utilizing the latest version of the given dependency to leverage any recent bug fixes or improvements.
bbe1af6
to
667c31a
Compare
No description provided.