3294 Commits

Author SHA1 Message Date
Pavlo Yatsukhnenko
77efcaa059 Merge pull request #2427 from RobiNN1/patch-1
Add PHP 8.3 to CI
2023-12-19 19:59:31 +02:00
Pavlo Yatsukhnenko
e051a5db3e PHP 8.3 is now released. 2023-12-19 15:59:31 +02:00
Róbert Kelčák
78d15140fa Add PHP 8.3 to CI
Also Windows setup-php-sdk action was moved to the official repo where is maintained again.
2023-12-02 12:36:44 +01:00
michael-grunder
ff305349db Update generated stubs
See #2398
2023-10-30 10:51:23 -07:00
Uładzimir Tsykun
df074dbe9e the VALUE argument type for hSetNx must be the same as for hSet 2023-10-30 10:51:23 -07:00
michael-grunder
12966a7413 Update generated stubs 2023-10-27 11:46:23 -07:00
Git'Fellow
9b5cad317b Fix anchor link 2023-10-25 08:23:36 -07:00
Pavlo Yatsukhnenko
a0c8fcc589 Back to dev 2023-10-22 21:12:44 +03:00
Pavlo Yatsukhnenko
efc9676035 Merge tag '6.0.2' into develop 2023-10-22 21:12:01 +03:00
Pavlo Yatsukhnenko
62cf943fec 6.0.2 6.0.2 2023-10-22 19:16:41 +03:00
Pavlo Yatsukhnenko
c9e92365e0 Update CHANGELOG.md 2023-10-22 19:08:58 +03:00
Pavlo Yatsukhnenko
abb3708c3d Fix deprecation error when passing null to match_type parameter 2023-10-22 19:03:39 +03:00
michael-grunder
3ec80ff09f Fix flaky test and OBJECT in a pipeline.
* We weren't properly passing `z_tab` through to the underlying OBJECT
  handler, which was causing PhpRedis to crash if you tried to execute
  the OBJECT command in a pipeline.

* Rework the `testTouch` unit test to try and avoid erroneous failures
  due to CI instance CPU scheduling.
2023-10-22 19:03:28 +03:00
michael-grunder
f404ecb833 Find our callback by pattern with PSUBSCRIBE
* Use the pattern Redis provides us not the channel, if this is
a wildcard based `PSUBSCRIBE` payload.

* Don't test whether our slots match in `SSUBSCRIBE` when not in cluster
  mode.

Fixes #2395
2023-10-22 19:03:04 +03:00
Pavlo Yatsukhnenko
7ed047870c Update CHANGELOG.md 2023-10-22 19:02:13 +03:00
Pavlo Yatsukhnenko
e7910dcc45 Merge pull request #2405 from phpredis/issue-2403
Fix deprecation error when passing null to match_type parameter
2023-10-14 00:27:40 +03:00
Pavlo Yatsukhnenko
b835aaa3f9 Fix deprecation error when passing null to match_type parameter 2023-10-13 17:50:37 +03:00
michael-grunder
a7f51f70cc Fix flaky test and OBJECT in a pipeline.
* We weren't properly passing `z_tab` through to the underlying OBJECT
  handler, which was causing PhpRedis to crash if you tried to execute
  the OBJECT command in a pipeline.

* Rework the `testTouch` unit test to try and avoid erroneous failures
  due to CI instance CPU scheduling.
2023-10-10 18:39:08 -07:00
Pavlo Yatsukhnenko
954fbab896 Use newInstance in RedisClusterTest 2023-10-02 15:16:34 +03:00
michael-grunder
2f276dcd37 Find our callback by pattern with PSUBSCRIBE
* Use the pattern Redis provides us not the channel, if this is
a wildcard based `PSUBSCRIBE` payload.

* Don't test whether our slots match in `SSUBSCRIBE` when not in cluster
  mode.

Fixes #2395
2023-09-26 11:29:04 -07:00
Pavlo Yatsukhnenko
f4c2ac2647 Use actions/checkout@v4 2023-09-23 14:46:25 +03:00
Pavlo Yatsukhnenko
156e53e720 Back to dev 2023-09-23 14:37:51 +03:00
Pavlo Yatsukhnenko
c99c2fb742 Merge tag '6.0.1' into develop 2023-09-23 14:36:57 +03:00
Pavlo Yatsukhnenko
dbb4f24e12 6.0.1 6.0.1 2023-09-23 14:35:00 +03:00
Pavlo Yatsukhnenko
9467059ddc Update CHANGELOG.md 2023-09-23 14:16:45 +03:00
Pavlo Yatsukhnenko
0a1ae0e60a Fix memory leak and segfault in Redis::exec 2023-09-23 14:16:45 +03:00
Pavlo Yatsukhnenko
c48d150c13 Update CHANGELOG.md 2023-09-23 14:13:25 +03:00
Pavlo Yatsukhnenko
362e1141a3 Fix memory leak and segfault in Redis::exec 2023-09-23 14:11:45 +03:00
Pavlo Yatsukhnenko
60b1ba1464 Merge pull request #2344 from tutunak/develop
Fix Fedora package url
2023-09-23 13:40:06 +03:00
Pavlo Yatsukhnenko
bfd379f026 Merge pull request #2349 from deiga/patch-1
Fix typo in link
2023-09-23 13:38:11 +03:00
Pavlo Yatsukhnenko
e5d358a86a Update CHANGELOG.md 2023-09-23 13:26:22 +03:00
Pavlo Yatsukhnenko
91c931bf70 Update CHANGELOG.md 2023-09-23 13:25:50 +03:00
Pavlo Yatsukhnenko
2395ca1bbf Update redis.stub.php 2023-09-23 13:14:47 +03:00
Pavlo Yatsukhnenko
d7a06e80a5 Fix unknown expiration modifier warning when null argument passed 2023-09-23 13:14:34 +03:00
Joost
08a5ee071a Add back old examples with note 2023-09-23 13:14:19 +03:00
Joost
3cdb6cd1c9 Update sentinel documentation to reflect changes to constructor in 6.0 release 2023-09-23 13:13:29 +03:00
Till Krüss
d5fbd7922a Add missing option to example 2023-09-23 13:12:43 +03:00
Pavlo Yatsukhnenko
0672703ba8 Fix cluster nodes from ENV 2023-09-22 14:57:48 +03:00
Pavlo Yatsukhnenko
eda399583d Cluster nodes from ENV 2023-09-22 12:23:43 +03:00
Pavlo Yatsukhnenko
3eb60f58c1 Merge pull request #2388 from phpredis/issue-2385
Fix unknown expiration modifier warning when null argument passed
2023-09-20 22:08:33 +03:00
michael-grunder
7825efbced Ensure we're talking to redis-server in our high ports test.
Instead of just checking whether or not something is listening on the
high ports, send a quick PING to make sure.

We're not just using another Redis instance because the point of the
test is to protect against a regression when connecting to high port
numbers.
2023-09-20 09:36:41 -07:00
michael-grunder
5f6ce414c3 Update tests to allow users to use a custom class.
Add a mechanism that allows users to specify an arbitrary class name, in
combination with a search path so that PhpRedis unit tests can be run
against a different client.

Additionally, this commit allows multiple classes to be invoked in one
test execution either by passing multiple `--class` arguments, or a
class argument with a comma separated value.
2023-09-19 11:57:49 -07:00
Pavlo Yatsukhnenko
95bd184be9 Update redis.stub.php 2023-09-17 10:26:42 +03:00
Pavlo Yatsukhnenko
264c0c7ea4 Fix unknown expiration modifier warning when null argument passed 2023-09-17 10:17:05 +03:00
Pavlo Yatsukhnenko
dc05d65c91 Merge pull request #2381 from OrangeJuiced/patch-1
Update Redis Sentinel documentation to reflect changes to constructor in 6.0 release
2023-09-14 18:52:51 +03:00
Joost
1ad95b6318 Add back old examples with note 2023-09-13 18:28:27 +02:00
Pavlo Yatsukhnenko
2bddd84f2f Merge pull request #2378 from tillkruss/patch-5
Add missing option to installation example
2023-09-13 18:00:40 +03:00
Joost
849bedb6c3 Update sentinel documentation to reflect changes to constructor in 6.0 release 2023-09-13 11:38:55 +02:00
Pavlo Yatsukhnenko
5bd3138731 Replace UTF-8 characters in package.xml 2023-09-11 16:24:55 +03:00
Pavlo Yatsukhnenko
78449acc4c Back to dev 2023-09-09 14:33:16 +03:00