Commit Graph

1655 Commits

Author SHA1 Message Date
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
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 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 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 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 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
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
Vitaly Chirkov ed1e541dc6 Add missing doc for zincrby in ClientInterface 2014-10-21 11:10:05 +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 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 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 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
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 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