From e18c28f9407e57106cdad2f5734bbc15ff2aca01 Mon Sep 17 00:00:00 2001 From: Nino Date: Sun, 25 Dec 2016 03:47:57 +0100 Subject: [PATCH 1/2] Fixed Sidekiq/Client --- src/Client.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Client.php b/src/Client.php index 653e352..a833f5a 100644 --- a/src/Client.php +++ b/src/Client.php @@ -127,9 +127,11 @@ public function pushBulk($jobs = [], $queue = self::QUEUE) */ private function atomicPush($jobId, $class, $args = [], $queue = self::QUEUE, $retry = true, $doAt = null) { + /* OUTDATED SIDEKIQ SPEC if (array_values($args) !== $args) { throw new Exception('Associative arrays in job args are not allowed'); } + */ if (!is_null($doAt) && !is_float($doAt) && is_string($doAt)) { throw new Exception('at argument needs to be in a unix epoch format. Use microtime(true).'); From 457ef00b9da18d77f04eb4d9f3ea4f4026a1dbdc Mon Sep 17 00:00:00 2001 From: Nino Date: Sun, 25 Dec 2016 03:58:59 +0100 Subject: [PATCH 2/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 930fb71..cbe71e1 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "spinx/sidekiq-job-php", + "name": "hosportal/sidekiq-job-php", "description": "Push and schedule jobs to Sidekiq from PHP", "type": "library", "license": "MIT",