mirror of
https://github.com/predis/predis.git
synced 2026-09-14 20:37:29 +00:00
Restore alignment for a few equals symbols.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
// files, but namespaces and classes definitions must follow a precise order
|
||||
// when dealing with subclassing and inheritance.
|
||||
//
|
||||
// The current implementation is pretty naïve, but it should do for now.
|
||||
// The current implementation is pretty naïve, but it should do for now.
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
class CommandLine
|
||||
@@ -27,10 +27,10 @@ class CommandLine
|
||||
public static function getOptions()
|
||||
{
|
||||
$parameters = array(
|
||||
's:' => 'source:',
|
||||
'o:' => 'output:',
|
||||
'e:' => 'exclude:',
|
||||
'E:' => 'exclude-classes:',
|
||||
's:' => 'source:',
|
||||
'o:' => 'output:',
|
||||
'e:' => 'exclude:',
|
||||
'E:' => 'exclude-classes:',
|
||||
);
|
||||
|
||||
$getops = getopt(implode(array_keys($parameters)), $parameters);
|
||||
|
||||
@@ -27,8 +27,8 @@ final class Factory
|
||||
'2.6' => 'Predis\Profile\RedisVersion260',
|
||||
'2.8' => 'Predis\Profile\RedisVersion280',
|
||||
'3.0' => 'Predis\Profile\RedisVersion300',
|
||||
'default' => 'Predis\Profile\RedisVersion300',
|
||||
'dev' => 'Predis\Profile\RedisUnstable',
|
||||
'default' => 'Predis\Profile\RedisVersion300',
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,16 +18,16 @@ namespace Predis\PubSub;
|
||||
*/
|
||||
abstract class AbstractConsumer implements \Iterator
|
||||
{
|
||||
const SUBSCRIBE = 'subscribe';
|
||||
const UNSUBSCRIBE = 'unsubscribe';
|
||||
const PSUBSCRIBE = 'psubscribe';
|
||||
const SUBSCRIBE = 'subscribe';
|
||||
const UNSUBSCRIBE = 'unsubscribe';
|
||||
const PSUBSCRIBE = 'psubscribe';
|
||||
const PUNSUBSCRIBE = 'punsubscribe';
|
||||
const MESSAGE = 'message';
|
||||
const PMESSAGE = 'pmessage';
|
||||
const PONG = 'pong';
|
||||
const MESSAGE = 'message';
|
||||
const PMESSAGE = 'pmessage';
|
||||
const PONG = 'pong';
|
||||
|
||||
const STATUS_VALID = 1; // 0b0001
|
||||
const STATUS_SUBSCRIBED = 2; // 0b0010
|
||||
const STATUS_VALID = 1; // 0b0001
|
||||
const STATUS_SUBSCRIBED = 2; // 0b0010
|
||||
const STATUS_PSUBSCRIBED = 4; // 0b0100
|
||||
|
||||
private $position = null;
|
||||
|
||||
@@ -20,9 +20,9 @@ class MultiExecState
|
||||
{
|
||||
const INITIALIZED = 1; // 0b00001
|
||||
const INSIDEBLOCK = 2; // 0b00010
|
||||
const DISCARDED = 4; // 0b00100
|
||||
const CAS = 8; // 0b01000
|
||||
const WATCH = 16; // 0b10000
|
||||
const DISCARDED = 4; // 0b00100
|
||||
const CAS = 8; // 0b01000
|
||||
const WATCH = 16; // 0b10000
|
||||
|
||||
private $flags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user