Jelajahi Sumber

Merge branch 'v1.0/psr-4'

This merge closes #168.

Conflicts:
	src/Command/KeyKeysV12x.php
	src/Profile/RedisVersion120.php
Daniele Alessandri 10 tahun lalu
induk
melakukan
a33781e58c
100 mengubah file dengan 193 tambahan dan 17 penghapusan
  1. 1 1
      autoload.php
  2. 3 3
      bin/create-command-test
  3. 181 3
      bin/create-pear
  4. 2 2
      bin/create-phar
  5. 3 4
      bin/create-single-file
  6. 1 1
      composer.json
  7. 0 1
      package.ini
  8. 1 1
      phpunit.xml.dist
  9. 1 1
      phpunit.xml.travisci
  10. 0 0
      src/Autoloader.php
  11. 0 0
      src/BasicClientInterface.php
  12. 0 0
      src/Client.php
  13. 0 0
      src/ClientException.php
  14. 0 0
      src/ClientInterface.php
  15. 0 0
      src/Cluster/Distributor/DistributorInterface.php
  16. 0 0
      src/Cluster/Distributor/EmptyRingException.php
  17. 0 0
      src/Cluster/Distributor/HashRing.php
  18. 0 0
      src/Cluster/Distributor/KetamaRing.php
  19. 0 0
      src/Cluster/Hash/CRC16.php
  20. 0 0
      src/Cluster/Hash/HashGeneratorInterface.php
  21. 0 0
      src/Cluster/PredisStrategy.php
  22. 0 0
      src/Cluster/RedisStrategy.php
  23. 0 0
      src/Cluster/StrategyInterface.php
  24. 0 0
      src/Collection/Iterator/CursorBasedIterator.php
  25. 0 0
      src/Collection/Iterator/HashKey.php
  26. 0 0
      src/Collection/Iterator/Keyspace.php
  27. 0 0
      src/Collection/Iterator/ListKey.php
  28. 0 0
      src/Collection/Iterator/SetKey.php
  29. 0 0
      src/Collection/Iterator/SortedSetKey.php
  30. 0 0
      src/Command/Command.php
  31. 0 0
      src/Command/CommandInterface.php
  32. 0 0
      src/Command/ConnectionAuth.php
  33. 0 0
      src/Command/ConnectionEcho.php
  34. 0 0
      src/Command/ConnectionPing.php
  35. 0 0
      src/Command/ConnectionQuit.php
  36. 0 0
      src/Command/ConnectionSelect.php
  37. 0 0
      src/Command/HashDelete.php
  38. 0 0
      src/Command/HashExists.php
  39. 0 0
      src/Command/HashGet.php
  40. 0 0
      src/Command/HashGetAll.php
  41. 0 0
      src/Command/HashGetMultiple.php
  42. 0 0
      src/Command/HashIncrementBy.php
  43. 0 0
      src/Command/HashIncrementByFloat.php
  44. 0 0
      src/Command/HashKeys.php
  45. 0 0
      src/Command/HashLength.php
  46. 0 0
      src/Command/HashScan.php
  47. 0 0
      src/Command/HashSet.php
  48. 0 0
      src/Command/HashSetMultiple.php
  49. 0 0
      src/Command/HashSetPreserve.php
  50. 0 0
      src/Command/HashValues.php
  51. 0 0
      src/Command/HyperLogLogAdd.php
  52. 0 0
      src/Command/HyperLogLogCount.php
  53. 0 0
      src/Command/HyperLogLogMerge.php
  54. 0 0
      src/Command/KeyDelete.php
  55. 0 0
      src/Command/KeyDump.php
  56. 0 0
      src/Command/KeyExists.php
  57. 0 0
      src/Command/KeyExpire.php
  58. 0 0
      src/Command/KeyExpireAt.php
  59. 0 0
      src/Command/KeyKeys.php
  60. 0 0
      src/Command/KeyMove.php
  61. 0 0
      src/Command/KeyPersist.php
  62. 0 0
      src/Command/KeyPreciseExpire.php
  63. 0 0
      src/Command/KeyPreciseExpireAt.php
  64. 0 0
      src/Command/KeyPreciseTimeToLive.php
  65. 0 0
      src/Command/KeyRandom.php
  66. 0 0
      src/Command/KeyRename.php
  67. 0 0
      src/Command/KeyRenamePreserve.php
  68. 0 0
      src/Command/KeyRestore.php
  69. 0 0
      src/Command/KeyScan.php
  70. 0 0
      src/Command/KeySort.php
  71. 0 0
      src/Command/KeyTimeToLive.php
  72. 0 0
      src/Command/KeyType.php
  73. 0 0
      src/Command/ListIndex.php
  74. 0 0
      src/Command/ListInsert.php
  75. 0 0
      src/Command/ListLength.php
  76. 0 0
      src/Command/ListPopFirst.php
  77. 0 0
      src/Command/ListPopFirstBlocking.php
  78. 0 0
      src/Command/ListPopLast.php
  79. 0 0
      src/Command/ListPopLastBlocking.php
  80. 0 0
      src/Command/ListPopLastPushHead.php
  81. 0 0
      src/Command/ListPopLastPushHeadBlocking.php
  82. 0 0
      src/Command/ListPushHead.php
  83. 0 0
      src/Command/ListPushHeadX.php
  84. 0 0
      src/Command/ListPushTail.php
  85. 0 0
      src/Command/ListPushTailX.php
  86. 0 0
      src/Command/ListRange.php
  87. 0 0
      src/Command/ListRemove.php
  88. 0 0
      src/Command/ListSet.php
  89. 0 0
      src/Command/ListTrim.php
  90. 0 0
      src/Command/PrefixableCommandInterface.php
  91. 0 0
      src/Command/Processor/KeyPrefixProcessor.php
  92. 0 0
      src/Command/Processor/ProcessorChain.php
  93. 0 0
      src/Command/Processor/ProcessorInterface.php
  94. 0 0
      src/Command/PubSubPublish.php
  95. 0 0
      src/Command/PubSubPubsub.php
  96. 0 0
      src/Command/PubSubSubscribe.php
  97. 0 0
      src/Command/PubSubSubscribeByPattern.php
  98. 0 0
      src/Command/PubSubUnsubscribe.php
  99. 0 0
      src/Command/PubSubUnsubscribeByPattern.php
  100. 0 0
      src/Command/RawCommand.php

+ 1 - 1
autoload.php

@@ -9,6 +9,6 @@
  * file that was distributed with this source code.
  */
 
-require __DIR__.'/lib/Predis/Autoloader.php';
+require __DIR__.'/src/Autoloader.php';
 
 Predis\Autoloader::register();

+ 3 - 3
bin/create-command-test

@@ -61,7 +61,7 @@ class CommandTestCaseGenerator
 
         $options = array(
             'overwrite' => false,
-            'tests' => __DIR__.'/../tests',
+            'tests' => __DIR__.'/../tests/Predis',
         );
 
         foreach ($getops as $option => $value) {
@@ -93,9 +93,9 @@ class CommandTestCaseGenerator
         }
 
         $options['fqn'] = "Predis\\Command\\{$options['class']}";
-        $options['path'] = "Predis/Command/{$options['class']}.php";
+        $options['path'] = "Command/{$options['class']}.php";
 
-        $source = __DIR__.'/../lib/'.$options['path'];
+        $source = __DIR__.'/../src/'.$options['path'];
         if (!file_exists($source)) {
             throw new RuntimeException("Cannot find class file for {$options['fqn']} in $source.");
         }

+ 181 - 3
bin/create-pear

@@ -12,7 +12,11 @@
 
 // -------------------------------------------------------------------------- //
 // In order to be able to execute this script to create a PEAR package of Predis
-// both `onion` and `pear` must be available and executable in your $PATH.
+// the `pear` binary must be available and executable in your $PATH.
+// The parts used to parse author and version strings are taken from Onion (used
+// by this library in the past) just to keep on relying on the package.ini file
+// to simplify things. We might consider to switch to using the PEAR classes
+// directly in the future.
 // -------------------------------------------------------------------------- //
 
 function executeWithBackup($file, $callback)
@@ -36,18 +40,192 @@ function executeWithBackup($file, $callback)
     }
 }
 
+function parseAuthor($string)
+{
+    $author = array();
+
+    if (preg_match('/^\s*(.+?)\s*(?:"(\S+)"\s*)?<(\S+)>\s*$/x', $string , $regs)) {
+        if (count($regs) == 4) {
+            list($orig,$name,$user,$email) = $regs;
+            $author['name'] = $name;
+            $author['user'] = $user;
+            $author['email'] = $email;
+        } elseif (count($regs) == 3) {
+            list($orig,$name,$email) = $regs;
+            $author['name'] = $name;
+            $author['email'] = $email;
+        }
+    } else {
+        $author['name'] = $string;
+    }
+
+    return $author;
+}
+
+function parseVersion($string)
+{
+    $version_pattern = '([0-9.]+)';
+
+    if (preg_match("/^\s*$version_pattern\s*\$/x", $string, $regs)) {
+        return array('min' => $regs[1] ?: '0.0.0');
+    } elseif (preg_match("/^\s*[>=]+\s*$version_pattern\s*\$/x", $string, $regs)) {
+        return array('min' => $regs[1] ?: '0.0.0');
+    } elseif (preg_match("/^\s*[<=]+\s*$version_pattern\s*\$/x", $string, $regs)) {
+        return array('max' => $regs[1]);
+    } elseif (preg_match("/^\s*$version_pattern\s*<=>\s*$version_pattern\s*\$/x", $string, $regs)) {
+        return array(
+            'min' => $regs[1] ?: '0.0.0',
+            'max' => $regs[2],
+        );
+    }
+}
+
+function addRolePath($pkg, $path, $role)
+{
+    if (is_dir($path)) {
+        $dirRoot = new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::SKIP_DOTS);
+        $dirTree = new RecursiveIteratorIterator($dirRoot, RecursiveIteratorIterator::CHILD_FIRST);
+
+        foreach ($dirTree as $fileinfo) {
+            if ($fileinfo->isFile()) {
+                addPackageFile($pkg, $fileinfo, $role, $path);
+            }
+        }
+    } else {
+        foreach (glob($path) as $filename) {
+            addPackageFile($pkg, new SplFileInfo($filename), $role);
+        }
+    }
+}
+
+function addPackageFile($pkg, $fileinfo, $role, $baseDir = '')
+{
+    $fileNode = $pkg->contents->dir->addChild('file');
+    $fileNode->addAttribute('name', $filepath = $fileinfo->getPathname());
+    $fileNode->addAttribute('role', $role);
+    $fileNode->addAttribute('md5sum', md5_file($filepath));
+
+    $installNode = $pkg->phprelease->filelist->addChild('install');
+    $installNode->addAttribute('name', $filepath);
+    $installNode->addAttribute('as', !$baseDir ? basename($filepath) : substr($filepath, strlen($baseDir) + 1));
+}
+
+function generatePackageXml($packageINI)
+{
+    $XML = <<<XML
+<?xml version="1.0"?>
+<package packagerversion="1.4.10" version="2.0"
+    xmlns="http://pear.php.net/dtd/package-2.0"
+    xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
+              http://pear.php.net/dtd/tasks-1.0.xsd
+              http://pear.php.net/dtd/package-2.0
+              http://pear.php.net/dtd/package-2.0.xsd" />
+XML;
+
+    $cfg = parse_ini_file($packageINI, true);
+    $pkg = new SimpleXMLElement($XML);
+
+    $pkg->name = $cfg['package']['name'];
+    $pkg->channel = $cfg['package']['channel'];
+    $pkg->summary = $cfg['package']['desc'];
+    $pkg->description = $cfg['package']['desc'];
+
+    $author = parseAuthor($cfg['package']['author']);
+    $pkg->addChild('lead');
+    $pkg->lead->name = $author['name'];
+    $pkg->lead->user = $author['user'];
+    $pkg->lead->email = $author['email'];
+    $pkg->lead->active = 'yes';
+
+    $datetime = new DateTime('now');
+    $pkg->date = $datetime->format('Y-m-d');
+    $pkg->time = $datetime->format('H:i:s');
+
+    $pkg->addChild('version');
+    $pkg->version->release = $cfg['package']['version'];
+    $pkg->version->api = $cfg['package']['version'];
+
+    $pkg->addChild('stability');
+    $pkg->stability->release = $cfg['package']['stability'];
+    $pkg->stability->api = $cfg['package']['stability'];
+
+    $pkg->license = $cfg['package']['license'];
+    $pkg->notes = '-';
+
+    $pkg->addChild('contents')->addChild('dir')->addAttribute('name', '/');
+
+    $pkg->addChild('dependencies')->addChild('required');
+    foreach ($cfg['require'] as $required => $version) {
+        $version = parseVersion($version);
+        $pkg->dependencies->required->addChild($required);
+
+        if (isset($version['min'])) {
+            $pkg->dependencies->required->$required->min = $version['min'];
+        }
+        if (isset($version['max'])) {
+            $pkg->dependencies->required->$required->min = $version['max'];
+        }
+    }
+
+    $pkg->addChild('phprelease')->addChild('filelist');
+
+    $pathToRole = array(
+        'doc' => 'doc', 'docs' => 'doc', 'examples' => 'doc',
+        'lib' => 'php', 'src' => 'php',
+        'test' => 'test', 'tests' => 'test',
+    );
+
+    foreach (array_merge($pathToRole, $cfg['roles'] ?: array()) as $path => $role) {
+        addRolePath($pkg, $path, $role);
+    }
+
+    return $pkg;
+}
+
+function rewritePackageInstallAs($pkg)
+{
+    foreach ($pkg->phprelease->filelist->install as $file) {
+        if (preg_match('/^src\//', $file['name'])) {
+            $file['as'] = "Predis/{$file['as']}";
+        }
+    }
+}
+
+function savePackageXml($xml)
+{
+    $dom = new DOMDocument("1.0");
+    $dom->preserveWhiteSpace = false;
+    $dom->formatOutput = true;
+    $dom->loadXML($xml->asXML());
+
+    file_put_contents('package.xml', $dom->saveXML());
+}
+
 function buildPackage()
 {
-    passthru('onion build && pear -q package && rm package.xml');
+    passthru('pear -q package && rm package.xml');
 }
 
-executeWithBackup(__DIR__.'/../phpunit.xml.dist', function ($file) {
+function modifyPhpunitXml($file)
+{
     $cfg = new SimpleXMLElement($file, null, true);
 
     $cfg[0]['bootstrap'] = str_replace('tests/', '', $cfg[0]['bootstrap']);
     $cfg->testsuites->testsuite->directory = str_replace('tests/', '', $cfg->testsuites->testsuite->directory);
 
     $cfg->saveXml($file);
+}
+
+// -------------------------------------------------------------------------- //
+
+executeWithBackup(__DIR__.'/../phpunit.xml.dist', function ($file) {
+    modifyPhpunitXml($file);
+
+    $pkg = generatePackageXml('package.ini');
+    rewritePackageInstallAs($pkg);
+    savePackageXml($pkg);
 
     buildPackage();
 });

+ 2 - 2
bin/create-phar

@@ -19,7 +19,7 @@
 
 $options = array(
     'name'           => 'predis',
-    'project_path'   => __DIR__ . '/../lib/',
+    'project_path'   => __DIR__ . '/../src',
     'compression'    => Phar::NONE,
     'append_version' => true,
 );
@@ -52,7 +52,7 @@ function getPharStub($options)
 Phar::mapPhar('predis.phar');
 spl_autoload_register(function (\$class) {
     if (strpos(\$class, 'Predis\\\\') === 0) {
-        \$file = 'phar://predis.phar/'.strtr(\$class, '\\\', '/').'.php';
+        \$file = 'phar://predis.phar/'.strtr(substr(\$class, 7), '\\\', '/').'.php';
         if (file_exists(\$file)) {
             require \$file;
             return true;

+ 3 - 4
bin/create-single-file

@@ -36,7 +36,7 @@ class CommandLine
         $getops = getopt(implode(array_keys($parameters)), $parameters);
 
         $options = array(
-            'source'  => __DIR__ . "/../lib/",
+            'source'  => __DIR__ . "/../src",
             'output'  => PredisFile::NS_ROOT . '.php',
             'exclude' => array(),
         );
@@ -82,9 +82,8 @@ class PredisFile
 
     public static function from($libraryPath, array $exclude = array())
     {
-        $nsroot = self::NS_ROOT;
         $predisFile = new PredisFile();
-        $libIterator = new RecursiveDirectoryIterator("$libraryPath$nsroot");
+        $libIterator = new RecursiveDirectoryIterator($libraryPath);
 
         foreach (new RecursiveIteratorIterator($libIterator) as $classFile)
         {
@@ -92,7 +91,7 @@ class PredisFile
                 continue;
             }
 
-            $namespace = strtr(str_replace($libraryPath, '', $classFile->getPath()), '/', '\\');
+            $namespace = self::NS_ROOT.strtr(str_replace($libraryPath, '', $classFile->getPath()), '/', '\\');
 
             if (in_array(sprintf('%s\\%s', $namespace, $classFile->getBasename('.php')), $exclude)) {
                 continue;

+ 1 - 1
composer.json

@@ -26,7 +26,7 @@
         "ext-curl": "Allows access to Webdis when paired with phpiredis"
     },
     "autoload": {
-        "psr-0": {"Predis": "lib/"}
+        "psr-4": {"Predis\\": "src/"}
     },
     "extra": {
         "branch-alias": {

+ 0 - 1
package.ini

@@ -24,7 +24,6 @@ pearinstaller = "1.4.1"
 *.xml.dist = test
 *.md = doc
 LICENSE = doc
-lib = php
 
 [optional phpiredis]
 hint = "Add support for faster protocol handling with phpiredis"

+ 1 - 1
phpunit.xml.dist

@@ -21,7 +21,7 @@
 
     <filter>
         <whitelist>
-            <directory suffix=".php">lib/Predis/</directory>
+            <directory suffix=".php">src/</directory>
         </whitelist>
     </filter>
 

+ 1 - 1
phpunit.xml.travisci

@@ -21,7 +21,7 @@
 
     <filter>
         <whitelist>
-            <directory suffix=".php">lib/Predis/</directory>
+            <directory suffix=".php">src/</directory>
         </whitelist>
     </filter>
 

+ 0 - 0
lib/Predis/Autoloader.php → src/Autoloader.php


+ 0 - 0
lib/Predis/BasicClientInterface.php → src/BasicClientInterface.php


+ 0 - 0
lib/Predis/Client.php → src/Client.php


+ 0 - 0
lib/Predis/ClientException.php → src/ClientException.php


+ 0 - 0
lib/Predis/ClientInterface.php → src/ClientInterface.php


+ 0 - 0
lib/Predis/Cluster/Distributor/DistributorInterface.php → src/Cluster/Distributor/DistributorInterface.php


+ 0 - 0
lib/Predis/Cluster/Distributor/EmptyRingException.php → src/Cluster/Distributor/EmptyRingException.php


+ 0 - 0
lib/Predis/Cluster/Distributor/HashRing.php → src/Cluster/Distributor/HashRing.php


+ 0 - 0
lib/Predis/Cluster/Distributor/KetamaRing.php → src/Cluster/Distributor/KetamaRing.php


+ 0 - 0
lib/Predis/Cluster/Hash/CRC16.php → src/Cluster/Hash/CRC16.php


+ 0 - 0
lib/Predis/Cluster/Hash/HashGeneratorInterface.php → src/Cluster/Hash/HashGeneratorInterface.php


+ 0 - 0
lib/Predis/Cluster/PredisStrategy.php → src/Cluster/PredisStrategy.php


+ 0 - 0
lib/Predis/Cluster/RedisStrategy.php → src/Cluster/RedisStrategy.php


+ 0 - 0
lib/Predis/Cluster/StrategyInterface.php → src/Cluster/StrategyInterface.php


+ 0 - 0
lib/Predis/Collection/Iterator/CursorBasedIterator.php → src/Collection/Iterator/CursorBasedIterator.php


+ 0 - 0
lib/Predis/Collection/Iterator/HashKey.php → src/Collection/Iterator/HashKey.php


+ 0 - 0
lib/Predis/Collection/Iterator/Keyspace.php → src/Collection/Iterator/Keyspace.php


+ 0 - 0
lib/Predis/Collection/Iterator/ListKey.php → src/Collection/Iterator/ListKey.php


+ 0 - 0
lib/Predis/Collection/Iterator/SetKey.php → src/Collection/Iterator/SetKey.php


+ 0 - 0
lib/Predis/Collection/Iterator/SortedSetKey.php → src/Collection/Iterator/SortedSetKey.php


+ 0 - 0
lib/Predis/Command/Command.php → src/Command/Command.php


+ 0 - 0
lib/Predis/Command/CommandInterface.php → src/Command/CommandInterface.php


+ 0 - 0
lib/Predis/Command/ConnectionAuth.php → src/Command/ConnectionAuth.php


+ 0 - 0
lib/Predis/Command/ConnectionEcho.php → src/Command/ConnectionEcho.php


+ 0 - 0
lib/Predis/Command/ConnectionPing.php → src/Command/ConnectionPing.php


+ 0 - 0
lib/Predis/Command/ConnectionQuit.php → src/Command/ConnectionQuit.php


+ 0 - 0
lib/Predis/Command/ConnectionSelect.php → src/Command/ConnectionSelect.php


+ 0 - 0
lib/Predis/Command/HashDelete.php → src/Command/HashDelete.php


+ 0 - 0
lib/Predis/Command/HashExists.php → src/Command/HashExists.php


+ 0 - 0
lib/Predis/Command/HashGet.php → src/Command/HashGet.php


+ 0 - 0
lib/Predis/Command/HashGetAll.php → src/Command/HashGetAll.php


+ 0 - 0
lib/Predis/Command/HashGetMultiple.php → src/Command/HashGetMultiple.php


+ 0 - 0
lib/Predis/Command/HashIncrementBy.php → src/Command/HashIncrementBy.php


+ 0 - 0
lib/Predis/Command/HashIncrementByFloat.php → src/Command/HashIncrementByFloat.php


+ 0 - 0
lib/Predis/Command/HashKeys.php → src/Command/HashKeys.php


+ 0 - 0
lib/Predis/Command/HashLength.php → src/Command/HashLength.php


+ 0 - 0
lib/Predis/Command/HashScan.php → src/Command/HashScan.php


+ 0 - 0
lib/Predis/Command/HashSet.php → src/Command/HashSet.php


+ 0 - 0
lib/Predis/Command/HashSetMultiple.php → src/Command/HashSetMultiple.php


+ 0 - 0
lib/Predis/Command/HashSetPreserve.php → src/Command/HashSetPreserve.php


+ 0 - 0
lib/Predis/Command/HashValues.php → src/Command/HashValues.php


+ 0 - 0
lib/Predis/Command/HyperLogLogAdd.php → src/Command/HyperLogLogAdd.php


+ 0 - 0
lib/Predis/Command/HyperLogLogCount.php → src/Command/HyperLogLogCount.php


+ 0 - 0
lib/Predis/Command/HyperLogLogMerge.php → src/Command/HyperLogLogMerge.php


+ 0 - 0
lib/Predis/Command/KeyDelete.php → src/Command/KeyDelete.php


+ 0 - 0
lib/Predis/Command/KeyDump.php → src/Command/KeyDump.php


+ 0 - 0
lib/Predis/Command/KeyExists.php → src/Command/KeyExists.php


+ 0 - 0
lib/Predis/Command/KeyExpire.php → src/Command/KeyExpire.php


+ 0 - 0
lib/Predis/Command/KeyExpireAt.php → src/Command/KeyExpireAt.php


+ 0 - 0
lib/Predis/Command/KeyKeys.php → src/Command/KeyKeys.php


+ 0 - 0
lib/Predis/Command/KeyMove.php → src/Command/KeyMove.php


+ 0 - 0
lib/Predis/Command/KeyPersist.php → src/Command/KeyPersist.php


+ 0 - 0
lib/Predis/Command/KeyPreciseExpire.php → src/Command/KeyPreciseExpire.php


+ 0 - 0
lib/Predis/Command/KeyPreciseExpireAt.php → src/Command/KeyPreciseExpireAt.php


+ 0 - 0
lib/Predis/Command/KeyPreciseTimeToLive.php → src/Command/KeyPreciseTimeToLive.php


+ 0 - 0
lib/Predis/Command/KeyRandom.php → src/Command/KeyRandom.php


+ 0 - 0
lib/Predis/Command/KeyRename.php → src/Command/KeyRename.php


+ 0 - 0
lib/Predis/Command/KeyRenamePreserve.php → src/Command/KeyRenamePreserve.php


+ 0 - 0
lib/Predis/Command/KeyRestore.php → src/Command/KeyRestore.php


+ 0 - 0
lib/Predis/Command/KeyScan.php → src/Command/KeyScan.php


+ 0 - 0
lib/Predis/Command/KeySort.php → src/Command/KeySort.php


+ 0 - 0
lib/Predis/Command/KeyTimeToLive.php → src/Command/KeyTimeToLive.php


+ 0 - 0
lib/Predis/Command/KeyType.php → src/Command/KeyType.php


+ 0 - 0
lib/Predis/Command/ListIndex.php → src/Command/ListIndex.php


+ 0 - 0
lib/Predis/Command/ListInsert.php → src/Command/ListInsert.php


+ 0 - 0
lib/Predis/Command/ListLength.php → src/Command/ListLength.php


+ 0 - 0
lib/Predis/Command/ListPopFirst.php → src/Command/ListPopFirst.php


+ 0 - 0
lib/Predis/Command/ListPopFirstBlocking.php → src/Command/ListPopFirstBlocking.php


+ 0 - 0
lib/Predis/Command/ListPopLast.php → src/Command/ListPopLast.php


+ 0 - 0
lib/Predis/Command/ListPopLastBlocking.php → src/Command/ListPopLastBlocking.php


+ 0 - 0
lib/Predis/Command/ListPopLastPushHead.php → src/Command/ListPopLastPushHead.php


+ 0 - 0
lib/Predis/Command/ListPopLastPushHeadBlocking.php → src/Command/ListPopLastPushHeadBlocking.php


+ 0 - 0
lib/Predis/Command/ListPushHead.php → src/Command/ListPushHead.php


+ 0 - 0
lib/Predis/Command/ListPushHeadX.php → src/Command/ListPushHeadX.php


+ 0 - 0
lib/Predis/Command/ListPushTail.php → src/Command/ListPushTail.php


+ 0 - 0
lib/Predis/Command/ListPushTailX.php → src/Command/ListPushTailX.php


+ 0 - 0
lib/Predis/Command/ListRange.php → src/Command/ListRange.php


+ 0 - 0
lib/Predis/Command/ListRemove.php → src/Command/ListRemove.php


+ 0 - 0
lib/Predis/Command/ListSet.php → src/Command/ListSet.php


+ 0 - 0
lib/Predis/Command/ListTrim.php → src/Command/ListTrim.php


+ 0 - 0
lib/Predis/Command/PrefixableCommandInterface.php → src/Command/PrefixableCommandInterface.php


+ 0 - 0
lib/Predis/Command/Processor/KeyPrefixProcessor.php → src/Command/Processor/KeyPrefixProcessor.php


+ 0 - 0
lib/Predis/Command/Processor/ProcessorChain.php → src/Command/Processor/ProcessorChain.php


+ 0 - 0
lib/Predis/Command/Processor/ProcessorInterface.php → src/Command/Processor/ProcessorInterface.php


+ 0 - 0
lib/Predis/Command/PubSubPublish.php → src/Command/PubSubPublish.php


+ 0 - 0
lib/Predis/Command/PubSubPubsub.php → src/Command/PubSubPubsub.php


+ 0 - 0
lib/Predis/Command/PubSubSubscribe.php → src/Command/PubSubSubscribe.php


+ 0 - 0
lib/Predis/Command/PubSubSubscribeByPattern.php → src/Command/PubSubSubscribeByPattern.php


+ 0 - 0
lib/Predis/Command/PubSubUnsubscribe.php → src/Command/PubSubUnsubscribe.php


+ 0 - 0
lib/Predis/Command/PubSubUnsubscribeByPattern.php → src/Command/PubSubUnsubscribeByPattern.php


+ 0 - 0
lib/Predis/Command/RawCommand.php → src/Command/RawCommand.php


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini