Commit Graph

1620 Commits

Author SHA1 Message Date
Ruben de Vries f3748e45ef added (failing on HHVM) test for pubsub with read_write_timeout=-1 2014-12-19 11:40:59 +01:00
Daniele Alessandri 8255003de8 [tests] Test serialization of redis-cluster connection with @medium.
Serializing an instance of a redis-cluster connection with its nodes
can take more than 1 seconds on extremely slow hardware.

See issue #220 for reference.
2014-11-07 14:28:44 +01:00
Daniele Alessandri 5f3723bbd1 [tests] Use round() to avoid issues with floats on certain plaforms.
See issue #220 on GitHub for reference.
2014-11-07 14:28:09 +01:00
Daniele Alessandri dc984ca60d Add missing doc for zincrby in ClientContextInterface.
[ci skip]
2014-10-26 10:28:33 +01:00
Daniele Alessandri 73a06234a4 Apply minor fix to .travis.yml. 2014-10-26 10:25:19 +01:00
Daniele Alessandri beb9a5e799 Update CHANGELOG.
[ci skip]
2014-10-25 17:53:40 +02:00
Daniele Alessandri e2f4357ca3 Fix E_NOTICE emitted on empty response to INFO [section].
Empty responses can be returned when requesting an unsupported section
with the INFO command.
2014-10-25 17:45:00 +02:00
Daniele Alessandri dc2cb3c639 Fix bug in ZSCAN-based iterator when sorted sets have integer members.
When iterating a sorted set containing integer members, our iterator
abstraction based on ZSCAN was always returning "0" as a member value
after the first $member => $score pair because of a wrong assumption
on how the PHP function array_shift() (used internally to advance to
the next pair in our buffered response to ZSCAN) works.

Fixes #216.
2014-10-21 11:57:43 +02:00
Daniele Alessandri d09c4f32f3 [tests] Relax checks on invalid expire time messages.
Previously there was a bug in Redis that returned the wrong command
in -ERR messages when passing an invalid expire time with SETEX and
PSETEX. Now that the bug has been fixed and that travis-ci uses a an
updated version of Redis, our test suite turned red.
2014-10-21 11:16:55 +02:00
Daniele Alessandri ffdb17dacc Merge remote-tracking branch 'github/pr/218' into v1.0 2014-10-21 11:08:47 +02:00
Daniele Alessandri 488c17f8bd Merge branch 'github/pr/217' into v1.0 2014-10-21 10:56:18 +02:00
Daniele Alessandri e18192474a Connection parameters are not the focus of the client options example. 2014-10-21 10:53:52 +02:00
Vitaly Chirkov a3300949fc Add missing doc for zincrby in ClientInterface 2014-10-19 00:39:57 +04:00
Jordi Boggiano 7004a9fd93 Add example for client config 2014-10-10 17:20:11 +01:00
Daniele Alessandri d0b6f7992e Add hhvm-nightly as a testing environment on Travis CI. 2014-09-05 10:49:17 +02:00
Daniele Alessandri 69ad62b59d Merge remote-tracking branch 'github/pr/208' into v1.0 2014-09-05 10:45:02 +02:00
Daniele Alessandri ec099a3b6e Back to development.
Forgot to do so earlier, as usual...

[ci skip]
2014-09-05 10:44:21 +02:00
Thibaud BARDIN 3d10be888c Change order of throws 2014-09-01 03:10:08 +02:00
Thibaud BARDIN 0fc5c5ee77 [phpdoc] Fix missing throws of phpdoc headers. 2014-08-09 23:14:45 +02:00
Daniele Alessandri 99f4312a6f Apply workaround for bug in versions of PHP < 5.3.9.
This change is needed to address a bug in older versions of PHP 5.3
affecting inheritance (see https://bugs.php.net/bug.php?id=66818).
2014-08-08 15:49:05 +02:00
Daniele Alessandri 8775fdfd80 Merge pull request #204 from GrahamCampbell/patch-1
Removed hhvm from allow failures
2014-08-08 14:26:30 +02:00
Graham Campbell fee8e709cf Removed hhvm from allow failures 2014-08-08 13:12:33 +01:00
Daniele Alessandri e9598b65f4 Add more badges to README. 2014-08-08 13:52:28 +02:00
Daniele Alessandri d26db6f0c2 Remove extras from composer.json.
[ci skip]
2014-08-01 12:17:16 +02:00
Daniele Alessandri d4be306d0a ... and here comes Predis v1.0.0! v1.0.0 2014-08-01 11:59:50 +02:00
Daniele Alessandri 25d0008b2f Apply minor fix in CHANGELOG. 2014-08-01 11:46:56 +02:00
Daniele Alessandri 30274aa242 Integrate CHANGELOG notes from v0.8.7. 2014-08-01 11:44:26 +02:00
Daniele Alessandri f5ba47ad74 Change response parser for ZSCAN to match changes applied to ZRANGE. 2014-07-30 16:45:00 +02:00
Daniele Alessandri fbb0236840 Apply minor code-styling changes. 2014-07-30 15:30:02 +02:00
Daniele Alessandri ba5e501346 Use arguments as defined by Redis when calling WATCH internally. 2014-07-30 14:18:20 +02:00
Daniele Alessandri ab9cbe712f Specify type hint in interface. 2014-07-30 11:31:31 +02:00
Daniele Alessandri 16f2d8a768 Stick to 2.8 as the default target for the test suite.
Even though tere are no changes between running the test suite against
3.0 and 2.8, we will stick with the current stable Redis version as
the default target and switch to 3.0 as soon as it will be released.

[ci skip]
2014-07-30 11:08:56 +02:00
Daniele Alessandri 7c9e4ab595 Update CHANGELOG.
[ci skip]
2014-07-28 20:50:01 +02:00
Daniele Alessandri b6389e4a03 Switch to "3.0" as the default server profile.
Redis 3.0 does not really change much in terms of commands (most of
the ones implemented in the "unstable" branch have been backported to
the "2.8" branch after all) aside from a few cluster-related ones, so
we can bump the default version without worries.
2014-07-28 20:36:12 +02:00
Daniele Alessandri dedc1ba0a9 Move command "COMMAND" to the server profile for Redis 2.8.
This command has been backported from the "unstable" branch of Redis
to the "2.8" one, and it is available since 2.8.13.
2014-07-28 20:30:09 +02:00
Daniele Alessandri df653a7c00 Minor code styling and phpdoc changes. 2014-07-28 12:04:07 +02:00
Daniele Alessandri 5c02e4e47b Update README.
[ci skip]
2014-07-28 10:40:01 +02:00
Daniele Alessandri c2b24bd873 Merge branch 'v1.0/inspection-fixes' 2014-07-28 00:02:54 +02:00
Daniele Alessandri 45e351be79 [phpdoc] Fix formatting of phpdoc headers. 2014-07-27 23:59:37 +02:00
Daniele Alessandri b5cdab35c7 Remove useless argument from method signatures in WebdisConnection. 2014-07-27 23:06:21 +02:00
Daniele Alessandri dbfc1a74ba More random fixes after inspection. 2014-07-27 23:06:17 +02:00
Daniele Alessandri 4e1186f845 [phpdoc] Fix undefined classes. 2014-07-27 21:57:50 +02:00
Daniele Alessandri aa5c893d5a [phpdoc] Fix undefined namespaces. 2014-07-27 21:57:40 +02:00
Daniele Alessandri fff303a03b Comply with PSR-2 on intentional fall-through in non-empty case. 2014-07-27 21:57:40 +02:00
Daniele Alessandri 78ec22563a The \Iterator interface returns void for next(). 2014-07-27 21:57:40 +02:00
Daniele Alessandri 30254a2594 [phpdoc] Various phpdoc fixes. 2014-07-27 21:57:13 +02:00
Daniele Alessandri f372029cfc Fix code smells. 2014-07-27 20:13:24 +02:00
Daniele Alessandri 87aba18002 Merge branch 'v1.0/phpdocs' 2014-07-27 19:19:44 +02:00
Daniele Alessandri dc33d62b77 Miscellaneous fixes for "use" directives. 2014-07-27 19:19:20 +02:00
Daniele Alessandri b230e243f5 Predis\PubSub\DispatcherLoop should take a PubSub consumer instance. 2014-07-27 16:53:46 +02:00