Bug #88701

usage of deprecated methods of PHP Redis library since version 5.0.0

Added by Hannes Bochmann 16 days ago. Updated 2 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2019-07-08
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The method $this->redis->multi(...)->sRemove() in RedisBackend.php is deprecated since PHPRedis 5.0.0. Haven't checked yet if other methods are affected, too.

History

#1 Updated by Markus Klein 12 days ago

  • Status changed from New to Accepted
  • TYPO3 Version changed from 10 to 8

Yes, Redis::delete().

We should make the core compatible with both versions of the redis-extension.

https://pecl.php.net/package/redis

#2 Updated by Markus Klein 12 days ago

Regex to search for all deprecated functions according to the git changelog of phpredis

(delete|evaluate|evaluateSha|getKeys|getMultiple|lGet|lGetRange|lRemove|lSize|listTrim|open|popen|renameKey|sContains|sGetMembers|sRemove|sSize|sendEcho|setTimeout|substr|zDelete|zDeleteRangeByRank|zDeleteRangeByScore|zInter|zRemove|zRemoveRangeByScore|zReverseRange|zSize|zUnion)\(

#3 Updated by Gerrit Code Review 12 days ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61277

#4 Updated by Gerrit Code Review 12 days ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61277

#5 Updated by Gerrit Code Review 2 days ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61277

Also available in: Atom PDF