Daniele Alessandri
35f135be30
Add support for the 'redis://' scheme in URI strings.
...
The URI string will be handled following the rules as described by the
the provisional IANA registration document that can be found on IANA's
website: http://www.iana.org/assignments/uri-schemes/prov/redis .
2015-07-23 19:16:05 +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
8168def08f
Switch to container-based builds on Travis CI.
...
We do not need "sudo" anyway.
See http://docs.travis-ci.com/user/migrating-from-legacy/ for details.
2015-07-23 12:15:14 +02:00
Daniele Alessandri
15f3b6030c
[tests] Improve assert failure messages for replication stategy tests.
2015-07-23 11:38:49 +02:00
Daniele Alessandri
c0d1a74447
Fix missing BITPOS in replication strategy.
2015-07-23 11:30:32 +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
871d526300
Exclude .php-version file.
...
[ci skip]
2015-07-19 09:35:52 +02:00
Richard Heelin
d84bca131b
Emit socket error if ipredis connection has been lost/reset.
...
The current code is checking for a failure (return false) or an empty buffer string, however
neither of these will be the case if the connection has been reset or has errored. According
to the docs for socket_recv, $buffer will be set to null if the connection is reset or their
is no data. As currently null is not allowed for, we enter an infinite loop, to prevent this
I've added null to the things we check before we emit a socket error. This prevents the
infinite loop and correctly results in an Exception if the connection is lost/reset.
Conflicts:
src/Connection/PhpiredisSocketConnection.php
2015-07-07 18:51:00 +02:00
Daniele Alessandri
5cd4f41424
[tests] Fix base test case class to handle required Redis versions.
...
This change is needed due to some internal changes in one of the
latest minor releases of PHPUnit 4.x that essentially broke how we
were checking for the required Redis version from method annotations.
2015-07-07 17:43:49 +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
Daniele Alessandri
0a8754f9b6
Merge remote-tracking branch 'github/pr/235'
2015-07-07 14:48:41 +02:00
Daniele Alessandri
614049cd12
[tests] Remove hhvm-nightly from Travis CI configuration.
...
See https://github.com/travis-ci/travis-ci/issues/3788 for details.
2015-07-07 14:42:10 +02:00
Daniele Alessandri
5911145d9f
[tests] It's 7.0 and not 5.7!
2015-07-07 14:40:34 +02:00
Daniele Alessandri
8029faf72a
[tests] Add PHP 5.7 to Travis CI configuration.
2015-07-07 13:23:09 +02:00
Daniele Alessandri
e2c08cfe88
Minor tweak in .editorconfig file.
...
[ci skip]
2015-07-06 18:42:41 +02:00
Daniele Alessandri
3b31b91ad8
Commit .editorconfig file.
...
See http://editorconfig.org for more info about EditorConfig
[ci skip]
2015-07-06 18:39:28 +02:00
Daniele Alessandri
7a984e7b76
Fix wrong phpdoc.
...
Thanks @Aliance for spotting this oversight.
2015-07-03 12:12:39 +02:00
Daniele Alessandri
33e6ee2e48
[tests] Implement test for #257 to guard against regressions.
2015-07-03 12:01:47 +02:00
Daniele Alessandri
c577c20481
Merge remote-tracking branch 'github/pr/258'
2015-07-03 11:05:42 +02:00
Dominic Scheirlinck
6fbe2d5fa3
Don't check for __invoke on non-objects
...
`method_exists` will cause autoloading for strings. Fixes #257
2015-06-16 15:55:20 +12:00
Michal Humpula
af48b30398
add zrevrangebylex command
2015-01-23 23:06:40 +01:00
Daniele Alessandri
b8decc75a8
Update CHANGELOG.
...
[ci skip]
2015-01-02 14:37:26 +01:00
Daniele Alessandri
32774c925a
Bump year in LICENSE.
...
[ci skip]
2015-01-02 13:44:54 +01:00
Daniele Alessandri
216795e475
Update CHANGELOG.
...
[ci skip]
2015-01-02 13:43:29 +01:00
Daniele Alessandri
08129999f8
Merge remote-tracking branch 'srhnsn/v1.0'
2015-01-02 13:33:40 +01:00
Daniele Alessandri
0400d7b581
Merge remote-tracking branch 'blocktrail/hhvm-pubsub-blockingread-test-v1.0'
2015-01-02 13:00:38 +01:00
Daniele Alessandri
08fd312fb5
Temporarily allow failures for HHVM on Travis-CI.
...
[ci skip]
2015-01-02 12:57:45 +01:00
Daniele Alessandri
c1e641e356
No need to access a private field used by PHPUnit.
...
Fixes #207 .
2015-01-02 12:23:16 +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
Daniele Alessandri
a0db60e9ce
Merge remote-tracking branch 'nicchap/v1.0'
...
Conflicts:
VERSION
package.ini
src/Client.php
2015-01-02 12:09:23 +01:00
nicchap
d2f7903724
Updated bitpos position
2014-12-20 23:39:56 -05: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
3eb053a08c
Missing updates for BITPOS command
...
Added BITPOS command to test profiles.
2014-12-20 00:13:41 -05:00
Ruben de Vries
f3748e45ef
added (failing on HHVM) test for pubsub with read_write_timeout=-1
2014-12-19 11:40:59 +01: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
Serhan Şen
beb6c28c65
Apply read_write_timeout to Unix socket connections.
2014-12-16 20:40:13 +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
28accc93f0
[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:24:35 +01:00
Daniele Alessandri
381ca99696
[tests] Use round() to avoid issues with floats on certain plaforms.
...
See issue #220 on GitHub for reference.
2014-11-07 14:19:08 +01:00
Daniele Alessandri
54d467e530
Add missing doc for zincrby in ClientContextInterface.
...
[ci skip]
2014-10-26 10:28:56 +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
6db2ca38c2
Apply minor fix to .travis.yml.
2014-10-26 10:23:50 +01:00
Daniele Alessandri
330fb41bdc
Update CHANGELOG.
...
[ci skip]
2014-10-25 17:54:22 +02:00
Daniele Alessandri
beb9a5e799
Update CHANGELOG.
...
[ci skip]
2014-10-25 17:53:40 +02:00