Skip to content

Conversation

@villfa
Copy link

@villfa villfa commented Apr 17, 2023

Question Answer
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

Description

Most of the adapters don't require psr/cache and psr/simple-cache, at least not directly, so I think it's safe to remove these dependencies from composer.json.

`unserialize(null)` causes a deprecation warning flooding the logs, so in case
the cache for a given cache is empty this warning will be seen. To avoid this
use `''` as a replacement.

`unserialize(null) === unserialzie('') === false` this does not change behaviour.
Predis `^2.0` has been released some time ago, this version constraint allows
applications depending on `predis-adapter` to update to `predis/predis:^2.0`.
- Include predis update
- Include unserialize deprecation warning
- Update redis to a supported version
- Update redis-cluser to a supported version, use 6.2.10 as 7.x fails non local
  connections see Grokzen/docker-redis-cluster#155
- Set redis-cluster IP to 0.0.0.0 interface to allow all connections
- requires php version >= 8.0
- apply normalize fixes
@villfa villfa force-pushed the chore/remove-dependencies branch 2 times, most recently from 2f3e938 to 20bfb9e Compare April 18, 2023 07:45
@villfa villfa force-pushed the chore/remove-dependencies branch from 20bfb9e to cb0a1ff Compare April 18, 2023 07:54
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