repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/AuthenticationException.php
src/Connection/AuthenticationException.php
<?php namespace Disque\Connection; class AuthenticationException extends ConnectionException { }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Node/NodePrioritizerInterface.php
src/Connection/Node/NodePrioritizerInterface.php
<?php namespace Disque\Connection\Node; use Traversable; /** * Sort Disque nodes by priority in order to connect to the most useful one * * The Connection\Manager accepts an implementation of this interface and asks * it to sort nodes by priority. It then tries to connect to the best available * node. The librar...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Node/ConservativeJobCountPrioritizer.php
src/Connection/Node/ConservativeJobCountPrioritizer.php
<?php namespace Disque\Connection\Node; use InvalidArgumentException; /** * A prioritizer switching nodes if they have more jobs by a given margin * * This class prioritizes nodes by job count and its Disque priority. Because * there is a cost to switch, it doesn't switch from the current node unless * the new c...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Node/Node.php
src/Connection/Node/Node.php
<?php namespace Disque\Connection\Node; use Disque\Command\Auth; use Disque\Command\CommandInterface; use Disque\Command\Hello; use Disque\Command\Response\HelloResponse; use Disque\Connection\ConnectionException; use Disque\Connection\ConnectionInterface; use Disque\Connection\Credentials; use Disque\Connection\Authe...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Node/RandomPrioritizer.php
src/Connection/Node/RandomPrioritizer.php
<?php namespace Disque\Connection\Node; /** * This prioritizer advises the Manager to switch nodes randomly * * It can be used to test the availability of nodes in a cluster. */ class RandomPrioritizer implements NodePrioritizerInterface { /** * @inheritdoc */ public function sort(array $nodes, $...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Node/NullPrioritizer.php
src/Connection/Node/NullPrioritizer.php
<?php namespace Disque\Connection\Node; /** * This prioritizer always advises to stay on the current node */ class NullPrioritizer implements NodePrioritizerInterface { /** * @inheritdoc */ public function sort(array $nodes, $currentNodeId) { if (current($nodes) === $nodes[$currentNodeI...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Response/BaseResponse.php
src/Connection/Response/BaseResponse.php
<?php namespace Disque\Connection\Response; use Closure; abstract class BaseResponse { /** * Data * * @var string */ protected $data; /** * Reader * * @var Closure */ protected $reader; /** * Receiver * * @var Closure */ protected $...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Response/ErrorResponse.php
src/Connection/Response/ErrorResponse.php
<?php namespace Disque\Connection\Response; class ErrorResponse extends BaseResponse { /** * Parse response * * @return ResponseException Response */ public function parse() { $error = (string) $this->data; $exceptionClass = $this->getExceptionClass($error); retu...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Response/QueuePausedResponseException.php
src/Connection/Response/QueuePausedResponseException.php
<?php namespace Disque\Connection\Response; class QueuePausedResponseException extends ResponseException { }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Response/ResponseException.php
src/Connection/Response/ResponseException.php
<?php namespace Disque\Connection\Response; use Disque\Connection\ConnectionException; class ResponseException extends ConnectionException { }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Response/StringResponse.php
src/Connection/Response/StringResponse.php
<?php namespace Disque\Connection\Response; class StringResponse extends BaseResponse { /** * Parse response * * @return string Response */ public function parse() { return (string) $this->data; } }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Response/IntResponse.php
src/Connection/Response/IntResponse.php
<?php namespace Disque\Connection\Response; class IntResponse extends BaseResponse { /** * Parse response * * @return string Response */ public function parse() { return (int) $this->data; } }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Response/TextResponse.php
src/Connection/Response/TextResponse.php
<?php namespace Disque\Connection\Response; use Disque\Connection\ConnectionException; class TextResponse extends BaseResponse { const READ_BUFFER_LENGTH = 8192; /** * Parse response * * @return string Response * @throws ConnectionException */ public function parse() { ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Response/ArrayResponse.php
src/Connection/Response/ArrayResponse.php
<?php namespace Disque\Connection\Response; use Disque\Connection\ConnectionException; class ArrayResponse extends BaseResponse { /** * Parse response * * @return string Response * @throws ConnectionException */ public function parse() { $count = (int) $this->data; ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Factory/SocketFactory.php
src/Connection/Factory/SocketFactory.php
<?php namespace Disque\Connection\Factory; use Disque\Connection\Socket; /** * Create the default Disque connection */ class SocketFactory implements ConnectionFactoryInterface { /** * @inheritdoc */ public function create($host, $port) { return new Socket($host, $port); } }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Factory/PredisFactory.php
src/Connection/Factory/PredisFactory.php
<?php namespace Disque\Connection\Factory; use Disque\Connection\Predis; /** * Create the default Disque connection */ class PredisFactory implements ConnectionFactoryInterface { /** * @inheritdoc */ public function create($host, $port) { return new Predis($host, $port); } }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Connection/Factory/ConnectionFactoryInterface.php
src/Connection/Factory/ConnectionFactoryInterface.php
<?php namespace Disque\Connection\Factory; interface ConnectionFactoryInterface { /** * Create a new Connection object * * @param string $host * @param int $port * * @return ConnectionInterface */ public function create($host, $port); }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Queue/JobInterface.php
src/Queue/JobInterface.php
<?php namespace Disque\Queue; interface JobInterface { /** * Get the job ID * * @return string */ public function getId(); /** * Set the job ID * * @param string $id */ public function setId($id); /** * Get the job body * * @return mixed Job ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Queue/Job.php
src/Queue/Job.php
<?php namespace Disque\Queue; class Job extends BaseJob implements JobInterface { }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Queue/QueueException.php
src/Queue/QueueException.php
<?php namespace Disque\Queue; use Disque\DisqueException; class QueueException extends DisqueException { }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Queue/BaseJob.php
src/Queue/BaseJob.php
<?php namespace Disque\Queue; abstract class BaseJob implements JobInterface { /** * Job ID * * @var string */ protected $id; /** * Job body * * This is the job data. Whether just an integer, an array, that depends * on the use case. * * @var mixed */...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Queue/Queue.php
src/Queue/Queue.php
<?php namespace Disque\Queue; use DateTime; use DateTimeZone; use Disque\Client; use Disque\Queue\Marshal\JobMarshaler; use Disque\Queue\Marshal\MarshalerInterface; use InvalidArgumentException; use Disque\Command\Response\JobsResponse AS Response; use Disque\Command\Response\JobsWithCountersResponse AS Counters; cla...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Queue/Marshal/MarshalerInterface.php
src/Queue/Marshal/MarshalerInterface.php
<?php namespace Disque\Queue\Marshal; use Disque\Queue\JobInterface; interface MarshalerInterface { /** * Creates a JobInterface instance based on data obtained from queue * * @param string $source Source data * @return JobInterface * @throws MarshalException */ public function u...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Queue/Marshal/JobMarshaler.php
src/Queue/Marshal/JobMarshaler.php
<?php namespace Disque\Queue\Marshal; use Disque\Queue\Job; use Disque\Queue\JobInterface; /** * Serialize and deserialize the job body * * Serialize the job body when adding the job to the queue, * deserialize it and instantiate a new Job object when reading the job * from the queue. * * This marshaler uses J...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Queue/Marshal/MarshalException.php
src/Queue/Marshal/MarshalException.php
<?php namespace Disque\Queue\Marshal; use Disque\Queue\QueueException; class MarshalException extends QueueException { }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/JScan.php
src/Command/JScan.php
<?php namespace Disque\Command; use Disque\Command\Argument\ArrayChecker; use Disque\Command\Argument\OptionChecker; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\Argument\InvalidOptionException; use Disque\Command\Response\JscanResponse; class JScan extends BaseCommand implements Co...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/QLen.php
src/Command/QLen.php
<?php namespace Disque\Command; use Disque\Command\Response\IntResponse; class QLen extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRING; /** * Tells which class ha...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Dequeue.php
src/Command/Dequeue.php
<?php namespace Disque\Command; use Disque\Command\Response\IntResponse; class Dequeue extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRINGS; /** * Tells which clas...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/DelJob.php
src/Command/DelJob.php
<?php namespace Disque\Command; use Disque\Command\Response\IntResponse; class DelJob extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRINGS; /** * Tells which class...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Enqueue.php
src/Command/Enqueue.php
<?php namespace Disque\Command; use Disque\Command\Response\IntResponse; class Enqueue extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRINGS; /** * Tells which clas...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/CommandInterface.php
src/Command/CommandInterface.php
<?php namespace Disque\Command; interface CommandInterface { /** * Get the command name * * The command name determines how the command will be called on Client. * If this method returns "foo", the command must be invoked by calling * the Client::foo() method (the method name is case insen...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Auth.php
src/Command/Auth.php
<?php namespace Disque\Command; use Disque\Command\Response\AuthResponse; class Auth extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRING; /** * Get command * ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/AckJob.php
src/Command/AckJob.php
<?php namespace Disque\Command; use Disque\Command\Response\IntResponse; class AckJob extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRINGS; /** * Tells which class...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/InvalidCommandException.php
src/Command/InvalidCommandException.php
<?php namespace Disque\Command; use Disque\DisqueException; class InvalidCommandException extends DisqueException { public function __construct($command) { parent::__construct("Invalid command {$command}"); } }
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/AddJob.php
src/Command/AddJob.php
<?php namespace Disque\Command; use Disque\Command\Argument\ArrayChecker; use Disque\Command\Argument\OptionChecker; use Disque\Command\Argument\InvalidCommandArgumentException; class AddJob extends BaseCommand implements CommandInterface { use ArrayChecker; use OptionChecker; /** * Available comman...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/QStat.php
src/Command/QStat.php
<?php namespace Disque\Command; use Disque\Command\Response\KeyValueResponse; use Disque\Exception; class QStat extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRING; /*...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Info.php
src/Command/Info.php
<?php namespace Disque\Command; use Disque\Exception; class Info extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_EMPTY; /** * Get command * * @return string...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/QPeek.php
src/Command/QPeek.php
<?php namespace Disque\Command; use Disque\Command\Response\JobsWithQueueResponse; class QPeek extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRING_INT; /** * Tells...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Show.php
src/Command/Show.php
<?php namespace Disque\Command; use Disque\Command\Response\KeyValueResponse; class Show extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRING; /** * Tells which cla...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Nack.php
src/Command/Nack.php
<?php namespace Disque\Command; use Disque\Command\Response\IntResponse; /** * Put the job(s) back to the queue immediately and increment the nack counter. * * The command should be used when the worker was not able to process a job and * wants the job to be put back into the queue in order to be processed again....
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/BaseCommand.php
src/Command/BaseCommand.php
<?php namespace Disque\Command; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\Argument\InvalidOptionException; use Disque\Command\Argument\StringChecker; use Disque\Command\Response\StringResponse; abstract class BaseCommand implements CommandInterface { use StringChecker; /...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/GetJob.php
src/Command/GetJob.php
<?php namespace Disque\Command; use Disque\Command\Argument\StringChecker; use Disque\Command\Argument\InvalidOptionException; use Disque\Command\Response\JobsWithQueueResponse; use Disque\Command\Response\JobsWithCountersResponse; class GetJob extends BaseCommand implements CommandInterface { use StringChecker; ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Pause.php
src/Command/Pause.php
<?php namespace Disque\Command; use Disque\Command\Response\StringResponse; /** * Pause a queue. */ class Pause extends BaseCommand implements CommandInterface { /** * @inheritdoc */ protected $responseHandler = StringResponse::class; /** * @inheritdoc */ public function getComm...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Working.php
src/Command/Working.php
<?php namespace Disque\Command; use Disque\Command\Response\IntResponse; class Working extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRING; /** * Tells which class...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/QScan.php
src/Command/QScan.php
<?php namespace Disque\Command; use Disque\Command\Argument\ArrayChecker; use Disque\Command\Argument\OptionChecker; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\Argument\InvalidOptionException; use Disque\Command\Response\QscanResponse; class QScan extends BaseCommand implements Co...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/FastAck.php
src/Command/FastAck.php
<?php namespace Disque\Command; use Disque\Command\Response\IntResponse; class FastAck extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_STRINGS; /** * Tells which clas...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Hello.php
src/Command/Hello.php
<?php namespace Disque\Command; use Disque\Command\Response\HelloResponse; class Hello extends BaseCommand implements CommandInterface { /** * Tells the argument types for this command * * @var int */ protected $argumentsType = self::ARGUMENTS_TYPE_EMPTY; /** * Tells which class ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/QscanResponse.php
src/Command/Response/QscanResponse.php
<?php namespace Disque\Command\Response; class QscanResponse extends CursorResponse implements ResponseInterface { /** * Parse main body * * @param array $body Body * @return array Parsed body */ protected function parseBody(array $body) { return ['queues' => $body]; } ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/BaseResponse.php
src/Command/Response/BaseResponse.php
<?php namespace Disque\Command\Response; use Disque\Command\CommandInterface; abstract class BaseResponse implements ResponseInterface { /** * Command * * @var CommandInterface */ protected $command; /** * Response body * * @var mixed */ protected $body; /...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/HelloResponse.php
src/Command/Response/HelloResponse.php
<?php namespace Disque\Command\Response; use Disque\Command\Argument\ArrayChecker; class HelloResponse extends BaseResponse implements ResponseInterface { /** * Array keys */ const NODE_ID = 'id'; const NODE_HOST = 'host'; const NODE_PORT = 'port'; const NODE_VERSION = 'version'; con...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/BasicTypeResponse.php
src/Command/Response/BasicTypeResponse.php
<?php namespace Disque\Command\Response; abstract class BasicTypeResponse extends BaseResponse implements ResponseInterface { const TYPE_STRING = 0; const TYPE_INT = 1; /** * Basic data type for this response * * @var int */ protected $type; /** * Set response body *...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/JobsWithCountersResponse.php
src/Command/Response/JobsWithCountersResponse.php
<?php namespace Disque\Command\Response; /** * Parse a Disque response of GETJOB with the argument WITHCOUNTERS */ class JobsWithCountersResponse extends JobsWithQueueResponse implements ResponseInterface { const KEY_NACKS = 'nacks'; const KEY_ADDITIONAL_DELIVERIES = 'additional-deliveries'; /** * ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/KeyValueResponse.php
src/Command/Response/KeyValueResponse.php
<?php namespace Disque\Command\Response; class KeyValueResponse extends BaseResponse implements ResponseInterface { /** * Set response body * * @param mixed $body Response body * @return void * @throws InvalidResponseException */ public function setBody($body) { if ($b...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/StringResponse.php
src/Command/Response/StringResponse.php
<?php namespace Disque\Command\Response; class StringResponse extends BasicTypeResponse implements ResponseInterface { /** * Basic data type for this response * * @var int */ protected $type = self::TYPE_STRING; /** * Parse response * * @return string Parsed response ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/ResponseInterface.php
src/Command/Response/ResponseInterface.php
<?php namespace Disque\Command\Response; use Disque\Command\CommandInterface; interface ResponseInterface { /** * Set command * * @param CommandInterface $command Command * @return void */ public function setCommand(CommandInterface $command); /** * Set response body * ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/JobsResponse.php
src/Command/Response/JobsResponse.php
<?php namespace Disque\Command\Response; use Disque\Command\Argument\ArrayChecker; class JobsResponse extends BaseResponse implements ResponseInterface { use ArrayChecker; const KEY_ID = 'id'; const KEY_BODY = 'body'; /** * The position where a node prefix starts in the job ID */ const...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/InvalidResponseException.php
src/Command/Response/InvalidResponseException.php
<?php namespace Disque\Command\Response; use Disque\Command\CommandInterface; use Disque\DisqueException; class InvalidResponseException extends DisqueException { /** * Response * * @var string */ private $response; public function __construct(CommandInterface $command, $response) ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/IntResponse.php
src/Command/Response/IntResponse.php
<?php namespace Disque\Command\Response; class IntResponse extends BasicTypeResponse implements ResponseInterface { /** * Basic data type for this response * * @var int */ protected $type = self::TYPE_INT; /** * Parse response * * @return int Parsed response */ ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/CursorResponse.php
src/Command/Response/CursorResponse.php
<?php namespace Disque\Command\Response; use Disque\Command\Argument\ArrayChecker; abstract class CursorResponse extends BaseResponse implements ResponseInterface { use ArrayChecker; /** * Set response body * * @param mixed $body Response body * @return void * @throws InvalidResponse...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/JscanResponse.php
src/Command/Response/JscanResponse.php
<?php namespace Disque\Command\Response; class JscanResponse extends CursorResponse implements ResponseInterface { /** * Parse main body * * @param array $body Body * @return array Parsed body */ protected function parseBody(array $body) { $jobs = []; if (!empty($bo...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Response/JobsWithQueueResponse.php
src/Command/Response/JobsWithQueueResponse.php
<?php namespace Disque\Command\Response; /** * Parse a Disque response that contains the queue, job ID and job body */ class JobsWithQueueResponse extends JobsResponse implements ResponseInterface { const KEY_QUEUE = 'queue'; public function __construct() { parent::__construct(); $this->...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Argument/StringChecker.php
src/Command/Argument/StringChecker.php
<?php namespace Disque\Command\Argument; trait StringChecker { use ArrayChecker; /** * This command, with all its arguments, ready to be sent to Disque * * @param array $arguments Arguments * @param int $numberOfElements Number of elements that must be present in $arguments * @throws ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Argument/ArrayChecker.php
src/Command/Argument/ArrayChecker.php
<?php namespace Disque\Command\Argument; trait ArrayChecker { /** * Check that the exact specified $count arguments are defined, * in a numeric array and that the array is dense, ie. doesn't contain * any holes in the numeric indexes. * * @param mixed $elements Elements (should be an array...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Argument/InvalidCommandArgumentException.php
src/Command/Argument/InvalidCommandArgumentException.php
<?php namespace Disque\Command\Argument; use Disque\Command\CommandInterface; use Disque\DisqueException; class InvalidCommandArgumentException extends DisqueException { public function __construct(CommandInterface $command, array $arguments) { parent::__construct(sprintf("Invalid command arguments. A...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Argument/OptionChecker.php
src/Command/Argument/OptionChecker.php
<?php namespace Disque\Command\Argument; use Disque\Command\Argument\InvalidOptionException; trait OptionChecker { /** * Checks an array so that their keys are ints * * @param array $options Options * @param array $keys Keys to check * @throw InvalidOptionException */ protected f...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/src/Command/Argument/InvalidOptionException.php
src/Command/Argument/InvalidOptionException.php
<?php namespace Disque\Command\Argument; use Disque\Command\CommandInterface; class InvalidOptionException extends InvalidCommandArgumentException { public function __construct(CommandInterface $command, array $options) { parent::__construct($command, $options); $this->message = sprintf("Inval...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/ClientTest.php
tests/ClientTest.php
<?php namespace Disque\Test; use DateTime; use InvalidArgumentException; use Mockery as m; use PHPUnit_Framework_TestCase; use Disque\Client; use Disque\Command; use Disque\Command\CommandInterface; use Disque\Command\InvalidCommandException; use Disque\Connection\ManagerInterface; use Disque\Connection\ConnectionExce...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/SocketTest.php
tests/Connection/SocketTest.php
<?php namespace Disque\Test\Connection; use Mockery as m; use PHPUnit_Framework_TestCase; use Disque\Command; use Disque\Connection\ConnectionException; use Disque\Connection\ConnectionInterface; use Disque\Connection\Response\QueuePausedResponseException; use Disque\Connection\Response\ResponseException; use Disque\C...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/ManagerTest.php
tests/Connection/ManagerTest.php
<?php namespace Disque\Test\Connection; use Closure; use DateTime; use Disque\Command\Response\HelloResponse; use Disque\Connection\Factory\ConnectionFactoryInterface; use Disque\Connection\Factory\SocketFactory; use Disque\Connection\Node\ConservativeJobCountPrioritizer; use Disque\Connection\Node\NodePrioritizerInte...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
true
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/PredisTest.php
tests/Connection/PredisTest.php
<?php namespace Disque\Test\Connection; use Mockery as m; use PHPUnit_Framework_TestCase; use Disque\Command; use Disque\Connection\ConnectionException; use Disque\Connection\ConnectionInterface; use Disque\Connection\Predis; class MockPredis extends Predis { public function setClient($client) { $this...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/CredentialsTest.php
tests/Connection/CredentialsTest.php
<?php namespace Disque\Test\Connection; use Mockery as m; use Disque\Connection\Credentials; class CredentialsTest extends \PHPUnit_Framework_TestCase { public function tearDown() { parent::tearDown(); m::close(); } public function testInstance() { $c = new Credentials('12...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/Node/RandomPrioritizerTest.php
tests/Connection/Node/RandomPrioritizerTest.php
<?php namespace Disque\Test\Connection\Node; use Disque\Connection\Node\Node; use Disque\Connection\Node\RandomPrioritizer; use Mockery as m; class RandomPrioritizerTest extends \PHPUnit_Framework_TestCase { public function tearDown() { parent::tearDown(); m::close(); } public functio...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/Node/ConservativeJobCountPrioritizerTest.php
tests/Connection/Node/ConservativeJobCountPrioritizerTest.php
<?php namespace Disque\Test\Connection\Node; use Disque\Connection\Node\ConservativeJobCountPrioritizer; use Disque\Connection\Node\Node; use InvalidArgumentException; use Mockery as m; class ConservativeJobCountPrioritizerTest extends \PHPUnit_Framework_TestCase { public function tearDown() { parent:...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/Node/NullPrioritizerTest.php
tests/Connection/Node/NullPrioritizerTest.php
<?php namespace Disque\Test\Connection\Node; use Disque\Connection\Node\NullPrioritizer; use Mockery as m; class NullPrioritizerTest extends \PHPUnit_Framework_TestCase { public function tearDown() { parent::tearDown(); m::close(); } public function testInstance() { $p = n...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/Node/NodeTest.php
tests/Connection/Node/NodeTest.php
<?php namespace Disque\Test\Connection\Node; use Disque\Command\Auth; use Disque\Command\Hello; use Disque\Command\Response\HelloResponse; use Disque\Command\Response\InvalidResponseException; use Disque\Connection\AuthenticationException; use Disque\Connection\ConnectionException; use Disque\Connection\ConnectionInte...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/Factory/PredisFactoryTest.php
tests/Connection/Factory/PredisFactoryTest.php
<?php namespace Disque\Test\Connection\Factory; use Disque\Connection\Factory\PredisFactory; use Disque\Connection\Predis; use Mockery as m; class PredisFactoryTest extends \PHPUnit_Framework_TestCase { public function tearDown() { parent::tearDown(); m::close(); } public function tes...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Connection/Factory/SocketFactoryTest.php
tests/Connection/Factory/SocketFactoryTest.php
<?php namespace Disque\Test\Connection\Factory; use Disque\Connection\Factory\SocketFactory; use Disque\Connection\Socket; use Mockery as m; class SocketFactoryTest extends \PHPUnit_Framework_TestCase { public function tearDown() { parent::tearDown(); m::close(); } public function tes...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Queue/QueueTest.php
tests/Queue/QueueTest.php
<?php namespace Disque\Test\Queue; use DateTime; use DateTimeZone; use Disque\Client; use Disque\Queue\Job; use Disque\Queue\JobInterface; use Disque\Queue\Queue; use Disque\Queue\Marshal\MarshalerInterface; use InvalidArgumentException; use Mockery as m; use PHPUnit_Framework_TestCase; use Disque\Command\Response\Job...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Queue/JobTest.php
tests/Queue/JobTest.php
<?php namespace Disque\Test\Queue; use Disque\Queue\Job; use Disque\Queue\JobInterface; use PHPUnit_Framework_TestCase; class JobTest extends PHPUnit_Framework_TestCase { public function testInstance() { $j = new Job(); $this->assertInstanceOf(JobInterface::class, $j); } public functi...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Queue/Marshaler/JobMarshalerTest.php
tests/Queue/Marshaler/JobMarshalerTest.php
<?php namespace Disque\Test\Queue\Marshaler; use Disque\Queue\Job; use Disque\Queue\JobInterface; use Disque\Queue\Marshal\JobMarshaler; use Disque\Queue\Marshal\MarshalerInterface; use Disque\Queue\Marshal\MarshalException; use Mockery as m; use PHPUnit_Framework_TestCase; class JobMarshalerTest extends PHPUnit_Fram...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/AckJobTest.php
tests/Command/AckJobTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\AckJob; use Disque\Command\Response\InvalidResponseException; class AckJobTest extends PHPUnit_Framework_TestCase { public funct...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/EnqueueTest.php
tests/Command/EnqueueTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Enqueue; use Disque\Command\Response\InvalidResponseException; class EnqueueTest extends PHPUnit_Framework_TestCase { public fun...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/GetJobTest.php
tests/Command/GetJobTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\Argument\InvalidOptionException; use Disque\Command\CommandInterface; use Disque\Command\GetJob; use Disque\Command\Response\InvalidResponseException; use Disque\Command\...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/QLenTest.php
tests/Command/QLenTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\QLen; use Disque\Command\Response\InvalidResponseException; class QLenTest extends PHPUnit_Framework_TestCase { public function ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/FastAckTest.php
tests/Command/FastAckTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\FastAck; use Disque\Command\Response\InvalidResponseException; class FastAckTest extends PHPUnit_Framework_TestCase { public fun...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/QPeekTest.php
tests/Command/QPeekTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\QPeek; use Disque\Command\Response\InvalidResponseException; class QPeekTest extends PHPUnit_Framework_TestCase { public functio...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/QScanTest.php
tests/Command/QScanTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\QScan; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\Argument\InvalidOptionException; use Disque\Command\CommandInterface; use Disque\Command\Response\InvalidResponseException; class QScanTest ext...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/DequeueTest.php
tests/Command/DequeueTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Dequeue; use Disque\Command\Response\InvalidResponseException; class DequeueTest extends PHPUnit_Framework_TestCase { public fun...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/ShowTest.php
tests/Command/ShowTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Show; use Disque\Command\Response\InvalidResponseException; class ShowTest extends PHPUnit_Framework_TestCase { public function ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/JScanTest.php
tests/Command/JScanTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\JScan; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\Argument\InvalidOptionException; use Disque\Command\CommandInterface; use Disque\Command\Response\InvalidResponseException; class JScanTest ext...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/HelloTest.php
tests/Command/HelloTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Hello; use Disque\Command\Response\InvalidResponseException; class HelloTest extends PHPUnit_Framework_TestCase { public functio...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/DelJobTest.php
tests/Command/DelJobTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\DelJob; use Disque\Command\Response\InvalidResponseException; class DelJobTest extends PHPUnit_Framework_TestCase { public funct...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/NackTest.php
tests/Command/NackTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Nack; use Disque\Command\Response\InvalidResponseException; class NackTest extends PHPUnit_Framework_TestCase { public function ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/InfoTest.php
tests/Command/InfoTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Info; use Disque\Command\Response\InvalidResponseException; class InfoTest extends PHPUnit_Framework_TestCase { public function ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/AddJobTest.php
tests/Command/AddJobTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\AddJob; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\Argument\InvalidOptionException; use Disque\Command\CommandInterface; use Disque\Command\Response\InvalidResponseException; class AddJobTest e...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/PauseTest.php
tests/Command/PauseTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Pause; use Disque\Command\Response\InvalidResponseException; class PauseTest extends PHPUnit_Framework_TestCase { public functio...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/WorkingTest.php
tests/Command/WorkingTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Working; use Disque\Command\Response\InvalidResponseException; class WorkingTest extends PHPUnit_Framework_TestCase { public fun...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/QStatTest.php
tests/Command/QStatTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\QStat; use Disque\Command\Response\InvalidResponseException; class QStatTest extends PHPUnit_Framework_TestCase { public functio...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/AuthTest.php
tests/Command/AuthTest.php
<?php namespace Disque\Test\Command; use PHPUnit_Framework_TestCase; use Disque\Command\Argument\InvalidCommandArgumentException; use Disque\Command\CommandInterface; use Disque\Command\Auth; use Disque\Command\Response\InvalidResponseException; class AuthTest extends PHPUnit_Framework_TestCase { public function ...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false
mariano/disque-php
https://github.com/mariano/disque-php/blob/56cf00d97e739fec861717484657dbef2888df60/tests/Command/Response/JobsWithQueueResponseTest.php
tests/Command/Response/JobsWithQueueResponseTest.php
<?php namespace Disque\Test\Command\Response; use PHPUnit_Framework_TestCase; use Disque\Command\Hello; use Disque\Command\Response\ResponseInterface; use Disque\Command\Response\JobsWithQueueResponse; use Disque\Command\Response\InvalidResponseException; class JobsWithQueueResponseTest extends PHPUnit_Framework_Test...
php
MIT
56cf00d97e739fec861717484657dbef2888df60
2026-01-05T05:12:23.969054Z
false