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

Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Conversation

ppaulis
Copy link
Contributor

@ppaulis ppaulis commented Jul 31, 2019

Fixing Issue #185
Since redis extension 5.0.0, Deprecation errors are thrown on every Redis::delete() call.
Replacing the delete() calls with del() calls fixes these messages.

@michalbundyra
Copy link
Member

@ppaulis Please see PR I've created to your branch: http://github.com/ppaulis/zend-cache/pull/1
All tests there pass! :)

@tigrantv
Copy link

@ppaulis , @webimpress please prepare and push these changes to release

@michalbundyra michalbundyra added this to the 2.9.0 milestone Aug 14, 2019
@pimjansen
Copy link

@webimpress i dont really think this is an enhancement but a bug which is blocking a lot nowadays?

@Ocramius
Copy link
Member

Not a bug: needs to indeed land in a new minor, since we are adding compatibility with a new tool, not fixing a bug here.

Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would most likely need an addition of "conflicts": {"ext-redis": "<5.0.0"} (or a matching version that has the del() API) in composer.json

@michalbundyra
Copy link
Member

michalbundyra commented Aug 29, 2019

As @boesing checked del() is available since 2.1.0 release. Ref:

and the latest version available on PECL is 2.2.3:
https://pecl.php.net/package/redis

There is no need to add any conflict.

ppaulis and others added 2 commits August 29, 2019 09:35
@michalbundyra michalbundyra changed the base branch from master to develop August 29, 2019 08:42
michalbundyra added a commit that referenced this pull request Aug 29, 2019
Issue #185 : replacing deprecated delete() calls with del()
michalbundyra added a commit that referenced this pull request Aug 29, 2019
michalbundyra added a commit that referenced this pull request Aug 29, 2019
@michalbundyra michalbundyra merged commit 0777c32 into zendframework:develop Aug 29, 2019
@michalbundyra
Copy link
Member

Thanks, @ppaulis!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants