Daniele Alessandri
00000fde4e
Add new command: GEORADIUS (Redis 3.2.0).
2016-05-24 22:30:06 +02:00
Daniele Alessandri
b2284d015f
Add new command: GEODIST (Redis 3.2.0).
2016-05-24 17:09:35 +02:00
Daniele Alessandri
c4e0044269
Add new command: GEOPOS (Redis 3.2.0).
2016-05-24 17:09:33 +02:00
Daniele Alessandri
0b6b3b2558
Add new command: GEOHASH (Redis 3.2.0).
2016-05-24 16:00:08 +02:00
Daniele Alessandri
7ef9619f5c
Add new command: GEOADD (Redis 3.2.0).
2016-05-24 16:00:06 +02:00
Daniele Alessandri
3362e474b6
Add new command: BITFIELD (Redis 3.2.0).
2016-05-24 16:00:04 +02:00
Daniele Alessandri
da009e59dd
[tests] Test count argument for SPOP in Redis 3.2.
2016-05-23 15:53:30 +02:00
Daniele Alessandri
5b3a5bbef9
Run php-cs-fixer.
2016-05-21 15:46:58 +02:00
Daniele Alessandri
104e42cfe0
[tests] Fix test executed on current Redis unstable.
2016-05-10 10:58:46 +02:00
Daniele Alessandri
b6a14cda04
[tests] Fix test executed on current Redis unstable.
2016-05-10 10:51:43 +02:00
Remi Collet
57a7d5d3e6
fix tests, list of allowed commands have changed (redis 3.0.6)
2016-05-08 16:52:05 +02:00
Daniele Alessandri
f43433baf1
Add new command: HSTRLEN (Redis 3.2.0).
...
Also bump the unstable profile version to 3.2.
2015-07-29 11:50:20 +02:00
Daniele Alessandri
6cce9eb35c
Run php-cs-fixer.
2015-07-25 18:37:10 +02:00
Daniele Alessandri
73c9b9d5be
[tests] Fix some tests methods names.
2015-07-25 10:04:27 +02:00
Daniele Alessandri
59798e1f9e
[tests] Apply small changes to commands tests with expirations.
2015-07-25 10:04:24 +02:00
Daniele Alessandri
d0012e67ff
[tests] Cover SET modifiers EX, PX, NX|XX (Redis >= 2.6.12).
2015-07-25 09:10:07 +02:00
Daniele Alessandri
8dd9893a2f
Run php-cs-fixer with new configuration.
2015-07-24 23:17:02 +02:00
Daniele Alessandri
df2e9f4e71
Fix prefix processor to handle variadic EXISTS (Redis >= 3.0.3).
2015-07-24 18:29:51 +02:00
Daniele Alessandri
6590c44a27
Run php-cs-fixer against codebase in src/ and tests/.
2015-07-24 18:04:42 +02:00
Daniele Alessandri
7c1d324f30
[tests] Apply some fixes and improvements and remove old stuff.
2015-07-24 17:26:06 +02:00
Daniele Alessandri
bb6287f22d
[tests] Fix obviously wrong annotation.
2015-07-24 16:20:50 +02:00
Daniele Alessandri
8c76bd6761
Do not parse response to SETNX into boolean value.
2015-07-24 15:52:59 +02:00
Daniele Alessandri
38fafb22ba
Do not parse response to MSETNX into boolean value.
2015-07-24 15:52:53 +02:00
Daniele Alessandri
5ce683be09
Do not parse response to SMOVE into boolean value.
2015-07-24 15:52:50 +02:00
Daniele Alessandri
e531d39f53
Do not parse response to SISMEMBER into boolean value.
2015-07-24 15:52:45 +02:00
Daniele Alessandri
fda9f022dd
Do not parse response to RENAMENX into boolean value.
2015-07-24 15:52:27 +02:00
Daniele Alessandri
44e92d8a2f
Do not parse response to PERSIST into boolean value.
2015-07-24 15:50:43 +02:00
Daniele Alessandri
e75b69f6fd
Do not parse response to MOVE into boolean value.
2015-07-24 15:50:38 +02:00
Daniele Alessandri
082c51146a
Do not parse response to EXPIREAT into boolean value.
2015-07-24 15:50:34 +02:00
Daniele Alessandri
b02e3f4911
Do not parse response to EXPIRE into boolean value.
2015-07-24 15:50:21 +02:00
Daniele Alessandri
87921f7a05
Do not parse response to PFADD into boolean value.
2015-07-24 15:50:10 +02:00
Daniele Alessandri
3fdfc50683
Do not parse response to HSETNX into boolean value.
2015-07-24 15:50:05 +02:00
Daniele Alessandri
ae26ecc8bf
Do not parse response to HSET into boolean value.
2015-07-24 15:50:01 +02:00
Daniele Alessandri
231a3440f7
Do not parse response to HEXISTS into boolean value.
2015-07-24 15:49:55 +02:00
Daniele Alessandri
ab20c52115
Do not parse response to EXISTS into boolean value.
...
Starting with Redis 3.0.3 the EXISTS command is variadic so that it is
possible to check for the existence of multiple keys in one request,
with the server returning the number of keys found.
This change could break codebases relying on strict comparison (===)
against a boolean value, but just doing $redis->exists('key') == TRUE
is totally fine.
2015-07-24 15:49:40 +02:00
Daniele Alessandri
474f3ddbe7
Add missing command: MIGRATE (Redis 2.6.0).
...
Fixes #209 .
2015-07-23 17:22:53 +02:00
Daniele Alessandri
ae054fc7e1
[tests] Fix minor oversight.
2015-07-23 16:46:07 +02:00
Daniele Alessandri
6882d08373
Add missing BITPOS command in key prefix processor.
...
See #265 .
2015-07-23 11:06:57 +02:00
Daniele Alessandri
b3bcf466f5
[tests] Adapt to internal encoding changes for lists in Redis 3.0.
2015-07-07 16:09:20 +02:00
Daniele Alessandri
24d8f68e7f
Support ZADD modifiers when using simplified command signature.
...
The NX|XX, CH and INCR modifiers for ZADD are available in Redis since
version 3.0.2. See http://redis.io/commands/ZADD for additional info.
2015-07-07 16:05:56 +02:00
Michal Humpula
af48b30398
add zrevrangebylex command
2015-01-23 23:06:40 +01:00
Daniele Alessandri
e9264bb087
Add minimum required Redis version for BITPOS integration tests.
2015-01-02 12:12:47 +01:00
Daniele Alessandri
1e774f4686
Apply minor CS fixes and trim spurious spaces.
2015-01-02 12:12:23 +01:00
nicchap
0e2b7603a5
Updated test cases
...
1) updated command sequence profiles
2) fixed exception test syntax error
3) Installed PHPUnit locally and successfully ran test.
2014-12-20 12:12:04 -05:00
nicchap
a1977c1b61
Edited typos
...
Changed redeclaration error and added single return
2014-12-18 12:15:54 -05:00
nicchap
5a02204833
Added BitPos command
...
Added BitPos command
2014-12-18 11:09:00 -05: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
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
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
f5ba47ad74
Change response parser for ZSCAN to match changes applied to ZRANGE.
2014-07-30 16:45:00 +02:00