Skip to content

Conversation

@sideshowcoder
Copy link

@sideshowcoder sideshowcoder commented Feb 16, 2023

Question Answer
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets
License MIT
Doc PR reference to the documentation PR, if any

Description

  • Update predis/predis dependency to ^2.0
  • Fix unserialize(null) deprecation warning
  • normalize composer.json files according to composer-normalize
  • Fix ci workflow
  • Fix composer-normalize workflow

@sideshowcoder
Copy link
Author

Seems like there is an issue with the CI the redis container does not get pulled correctly.

`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
@sideshowcoder sideshowcoder changed the title Update predis CI fixes, Predis update, deprecation warning fix Mar 15, 2023
@sideshowcoder
Copy link
Author

@Nyholm would be awesome if you have a min to take a look, all the CI is passing again, which had been broken for a bit now, and a small upate to dependencies to allow good predis updates in other contexts.

@JurRutten
Copy link

+1 on this, it would be great if this was fixed

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