Daniele Alessandri
5e24d85c8a
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:46:34 +02:00
Daniele Alessandri
24e19a9b76
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:58:11 +02:00
Daniele Alessandri
54c8a1ee9b
[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:23:19 +02:00
Vitaly Chirkov
ed1e541dc6
Add missing doc for zincrby in ClientInterface
2014-10-21 11:10:05 +02:00
Daniele Alessandri
cc51db9009
Connection parameters are not the focus of the client options example.
2014-10-21 11:05:36 +02:00
Jordi Boggiano
a123ae9159
Add example for client config
2014-10-21 11:05:08 +02:00
Daniele Alessandri
0533b50c6b
Add hhvm-nightly as a testing environment on Travis CI.
2014-09-05 11:03:03 +02:00
Daniele Alessandri
76ee6a2f24
Merge remote-tracking branch 'github/pr/208'
...
Conflicts:
README.md
composer.json
2014-09-05 11:01:47 +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
cc748d509f
Bump minimum required version of PHP to 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 ).
We will most likely resort to a workaround in v1.0 to stick with the
currently required minimum version of PHP (>= 5.3.2), but v1.1 will
surely require => 5.3.9.
[ci skip]
2014-08-08 15:29:32 +02:00
Graham Campbell
6b088e4bda
Removed hhvm from allow failures
2014-08-08 14:29:47 +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
72ebf5d064
Add more badges to README.
2014-08-08 13:57:35 +02:00
Daniele Alessandri
65c2f4bc4f
Back to development.
...
[ci skip]
2014-08-08 13:57:05 +02:00
Daniele Alessandri
e9598b65f4
Add more badges to README.
2014-08-08 13:52:28 +02:00
Daniele Alessandri
180fcdbe5a
Merge pull request #200 from GrahamCampbell/patch-1
...
Updated master branch alias
2014-08-01 15:10:21 +02:00
Graham Campbell
80a5bfa4c1
Added a 1.1 branch alias
2014-08-01 13:49:39 +01:00
Daniele Alessandri
88fa032c33
Remove extras from composer.json.
...
[ci skip]
2014-08-01 12:20:02 +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
Daniele Alessandri
44c9232b13
Update README.
...
[ci skip]
2014-07-27 15:41:06 +02:00
Daniele Alessandri
776f5831a6
Merge branch 'v1.0/custom-parameters'
2014-07-27 14:19:30 +02:00