Page MenuHomePhabricator

PHPRedis module >= 5.0.0 throws deprecation warnings for delete().
Open, Needs TriagePublic

Description

The PHPRedis module >= 5.0.0 marks Redis::delete() as deprecated and throws a deprecated warning with every call. Changing every instance of the caching system's delete() calls is silly so this patch moves the alias into the RedisConnRef class.

Event Timeline

Alexia created this task.Jul 8 2019, 11:41 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 8 2019, 11:41 AM

Change 521257 had a related patch set uploaded (by Alexia; owner: Alexia):
[mediawiki/core@master] Handle deprecated 'delete' alias with an alias function. This resolves phpredis >= 5.0.0 from throwing deprecation warnings.

https://gerrit.wikimedia.org/r/521257

Alexia renamed this task from PHPRedis >= 5.0.0 throws deprecation warnings for delete(). to PHPRedis module >= 5.0.0 throws deprecation warnings for delete()..Jul 8 2019, 11:55 AM
Alexia updated the task description. (Show Details)

Change 533714 had a related patch set uploaded (by Paladox; owner: Aaron Schulz):
[mediawiki/core@REL1_33] objectcache: avoid using deprecated phpredis::delete() alias

https://gerrit.wikimedia.org/r/533714

Change 533714 merged by jenkins-bot:
[mediawiki/core@REL1_33] objectcache: avoid using deprecated phpredis::delete() alias

https://gerrit.wikimedia.org/r/533714