Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@
"role": "lead"
}
],
"time": "2026-05-28",
"time": "2026-06-09",
"repositories": [],
"require": {
"php": "^8.1",
"horde/exception": "^3 || dev-FRAMEWORK_6_0"
"horde/exception": "^3"
},
"require-dev": {
"horde/argv": "^3 || dev-FRAMEWORK_6_0",
"horde/cli": "^3 || dev-FRAMEWORK_6_0"
"horde/argv": "^3",
"horde/cli": "^3"
},
"suggest": {
"horde/argv": "^3 || dev-FRAMEWORK_6_0",
"horde/cli": "^3 || dev-FRAMEWORK_6_0",
"horde/log": "^3 || dev-FRAMEWORK_6_0",
"horde/memcache": "^3 || dev-FRAMEWORK_6_0",
"horde/vfs": "^3 || dev-FRAMEWORK_6_0",
"horde/argv": "^3",
"horde/cli": "^3",
"horde/log": "^3",
"horde/memcache": "^3",
"horde/vfs": "^3",
"predis/predis": "^2 || ^3"
},
"autoload": {
Expand All @@ -50,10 +50,5 @@
],
"config": {
"allow-plugins": {}
},
"extra": {
"branch-alias": {
"dev-FRAMEWORK_6_0": "2.x-dev"
}
}
}
6 changes: 6 additions & 0 deletions lib/Horde/HashTable/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
* @property-read boolean $persistent Does hash table provide persistent
* storage?
* @property-write string $prefix Set the hash key prefix.
*
* @deprecated Use {@see \Horde\HashTable\HashTable} (and the
* {@see \Horde\HashTable\LockableHashTable} /
* {@see \Horde\HashTable\RedisHashTable} extensions). The PSR-4
* interfaces support phpredis as well as Predis and use plain
* prefix+key storage instead of the legacy MD5 hashing.
*/
abstract class Horde_HashTable_Base implements ArrayAccess, Serializable
{
Expand Down
2 changes: 2 additions & 0 deletions lib/Horde/HashTable/Lock.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* @copyright 2013-2017 Horde LLC
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
* @package HashTable
*
* @deprecated Use {@see \Horde\HashTable\LockableHashTable}.
*/
interface Horde_HashTable_Lock
{
Expand Down
2 changes: 2 additions & 0 deletions lib/Horde/HashTable/Memcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @copyright 2013-2017 Horde LLC
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
* @package HashTable
*
* @deprecated Use {@see \Horde\HashTable\Driver\Memcache}.
*/
class Horde_HashTable_Memcache extends Horde_HashTable_Base implements Horde_HashTable_Lock
{
Expand Down
2 changes: 2 additions & 0 deletions lib/Horde/HashTable/Memory.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @copyright 2013-2017 Horde LLC
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
* @package HashTable
*
* @deprecated Use {@see \Horde\HashTable\Driver\Memory}.
*/
class Horde_HashTable_Memory extends Horde_HashTable_Base implements Horde_HashTable_Lock
{
Expand Down
2 changes: 2 additions & 0 deletions lib/Horde/HashTable/Null.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @copyright 2013-2017 Horde LLC
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
* @package HashTable
*
* @deprecated Use {@see \Horde\HashTable\Driver\NullDriver}.
*/
class Horde_HashTable_Null extends Horde_HashTable_Base implements Horde_HashTable_Lock
{
Expand Down
5 changes: 5 additions & 0 deletions lib/Horde/HashTable/Predis.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
* @copyright 2013-2017 Horde LLC
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
* @package HashTable
*
* @deprecated Use {@see \Horde\HashTable\Driver\Redis} via
* {@see \Horde\Core\Factory\HashTableFactory}. The PSR-4 driver
* supports phpredis as well as Predis and uses plain prefix+key
* storage instead of MD5 hashing.
*/
class Horde_HashTable_Predis extends Horde_HashTable_Base implements Horde_HashTable_Lock
{
Expand Down
7 changes: 7 additions & 0 deletions lib/Horde/HashTable/Vfs.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
* @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
* @package HashTable
* @since 1.2.0
*
* @deprecated The legacy Horde_HashTable_Base interface is deprecated. The
* VFS-backed file storage pattern has no PSR-4 equivalent in the
* new Horde\HashTable\Driver namespace; consumers needing
* session-scoped temp storage should look at
* Horde_Core_HashTable_Vfs / Horde_Core_HashTable_PersistentSession
* which intentionally remain on the legacy interface.
*/
class Horde_HashTable_Vfs extends Horde_HashTable_Base
{
Expand Down
Loading