diff --git a/.editorconfig b/.editorconfig index 9cffd80e79838b1b94321298545995c1ee1095f0..1907050eda9fbbcebb39fa6a7c02d631b970f32d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -17,6 +17,9 @@ max_line_length = 150 [*.{md,yml,yaml,neon,sh}] indent_size = 2 +[VERSION] +insert_final_newline = false + [tests/**.php] max_line_length = unset diff --git a/.github/docker-compose.yml b/.github/docker-compose.yml new file mode 100644 index 0000000000000000000000000000000000000000..d4464b5be917b824d1709dd87a999ce43007a3db --- /dev/null +++ b/.github/docker-compose.yml @@ -0,0 +1,73 @@ +--- + +services: + + redis-official: + image: ${REDIS_IMAGE_NAME:-redis:7.4} + container_name: redis-standalone + healthcheck: + test: [ "CMD", "redis-cli", "PING" ] + interval: 10s + timeout: 5s + retries: 3 + ports: + - "6379:6379" + profiles: + - all + - official + - standalone + + redis-clients: + image: ${REDIS_IMAGE_NAME:-redislabs/client-libs-test:7.4.2} + container_name: redis-standalone + environment: + - TLS_ENABLED=yes + - REDIS_CLUSTER=no + - PORT=6379 + - TLS_PORT=6666 + command: ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""} + ports: + - 6379:6379 + - 6666:6666 # TLS port + volumes: + - "./dockers/standalone:/redis/work" + profiles: + - all + - clients + - standalone + + redis-cluster: + image: ${REDIS_IMAGE_NAME:-redislabs/client-libs-test:7.4.2} + container_name: redis-cluster + environment: + - REDIS_CLUSTER=yes + - NODES=6 + - REPLICAS=1 + - TLS_ENABLED=yes + - PORT=16379 + - TLS_PORT=27379 + command: ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""} + ports: + - "6372-6377:16379-16384" + volumes: + - "./dockers/cluster:/redis/work" + profiles: + - all + - clients + - cluster + + redis-stack: + image: ${REDIS_STACK_IMAGE_NAME:-redislabs/client-libs-test:rs-7.4.0-v2} + container_name: redis-stack + ports: + - "6479:6379" + environment: + - REDIS_CLUSTER=no + - PORT=6379 + command: ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --save ""} + volumes: + - "./dockers/redis-stack:/redis/work" + profiles: + - all + - clients + - stack diff --git a/.github/workflows/cluster/Dockerfile b/.github/workflows/cluster/Dockerfile deleted file mode 100644 index a434dddce3c9ab3033e1874d456c61a9287311ed..0000000000000000000000000000000000000000 --- a/.github/workflows/cluster/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM redis/redis-stack-server:latest as rss - -COPY create_cluster.sh /create_cluster.sh -RUN ls -R /opt/redis-stack -RUN chmod a+x /create_cluster.sh - -ENTRYPOINT [ "/create_cluster.sh"] diff --git a/.github/workflows/cluster/create_cluster.sh b/.github/workflows/cluster/create_cluster.sh deleted file mode 100644 index b000a2ad7ccc3f025245166676b625abbbced162..0000000000000000000000000000000000000000 --- a/.github/workflows/cluster/create_cluster.sh +++ /dev/null @@ -1,47 +0,0 @@ -#! /bin/bash - -mkdir -p /nodes -touch /nodes/nodemap -if [ -z ${START_PORT} ]; then - START_PORT=6372 -fi -if [ -z ${END_PORT} ]; then - END_PORT=6377 -fi -if [ ! -z "$3" ]; then - START_PORT=$2 - START_PORT=$3 -fi -echo "STARTING: ${START_PORT}" -echo "ENDING: ${END_PORT}" - -for PORT in `seq ${START_PORT} ${END_PORT}`; do - mkdir -p /nodes/$PORT - if [[ -e /redis.conf ]]; then - cp /redis.conf /nodes/$PORT/redis.conf - else - touch /nodes/$PORT/redis.conf - fi - cat << EOF >> /nodes/$PORT/redis.conf -port ${PORT} -cluster-enabled yes -daemonize yes -logfile /redis.log -dir /nodes/$PORT -EOF - - set -x - /opt/redis-stack/bin/redis-server /nodes/$PORT/redis.conf - sleep 1 - if [ $? -ne 0 ]; then - echo "Redis failed to start, exiting." - continue - fi - echo 127.0.0.1:$PORT >> /nodes/nodemap -done -if [ -z "${REDIS_PASSWORD}" ]; then - echo yes | /opt/redis-stack/bin/redis-cli --cluster create `seq -f 127.0.0.1:%g ${START_PORT} ${END_PORT}` --cluster-replicas 1 -else - echo yes | opt/redis-stack/bin/redis-cli -a ${REDIS_PASSWORD} --cluster create `seq -f 127.0.0.1:%g ${START_PORT} ${END_PORT}` --cluster-replicas 1 -fi -tail -f /redis.log diff --git a/.github/workflows/cluster/docker-compose.yml b/.github/workflows/cluster/docker-compose.yml deleted file mode 100644 index 2829da39ad658259254bc1131871e4750f1574e6..0000000000000000000000000000000000000000 --- a/.github/workflows/cluster/docker-compose.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: "3.9" -services: - cluster: - container_name: redis-cluster - build: - context: . - dockerfile: Dockerfile - ports: - - "6372:6372" - - "6373:6373" - - "6374:6374" - - "6375:6375" - - "6376:6376" - - "6377:6378" - volumes: - - "./redis.conf:/redis.conf:ro" - diff --git a/.github/workflows/cluster/redis.conf b/.github/workflows/cluster/redis.conf deleted file mode 100644 index a676f5776e977c48c665c72975e9b324510dc59c..0000000000000000000000000000000000000000 --- a/.github/workflows/cluster/redis.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Redis Cluster config file will be shared across all nodes. -# Do not change the following configurations that are already set: -# port, cluster-enabled, daemonize, logfile, dir -protected-mode no -loadmodule /opt/redis-stack/lib/redisearch.so -loadmodule /opt/redis-stack/lib/redistimeseries.so -loadmodule /opt/redis-stack/lib/rejson.so -loadmodule /opt/redis-stack/lib/redisbloom.so diff --git a/.github/workflows/stack.yml b/.github/workflows/stack.yml deleted file mode 100644 index e03ca9526897550d1207f0329e040872363d936d..0000000000000000000000000000000000000000 --- a/.github/workflows/stack.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: Stack - -on: - push: - branches: - - main - - v2.** - pull_request: - -jobs: - - predis: - name: PHP ${{ matrix.php }} (Redis Stack ${{ matrix.redis }}) - runs-on: ubuntu-latest - - services: - redis: - image: redis/redis-stack-server:${{ matrix.redis }} - options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3 - ports: - - 6379:6379 - - strategy: - fail-fast: false - matrix: - php: - - '7.2' - - '7.3' - - '7.4' - - '8.0' - - '8.1' - - '8.2' - - '8.3' - - '8.4' - redis: - - latest - - edge - - # continue-on-error: ${{ matrix.php == '8.5' }} - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup PHP with Composer and extensions - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: relay - - - name: Get Composer cache directory - id: composer-cache - run: echo "directory=$(composer config cache-dir)" >> $GITHUB_OUTPUT - - - name: Cache Composer dependencies - uses: actions/cache@v3 - with: - path: ${{ steps.composer-cache.outputs.directory }} - key: tests-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }} - restore-keys: tests-php-${{ matrix.php }}-composer - - - name: Install Composer dependencies - env: - PHP_VERSION: ${{ matrix.php }} - run: composer install --ansi --no-progress --prefer-dist - - - name: Run tests - run: vendor/bin/phpunit --group realm-stack - - - name: Run tests using Relay - run: vendor/bin/phpunit --group realm-stack -c phpunit.relay.xml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 631d79bee89c1c729f7ac31409518ba91228f863..4e64ed687aa01f41fa3c717e1fa9027d97d744c5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,39 +22,86 @@ jobs: matrix: php: - '7.2' - - '7.3' - - '7.4' - '8.0' - - '8.1' - - '8.2' - '8.3' - '8.4' redis: - - 3 - - 4 - - 5 - - 6 - - 7 - - 7.4-rc2 - - services: - redis: - image: redis:${{ matrix.redis }} - options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3 - ports: - - 6379:6379 + - '4.0' + - '6.2' + - '7.2' + - '7.4' + - '8.0' steps: + - name: Resolve container name + run: | + # Mapping of original redis versions to client test containers + declare -A redis_clients_version_mapping=( + ["8.0"]="8.0-M05-pre" + ["7.4"]="7.4.2" + ["7.2"]="7.2.7" + ["6.2"]="6.2.17" + ) + + # Mapping of redis version to stack version + declare -A redis_stack_version_mapping=( + ["7.4"]="rs-7.4.0-v3" + ["7.2"]="rs-7.2.0-v15" + ["6.2"]="rs-6.2.6-v19" + ) + + if [[ -v redis_clients_version_mapping[${{ matrix.redis }}] ]]; then + echo "REDIS_IMAGE_NAME=redislabs/client-libs-test:${redis_clients_version_mapping[${{ matrix.redis }}]}" >> $GITHUB_ENV + echo "REDIS_STACK_IMAGE_NAME=redislabs/client-libs-test:${redis_stack_version_mapping[${{ matrix.redis }}]}" >> $GITHUB_ENV + echo "DOCKER_SERVICE=redis-clients" >> $GITHUB_ENV + + redis_major_version=$(echo "${{ matrix.redis }}" | grep -oP '^\d+') + + # Some configuration options available since Redis > 7 + if (( redis_major_version < 7 )); then + echo "REDIS_EXTRA_ARGS="--tls-auth-clients optional --save ''"" >> $GITHUB_ENV + else + # Since 8.0 modules are bundled with core + echo "REDIS_STACK_SERVER_PORT=6379" >> $GITHUB_ENV + fi + + else + echo "REDIS_IMAGE_NAME=redis:${{ matrix.redis }}" >> $GITHUB_ENV + echo "DOCKER_SERVICE=redis-official" >> $GITHUB_ENV + fi + - name: Checkout repository uses: actions/checkout@v3 - - name: Setup PHP with Composer and extensions + - name: Start Redis standalone image + uses: hoverkraft-tech/compose-action@v2.0.1 + with: + compose-file: .github/docker-compose.yml + services: ${{ env.DOCKER_SERVICE }} + + - name: Start Redis stack image + id: stack_infra + uses: hoverkraft-tech/compose-action@v2.0.1 + if: ${{ matrix.redis >= '6.2' && matrix.redis < '8.0' }} + with: + compose-file: .github/docker-compose.yml + services: redis-stack + + - name: Start Redis cluster image + id: cluster_infra + uses: hoverkraft-tech/compose-action@v2.0.1 + if: ${{ matrix.redis > '4.0' }} + with: + compose-file: .github/docker-compose.yml + services: redis-cluster + + - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: relay - coverage: ${{ (matrix.php == '8.1' && matrix.redis == '7') && 'xdebug' || 'none' }} + coverage: ${{ (matrix.php == '8.4' && matrix.redis == '7.4') && 'xdebug' || 'none' }} - name: Install Composer dependencies uses: ramsey/composer-install@v2 @@ -63,75 +110,74 @@ jobs: composer-options: ${{ matrix.php == '8.0' && '--ignore-platform-reqs' || '' }} - name: Run tests - if: ${{ matrix.php != '8.1' || matrix.redis != '7' }} + if: ${{ matrix.php != '8.4' || matrix.redis != '7.4' }} run: vendor/bin/phpunit - name: Run tests with coverage - if: ${{ matrix.php == '8.1' && matrix.redis == '7' }} - run: vendor/bin/phpunit --coverage-clover build/logs/clover-default.xml --coverage-filter ./src + if: ${{ matrix.php == '8.4' && matrix.redis == '7.4' }} + run: vendor/bin/phpunit --coverage-php build/cov/coverage-predis.cov --coverage-filter ./src - name: Run tests using Relay - if: ${{ matrix.php != '8.4' && matrix.redis >= '6' }} + if: ${{ matrix.php != '8.4' && matrix.redis >= '6.2' }} run: vendor/bin/phpunit -c phpunit.relay.xml - name: Run tests using Relay with coverage - if: ${{ matrix.php == '8.1' && matrix.redis == '7' }} - run: vendor/bin/phpunit -c phpunit.relay.xml --coverage-clover build/logs/clover-relay.xml --coverage-filter ./src - - - name: Send coverage to Coveralls - env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - if: ${{ env.COVERALLS_REPO_TOKEN && matrix.php == '8.1' && matrix.redis == '7' }} - run: | - wget "https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.3/php-coveralls.phar" - php ./php-coveralls.phar -v - - predis-cluster: - - name: PHP ${{ matrix.php }} (Redis Cluster latest) - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - php: - - '7.2' - - '7.3' - - '7.4' - - '8.0' - - '8.1' - - '8.2' - - '8.3' - - '8.4' + if: ${{ matrix.php == '8.4' && matrix.redis == '7.4' }} + run: vendor/bin/phpunit -c phpunit.relay.xml --coverage-php build/cov/coverage-relay.cov --coverage-filter ./src - steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Run stack tests + if: ${{ (matrix.php != '8.4' || matrix.redis != '7.4') && matrix.redis >= '6.2' }} + run: vendor/bin/phpunit --group realm-stack - - name: Run Redis cluster - uses: hoverkraft-tech/compose-action@v2.0.1 - with: - compose-file: .github/workflows/cluster/docker-compose.yml + - name: Run stack tests with coverage + if: ${{ matrix.php == '8.4' && matrix.redis == '7.4' && steps.stack_infra.conclusion == 'success' }} + run: vendor/bin/phpunit --group realm-stack --coverage-php build/cov/coverage-stack.cov --coverage-filter ./src + env: + REDIS_STACK_SERVER_PORT: 6479 - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: relay - coverage: ${{ (matrix.php == '8.1') && 'xdebug' || 'none' }} + - name: Run stack tests using Relay + if: ${{ matrix.php != '8.4' && matrix.redis == '7.4' }} + run: vendor/bin/phpunit --group realm-stack -c phpunit.relay.xml - - name: Install Composer dependencies - uses: ramsey/composer-install@v2 - with: - dependency-versions: highest - composer-options: ${{ matrix.php == '8.0' && '--ignore-platform-reqs' || '' }} + - name: Run stack tests using Relay with coverage + if: ${{ matrix.php == '8.4' && matrix.redis == '7.4' }} + run: vendor/bin/phpunit --group realm-stack -c phpunit.relay.xml --coverage-php build/cov/coverage-stack-relay.cov --coverage-filter ./src + env: + REDIS_STACK_SERVER_PORT: 6479 - name: Run tests against cluster + if: ${{ (matrix.php != '8.4' || matrix.redis != '7.4') && steps.cluster_infra.conclusion == 'success' }} run: | - sleep 5 # make sure that docker image is setup vendor/bin/phpunit --group cluster + - name: Run tests against cluster with coverage + if: ${{ matrix.php == '8.4' && matrix.redis == '7.4' && steps.cluster_infra.conclusion == 'success' }} + run: | + vendor/bin/phpunit --group cluster --coverage-php build/cov/coverage-cluster.cov --coverage-filter ./src + - name: Run tests against cluster using Relay + if: ${{ matrix.php != '8.4' && matrix.redis == '7.4' }} run: | - sleep 5 # make sure nodes are stable and fully joined vendor/bin/phpunit -c phpunit.relay.xml --group cluster + + - name: Merge coverage reports + if: ${{ matrix.php == '8.4' && matrix.redis == '7.4' }} + run: php vendor/bin/phpcov merge --clover build/logs/clover.xml build/cov + + - name: Send coverage to Coveralls + uses: coverallsapp/github-action@v2 + if: ${{ matrix.php == '8.4' && matrix.redis == '7.4' }} + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel: true + + finish: + name: Finish Coverall + needs: predis + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@v2 + with: + parallel-finished: true diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index bcdf8c5c38c615b7d671708c2f9ad3e967814b98..8f20777b8d0a3e270d01f955b22fe96391c6467a 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -4,29 +4,34 @@ $PREDIS_HEADER = <<<EOS This file is part of the Predis package. (c) 2009-2020 Daniele Alessandri -(c) 2021-2024 Till Krüss +(c) 2021-2025 Till Krüss For the full copyright and license information, please view the LICENSE file that was distributed with this source code. EOS; -return (new PhpCsFixer\Config) - ->setRules([ - '@PHP71Migration' => true, - 'header_comment' => ['header' => $PREDIS_HEADER], - '@Symfony' => true, - 'phpdoc_separation' => false, - 'phpdoc_annotation_without_dot' => false, - 'no_superfluous_phpdoc_tags' => false, - 'no_unneeded_curly_braces' => false, - 'no_unneeded_braces' => false, - 'global_namespace_import' => true, - 'yoda_style' => false, - 'single_line_throw' => false, - 'concat_space' => ['spacing' => 'one'], - 'increment_style' => false, - 'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['array_destructuring', 'arrays']] - ]) +$fixer = new PhpCsFixer\Config; + +$fixer->setParallelConfig( + \PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect() +); + +$fixer->setRules([ + '@PHP71Migration' => true, + 'header_comment' => ['header' => $PREDIS_HEADER], + '@Symfony' => true, + 'phpdoc_separation' => false, + 'phpdoc_annotation_without_dot' => false, + 'no_superfluous_phpdoc_tags' => false, + 'no_unneeded_curly_braces' => false, + 'no_unneeded_braces' => false, + 'global_namespace_import' => true, + 'yoda_style' => false, + 'single_line_throw' => false, + 'concat_space' => ['spacing' => 'one'], + 'increment_style' => false, + 'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['array_destructuring', 'arrays']] +]) ->setFinder( PhpCsFixer\Finder::create() ->in(__DIR__ . '/bin') @@ -34,3 +39,5 @@ return (new PhpCsFixer\Config) ->in(__DIR__ . '/src') ->in(__DIR__ . '/tests') ); + +return $fixer; diff --git a/CHANGELOG.md b/CHANGELOG.md index 33f6a260ee7bcbb60aac902ab28a0cbc0a91f525..f5fe381fc178dee457fbb9b0f5bcf751b443e567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ ## Changelog +## v2.4.0-RC1 (2024-11-21) +### Added +- Added new hash-field expiration commands (#1520) +- Added missing `FT._LIST` and `BITFIELD_RO` commands (#1521) + +### Changed +- Update `WATCH` command to accept `string|string[]` (#1476) +- Optimize cluster slotmap with compact slot range object (#1493) + +### Fixed +- Fixed `EVAL_RO` cluster support (#1449) +- Fixed PHP 8.4 compatibility with `stream_context_set_option()` (#1503) +- Prevent named arguments runtime failure (#1509) +- Mark `GEOSEARCH` as read-only to ensure execution on replica (#1481) + +### Maintenance +- Added CI testing with Redis 8.0 (#1510) +- Added test coverage for compatibility with Redis 8.0 (#1513) +- Use parallel on PHP-CS-Fixer (#1489) + ## v2.3.0 (2024-11-21) ### Added - Added `GeoShapeField` field (#1467) @@ -13,6 +33,7 @@ - Explicitly mark nullable parameters as nullable (#1448) - Filter out available replicas based on link status flag (#1440) - Respect `prefix` for `ZPOPMIN`, `ZPOPMAX`, `ZMSCORE`, `LMOVE`, `BLMOVE`, `SMISMEMBER` and `GEOSEARCH` (#1451, #1453, #1455, #1468) +- Updated test infrastructure (#1510) ### Fixed - Fixed Relay support when using Redis Cluster (#1397) diff --git a/FAQ.md b/FAQ.md index 098bda5de72633aed36e27cca1c1b18f5217acf8..76204264386472a105522fe32fff3c93bad6b4cb 100644 --- a/FAQ.md +++ b/FAQ.md @@ -81,65 +81,17 @@ An exception to this rule is [`SORT`](http://redis.io/commands/sort) for which m ## When should I use Relay? ## -If you care about performance, __always__. [Relay](https://github.com/cachewerk/relay) is free to use. +If you care about performance, __always__. [Relay][relay] is free to use. ## When should I use PhpRedis? ### -Predis is fast enough when Redis is located on the same machine as PHP, more on that later. +Predis is fast enough when Redis is located on the same machine as PHP. -[PhpRedis](https://github.com/phpredis/phpredis) (and Relay) perform significantly better when -network I/O is involved, due to their ability to compress data by ~75%. Fewer bytes and received -sent over the network [means faster operations](https://akalongman.medium.com/phpredis-vs-predis-comparison-on-real-production-data-a819b48cbadb), -and potentially cost savings when network traffic isn't free (e.g. AWS ElastiCache Inter-AZ transfer costs). +[PhpRedis][phpredis] and [Relay][relay] perform significantly better when network I/O is involved, +due to its ability to compress data by ~75%. Fewer bytes and received sent over the network +[means faster operations][performance], and potentially cost savings when network traffic isn't +free (e.g. AWS ElastiCache Inter-AZ transfer costs). -## Predis is a pure-PHP implementation: it can not be fast enough! ## - -It really depends, but most of the times the answer is: _yes, it is fast enough_. I will give you a -couple of easy numbers with a simple test that uses a single client and is executed by PHP 5.5.6 -against a local instance of Redis 2.8 that runs under Ubuntu 13.10 on a Intel Q6600: - -``` -21000 SET/sec using 12 bytes for both key and value. -21000 GET/sec while retrieving the very same values. -0.130 seconds to fetch 30000 keys using _KEYS *_. -``` - -How does it compare with [__PhpRedis__](http://github.com/phpredis/phpredis), a nice C extension -providing an efficient client for Redis? - -``` -30100 SET/sec using 12 bytes for both key and value -29400 GET/sec while retrieving the very same values -0.035 seconds to fetch 30000 keys using "KEYS *"". -``` - -Wow __PhpRedis__ seems much faster! Well, we are comparing a C extension with a pure-PHP library so -lower numbers are quite expected but there is a fundamental flaw in them: is this really how you are -going to use Redis in your application? Are you really going to send thousands of commands using a -for-loop on each page request using a single client instance? If so... well I guess you are probably -doing something wrong. Also, if you need to `SET` or `GET` multiple keys you should definitely use -commands such as `MSET` and `MGET`. You can also use pipelining to get more performances when this -technique can be used. - -There is one more thing: we have tested the overhead of Predis by connecting on a localhost instance -of Redis but how these numbers change when we hit the physical network by connecting to remote Redis -instances? - -``` -Using Predis: -3200 SET/sec using 12 bytes for both key and value -3200 GET/sec while retrieving the very same values -0.132 seconds to fetch 30000 keys using "KEYS *". - -Using PhpRedis: -3500 SET/sec using 12 bytes for both key and value -3500 GET/sec while retrieving the very same values -0.045 seconds to fetch 30000 keys using "KEYS *". -``` - -There you go, you get almost the same average numbers and the reason is simple: network latency is a -real performance killer and you cannot do (almost) anything about that. As a disclaimer, remember -that we are measuring the overhead of client libraries implementations and the effects of network -round-trip times, so we are not really measuring how fast Redis is. Redis shines best with thousands -of concurrent clients doing requests! Also, actual performances should be measured according to how -your application will use Redis. +[phpredis]: https://github.com/phpredis/phpredis +[relay]: [https://github.com/phpredis/phpredis](https://github.com/cachewerk/relay) +[performance]: https://akalongman.medium.com/phpredis-vs-predis-comparison-on-real-production-data-a819b48cbadb diff --git a/README.md b/README.md index c511471e45b91bd36b5af414a36716c5f32d84f7..3cbb6335bdbd479eb43a6794a352dcc9892bc4f3 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Build status][ico-build]][link-actions] [![Coverage Status][ico-coverage]][link-coverage] -A flexible and feature-complete [Redis](http://redis.io) client for PHP 7.2 and newer. +A flexible and feature-complete [Redis](http://redis.io) / [Valkey](https://github.com/valkey-io/valkey) client for PHP 7.2 and newer. More details about this project can be found on the [frequently asked questions](FAQ.md). diff --git a/VERSION b/VERSION index 276cbf9e2858c779297bb9f73b34170302949ec4..c36c615772eb69c37952689107ec0294ce72c2b0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.3.0 +2.4.0-RC1 \ No newline at end of file diff --git a/composer.json b/composer.json index abd146b670c970de481a0714b6e6cfc2c75bae31..f7122fc473d96e0177cf4dfbd372cb4531020d49 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "predis/predis", "type": "library", - "description": "A flexible and feature-complete Redis client for PHP.", + "description": "A flexible and feature-complete Redis/Valkey client for PHP.", "keywords": ["nosql", "redis", "predis"], "homepage": "http://github.com/predis/predis", "license": "MIT", @@ -27,7 +27,8 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.3", "phpstan/phpstan": "^1.9", - "phpunit/phpunit": "^8.0 || ^9.4" + "phpunit/phpunit": "^8.0 || ^9.4", + "phpunit/phpcov": "^6.0 || ^8.0" }, "suggest": { "ext-relay": "Faster connection with in-memory caching (>=0.6.2)" diff --git a/examples/Commands/Json/json_debug_memory.php b/examples/Commands/Json/json_debug_memory.php index 23bf5f335d03a4471b5ddecc75f5d0961be6036b..73f5b90219a4f02d3a771d906476599d6b93813b 100644 --- a/examples/Commands/Json/json_debug_memory.php +++ b/examples/Commands/Json/json_debug_memory.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_aggregate.php b/examples/Commands/Search/ft_aggregate.php index 0c412b0782e372534950e020a31953a3deecca14..cb76f14687e14659f87de1c011928bf295721df7 100644 --- a/examples/Commands/Search/ft_aggregate.php +++ b/examples/Commands/Search/ft_aggregate.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_alter.php b/examples/Commands/Search/ft_alter.php index a15e9f0de9aa3537ec9b200102d96a371892122c..e189ae6aac62912ec4778eb878e34e71b4043ad4 100644 --- a/examples/Commands/Search/ft_alter.php +++ b/examples/Commands/Search/ft_alter.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_config_help.php b/examples/Commands/Search/ft_config_help.php index 040ccdc137a6e4e20f98ca49a605898dd63f431d..e0798f42675a88c4b0508afb36c25ce96f44eab1 100644 --- a/examples/Commands/Search/ft_config_help.php +++ b/examples/Commands/Search/ft_config_help.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_config_set_get.php b/examples/Commands/Search/ft_config_set_get.php index 7811243b1d026b89809dc4908b176db5208dfdee..145f8a45d8ee0ddaa816125718ddf186b353b473 100644 --- a/examples/Commands/Search/ft_config_set_get.php +++ b/examples/Commands/Search/ft_config_set_get.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_cursor_del.php b/examples/Commands/Search/ft_cursor_del.php index a317613a4e7565777d05468f149252342e497b4c..8fefc5dd4a3d018e1211bd12de30b51527b50afb 100644 --- a/examples/Commands/Search/ft_cursor_del.php +++ b/examples/Commands/Search/ft_cursor_del.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_cursor_read.php b/examples/Commands/Search/ft_cursor_read.php index 15e5f3f0409bfffeb4e7acb7d500fd343b7885ff..16a61bf25b4324d10365fc1c70806025d2d71fbe 100644 --- a/examples/Commands/Search/ft_cursor_read.php +++ b/examples/Commands/Search/ft_cursor_read.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_explain.php b/examples/Commands/Search/ft_explain.php index f65938e1ad2d5fa487406f76a4f14a6ccc1e295c..f31bb227edd864550d179a5cf1b5e1b6ba4c1103 100644 --- a/examples/Commands/Search/ft_explain.php +++ b/examples/Commands/Search/ft_explain.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_profile.php b/examples/Commands/Search/ft_profile.php index b50a1629a97dd5ca0b170b767847967a59433263..ec3097eedcfe7346b6de9837243b5f03635ac3f4 100644 --- a/examples/Commands/Search/ft_profile.php +++ b/examples/Commands/Search/ft_profile.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_spellcheck.php b/examples/Commands/Search/ft_spellcheck.php index 15e95d64c6fc81ea88c9ab7f593ca7182693f6a4..d18bff67ca519198bfc5d9ca072bb9baa9c738c1 100644 --- a/examples/Commands/Search/ft_spellcheck.php +++ b/examples/Commands/Search/ft_spellcheck.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_sug_add_get_del_len.php b/examples/Commands/Search/ft_sug_add_get_del_len.php index 36cb6e4df6e1c092b11d64314848765c195e00d0..95d051c4fe3e2c385892aa58e0fb74f2c1a33124 100644 --- a/examples/Commands/Search/ft_sug_add_get_del_len.php +++ b/examples/Commands/Search/ft_sug_add_get_del_len.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_syndump.php b/examples/Commands/Search/ft_syndump.php index 2db6d5141956b31fa223c353c0901bcda3af1947..708a844aca106bca82c0936c5ffe7b95a413da2d 100644 --- a/examples/Commands/Search/ft_syndump.php +++ b/examples/Commands/Search/ft_syndump.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_synupdate.php b/examples/Commands/Search/ft_synupdate.php index 4599f677aaf223d70da5ba3321d7a9ab6d00404b..f0fd10bc1c7eed09ec8e6e3c7c7271a8ccf0f887 100644 --- a/examples/Commands/Search/ft_synupdate.php +++ b/examples/Commands/Search/ft_synupdate.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/Search/ft_tagvals.php b/examples/Commands/Search/ft_tagvals.php index 48e12730a64e626e206e3ecf5c07d2e547eac131..8cf51d893b30d4e5b326168f569376a4c3c81d23 100644 --- a/examples/Commands/Search/ft_tagvals.php +++ b/examples/Commands/Search/ft_tagvals.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_add.php b/examples/Commands/TimeSeries/ts_add.php index 8b9ab1218ac9dda5dd7d1e9ed4c8a33ba6e81870..41e85ab4f01a41dda91c03f97c4f49789004a78e 100644 --- a/examples/Commands/TimeSeries/ts_add.php +++ b/examples/Commands/TimeSeries/ts_add.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_alter.php b/examples/Commands/TimeSeries/ts_alter.php index 11b8c9872dfe8f16dfcc5e6a8ff544a34829ec3a..30665b00710bd52e215d82bf9320403a8be17ea7 100644 --- a/examples/Commands/TimeSeries/ts_alter.php +++ b/examples/Commands/TimeSeries/ts_alter.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_create.php b/examples/Commands/TimeSeries/ts_create.php index 866cf1b646fdd1d4eb73d23b0e906fd9ef9635d9..44bdb49ba8714a0e504e77261c2053be764f38bb 100644 --- a/examples/Commands/TimeSeries/ts_create.php +++ b/examples/Commands/TimeSeries/ts_create.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_createrule.php b/examples/Commands/TimeSeries/ts_createrule.php index 446b3883641636103d834d98ac7fa6f983de8933..30f94d310914fafeecb81fcf4cb1900f6ce70daf 100644 --- a/examples/Commands/TimeSeries/ts_createrule.php +++ b/examples/Commands/TimeSeries/ts_createrule.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_decrby.php b/examples/Commands/TimeSeries/ts_decrby.php index 34f2672d9d841d92cdcb8e59182bd5a9e72ca989..9bc6de7ac5a09a2ba65ce23394aa159703eded9f 100644 --- a/examples/Commands/TimeSeries/ts_decrby.php +++ b/examples/Commands/TimeSeries/ts_decrby.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_del.php b/examples/Commands/TimeSeries/ts_del.php index e3100da86e8cdb2f751e368aa197a8dec401e54b..6b346ee9a15699d25385978b8bb99870fa7cb576 100644 --- a/examples/Commands/TimeSeries/ts_del.php +++ b/examples/Commands/TimeSeries/ts_del.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_deleterule.php b/examples/Commands/TimeSeries/ts_deleterule.php index 217c0997228050e58fe7dba20599dc8e1b770cbc..b3ae31b83a3b704626e844a5354823c9ef717f9a 100644 --- a/examples/Commands/TimeSeries/ts_deleterule.php +++ b/examples/Commands/TimeSeries/ts_deleterule.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_get.php b/examples/Commands/TimeSeries/ts_get.php index 1cce33e8ec308957a990f41ec053a2c9e1a2a9f8..e8396f97686bf53ff6c7709983c90b12a4382fec 100644 --- a/examples/Commands/TimeSeries/ts_get.php +++ b/examples/Commands/TimeSeries/ts_get.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_incrby.php b/examples/Commands/TimeSeries/ts_incrby.php index 016ddd2539f0cb85d7372aa90712209b38e504ec..064979e5f3cc6a75f2e8d6b817f570a9263fd82a 100644 --- a/examples/Commands/TimeSeries/ts_incrby.php +++ b/examples/Commands/TimeSeries/ts_incrby.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_info.php b/examples/Commands/TimeSeries/ts_info.php index 871b9cda07023be4dab7e460652f53c64efa505f..ba66e7227b7a053346de3d253d33a2b852565278 100644 --- a/examples/Commands/TimeSeries/ts_info.php +++ b/examples/Commands/TimeSeries/ts_info.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_madd.php b/examples/Commands/TimeSeries/ts_madd.php index 1d6bda8b1c0fecfc1e244a0726e4ccaede67171f..13669b2b32c5a2c1f23df993c7a62cc510066c12 100644 --- a/examples/Commands/TimeSeries/ts_madd.php +++ b/examples/Commands/TimeSeries/ts_madd.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_mget.php b/examples/Commands/TimeSeries/ts_mget.php index 2388547c2dad4671ae7b7d2cb0ff5f1fc6b267d7..eb1cf690f8bf5e8b763fcd92fabde0f21489b519 100644 --- a/examples/Commands/TimeSeries/ts_mget.php +++ b/examples/Commands/TimeSeries/ts_mget.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_mrange.php b/examples/Commands/TimeSeries/ts_mrange.php index 6276fc9cd87f28fbb96f563c3915a01eab5a3784..2f55ad64a35d712781c06ab569c0cc0a997f952b 100644 --- a/examples/Commands/TimeSeries/ts_mrange.php +++ b/examples/Commands/TimeSeries/ts_mrange.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_mrevrange.php b/examples/Commands/TimeSeries/ts_mrevrange.php index 800410645ebe9dab0d29b25a0a18a994c2245819..b8df2f88a25bd3bdea173d8377366a327895d1a8 100644 --- a/examples/Commands/TimeSeries/ts_mrevrange.php +++ b/examples/Commands/TimeSeries/ts_mrevrange.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_queryindex.php b/examples/Commands/TimeSeries/ts_queryindex.php index 75994405ddab14e7286b14c94a940523655853d7..7bc083526ef30694dc7b508ff5d2b61c6c6eec59 100644 --- a/examples/Commands/TimeSeries/ts_queryindex.php +++ b/examples/Commands/TimeSeries/ts_queryindex.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_range.php b/examples/Commands/TimeSeries/ts_range.php index a25a5353a095c1f1d3ec83e96a40213ee08be617..a186965b4235ad902cc967b931c32e9203337c43 100644 --- a/examples/Commands/TimeSeries/ts_range.php +++ b/examples/Commands/TimeSeries/ts_range.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/TimeSeries/ts_revrange.php b/examples/Commands/TimeSeries/ts_revrange.php index a24e1526e2cab1f98bf80a914dde6ad6bb762eb0..0f28a972aee160839cc0eecbbc5038dd3707258d 100644 --- a/examples/Commands/TimeSeries/ts_revrange.php +++ b/examples/Commands/TimeSeries/ts_revrange.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/acl_dry_run.php b/examples/Commands/acl_dry_run.php index 16fc225a1b3bcb657990c74986dfb26041a3f607..e8e42fbd00160b487d00b4fdc0aaabc3ad22b6ea 100644 --- a/examples/Commands/acl_dry_run.php +++ b/examples/Commands/acl_dry_run.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/acl_get_user.php b/examples/Commands/acl_get_user.php index 706ff01f7741725865b3cde84a8dba069e82c673..81ea6274c9dac7f7a2197506791a31e0c054a7e4 100644 --- a/examples/Commands/acl_get_user.php +++ b/examples/Commands/acl_get_user.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/acl_set_user.php b/examples/Commands/acl_set_user.php index b0243e8aa9ab45d5dde477ec3a50b8b6d644eed9..9f7e9fba0f6f33fe369c062a529b84b8b2b2cc3b 100644 --- a/examples/Commands/acl_set_user.php +++ b/examples/Commands/acl_set_user.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/fcall_ro.php b/examples/Commands/fcall_ro.php index 7b4c41e236a1867fa0c9a19573c7588950dc9ce3..8f3989c53bd02c1f486ba3eccccb5684d7a411d8 100644 --- a/examples/Commands/fcall_ro.php +++ b/examples/Commands/fcall_ro.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/Commands/waitaof.php b/examples/Commands/waitaof.php index 2907a35f6f0e450acdb410ca50e58052276e1ba3..a483542b25d9cbaa0539e1e39238c5d6a3f67ee9 100644 --- a/examples/Commands/waitaof.php +++ b/examples/Commands/waitaof.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/custom_cluster_distributor.php b/examples/custom_cluster_distributor.php index 0b6a7508e1967c363df692ac250d873651d280df..738c0582db42cf56b287df20725f3e369cfa2b1f 100644 --- a/examples/custom_cluster_distributor.php +++ b/examples/custom_cluster_distributor.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/debuggable_connection.php b/examples/debuggable_connection.php index bafbbfc8cee33a557e5fb82257e9541221c42bf5..1515f88a31b823402c0cbbfd1dadb8b06ab09dee 100644 --- a/examples/debuggable_connection.php +++ b/examples/debuggable_connection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/dispatcher_loop.php b/examples/dispatcher_loop.php index 92f3796c26caf61693c735588524b9f54a9a0523..0f4972a0314667f9ca878dda027c83db595adada 100644 --- a/examples/dispatcher_loop.php +++ b/examples/dispatcher_loop.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2023 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/executing_redis_commands.php b/examples/executing_redis_commands.php index f1b080fdd39705f9eebe7243aef50c70dd0207ee..259010c97792a6b4fe798217d9ac1e5319a3548a 100644 --- a/examples/executing_redis_commands.php +++ b/examples/executing_redis_commands.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/key_prefixing.php b/examples/key_prefixing.php index a548944afd6487b0a0c7f10b90ef57178790d063..ab6ffdcb9df642a73eb381c7b39339ec68f67e28 100644 --- a/examples/key_prefixing.php +++ b/examples/key_prefixing.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/lua_scripting_abstraction.php b/examples/lua_scripting_abstraction.php index 7d37656a98915d264ba31c099816ebcbcca701a4..4e641f4f83dda2ee04ce4fe99dfcfa26e7961651 100644 --- a/examples/lua_scripting_abstraction.php +++ b/examples/lua_scripting_abstraction.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/monitor_consumer.php b/examples/monitor_consumer.php index 0ae833a28ced989e6908fbd9744f14df57b9c86b..3bd8b365a893494b19a9b12dbc5f701d726718c5 100644 --- a/examples/monitor_consumer.php +++ b/examples/monitor_consumer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/pipelining_commands.php b/examples/pipelining_commands.php index d813abd967f2b6b03f1db80bbcf78f5019415a18..d80f1fc31042b1cd904ccf53db797027bb0504b6 100644 --- a/examples/pipelining_commands.php +++ b/examples/pipelining_commands.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/pubsub_consumer.php b/examples/pubsub_consumer.php index 988617639199ce3e6e8dcc87c1bf41d5d3e522e7..8f39a356705b53bd6e507a16a8c7c44fcbdbcb69 100644 --- a/examples/pubsub_consumer.php +++ b/examples/pubsub_consumer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/redis_collections_iterators.php b/examples/redis_collections_iterators.php index 54a3e886aec6ca8f710ccea1578e094270bdd511..4020a6a607d5684adec58e064fe05b0c43017f68 100644 --- a/examples/redis_collections_iterators.php +++ b/examples/redis_collections_iterators.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/relay_compression.php b/examples/relay_compression.php index 9ba9a31a20936e53052c897a9899149b3f4ec723..c68ec8b476cc4cf28817e13706a34a081aa02e9f 100644 --- a/examples/relay_compression.php +++ b/examples/relay_compression.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/relay_connection.php b/examples/relay_connection.php index f54e8fa3f096625f75ace2e537adc8b1f23d0163..4793ce82363490cf4c7d095eb011dce747e16b89 100644 --- a/examples/relay_connection.php +++ b/examples/relay_connection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2023 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/relay_events.php b/examples/relay_events.php index 2d97dbe14f3accc4d6dedeb28c062d1bea9ff218..864be0a892ddee55cc1b9b2a088ee096ae0134fe 100644 --- a/examples/relay_events.php +++ b/examples/relay_events.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/relay_pubsub_consumer.php b/examples/relay_pubsub_consumer.php index 181ed9315d663677a160e1c6fcb2af9fc3f0007c..77e9640dff5596eee93444450316fb051620c577 100644 --- a/examples/relay_pubsub_consumer.php +++ b/examples/relay_pubsub_consumer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/replication_complex.php b/examples/replication_complex.php index 24a9301136e827fdc1fb8f31ef96ab2188374229..a9b45cdb1b534cf344844304fff574f9d0824cbd 100644 --- a/examples/replication_complex.php +++ b/examples/replication_complex.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/replication_sentinel.php b/examples/replication_sentinel.php index c8e19cdf90e06ad81fb56eabdeeb91305b8fd950..9c07b6719933748a63ff6dcd69250b3ebd947371 100644 --- a/examples/replication_sentinel.php +++ b/examples/replication_sentinel.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/replication_simple.php b/examples/replication_simple.php index 2594e34e3fe2d4a59d3f684f8276830031dc0af5..df7f9ad402a6da5dd90a89ca6c2910efd92e5fa8 100644 --- a/examples/replication_simple.php +++ b/examples/replication_simple.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/session_handler.php b/examples/session_handler.php index aae456b5b2c2089bb5168eb447dda2f9b2a8a3c8..ebdd236104be0d57eb518fcf0e32e6470173b298 100644 --- a/examples/session_handler.php +++ b/examples/session_handler.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/shared.php b/examples/shared.php index 77e041deef47ee7cfa3acd19e4a55121070a995c..f82e6b05c3b58eeff9fa6434f25ea50876807816 100644 --- a/examples/shared.php +++ b/examples/shared.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/examples/transaction_using_cas.php b/examples/transaction_using_cas.php index cc22715e10e8f2b649011fc3cb6e27ca37c7230f..42e6d0ed2a1cf7d373a036a996ad53ccab3e6067 100644 --- a/examples/transaction_using_cas.php +++ b/examples/transaction_using_cas.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/phpunit.relay.xml b/phpunit.relay.xml index 1b66a89361d8cc64fe5adddf4b57451b8bcaed88..eaa6e3c9d6a7daa305c4a489300177a660a15d7f 100644 --- a/phpunit.relay.xml +++ b/phpunit.relay.xml @@ -40,6 +40,7 @@ <const name="REDIS_SERVER_PORT" value="6379" /> <const name="REDIS_SERVER_DBNUM" value="0" /> <env name="USE_RELAY" value="true" /> + <env name="REDIS_STACK_SERVER_PORT" value="6479" /> <!-- Redis Cluster --> <!-- Only master nodes endpoints included --> diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 5ec9da95ac1ce107652b403d2592876046caa1a5..15eecf7d886879696e847b7c997f5d1329316bdd 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -52,6 +52,7 @@ <const name="REDIS_SERVER_PORT" value="6379" /> <const name="REDIS_SERVER_DBNUM" value="0" /> <env name="USE_RELAY" value="false" /> + <env name="REDIS_STACK_SERVER_PORT" value="6479" /> <!-- Redis Cluster --> <!-- Only master nodes endpoints included --> diff --git a/src/Autoloader.php b/src/Autoloader.php index 5421409e2340f342d5559b5abd9b22ff73bcdc68..064193c4a5bb09de0d3db65eb2ad951120fa39e7 100644 --- a/src/Autoloader.php +++ b/src/Autoloader.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Client.php b/src/Client.php index 28bb2eddcc3cd1dd980259d886a03a6b65801985..ea08cbf2eec3b23e0ef271b927b10b2f50765d88 100644 --- a/src/Client.php +++ b/src/Client.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -53,7 +53,7 @@ use Traversable; */ class Client implements ClientInterface, IteratorAggregate { - public const VERSION = '2.3.0'; + public const VERSION = '2.4.0-RC1'; /** @var OptionsInterface */ private $options; diff --git a/src/ClientConfiguration.php b/src/ClientConfiguration.php index c36e5733bdeee360929754a6ffb44a313d0348f0..886e8ff655d44125655563a74f6c798e5778160e 100644 --- a/src/ClientConfiguration.php +++ b/src/ClientConfiguration.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/ClientContextInterface.php b/src/ClientContextInterface.php index a64c08e898c4a338e6bf8843a397b698a5c4ea2a..d00e20498cb99b883deba16f54731cf1047a80fe 100644 --- a/src/ClientContextInterface.php +++ b/src/ClientContextInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -44,6 +44,8 @@ use Predis\Command\Redis\Container\FunctionContainer; use Predis\Command\Redis\Container\Json\JSONDEBUG; use Predis\Command\Redis\Container\Search\FTCONFIG; use Predis\Command\Redis\Container\Search\FTCURSOR; +use Predis\Command\Redis\HGETEX; +use Predis\Command\Redis\HSETEX; /** * Interface defining a client-side context such as a pipeline or transaction. @@ -83,6 +85,7 @@ use Predis\Command\Redis\Container\Search\FTCURSOR; * @method $this bitcount(string $key, $start = null, $end = null, string $index = 'byte') * @method $this bitop($operation, $destkey, $key) * @method $this bitfield($key, $subcommand, ...$subcommandArg) + * @method $this bitfield_ro(string $key, ?array $encodingOffsetMap = null) * @method $this bitpos($key, $bit, $start = null, $end = null, string $index = 'byte') * @method $this blmpop(int $timeout, array $keys, string $modifier = 'left', int $count = 1) * @method $this bzpopmax(array $keys, int $timeout) @@ -111,6 +114,7 @@ use Predis\Command\Redis\Container\Search\FTCURSOR; * @method $this failover(?To $to = null, bool $abort = false, int $timeout = -1) * @method $this fcall(string $function, array $keys, ...$args) * @method $this fcall_ro(string $function, array $keys, ...$args) + * @method $this ft_list() * @method $this ftaggregate(string $index, string $query, ?AggregateArguments $arguments = null) * @method $this ftaliasadd(string $alias, string $index) * @method $this ftaliasdel(string $alias) @@ -162,7 +166,9 @@ use Predis\Command\Redis\Container\Search\FTCURSOR; * @method $this hpexpireat(string $key, int $unixTimeMilliseconds, array $fields, string $flag = null) * @method $this hpexpiretime(string $key, array $fields) * @method $this hget($key, $field) + * @method $this hgetex(string $key, array $fields, string $modifier = HGETEX::NULL) * @method $this hgetall($key) + * @method $this hgetdel(string $key, array $fields) * @method $this hincrby($key, $field, $increment) * @method $this hincrbyfloat($key, $field, $increment) * @method $this hkeys($key) @@ -172,6 +178,7 @@ use Predis\Command\Redis\Container\Search\FTCURSOR; * @method $this hrandfield(string $key, int $count = 1, bool $withValues = false) * @method $this hscan($key, $cursor, ?array $options = null) * @method $this hset($key, $field, $value) + * @method $this hsetex(string $key, array $fieldValueMap, string $setModifier = HSETEX::SET_NULL, string $ttlModifier = HSETEX::TTL_NULL, int|bool $ttlModifierValue = false) * @method $this hsetnx($key, $field, $value) * @method $this httl(string $key, array $fields) * @method $this hpttl(string $key, array $fields) diff --git a/src/ClientException.php b/src/ClientException.php index 6e1c57f0f51c03098343b274a0c605959fbc975b..2a52cec2691ef16e185c3636a73080065d5024a8 100644 --- a/src/ClientException.php +++ b/src/ClientException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/ClientInterface.php b/src/ClientInterface.php index 840cc55babc8f8df0ce3697acd05b1b56f796e4c..ce3e1932b8f7f6542acb6b74b898ca253c2dc1f3 100644 --- a/src/ClientInterface.php +++ b/src/ClientInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -45,6 +45,8 @@ use Predis\Command\Redis\Container\FunctionContainer; use Predis\Command\Redis\Container\Json\JSONDEBUG; use Predis\Command\Redis\Container\Search\FTCONFIG; use Predis\Command\Redis\Container\Search\FTCURSOR; +use Predis\Command\Redis\HGETEX; +use Predis\Command\Redis\HSETEX; use Predis\Configuration\OptionsInterface; use Predis\Connection\ConnectionInterface; use Predis\Response\Status; @@ -92,6 +94,7 @@ use Predis\Response\Status; * @method int bitcount(string $key, $start = null, $end = null, string $index = 'byte') * @method int bitop($operation, $destkey, $key) * @method array|null bitfield(string $key, $subcommand, ...$subcommandArg) + * @method array|null bitfield_ro(string $key, ?array $encodingOffsetMap = null) * @method int bitpos(string $key, $bit, $start = null, $end = null, string $index = 'byte') * @method array blmpop(int $timeout, array $keys, string $modifier = 'left', int $count = 1) * @method array bzpopmax(array $keys, int $timeout) @@ -120,6 +123,7 @@ use Predis\Response\Status; * @method Status failover(?To $to = null, bool $abort = false, int $timeout = -1) * @method mixed fcall(string $function, array $keys, ...$args) * @method mixed fcall_ro(string $function, array $keys, ...$args) + * @method array ft_list() * @method array ftaggregate(string $index, string $query, ?AggregateArguments $arguments = null) * @method Status ftaliasadd(string $alias, string $index) * @method Status ftaliasdel(string $alias) @@ -171,7 +175,9 @@ use Predis\Response\Status; * @method array|null hpexpireat(string $key, int $unixTimeMilliseconds, array $fields, string $flag = null) * @method array|null hpexpiretime(string $key, array $fields) * @method string|null hget(string $key, string $field) + * @method array|null hgetex(string $key, array $fields, string $modifier = HGETEX::NULL, int|bool $modifierValue = false) * @method array hgetall(string $key) + * @method array hgetdel(string $key, array $fields) * @method int hincrby(string $key, string $field, int $increment) * @method string hincrbyfloat(string $key, string $field, int|float $increment) * @method array hkeys(string $key) @@ -181,6 +187,7 @@ use Predis\Response\Status; * @method array hrandfield(string $key, int $count = 1, bool $withValues = false) * @method array hscan(string $key, $cursor, ?array $options = null) * @method int hset(string $key, string $field, string $value) + * @method int hsetex(string $key, array $fieldValueMap, string $setModifier = HSETEX::SET_NULL, string $ttlModifier = HSETEX::TTL_NULL, int|bool $ttlModifierValue = false) * @method int hsetnx(string $key, string $field, string $value) * @method array|null httl(string $key, array $fields) * @method array|null hpttl(string $key, array $fields) @@ -334,7 +341,7 @@ use Predis\Response\Status; * @method mixed multi() * @method mixed unwatch() * @method array waitaof(int $numLocal, int $numReplicas, int $timeout) - * @method mixed watch(string $key) + * @method mixed watch(string[]|string $keyOrKeys) * @method mixed eval(string $script, int $numkeys, string ...$keyOrArg = null) * @method mixed eval_ro(string $script, array $keys, ...$argument) * @method mixed evalsha(string $script, int $numkeys, string ...$keyOrArg = null) @@ -375,6 +382,8 @@ use Predis\Response\Status; * @property FTCURSOR $ftcursor * @property JSONDEBUG $jsondebug * @property ACL $acl + * + * @no-named-arguments */ interface ClientInterface { diff --git a/src/Cluster/ClusterStrategy.php b/src/Cluster/ClusterStrategy.php index acffff40e7a0a80dbc3cc59a5cc9aee8f5ba1207..89a6a777ee6e7ff0d3da996805f1cdb96bf36637 100644 --- a/src/Cluster/ClusterStrategy.php +++ b/src/Cluster/ClusterStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -163,6 +163,8 @@ abstract class ClusterStrategy implements StrategyInterface /* scripting */ 'EVAL' => [$this, 'getKeyFromScriptingCommands'], 'EVALSHA' => [$this, 'getKeyFromScriptingCommands'], + 'EVAL_RO' => [$this, 'getKeyFromScriptingCommands'], + 'EVALSHA_RO' => [$this, 'getKeyFromScriptingCommands'], /* server */ 'INFO' => [$this, 'getFakeKey'], diff --git a/src/Cluster/Distributor/DistributorInterface.php b/src/Cluster/Distributor/DistributorInterface.php index 162e5068310cd96b8574cf358ffbcbf834e6d6cc..2227fb5d290fa2c506cc0e2e558ae750ba6cae9a 100644 --- a/src/Cluster/Distributor/DistributorInterface.php +++ b/src/Cluster/Distributor/DistributorInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/Distributor/EmptyRingException.php b/src/Cluster/Distributor/EmptyRingException.php index 511654bb8c76932e88903ff688d8ebc6b7814dc9..691b9aed1f794686e3c298ea10de7ae62946460e 100644 --- a/src/Cluster/Distributor/EmptyRingException.php +++ b/src/Cluster/Distributor/EmptyRingException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/Distributor/HashRing.php b/src/Cluster/Distributor/HashRing.php index 199d048a2c2e834cfe1f702ba4c35da3d213b475..821f2ea88159d86cc3c74e67e900d764bf89d520 100644 --- a/src/Cluster/Distributor/HashRing.php +++ b/src/Cluster/Distributor/HashRing.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/Distributor/KetamaRing.php b/src/Cluster/Distributor/KetamaRing.php index cbb5c145845c9d962d945b5a78895d9a88ee1c96..532581e97d4fd6aa0b2a720db6911bf018997241 100644 --- a/src/Cluster/Distributor/KetamaRing.php +++ b/src/Cluster/Distributor/KetamaRing.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/Hash/CRC16.php b/src/Cluster/Hash/CRC16.php index 7579f104c91857d138c7bddeaae5dbb44384467a..68ad42a0c3aa6b9c6a74238808759fbaf3294de3 100644 --- a/src/Cluster/Hash/CRC16.php +++ b/src/Cluster/Hash/CRC16.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/Hash/HashGeneratorInterface.php b/src/Cluster/Hash/HashGeneratorInterface.php index fc2db65e59c05bfa3045358ff82487cc04f77331..a6d3ee9cb9fd6202fb3d0bdb33993a1c7d37f0c1 100644 --- a/src/Cluster/Hash/HashGeneratorInterface.php +++ b/src/Cluster/Hash/HashGeneratorInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/Hash/PhpiredisCRC16.php b/src/Cluster/Hash/PhpiredisCRC16.php index dd92b8651cbeb56d46fe7685aaa54b3770a1bc84..0e308ef68d2a16ffa501791be53dc3974e1c9b1c 100644 --- a/src/Cluster/Hash/PhpiredisCRC16.php +++ b/src/Cluster/Hash/PhpiredisCRC16.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/NullSlotRange.php b/src/Cluster/NullSlotRange.php new file mode 100644 index 0000000000000000000000000000000000000000..d9561e4bab00dd1c249db2b7e46ca3583a29ef60 --- /dev/null +++ b/src/Cluster/NullSlotRange.php @@ -0,0 +1,40 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Cluster; + +/** + * Represents the gap between slot ranges. + */ +class NullSlotRange extends SlotRange +{ + public function __construct(int $start, int $end) + { + parent::__construct($start, $end, ''); + } + + /** + * {@inheritDoc} + */ + public function toArray(): array + { + return []; + } + + /** + * {@inheritDoc} + */ + public function count(): int + { + return 0; + } +} diff --git a/src/Cluster/PredisStrategy.php b/src/Cluster/PredisStrategy.php index 3b7272e6f55bff4f501245a33f172fe37e5849ab..4ec7d7a8d03c4f268aeba155470c0170577522e0 100644 --- a/src/Cluster/PredisStrategy.php +++ b/src/Cluster/PredisStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/RedisStrategy.php b/src/Cluster/RedisStrategy.php index e222bdf0f7629ea4960a11c952bf41aa91ee7e8d..ff5d1cfcf053066130467d93a418476b0c0567e7 100644 --- a/src/Cluster/RedisStrategy.php +++ b/src/Cluster/RedisStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Cluster/SimpleSlotMap.php b/src/Cluster/SimpleSlotMap.php new file mode 100644 index 0000000000000000000000000000000000000000..1d259939352ac93cd041fbe92334fe25432e33b7 --- /dev/null +++ b/src/Cluster/SimpleSlotMap.php @@ -0,0 +1,209 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Cluster; + +use ArrayAccess; +use ArrayIterator; +use Countable; +use IteratorAggregate; +use OutOfBoundsException; +use Predis\Connection\NodeConnectionInterface; +use ReturnTypeWillChange; +use Traversable; + +/** + * Slot map for redis-cluster. + */ +class SimpleSlotMap implements ArrayAccess, IteratorAggregate, Countable +{ + private $slots = []; + + /** + * Checks if the given slot is valid. + * + * @param int $slot Slot index. + * + * @return bool + */ + public static function isValid($slot) + { + return $slot >= 0x0000 && $slot <= 0x3FFF; + } + + /** + * Checks if the given slot range is valid. + * + * @param int $first Initial slot of the range. + * @param int $last Last slot of the range. + * + * @return bool + */ + public static function isValidRange($first, $last) + { + return $first >= 0x0000 && $first <= 0x3FFF && $last >= 0x0000 && $last <= 0x3FFF && $first <= $last; + } + + /** + * Resets the slot map. + */ + public function reset() + { + $this->slots = []; + } + + /** + * Checks if the slot map is empty. + * + * @return bool + */ + public function isEmpty() + { + return empty($this->slots); + } + + /** + * Returns the current slot map as a dictionary of $slot => $node. + * + * The order of the slots in the dictionary is not guaranteed. + * + * @return array + */ + public function toArray() + { + return $this->slots; + } + + /** + * Returns the list of unique nodes in the slot map. + * + * @return array + */ + public function getNodes() + { + return array_keys(array_flip($this->slots)); + } + + /** + * Assigns the specified slot range to a node. + * + * @param int $first Initial slot of the range. + * @param int $last Last slot of the range. + * @param NodeConnectionInterface|string $connection ID or connection instance. + * + * @throws OutOfBoundsException + */ + public function setSlots($first, $last, $connection) + { + if (!static::isValidRange($first, $last)) { + throw new OutOfBoundsException("Invalid slot range $first-$last for `$connection`"); + } + + $this->slots += array_fill($first, $last - $first + 1, (string) $connection); + } + + /** + * Returns the specified slot range. + * + * @param int $first Initial slot of the range. + * @param int $last Last slot of the range. + * + * @return array + */ + public function getSlots($first, $last) + { + if (!static::isValidRange($first, $last)) { + throw new OutOfBoundsException("Invalid slot range $first-$last"); + } + + return array_intersect_key($this->slots, array_fill($first, $last - $first + 1, null)); + } + + /** + * Checks if the specified slot is assigned. + * + * @param int $slot Slot index. + * + * @return bool + */ + #[ReturnTypeWillChange] + public function offsetExists($slot) + { + return isset($this->slots[$slot]); + } + + /** + * Returns the node assigned to the specified slot. + * + * @param int $slot Slot index. + * + * @return string|null + */ + #[ReturnTypeWillChange] + public function offsetGet($slot) + { + return $this->slots[$slot] ?? null; + } + + /** + * Assigns the specified slot to a node. + * + * @param int $slot Slot index. + * @param NodeConnectionInterface|string $connection ID or connection instance. + * + * @return void + */ + #[ReturnTypeWillChange] + public function offsetSet($slot, $connection) + { + if (!static::isValid($slot)) { + throw new OutOfBoundsException("Invalid slot $slot for `$connection`"); + } + + $this->slots[(int) $slot] = (string) $connection; + } + + /** + * Returns the node assigned to the specified slot. + * + * @param int $slot Slot index. + * + * @return void + */ + #[ReturnTypeWillChange] + public function offsetUnset($slot) + { + unset($this->slots[$slot]); + } + + /** + * Returns the current number of assigned slots. + * + * @return int + */ + #[ReturnTypeWillChange] + public function count() + { + return count($this->slots); + } + + /** + * Returns an iterator over the slot map. + * + * @return Traversable<int, string> + */ + #[ReturnTypeWillChange] + public function getIterator() + { + return new ArrayIterator($this->slots); + } +} diff --git a/src/Cluster/SlotMap.php b/src/Cluster/SlotMap.php index 10c8ba93a1b54af57d384bcc80d3101de1790ca4..5a2b859e97e3e98f90b58bbdbad93621b72e5728 100644 --- a/src/Cluster/SlotMap.php +++ b/src/Cluster/SlotMap.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -22,11 +22,16 @@ use ReturnTypeWillChange; use Traversable; /** - * Slot map for redis-cluster. + * Compact slot map for redis-cluster. */ class SlotMap implements ArrayAccess, IteratorAggregate, Countable { - private $slots = []; + /** + * Slot ranges list. + * + * @var SlotRange[] + */ + private $slotRanges = []; /** * Checks if the given slot is valid. @@ -37,7 +42,7 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable */ public static function isValid($slot) { - return $slot >= 0x0000 && $slot <= 0x3FFF; + return $slot >= 0 && $slot <= SlotRange::MAX_SLOTS; } /** @@ -50,7 +55,7 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable */ public static function isValidRange($first, $last) { - return $first >= 0x0000 && $first <= 0x3FFF && $last >= 0x0000 && $last <= 0x3FFF && $first <= $last; + return SlotRange::isValidRange($first, $last); } /** @@ -58,7 +63,7 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable */ public function reset() { - $this->slots = []; + $this->slotRanges = []; } /** @@ -68,7 +73,7 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable */ public function isEmpty() { - return empty($this->slots); + return empty($this->slotRanges); } /** @@ -80,7 +85,13 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable */ public function toArray() { - return $this->slots; + return array_reduce( + $this->slotRanges, + function ($carry, $slotRange) { + return $carry + $slotRange->toArray(); + }, + [] + ); } /** @@ -90,7 +101,22 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable */ public function getNodes() { - return array_keys(array_flip($this->slots)); + return array_unique(array_map( + function ($slotRange) { + return $slotRange->getConnection(); + }, + $this->slotRanges + )); + } + + /** + * Returns the list of slot ranges. + * + * @return SlotRange[] + */ + public function getSlotRanges() + { + return $this->slotRanges; } /** @@ -108,7 +134,31 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable throw new OutOfBoundsException("Invalid slot range $first-$last for `$connection`"); } - $this->slots += array_fill($first, $last - $first + 1, (string) $connection); + $targetSlotRange = new SlotRange($first, $last, (string) $connection); + + // Get gaps of slot ranges list. + $gaps = $this->getGaps($this->slotRanges); + + $results = $this->slotRanges; + + foreach ($gaps as $gap) { + if (!$gap->hasIntersectionWith($targetSlotRange)) { + continue; + } + + // Get intersection of the gap and target slot range. + $results[] = new SlotRange( + max($gap->getStart(), $targetSlotRange->getStart()), + min($gap->getEnd(), $targetSlotRange->getEnd()), + $targetSlotRange->getConnection() + ); + } + + $this->sortSlotRanges($results); + + $results = $this->compactSlotRanges($results); + + $this->slotRanges = $results; } /** @@ -117,7 +167,7 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable * @param int $first Initial slot of the range. * @param int $last Last slot of the range. * - * @return array + * @return array<int, string> */ public function getSlots($first, $last) { @@ -125,7 +175,28 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable throw new OutOfBoundsException("Invalid slot range $first-$last"); } - return array_intersect_key($this->slots, array_fill($first, $last - $first + 1, null)); + $placeHolder = new NullSlotRange($first, $last); + + $intersections = []; + foreach ($this->slotRanges as $slotRange) { + if (!$placeHolder->hasIntersectionWith($slotRange)) { + continue; + } + + $intersections[] = new SlotRange( + max($placeHolder->getStart(), $slotRange->getStart()), + min($placeHolder->getEnd(), $slotRange->getEnd()), + $slotRange->getConnection() + ); + } + + return array_reduce( + $intersections, + function ($carry, $slotRange) { + return $carry + $slotRange->toArray(); + }, + [] + ); } /** @@ -138,7 +209,7 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable #[ReturnTypeWillChange] public function offsetExists($slot) { - return isset($this->slots[$slot]); + return $this->findRangeBySlot($slot) !== false; } /** @@ -151,7 +222,9 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable #[ReturnTypeWillChange] public function offsetGet($slot) { - return $this->slots[$slot] ?? null; + $found = $this->findRangeBySlot($slot); + + return $found ? $found->getConnection() : null; } /** @@ -169,7 +242,8 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable throw new OutOfBoundsException("Invalid slot $slot for `$connection`"); } - $this->slots[(int) $slot] = (string) $connection; + $this->offsetUnset($slot); + $this->setSlots($slot, $slot, $connection); } /** @@ -182,7 +256,26 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable #[ReturnTypeWillChange] public function offsetUnset($slot) { - unset($this->slots[$slot]); + if (!static::isValid($slot)) { + throw new OutOfBoundsException("Invalid slot $slot"); + } + + $results = []; + foreach ($this->slotRanges as $slotRange) { + if (!$slotRange->hasSlot($slot)) { + $results[] = $slotRange; + } + + if (static::isValidRange($slotRange->getStart(), $slot - 1)) { + $results[] = new SlotRange($slotRange->getStart(), $slot - 1, $slotRange->getConnection()); + } + + if (static::isValidRange($slot + 1, $slotRange->getEnd())) { + $results[] = new SlotRange($slot + 1, $slotRange->getEnd(), $slotRange->getConnection()); + } + } + + $this->slotRanges = $results; } /** @@ -193,7 +286,12 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable #[ReturnTypeWillChange] public function count() { - return count($this->slots); + return array_sum(array_map( + function ($slotRange) { + return $slotRange->count(); + }, + $this->slotRanges + )); } /** @@ -204,6 +302,116 @@ class SlotMap implements ArrayAccess, IteratorAggregate, Countable #[ReturnTypeWillChange] public function getIterator() { - return new ArrayIterator($this->slots); + return new ArrayIterator($this->toArray()); + } + + /** + * Find the slot range which contains the specific slot index. + * + * @param int $slot Slot index. + * + * @return SlotRange|false The slot range object or false if not found. + */ + protected function findRangeBySlot(int $slot) + { + foreach ($this->slotRanges as $slotRange) { + if ($slotRange->hasSlot($slot)) { + return $slotRange; + } + } + + return false; + } + + /** + * Get gaps between sorted slot ranges with NullSlotRange object. + * + * @param SlotRange[] $slotRanges + * + * @return SlotRange[] + */ + protected function getGaps(array $slotRanges) + { + if (empty($slotRanges)) { + return [ + new NullSlotRange(0, SlotRange::MAX_SLOTS), + ]; + } + $gaps = []; + $count = count($slotRanges); + $i = 0; + foreach ($slotRanges as $key => $slotRange) { + $start = $slotRange->getStart(); + $end = $slotRange->getEnd(); + if (static::isValidRange($i, $start - 1)) { + $gaps[] = new NullSlotRange($i, $start - 1); + } + + $i = $end + 1; + + if ($key === $count - 1) { + if (static::isValidRange($i, SlotRange::MAX_SLOTS)) { + $gaps[] = new NullSlotRange($i, SlotRange::MAX_SLOTS); + } + } + } + + return $gaps; + } + + /** + * Sort slot ranges by start index. + * + * @param SlotRange[] $slotRanges + * + * @return void + */ + protected function sortSlotRanges(array &$slotRanges) + { + usort( + $slotRanges, + function (SlotRange $a, SlotRange $b) { + if ($a->getStart() == $b->getStart()) { + return 0; + } + + return $a->getStart() < $b->getStart() ? -1 : 1; + } + ); + } + + /** + * Compact adjacent slot ranges with the same connection. + * + * @param SlotRange[] $slotRanges + * + * @return SlotRange[] + */ + protected function compactSlotRanges(array $slotRanges) + { + if (empty($slotRanges)) { + return []; + } + + $compacted = []; + $count = count($slotRanges); + $i = 0; + $carry = $slotRanges[0]; + while ($i < $count) { + $next = $slotRanges[$i + 1] ?? null; + if ( + !is_null($next) + && ($carry->getEnd() + 1) === $next->getStart() + && $carry->getConnection() === $next->getConnection() + ) { + $carry = new SlotRange($carry->getStart(), $next->getEnd(), $carry->getConnection()); + } else { + $compacted[] = $carry; + $carry = $next; + } + $i++; + } + + return array_values($compacted); } } diff --git a/src/Cluster/SlotRange.php b/src/Cluster/SlotRange.php new file mode 100644 index 0000000000000000000000000000000000000000..95fdeab4e0d5e8e878f1a7a85dee444ee2604b94 --- /dev/null +++ b/src/Cluster/SlotRange.php @@ -0,0 +1,145 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Cluster; + +use Countable; +use OutOfBoundsException; + +/** + * Represents a range of slots in a Redis cluster. + */ +class SlotRange implements Countable +{ + /** + * Maximum number of slots in a Redis cluster is 16384. + */ + public const MAX_SLOTS = 0x3FFF; + + /** + * Starting slot of the range. + * + * @var int + */ + protected $start; + + /** + * Ending slot of the range. + * + * @var int + */ + protected $end; + + /** + * Connection to the server hosting this slot range. + * + * @var string + */ + protected $connection; + + public function __construct(int $start, int $end, string $connection) + { + if (!static::isValidRange($start, $end)) { + throw new OutOfBoundsException("Invalid slot range $start-$end for `$connection`"); + } + $this->start = $start; + $this->end = $end; + $this->connection = $connection; + } + + /** + * Checks if a slot range is valid. + * + * @param int $first + * @param int $last + * + * @return bool + */ + public static function isValidRange($first, $last) + { + return $first >= 0 && $first <= self::MAX_SLOTS && $last >= 0x0000 && $last <= self::MAX_SLOTS && $first <= $last; + } + + /** + * Returns the start slot index of this range. + * + * @return int + */ + public function getStart() + { + return $this->start; + } + + /** + * Returns the end slot index of this range. + * + * @return int + */ + public function getEnd() + { + return $this->end; + } + + /** + * Returns the connection to the server hosting this slot range. + * + * @return string + */ + public function getConnection() + { + return $this->connection; + } + + /** + * Checks if the specific slot is contained in this range. + * + * @param int $slot + * + * @return bool + */ + public function hasSlot(int $slot) + { + return $this->start <= $slot && $this->end >= $slot; + } + + /** + * Returns an array of connection strings for each slot in this range. + * + * @return string[] + */ + public function toArray(): array + { + return array_fill($this->start, $this->end - $this->start + 1, $this->connection); + } + + /** + * Returns the number of slots in this range. + * + * @return int + */ + public function count(): int + { + return $this->end - $this->start + 1; + } + + /** + * Checks if this range has an intersection with the given slot range. + * + * @param SlotRange $slotRange + * + * @return bool + */ + public function hasIntersectionWith(SlotRange $slotRange): bool + { + return $this->start <= $slotRange->getEnd() && $this->end >= $slotRange->getStart(); + } +} diff --git a/src/Cluster/StrategyInterface.php b/src/Cluster/StrategyInterface.php index e7476e191b1f719126f2c150c23d8a695cf551ee..4caa0ebd037d1686065543adc37e27d02d79a817 100644 --- a/src/Cluster/StrategyInterface.php +++ b/src/Cluster/StrategyInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Collection/Iterator/CursorBasedIterator.php b/src/Collection/Iterator/CursorBasedIterator.php index c254b6c92b52f80eefcd8a28a8b1d82884982035..4f686a2429e9612253d83d2d4e735f02ddb99717 100644 --- a/src/Collection/Iterator/CursorBasedIterator.php +++ b/src/Collection/Iterator/CursorBasedIterator.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Collection/Iterator/HashKey.php b/src/Collection/Iterator/HashKey.php index 465fb7990f3bce9759127a444e728e93e3946ad8..9f7c54effd76ff2cb9657e9670f1750583b1283f 100644 --- a/src/Collection/Iterator/HashKey.php +++ b/src/Collection/Iterator/HashKey.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Collection/Iterator/Keyspace.php b/src/Collection/Iterator/Keyspace.php index 256b8b8e73293775ecdb265a15b04d46049e5681..f621f0b6d201de4e2fa108f722a38894f41af7b5 100644 --- a/src/Collection/Iterator/Keyspace.php +++ b/src/Collection/Iterator/Keyspace.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Collection/Iterator/ListKey.php b/src/Collection/Iterator/ListKey.php index 2531826eebd378a7bedc2ae69544fa90a2e6e9a5..ca5a1414c1c9965a58b1e9d0ab86473121fc25e3 100644 --- a/src/Collection/Iterator/ListKey.php +++ b/src/Collection/Iterator/ListKey.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Collection/Iterator/SetKey.php b/src/Collection/Iterator/SetKey.php index e7821457a971c3566db5189413f2bbbd3fd79e48..80c40a5743d9848f0e2735ab832caae5141ce82f 100644 --- a/src/Collection/Iterator/SetKey.php +++ b/src/Collection/Iterator/SetKey.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Collection/Iterator/SortedSetKey.php b/src/Collection/Iterator/SortedSetKey.php index 49decef81c950456c6ae2793b576a8775e461a2e..ff52eb605fd2731d971ca8b309ffc2b229e6b559 100644 --- a/src/Collection/Iterator/SortedSetKey.php +++ b/src/Collection/Iterator/SortedSetKey.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/ArrayableArgument.php b/src/Command/Argument/ArrayableArgument.php index 061c4003f84bd751515518ddfb1872d3f756bdb4..a3cbfa69bb38402ea5ed3dd94548cdb90f388eac 100644 --- a/src/Command/Argument/ArrayableArgument.php +++ b/src/Command/Argument/ArrayableArgument.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Geospatial/AbstractBy.php b/src/Command/Argument/Geospatial/AbstractBy.php index c05b4a7ddadfc3ac2aacee0661bc793bff9aa7d6..ab15fa3b17111d96accdb41a3db4b76c919ec99b 100644 --- a/src/Command/Argument/Geospatial/AbstractBy.php +++ b/src/Command/Argument/Geospatial/AbstractBy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Geospatial/ByBox.php b/src/Command/Argument/Geospatial/ByBox.php index ddc9281adb077aec3bffe231131be0c64eef0660..3a730a984358e3d75552a5aee72bd3fa4c93c71d 100644 --- a/src/Command/Argument/Geospatial/ByBox.php +++ b/src/Command/Argument/Geospatial/ByBox.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Geospatial/ByInterface.php b/src/Command/Argument/Geospatial/ByInterface.php index f947da26913ca6c32f53b91c15603139044fa01b..e5d01f7831c6c060e5382d78a2cff5fe32b1cf5d 100644 --- a/src/Command/Argument/Geospatial/ByInterface.php +++ b/src/Command/Argument/Geospatial/ByInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Geospatial/ByRadius.php b/src/Command/Argument/Geospatial/ByRadius.php index 569068167224133c8a7a1155f7967f591edc1c47..2e0544e0bbe75c88a2aa5f61f18da0fe64030fea 100644 --- a/src/Command/Argument/Geospatial/ByRadius.php +++ b/src/Command/Argument/Geospatial/ByRadius.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Geospatial/FromInterface.php b/src/Command/Argument/Geospatial/FromInterface.php index 0a1d73f76baee3af605be9753557bed89980c4dc..a8efe5c38dc4de4961afda1eb00003a96277e597 100644 --- a/src/Command/Argument/Geospatial/FromInterface.php +++ b/src/Command/Argument/Geospatial/FromInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Geospatial/FromLonLat.php b/src/Command/Argument/Geospatial/FromLonLat.php index 72262aa072c0748f60505b6ac609e236147c2366..27c05db69a3277c2e9ecf3285804caab97d08783 100644 --- a/src/Command/Argument/Geospatial/FromLonLat.php +++ b/src/Command/Argument/Geospatial/FromLonLat.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Geospatial/FromMember.php b/src/Command/Argument/Geospatial/FromMember.php index da0587aecf8eed8ce89ee37fb481cb7939b95209..ba673bd86415ad8e365a829d5dc7bcaa9a8cb2ca 100644 --- a/src/Command/Argument/Geospatial/FromMember.php +++ b/src/Command/Argument/Geospatial/FromMember.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/AggregateArguments.php b/src/Command/Argument/Search/AggregateArguments.php index 38f78fc72133e0b0930f84a2e2090f84be6144dd..e720cd08f87df057845f289d8a5a86624bddae57 100644 --- a/src/Command/Argument/Search/AggregateArguments.php +++ b/src/Command/Argument/Search/AggregateArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/AlterArguments.php b/src/Command/Argument/Search/AlterArguments.php index 79359ac9e7ef02d089d80b4146d0bae38100f232..02acf92e4a22b0682b2d732fc7da85ca7b0f2875 100644 --- a/src/Command/Argument/Search/AlterArguments.php +++ b/src/Command/Argument/Search/AlterArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/CommonArguments.php b/src/Command/Argument/Search/CommonArguments.php index 72cf90da91756bd63248b59337f8679762cc63e5..3bb8f7386c4b1f19c70d87ab4c50a307e2ff8db8 100644 --- a/src/Command/Argument/Search/CommonArguments.php +++ b/src/Command/Argument/Search/CommonArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/CreateArguments.php b/src/Command/Argument/Search/CreateArguments.php index b5a41f51d4d5629aec4e8b649203aa644cfdc1cd..cf14cb3f1339e4e0a8f26db4b45973a0ade2c8c7 100644 --- a/src/Command/Argument/Search/CreateArguments.php +++ b/src/Command/Argument/Search/CreateArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/CursorArguments.php b/src/Command/Argument/Search/CursorArguments.php index 055013c8b72a897dae67b21e3499ba88dcb789b4..33abfaca15274077ead3fdc69d0e0185efe9d1cf 100644 --- a/src/Command/Argument/Search/CursorArguments.php +++ b/src/Command/Argument/Search/CursorArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/DropArguments.php b/src/Command/Argument/Search/DropArguments.php index 59e6614c09249d5fd279ab242344ff30420d1dbd..75d5baf006cb80549292f594b63330eb441f024d 100644 --- a/src/Command/Argument/Search/DropArguments.php +++ b/src/Command/Argument/Search/DropArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/ExplainArguments.php b/src/Command/Argument/Search/ExplainArguments.php index 0311448db3da2d257b617a61533be1d37d2fdf31..6e05bf9c8a794660bad477d6125c6ab43fdc10e2 100644 --- a/src/Command/Argument/Search/ExplainArguments.php +++ b/src/Command/Argument/Search/ExplainArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/ProfileArguments.php b/src/Command/Argument/Search/ProfileArguments.php index 9415e5eade920c55fa05e6ac30c8a2d65cdc181f..007c1390f416b2717e717c25191fae9ebecf4ce2 100644 --- a/src/Command/Argument/Search/ProfileArguments.php +++ b/src/Command/Argument/Search/ProfileArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SchemaFields/AbstractField.php b/src/Command/Argument/Search/SchemaFields/AbstractField.php index b5b1c4ba63ff5c0313a2cdb4c8976aa96c05472f..9916897e818cbfa7a57ae3dc87ae9429b6897021 100644 --- a/src/Command/Argument/Search/SchemaFields/AbstractField.php +++ b/src/Command/Argument/Search/SchemaFields/AbstractField.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SchemaFields/FieldInterface.php b/src/Command/Argument/Search/SchemaFields/FieldInterface.php index 0d12d0946302dd046a2eeda00fd6b7c6ffc55182..e5c159d4c3e07c9c2fdbd3cbb599dd44400227b5 100644 --- a/src/Command/Argument/Search/SchemaFields/FieldInterface.php +++ b/src/Command/Argument/Search/SchemaFields/FieldInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SchemaFields/GeoField.php b/src/Command/Argument/Search/SchemaFields/GeoField.php index b6012d848becf58fceebf08a44612b7d678526af..a454aa7a3a331e16bb64c5afa431a8893812f777 100644 --- a/src/Command/Argument/Search/SchemaFields/GeoField.php +++ b/src/Command/Argument/Search/SchemaFields/GeoField.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SchemaFields/GeoShapeField.php b/src/Command/Argument/Search/SchemaFields/GeoShapeField.php index cac5714c39aa3ddc05e0a41aa96840a923c7e720..86f1af24345ef0200870ceaaa2b4d34fe9ee0525 100644 --- a/src/Command/Argument/Search/SchemaFields/GeoShapeField.php +++ b/src/Command/Argument/Search/SchemaFields/GeoShapeField.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SchemaFields/NumericField.php b/src/Command/Argument/Search/SchemaFields/NumericField.php index 2aba8c02847abe35ccc6e00aaddda895add56866..03e38f373b40521c7958f6c46feb30318e35f272 100644 --- a/src/Command/Argument/Search/SchemaFields/NumericField.php +++ b/src/Command/Argument/Search/SchemaFields/NumericField.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SchemaFields/TagField.php b/src/Command/Argument/Search/SchemaFields/TagField.php index b2b86c088cc90f3fc0545d50257aae876e336b6f..d69d477888c1dc9e4fa98bc08ec574bd3e9f23f9 100644 --- a/src/Command/Argument/Search/SchemaFields/TagField.php +++ b/src/Command/Argument/Search/SchemaFields/TagField.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SchemaFields/TextField.php b/src/Command/Argument/Search/SchemaFields/TextField.php index f3213a9d7078389884a151b60b8abd316d474387..f85d18cbea0c340bd6046897bf996f2876d79aed 100644 --- a/src/Command/Argument/Search/SchemaFields/TextField.php +++ b/src/Command/Argument/Search/SchemaFields/TextField.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SchemaFields/VectorField.php b/src/Command/Argument/Search/SchemaFields/VectorField.php index 979a8de19df6143e27d7eded0d4c8fbeef179889..4317b586702cecf8fda560ee2d3b69bc6faf86f9 100644 --- a/src/Command/Argument/Search/SchemaFields/VectorField.php +++ b/src/Command/Argument/Search/SchemaFields/VectorField.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SearchArguments.php b/src/Command/Argument/Search/SearchArguments.php index 8d8cdafb37b172b5de9070bd0306949dee5b3401..8444e9db5e13ea5330c43d29b02acfc16c515ca2 100644 --- a/src/Command/Argument/Search/SearchArguments.php +++ b/src/Command/Argument/Search/SearchArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SpellcheckArguments.php b/src/Command/Argument/Search/SpellcheckArguments.php index 5b7c6e696dc69240b8bb5fc0bff9ad448714acbe..1eaf696d14f6949e4bdf3a4b5939d0b4094d6fde 100644 --- a/src/Command/Argument/Search/SpellcheckArguments.php +++ b/src/Command/Argument/Search/SpellcheckArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SugAddArguments.php b/src/Command/Argument/Search/SugAddArguments.php index c0fdb99ab5ed741c26bc05505996fb794490750f..f3590beaf8369fd25fcbe110194b30b98c59b6f0 100644 --- a/src/Command/Argument/Search/SugAddArguments.php +++ b/src/Command/Argument/Search/SugAddArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SugGetArguments.php b/src/Command/Argument/Search/SugGetArguments.php index 99a062b873648b2a5f71d5ef5a2908771012823d..8898a2e28ebd3a174fba85c19619fde3ac076374 100644 --- a/src/Command/Argument/Search/SugGetArguments.php +++ b/src/Command/Argument/Search/SugGetArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Search/SynUpdateArguments.php b/src/Command/Argument/Search/SynUpdateArguments.php index 0b8af767164e9eb0110e04374676aa414b322ec5..41aba1051134e4c3882e9e807f59850de2138684 100644 --- a/src/Command/Argument/Search/SynUpdateArguments.php +++ b/src/Command/Argument/Search/SynUpdateArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Server/LimitInterface.php b/src/Command/Argument/Server/LimitInterface.php index d12507f5a4919b14e4f3da3c6eb60f71e2213e5b..6991f234033f0b000712b5cd46e319b4f62d7b4a 100644 --- a/src/Command/Argument/Server/LimitInterface.php +++ b/src/Command/Argument/Server/LimitInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Server/LimitOffsetCount.php b/src/Command/Argument/Server/LimitOffsetCount.php index d31e468b014745c294677f47279b47e583eacd66..4f6866bc21d6372f9a13cbc568eed2abd4e3f197 100644 --- a/src/Command/Argument/Server/LimitOffsetCount.php +++ b/src/Command/Argument/Server/LimitOffsetCount.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/Server/To.php b/src/Command/Argument/Server/To.php index b8c4c47056b417e6fe8a18ebd67f83c58f1a2518..1bb9697d6cbc5c43758859dbfc4a94a706b7d08c 100644 --- a/src/Command/Argument/Server/To.php +++ b/src/Command/Argument/Server/To.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/AddArguments.php b/src/Command/Argument/TimeSeries/AddArguments.php index df4946d1e69b29f1bcd437bf428774756068915e..2d884272cea4518dbfd76a86992686add632321a 100644 --- a/src/Command/Argument/TimeSeries/AddArguments.php +++ b/src/Command/Argument/TimeSeries/AddArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/AlterArguments.php b/src/Command/Argument/TimeSeries/AlterArguments.php index 9106c4a5473384bab495ebf8437754390e4c1286..da75163c77c714c79d2e9dc09dcec0973e5c665c 100644 --- a/src/Command/Argument/TimeSeries/AlterArguments.php +++ b/src/Command/Argument/TimeSeries/AlterArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/CommonArguments.php b/src/Command/Argument/TimeSeries/CommonArguments.php index db4a35b6c098e62841a425c76e314aa2688456ac..47bfe88f4e62e47112872f4ee7da1d03daeef3a8 100644 --- a/src/Command/Argument/TimeSeries/CommonArguments.php +++ b/src/Command/Argument/TimeSeries/CommonArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/CreateArguments.php b/src/Command/Argument/TimeSeries/CreateArguments.php index b2ae5cc879f799ae9f20d783228c72e431908426..ad88ea143952df8f8de7b1222a8f8fc2dc2fb4b5 100644 --- a/src/Command/Argument/TimeSeries/CreateArguments.php +++ b/src/Command/Argument/TimeSeries/CreateArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/DecrByArguments.php b/src/Command/Argument/TimeSeries/DecrByArguments.php index 2f47b89843e6dd7e1c5ea5c880df8126edb535e9..17d065533610c24161416ee62e8d6c0178c064a0 100644 --- a/src/Command/Argument/TimeSeries/DecrByArguments.php +++ b/src/Command/Argument/TimeSeries/DecrByArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/GetArguments.php b/src/Command/Argument/TimeSeries/GetArguments.php index 6700d401919802abc82df99e56739697c4c21258..8d60adf204f1660d443a159dcde2c9d5584ebbab 100644 --- a/src/Command/Argument/TimeSeries/GetArguments.php +++ b/src/Command/Argument/TimeSeries/GetArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/IncrByArguments.php b/src/Command/Argument/TimeSeries/IncrByArguments.php index fca494defb63c62e0df254e5689dadd1906015d6..e6e12f79a299e3ee902c2afad14a86301e995f6f 100644 --- a/src/Command/Argument/TimeSeries/IncrByArguments.php +++ b/src/Command/Argument/TimeSeries/IncrByArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/InfoArguments.php b/src/Command/Argument/TimeSeries/InfoArguments.php index 86c4bd80f808c1590cb008e679af7084ccee9446..dc34329b2699489c0472fd6840d50700aa8dcf52 100644 --- a/src/Command/Argument/TimeSeries/InfoArguments.php +++ b/src/Command/Argument/TimeSeries/InfoArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/MGetArguments.php b/src/Command/Argument/TimeSeries/MGetArguments.php index d2b0dfcddc8caaa4e09a7a9296213b9f591b6e29..e2f275df1ea680175f890b05a87ec13bfe249bc6 100644 --- a/src/Command/Argument/TimeSeries/MGetArguments.php +++ b/src/Command/Argument/TimeSeries/MGetArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/MRangeArguments.php b/src/Command/Argument/TimeSeries/MRangeArguments.php index d15e2deb7710b5007c38926c3855f7f4fcd520f8..ddbc4e9de9f14a94e339b6d009987106ed1ad621 100644 --- a/src/Command/Argument/TimeSeries/MRangeArguments.php +++ b/src/Command/Argument/TimeSeries/MRangeArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Argument/TimeSeries/RangeArguments.php b/src/Command/Argument/TimeSeries/RangeArguments.php index 87f8808087359c090e1e7e6633a12dd91e4e1142..6828a7d4511a0de94ec80349f8e26f525c4db43d 100644 --- a/src/Command/Argument/TimeSeries/RangeArguments.php +++ b/src/Command/Argument/TimeSeries/RangeArguments.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Command.php b/src/Command/Command.php index cbcc8d649973dbabda85955cf7788e27b352fae9..31a52618ff0e7eb26beb84036ad81b08ce82a62f 100644 --- a/src/Command/Command.php +++ b/src/Command/Command.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/CommandInterface.php b/src/Command/CommandInterface.php index 22e7c76cdc39b683541db64727b73d8e2692d834..ca4c4b3fa863fdf96bc5928a683caad8d55ecaf2 100644 --- a/src/Command/CommandInterface.php +++ b/src/Command/CommandInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Factory.php b/src/Command/Factory.php index aff76397e7bbeff0f39b9e10e60b12e5327dd22a..3837689c5837675887db07ea9356ab983b446c8f 100644 --- a/src/Command/Factory.php +++ b/src/Command/Factory.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/FactoryInterface.php b/src/Command/FactoryInterface.php index 0cab5f6c575101188b55bfc2a10f3e470561ecb4..12c6abe24091cb7496c13a621a49f936887da124 100644 --- a/src/Command/FactoryInterface.php +++ b/src/Command/FactoryInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/PrefixableCommandInterface.php b/src/Command/PrefixableCommandInterface.php index 98b86cb09a09784f106d61401ac8be9861e02ab9..537f0b47fd613ecd5ba7f405f67aae987be5ddff 100644 --- a/src/Command/PrefixableCommandInterface.php +++ b/src/Command/PrefixableCommandInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Processor/KeyPrefixProcessor.php b/src/Command/Processor/KeyPrefixProcessor.php index aaaa5aa64345ddb83b973301753db416bd17c6b1..654b6be97e86221651b4b803a090f91a87fe1fd1 100644 --- a/src/Command/Processor/KeyPrefixProcessor.php +++ b/src/Command/Processor/KeyPrefixProcessor.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Processor/ProcessorChain.php b/src/Command/Processor/ProcessorChain.php index 6b7665c373623a0b2266584c08fac1d56ab84545..3f91e7b7ecf51bf4a3d111cdce026348389ee995 100644 --- a/src/Command/Processor/ProcessorChain.php +++ b/src/Command/Processor/ProcessorChain.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Processor/ProcessorInterface.php b/src/Command/Processor/ProcessorInterface.php index f711e060a0dafc25ad9afa412b056882634b4ee8..2c4bf92290232d4d1319be404dcac558da3c7304 100644 --- a/src/Command/Processor/ProcessorInterface.php +++ b/src/Command/Processor/ProcessorInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/RawCommand.php b/src/Command/RawCommand.php index 1f64418328fb072da904b6feac38fde8daf1efd3..a8374bd81576e6c6a1d8f7d6e9b13b5245101b9d 100644 --- a/src/Command/RawCommand.php +++ b/src/Command/RawCommand.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/RawFactory.php b/src/Command/RawFactory.php index fb01d8692e5914c334f2eef76b94bca45decc0c9..ddabe44e0112ea38d2ad231d3d34bc0cebd9f60e 100644 --- a/src/Command/RawFactory.php +++ b/src/Command/RawFactory.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ACL.php b/src/Command/Redis/ACL.php index 4cbf99d940baf1ef26db58a1e68e1249943e4ca8..94c70be25fe7e5ce798bbc78b92abb94b9da0ca2 100644 --- a/src/Command/Redis/ACL.php +++ b/src/Command/Redis/ACL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/APPEND.php b/src/Command/Redis/APPEND.php index fbf48c6a68b5b1b81d415580887b6a569999191f..b52afe0378d3026d525772b678efd2adaef628d3 100644 --- a/src/Command/Redis/APPEND.php +++ b/src/Command/Redis/APPEND.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/AUTH.php b/src/Command/Redis/AUTH.php index 86360d4c2b56f408c812f172fdab3a6eb29b1c7f..3757b3fb899bbca18e5c4296183f74d5de0afbe4 100644 --- a/src/Command/Redis/AUTH.php +++ b/src/Command/Redis/AUTH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/AbstractCommand/BZPOPBase.php b/src/Command/Redis/AbstractCommand/BZPOPBase.php index f29a9dde91f1b28c571de5a933f451f19a7686d4..af0f49830065e02dd6285f29e3468cb4e83b939b 100644 --- a/src/Command/Redis/AbstractCommand/BZPOPBase.php +++ b/src/Command/Redis/AbstractCommand/BZPOPBase.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BGREWRITEAOF.php b/src/Command/Redis/BGREWRITEAOF.php index b75af633a9b5c591cba12e0deb5b7f7a0cd187af..05312d42cf50f34ddacf6615c74f2cb2baa455ec 100644 --- a/src/Command/Redis/BGREWRITEAOF.php +++ b/src/Command/Redis/BGREWRITEAOF.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BGSAVE.php b/src/Command/Redis/BGSAVE.php index be6e61d44868180186c3a71eb8b93a3e3a2625e6..705387f6cc55438dd28ceff1354e0ecd40219c37 100644 --- a/src/Command/Redis/BGSAVE.php +++ b/src/Command/Redis/BGSAVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BITCOUNT.php b/src/Command/Redis/BITCOUNT.php index 66703855e540c19e4e803ad691512ad7383b9cd2..b2753c97a0c2cc8dd1b167acd5d51544d7091a44 100644 --- a/src/Command/Redis/BITCOUNT.php +++ b/src/Command/Redis/BITCOUNT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BITFIELD.php b/src/Command/Redis/BITFIELD.php index 79831fad480ac2ca41625d0e5a6a4fa6980224d3..5b8656ba9a4222ad1c3ff55f4cc98cce2acb0974 100644 --- a/src/Command/Redis/BITFIELD.php +++ b/src/Command/Redis/BITFIELD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BITFIELD_RO.php b/src/Command/Redis/BITFIELD_RO.php new file mode 100644 index 0000000000000000000000000000000000000000..ad74560a634849e746f30a3f3fe0cb316b731b36 --- /dev/null +++ b/src/Command/Redis/BITFIELD_RO.php @@ -0,0 +1,44 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis; + +use Predis\Command\Command as RedisCommand; + +class BITFIELD_RO extends RedisCommand +{ + /** + * @return string + */ + public function getId() + { + return 'BITFIELD_RO'; + } + + /** + * @param array $arguments + * @return void + */ + public function setArguments(array $arguments) + { + $processedArguments = [$arguments[0]]; + + if (array_key_exists(1, $arguments) && is_array($arguments[1])) { + // Convert encoding => offset, into GET, encoding, offset + array_walk($arguments[1], function ($value, $key) use (&$processedArguments) { + array_push($processedArguments, 'GET', $key, $value); + }); + } + + parent::setArguments($processedArguments); + } +} diff --git a/src/Command/Redis/BITOP.php b/src/Command/Redis/BITOP.php index 01a89e9f9e5bb4ef8d23de78fe3311ba7ca522ad..c1ee1b8b0ae57bc507ac15350f778f5ebfe375d0 100644 --- a/src/Command/Redis/BITOP.php +++ b/src/Command/Redis/BITOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BITPOS.php b/src/Command/Redis/BITPOS.php index 1be33aa25d14256db2fa733a28d6d5ea2eb7d9a9..9e452c912bbc64e4468215be34dbb5e06a8fb14c 100644 --- a/src/Command/Redis/BITPOS.php +++ b/src/Command/Redis/BITPOS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BLMOVE.php b/src/Command/Redis/BLMOVE.php index 21987787c70783ed1978d01273aea6474ec8f39f..08cbf64ee41634f68dc974eaecde6e97425639d7 100644 --- a/src/Command/Redis/BLMOVE.php +++ b/src/Command/Redis/BLMOVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BLMPOP.php b/src/Command/Redis/BLMPOP.php index 36973db49eb903783872c1e31c7c32f14d13cdba..a82568dc51a35b069ff94c5d534b0973e389d445 100644 --- a/src/Command/Redis/BLMPOP.php +++ b/src/Command/Redis/BLMPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BLPOP.php b/src/Command/Redis/BLPOP.php index fb1004eab3f5a682ad9db4f6e96d519a2257fe0f..86b0d3f7968fb48ab3716662fabfb4ade21fd28a 100644 --- a/src/Command/Redis/BLPOP.php +++ b/src/Command/Redis/BLPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BRPOP.php b/src/Command/Redis/BRPOP.php index 94fd70e1062e51e23ab0c005cba8d905222b4376..db8f9e976fb8a0f479332ea99e7c1cf5a6e30a15 100644 --- a/src/Command/Redis/BRPOP.php +++ b/src/Command/Redis/BRPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BRPOPLPUSH.php b/src/Command/Redis/BRPOPLPUSH.php index 80c3bb265ef12aee502fd3c4d1cfedc037b72c9e..c03f987cb0aa3a7a754066abd475458084103fc0 100644 --- a/src/Command/Redis/BRPOPLPUSH.php +++ b/src/Command/Redis/BRPOPLPUSH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BZMPOP.php b/src/Command/Redis/BZMPOP.php index 397d56fdd876a4d7afd00f99779c6108f802bff0..99e7abf855a6178818c4010ca47343f1ca6d18d9 100644 --- a/src/Command/Redis/BZMPOP.php +++ b/src/Command/Redis/BZMPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BZPOPMAX.php b/src/Command/Redis/BZPOPMAX.php index a182cce3f49e5eefe199f1dad5625fd4c0f39ce3..5fb6c824bfd572b2e4a5f52acb81ab1a0e3eed2d 100644 --- a/src/Command/Redis/BZPOPMAX.php +++ b/src/Command/Redis/BZPOPMAX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BZPOPMIN.php b/src/Command/Redis/BZPOPMIN.php index 3833bc7e07e208cfe4176dcbafa0903fc111b961..5b4cf26ed648f6e7ff9568841ab89237a710d7b7 100644 --- a/src/Command/Redis/BZPOPMIN.php +++ b/src/Command/Redis/BZPOPMIN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFADD.php b/src/Command/Redis/BloomFilter/BFADD.php index 810ebc303297ef93a6e276e5a85d2600dd74eb58..34e095d779bc6cf58fac1f8bdece38bf2f3e9a29 100644 --- a/src/Command/Redis/BloomFilter/BFADD.php +++ b/src/Command/Redis/BloomFilter/BFADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFEXISTS.php b/src/Command/Redis/BloomFilter/BFEXISTS.php index cad701e48eda3f4e1670c1cf6325e7f1d738f135..3d2ef6ecd7c5a023cbadb433d8db1ade15c60e00 100644 --- a/src/Command/Redis/BloomFilter/BFEXISTS.php +++ b/src/Command/Redis/BloomFilter/BFEXISTS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFINFO.php b/src/Command/Redis/BloomFilter/BFINFO.php index a42a78da0523245ab1af1488748660f74f5d0ba1..b0d53223628e927bc3aa70f0599fb235d147df3a 100644 --- a/src/Command/Redis/BloomFilter/BFINFO.php +++ b/src/Command/Redis/BloomFilter/BFINFO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFINSERT.php b/src/Command/Redis/BloomFilter/BFINSERT.php index 86099bd931d2a50f3a18996870093da3c503d2a4..0efcdccd473392b71999c81951b83d82c7871ce2 100644 --- a/src/Command/Redis/BloomFilter/BFINSERT.php +++ b/src/Command/Redis/BloomFilter/BFINSERT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFLOADCHUNK.php b/src/Command/Redis/BloomFilter/BFLOADCHUNK.php index 1ae6732c40a80676ddb351fcb2ba3de0d362112f..6c6b88a0097a968221f6c36101fee8015c74c454 100644 --- a/src/Command/Redis/BloomFilter/BFLOADCHUNK.php +++ b/src/Command/Redis/BloomFilter/BFLOADCHUNK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFMADD.php b/src/Command/Redis/BloomFilter/BFMADD.php index 8ce8b27ceabd0cd26d816c20daf021b2f87b0845..a77c9f5591ef5ce831b493e2198663d23e188953 100644 --- a/src/Command/Redis/BloomFilter/BFMADD.php +++ b/src/Command/Redis/BloomFilter/BFMADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFMEXISTS.php b/src/Command/Redis/BloomFilter/BFMEXISTS.php index 8eb06d4b98cb20cd3852b74e55e8ce11e870b5ec..53e000f85bb03715d71451cb253a885875246922 100644 --- a/src/Command/Redis/BloomFilter/BFMEXISTS.php +++ b/src/Command/Redis/BloomFilter/BFMEXISTS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFRESERVE.php b/src/Command/Redis/BloomFilter/BFRESERVE.php index 18df843ebf91c9e8f744a8a0b80b66f498b252e5..d2098c0a1fd9b1f3736c20c4027bb44533867590 100644 --- a/src/Command/Redis/BloomFilter/BFRESERVE.php +++ b/src/Command/Redis/BloomFilter/BFRESERVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/BloomFilter/BFSCANDUMP.php b/src/Command/Redis/BloomFilter/BFSCANDUMP.php index 96100b5890a027b18398391eba1402fb4d620d29..10206e8a81c108c7a288baa683dc44682a19578e 100644 --- a/src/Command/Redis/BloomFilter/BFSCANDUMP.php +++ b/src/Command/Redis/BloomFilter/BFSCANDUMP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CLIENT.php b/src/Command/Redis/CLIENT.php index 01349d0032204cb817250a75ce905ae2c3e8f8e6..9efc8ecf450837623b7c1300607fb927104f6a2f 100644 --- a/src/Command/Redis/CLIENT.php +++ b/src/Command/Redis/CLIENT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CLUSTER.php b/src/Command/Redis/CLUSTER.php index e0a5ffb294ede52e98f8a3e2ff7ff8d9d90199af..ad7c6b3f8777c29856159b9800cea919252cdf35 100644 --- a/src/Command/Redis/CLUSTER.php +++ b/src/Command/Redis/CLUSTER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/COMMAND.php b/src/Command/Redis/COMMAND.php index e114ee596ea7507835f0294ebd082b66e6121be4..8bcefade44d2929c96e1aa5688406db2b6ea50df 100644 --- a/src/Command/Redis/COMMAND.php +++ b/src/Command/Redis/COMMAND.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CONFIG.php b/src/Command/Redis/CONFIG.php index 4edbdf9f516fdc2935eb5abb8389efb4328dcf5d..327a48cc79e900d25b3ba45bcba1a81b7fc8e25a 100644 --- a/src/Command/Redis/CONFIG.php +++ b/src/Command/Redis/CONFIG.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/COPY.php b/src/Command/Redis/COPY.php index e3db4be38a5c622b2ee9fa90c5126f39c8ff4369..7d65d0b0f6598a2df0048eca0bf9b9e1d518b389 100644 --- a/src/Command/Redis/COPY.php +++ b/src/Command/Redis/COPY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Container/ACL.php b/src/Command/Redis/Container/ACL.php index a5982ffa8a3baf73613d15f69e3cc355692f9096..0d939a7c15399bee4f34a4b61b418a1691bde066 100644 --- a/src/Command/Redis/Container/ACL.php +++ b/src/Command/Redis/Container/ACL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -15,6 +15,7 @@ namespace Predis\Command\Redis\Container; use Predis\Response\Status; /** + * @method array cat(string $category = null) * @method Status dryRun(string $username, string $command, ...$arguments) * @method array getUser(string $username) * @method Status setUser(string $username, string ...$rules) diff --git a/src/Command/Redis/Container/AbstractContainer.php b/src/Command/Redis/Container/AbstractContainer.php index f963a7e948d2efccfccae9d09fdd69690b6cd557..e890e5b0d5ab4a4c06b5230093c5d6bad79da8fe 100644 --- a/src/Command/Redis/Container/AbstractContainer.php +++ b/src/Command/Redis/Container/AbstractContainer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Container/CLUSTER.php b/src/Command/Redis/Container/CLUSTER.php index bba5d0c8315d163806b26f2f9b8ff9d20d51a48e..05ca2d48810f5b39e72ad60fca7484dddff6ce29 100644 --- a/src/Command/Redis/Container/CLUSTER.php +++ b/src/Command/Redis/Container/CLUSTER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Container/ContainerFactory.php b/src/Command/Redis/Container/ContainerFactory.php index 820eacff6d0bc4731ffd3863d47edb83f2e0fce3..9397fc244dd136bf3517e9dd59c484bb467feba6 100644 --- a/src/Command/Redis/Container/ContainerFactory.php +++ b/src/Command/Redis/Container/ContainerFactory.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Container/ContainerInterface.php b/src/Command/Redis/Container/ContainerInterface.php index e69478a37ead7b6443ed89e1156b25c0f795d7cd..b999a8637460065b22a9c650574d9bd617cf7c5c 100644 --- a/src/Command/Redis/Container/ContainerInterface.php +++ b/src/Command/Redis/Container/ContainerInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Container/FunctionContainer.php b/src/Command/Redis/Container/FunctionContainer.php index da52c594723fa92e2f1b54c42fe65f9486134f14..5188e42636c05670b3a6a29c05d9226a3778079c 100644 --- a/src/Command/Redis/Container/FunctionContainer.php +++ b/src/Command/Redis/Container/FunctionContainer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Container/Json/JSONDEBUG.php b/src/Command/Redis/Container/Json/JSONDEBUG.php index 6c1755a401ceaf23a49d0ddde2730dfeb3e74aba..0aeb6bc0a7419253c14b969bed2a37b1ee6ae5b7 100644 --- a/src/Command/Redis/Container/Json/JSONDEBUG.php +++ b/src/Command/Redis/Container/Json/JSONDEBUG.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Container/Search/FTCONFIG.php b/src/Command/Redis/Container/Search/FTCONFIG.php index 6a05d20f09c059d228d8439b58eda89b59e15fe2..842ddf7e0b2e1b076054fd5abc628eea447ff176 100644 --- a/src/Command/Redis/Container/Search/FTCONFIG.php +++ b/src/Command/Redis/Container/Search/FTCONFIG.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Container/Search/FTCURSOR.php b/src/Command/Redis/Container/Search/FTCURSOR.php index 4def2734debab2aa2cfb7fe08605b1a86241e874..1b8792bf6bb5637bf2588b242f749735690eb218 100644 --- a/src/Command/Redis/Container/Search/FTCURSOR.php +++ b/src/Command/Redis/Container/Search/FTCURSOR.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CountMinSketch/CMSINCRBY.php b/src/Command/Redis/CountMinSketch/CMSINCRBY.php index 17f7a0bb6d2589ccb34a968342cded67e2779122..b7513f7d6ac6c0f5bf4c474b274fdbdc34bb7484 100644 --- a/src/Command/Redis/CountMinSketch/CMSINCRBY.php +++ b/src/Command/Redis/CountMinSketch/CMSINCRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CountMinSketch/CMSINFO.php b/src/Command/Redis/CountMinSketch/CMSINFO.php index 40f6f100369302cbfad930680cabdb7e4822bbc2..3dcad4b71bd71ce3060d07d2aa4671384e3b87db 100644 --- a/src/Command/Redis/CountMinSketch/CMSINFO.php +++ b/src/Command/Redis/CountMinSketch/CMSINFO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CountMinSketch/CMSINITBYDIM.php b/src/Command/Redis/CountMinSketch/CMSINITBYDIM.php index 1922d40dae79fe404efaa81113525e561ec80934..f136e9fda6cb28aef8a01cd15ff9c75b43dc267d 100644 --- a/src/Command/Redis/CountMinSketch/CMSINITBYDIM.php +++ b/src/Command/Redis/CountMinSketch/CMSINITBYDIM.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CountMinSketch/CMSINITBYPROB.php b/src/Command/Redis/CountMinSketch/CMSINITBYPROB.php index 2f81d6dbdb0dcd280c288e61b981b14769d2639c..0a6ec3a2169992ef13a2a121b0265c5c5aa23d9f 100644 --- a/src/Command/Redis/CountMinSketch/CMSINITBYPROB.php +++ b/src/Command/Redis/CountMinSketch/CMSINITBYPROB.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CountMinSketch/CMSMERGE.php b/src/Command/Redis/CountMinSketch/CMSMERGE.php index 1b0d12a0ff048fb335e63e89276845a545316ede..b2942a6889504bdee059269908b422cc752553c5 100644 --- a/src/Command/Redis/CountMinSketch/CMSMERGE.php +++ b/src/Command/Redis/CountMinSketch/CMSMERGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CountMinSketch/CMSQUERY.php b/src/Command/Redis/CountMinSketch/CMSQUERY.php index 14dfdad00a8f6ae7d8b9356d8805ea653e786f13..f4bdcbe760a17adf866a92b079ac156c1057e246 100644 --- a/src/Command/Redis/CountMinSketch/CMSQUERY.php +++ b/src/Command/Redis/CountMinSketch/CMSQUERY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFADD.php b/src/Command/Redis/CuckooFilter/CFADD.php index 63cbc7aefa97136be8a49e653b7c1780a1d41c01..deba1c27456fc888ef952d9ff99fc63e619d872f 100644 --- a/src/Command/Redis/CuckooFilter/CFADD.php +++ b/src/Command/Redis/CuckooFilter/CFADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFADDNX.php b/src/Command/Redis/CuckooFilter/CFADDNX.php index 482dd14d02b655a49a094dcb7020ff50b5065099..f395de6cb0adae369bcbdc9436ada5999e58b90a 100644 --- a/src/Command/Redis/CuckooFilter/CFADDNX.php +++ b/src/Command/Redis/CuckooFilter/CFADDNX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFCOUNT.php b/src/Command/Redis/CuckooFilter/CFCOUNT.php index 6f702c4d6851b4404891e05074530990d3efbf56..0ff664b86fd3a11cc1b2caf38dce093b60db631f 100644 --- a/src/Command/Redis/CuckooFilter/CFCOUNT.php +++ b/src/Command/Redis/CuckooFilter/CFCOUNT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFDEL.php b/src/Command/Redis/CuckooFilter/CFDEL.php index 3efa9b9461e75f57aa353200b9ba5fb74287f182..39db921e3ecb4637a8b9ee5aa5171829d66bd951 100644 --- a/src/Command/Redis/CuckooFilter/CFDEL.php +++ b/src/Command/Redis/CuckooFilter/CFDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFEXISTS.php b/src/Command/Redis/CuckooFilter/CFEXISTS.php index 79741b406f6eca8e9110559fb37a47c2919cb32f..9ea7f424b8e521b10f8c1a1d277ade54638223a1 100644 --- a/src/Command/Redis/CuckooFilter/CFEXISTS.php +++ b/src/Command/Redis/CuckooFilter/CFEXISTS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFINFO.php b/src/Command/Redis/CuckooFilter/CFINFO.php index bf142095061c22b07f4e424dc91e8e9615a520f3..7a2bcd96186f54e8ae4c0c8d77fd8986daef0a6d 100644 --- a/src/Command/Redis/CuckooFilter/CFINFO.php +++ b/src/Command/Redis/CuckooFilter/CFINFO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFINSERT.php b/src/Command/Redis/CuckooFilter/CFINSERT.php index dfdfcc3ad301ba9265ea4be4837df6e200e73c06..009dfc40d4bcbc095a5398af457d3db4a598ef8f 100644 --- a/src/Command/Redis/CuckooFilter/CFINSERT.php +++ b/src/Command/Redis/CuckooFilter/CFINSERT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFINSERTNX.php b/src/Command/Redis/CuckooFilter/CFINSERTNX.php index afee07a1679883744c4518b1127ecb913a83b196..dac2a6f0be910e9757ff22b50900b3b927ebd6a5 100644 --- a/src/Command/Redis/CuckooFilter/CFINSERTNX.php +++ b/src/Command/Redis/CuckooFilter/CFINSERTNX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFLOADCHUNK.php b/src/Command/Redis/CuckooFilter/CFLOADCHUNK.php index 8b746a5d03898d100690d5e7d9e9009e49f565da..b7027815675580bee8249f07bc78ad5cfb6cf3c1 100644 --- a/src/Command/Redis/CuckooFilter/CFLOADCHUNK.php +++ b/src/Command/Redis/CuckooFilter/CFLOADCHUNK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFMEXISTS.php b/src/Command/Redis/CuckooFilter/CFMEXISTS.php index b0a31a67b6ad4e7b98559426b8260236be661540..cd60129d33859c051de23bd7c53d7c7fdb6c7aa2 100644 --- a/src/Command/Redis/CuckooFilter/CFMEXISTS.php +++ b/src/Command/Redis/CuckooFilter/CFMEXISTS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFRESERVE.php b/src/Command/Redis/CuckooFilter/CFRESERVE.php index 5d0cb86fa05ca5d70a48562bd03dc0d183cb0d7c..9b606eb70b058e87ae36a08f957231fea85a49d0 100644 --- a/src/Command/Redis/CuckooFilter/CFRESERVE.php +++ b/src/Command/Redis/CuckooFilter/CFRESERVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/CuckooFilter/CFSCANDUMP.php b/src/Command/Redis/CuckooFilter/CFSCANDUMP.php index 3045f6ca236db34ea104af93a8c4367dfe4aa38b..cb98deb5b7c819209dd4ff465663acfa1d078546 100644 --- a/src/Command/Redis/CuckooFilter/CFSCANDUMP.php +++ b/src/Command/Redis/CuckooFilter/CFSCANDUMP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/DBSIZE.php b/src/Command/Redis/DBSIZE.php index a1d14ac2030c339d648faca3f80daf77072476aa..403a381f1f3e2e6f1b255acb758f91db08082be2 100644 --- a/src/Command/Redis/DBSIZE.php +++ b/src/Command/Redis/DBSIZE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/DECR.php b/src/Command/Redis/DECR.php index 41be96224def4072e6a3df0788c58bd3ed4ebcf4..2e7b8a96ccca80d9a9aa184c50ccfe9e49615be3 100644 --- a/src/Command/Redis/DECR.php +++ b/src/Command/Redis/DECR.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/DECRBY.php b/src/Command/Redis/DECRBY.php index 130105e4bac486b3576c2d8387e7259ea16ad1aa..0503c11149e1a9b3f7c9c5fd9d00c4422a969f8d 100644 --- a/src/Command/Redis/DECRBY.php +++ b/src/Command/Redis/DECRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/DEL.php b/src/Command/Redis/DEL.php index 6981761c513908c7bbdcebc6ca2ae675eca29eeb..ffb13141f8a7239c9be7a0929885cb2f44bcb762 100644 --- a/src/Command/Redis/DEL.php +++ b/src/Command/Redis/DEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/DISCARD.php b/src/Command/Redis/DISCARD.php index 5b4046b539d728269b548a74d013821e76faf712..3a783b36518767a651e1ceee72580a4de88239d2 100644 --- a/src/Command/Redis/DISCARD.php +++ b/src/Command/Redis/DISCARD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/DUMP.php b/src/Command/Redis/DUMP.php index 495fed19aa3cf9332a9e337ba9c1528511d951fc..ad713e7cd92a19b760ba6857a97ce61db46a4f2a 100644 --- a/src/Command/Redis/DUMP.php +++ b/src/Command/Redis/DUMP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ECHO_.php b/src/Command/Redis/ECHO_.php index 278c887d4b38845b033e1600928cad7ffb9f422b..4f2eb20aa8d60ebb328bd18f598e1a59992356ea 100644 --- a/src/Command/Redis/ECHO_.php +++ b/src/Command/Redis/ECHO_.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EVALSHA.php b/src/Command/Redis/EVALSHA.php index 7f765ed421f952fc0130e554542a642ca395ea12..64fbb179bad565bbb2fe746317b385e5f0a6c61e 100644 --- a/src/Command/Redis/EVALSHA.php +++ b/src/Command/Redis/EVALSHA.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EVALSHA_RO.php b/src/Command/Redis/EVALSHA_RO.php index cd0009f026780dcbe74d677041dcc95910b0f89d..5d9a9658fef68e197a6893956caec14ec468e7e9 100644 --- a/src/Command/Redis/EVALSHA_RO.php +++ b/src/Command/Redis/EVALSHA_RO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EVAL_.php b/src/Command/Redis/EVAL_.php index 826d3547a0321bcb8371e0f4b0c186b9d9f91f29..8967c03f27bf8231e859e3cd97bd2cabb2fa771a 100644 --- a/src/Command/Redis/EVAL_.php +++ b/src/Command/Redis/EVAL_.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EVAL_RO.php b/src/Command/Redis/EVAL_RO.php index 081607b527af18b8d4375d64824e74b0c99f5836..c8b9830958df328ded3943b37e2de466c39bd265 100644 --- a/src/Command/Redis/EVAL_RO.php +++ b/src/Command/Redis/EVAL_RO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EXEC.php b/src/Command/Redis/EXEC.php index bac4c6b2770d4a165cbbbdea177876c5b2140198..bde7227d0064da924fd8e3b40b0c99ac486c7792 100644 --- a/src/Command/Redis/EXEC.php +++ b/src/Command/Redis/EXEC.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EXISTS.php b/src/Command/Redis/EXISTS.php index 6fe8278b50680e6028bfce7104a88949910a16f0..7af6e69f77477fb77c03652d0c39062826bcddbe 100644 --- a/src/Command/Redis/EXISTS.php +++ b/src/Command/Redis/EXISTS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EXPIRE.php b/src/Command/Redis/EXPIRE.php index 0dd2ff9d02b81235b0fe859a094908d5f23894e9..ff6b7a9e161653171c5e8c00ca90c87051db56a5 100644 --- a/src/Command/Redis/EXPIRE.php +++ b/src/Command/Redis/EXPIRE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EXPIREAT.php b/src/Command/Redis/EXPIREAT.php index b3f045730f7bcd3e292f0c36b61e12cbdce244c7..fa69ecafb2e9cde009dec88bba5ac04ba4747f46 100644 --- a/src/Command/Redis/EXPIREAT.php +++ b/src/Command/Redis/EXPIREAT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/EXPIRETIME.php b/src/Command/Redis/EXPIRETIME.php index 28aa47056c80ff841bdfc82dbdf19ead1412d391..6e3cb1253846ed0c22815c1ad5f817b5d697d0d2 100644 --- a/src/Command/Redis/EXPIRETIME.php +++ b/src/Command/Redis/EXPIRETIME.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/FAILOVER.php b/src/Command/Redis/FAILOVER.php index a2942e0cb69e632fac6d22acabdd906b85972ad5..f8a82734c0c2df968cc5541b5a5d2ee7e18f053b 100644 --- a/src/Command/Redis/FAILOVER.php +++ b/src/Command/Redis/FAILOVER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/FCALL.php b/src/Command/Redis/FCALL.php index 95da15225e3b07828861ea7fafe8869a0ee0bfaf..f52c240882574786bd24f388e796261f76f6165b 100644 --- a/src/Command/Redis/FCALL.php +++ b/src/Command/Redis/FCALL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/FCALL_RO.php b/src/Command/Redis/FCALL_RO.php index 2037ddde68a45779673a7828e484241a842cf36c..8c4fe30aeccd74e5caaf4fcb22e3cd2d614f8df9 100644 --- a/src/Command/Redis/FCALL_RO.php +++ b/src/Command/Redis/FCALL_RO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/FLUSHALL.php b/src/Command/Redis/FLUSHALL.php index b9e8b5bb6b1099268adffc4055040290eb452b9e..b7402b03f13ad0c0e07891fc17f2ad9488018c27 100644 --- a/src/Command/Redis/FLUSHALL.php +++ b/src/Command/Redis/FLUSHALL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/FLUSHDB.php b/src/Command/Redis/FLUSHDB.php index e2d75f1a851eb85d6cb744afe83c9b89f30381e9..06c6b1dff70394f4dfcabf5b9a63e2efbfd230ed 100644 --- a/src/Command/Redis/FLUSHDB.php +++ b/src/Command/Redis/FLUSHDB.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/FUNCTIONS.php b/src/Command/Redis/FUNCTIONS.php index a4449f0f6bc03c88f0fba2f98c6ae86a3429a545..da54af565b12ce0c983163f186ff263efcc44750 100644 --- a/src/Command/Redis/FUNCTIONS.php +++ b/src/Command/Redis/FUNCTIONS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GEOADD.php b/src/Command/Redis/GEOADD.php index a124b9011b7218e98463e9a418766f636d39d54e..a092d278c3c8eab4c752e3c611c18863f69daa0c 100644 --- a/src/Command/Redis/GEOADD.php +++ b/src/Command/Redis/GEOADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GEODIST.php b/src/Command/Redis/GEODIST.php index 43afb61a026c609bdc43bf1c56cb8abea05f6f5e..bee2271e39495fe61f98ad637e15f442b0166506 100644 --- a/src/Command/Redis/GEODIST.php +++ b/src/Command/Redis/GEODIST.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GEOHASH.php b/src/Command/Redis/GEOHASH.php index 75f90617ed5900c7e5a1c66f14570d4c8fd5f477..ea1e109816b3f23dc708c7f7e73dbf2937402532 100644 --- a/src/Command/Redis/GEOHASH.php +++ b/src/Command/Redis/GEOHASH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GEOPOS.php b/src/Command/Redis/GEOPOS.php index dd8cf7af98b7c9f424cbcea173344f139cb458ad..b3f79b5f70f262d3f5a416e888eed56a4352abc7 100644 --- a/src/Command/Redis/GEOPOS.php +++ b/src/Command/Redis/GEOPOS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GEORADIUS.php b/src/Command/Redis/GEORADIUS.php index 8c5822962cdaa6a48bfa008430c48374bf5e74e4..a9463333ded6b0dca4531942e295b21bfe8acbff 100644 --- a/src/Command/Redis/GEORADIUS.php +++ b/src/Command/Redis/GEORADIUS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GEORADIUSBYMEMBER.php b/src/Command/Redis/GEORADIUSBYMEMBER.php index 84f1f577f12aabc42ee296173fde34c4145d423b..1d74b6992da295fc629039715bcb171a30f426ca 100644 --- a/src/Command/Redis/GEORADIUSBYMEMBER.php +++ b/src/Command/Redis/GEORADIUSBYMEMBER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GEOSEARCH.php b/src/Command/Redis/GEOSEARCH.php index 650226ef30298f5ac5b82384e3e4d24ccdaec643..89529f6624dd0a174593d86a9bde45f193c49f15 100644 --- a/src/Command/Redis/GEOSEARCH.php +++ b/src/Command/Redis/GEOSEARCH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GEOSEARCHSTORE.php b/src/Command/Redis/GEOSEARCHSTORE.php index 5d30eda7a6981315ce387cf0b715397c787d0a5c..9bde38d8201c3818e21a60c01c29306bd0785fbf 100644 --- a/src/Command/Redis/GEOSEARCHSTORE.php +++ b/src/Command/Redis/GEOSEARCHSTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GET.php b/src/Command/Redis/GET.php index 537a8fb845c94ceb0ecb31bf27e9ee175197903b..d57f343798380dea0e8aa434f950a5d4b5430454 100644 --- a/src/Command/Redis/GET.php +++ b/src/Command/Redis/GET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GETBIT.php b/src/Command/Redis/GETBIT.php index 34b3973939da7ef699d916e2bfde1b25a7f7274a..0293b23c87cfaea89f9a52c1e5d215a22b84f8f7 100644 --- a/src/Command/Redis/GETBIT.php +++ b/src/Command/Redis/GETBIT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GETDEL.php b/src/Command/Redis/GETDEL.php index 12ca53cd32ca3ca7e14d21f64a902ee2931d2743..283ba1b3eda5aaf2c7f4d0686d6208e6c3039d36 100644 --- a/src/Command/Redis/GETDEL.php +++ b/src/Command/Redis/GETDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GETEX.php b/src/Command/Redis/GETEX.php index 50fb9800f1d11630e83b63e71b9d50c9c71ef959..91548fd8a366de0d42af42240a9a418dd2784588 100644 --- a/src/Command/Redis/GETEX.php +++ b/src/Command/Redis/GETEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GETRANGE.php b/src/Command/Redis/GETRANGE.php index f590ca302bf62f0baf9b63644d3ae503a1ed9905..65e493a1708c3e3a6ab214a1edaa090344361638 100644 --- a/src/Command/Redis/GETRANGE.php +++ b/src/Command/Redis/GETRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/GETSET.php b/src/Command/Redis/GETSET.php index a0ef82511b1a17972b904cfb400f3ff127d4b1c5..dffd94954ef851a1d10af9d05308da700a6a3592 100644 --- a/src/Command/Redis/GETSET.php +++ b/src/Command/Redis/GETSET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HDEL.php b/src/Command/Redis/HDEL.php index def4f488e7ba64e39563cf50516de306c881b867..b44dc51ec3c1a09af3cb85f137acabfaa76dc910 100644 --- a/src/Command/Redis/HDEL.php +++ b/src/Command/Redis/HDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HEXISTS.php b/src/Command/Redis/HEXISTS.php index eaebf1e2f00e6b43a2d9d2e107ba21da7fbd36d8..b54b9415525e980ce952becf1066fcfed3398809 100644 --- a/src/Command/Redis/HEXISTS.php +++ b/src/Command/Redis/HEXISTS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HEXPIRE.php b/src/Command/Redis/HEXPIRE.php index 88d209fe1d549b84911e8c4ad35de520a3f6d95a..788c571e2aeab4fec5e73e212b028c441602171e 100644 --- a/src/Command/Redis/HEXPIRE.php +++ b/src/Command/Redis/HEXPIRE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HEXPIREAT.php b/src/Command/Redis/HEXPIREAT.php index 5fc7a2a996c92b136e7e16f87d69a29cb036ba4f..669834cf16812f56ed1ebc12adb9202ba110e305 100644 --- a/src/Command/Redis/HEXPIREAT.php +++ b/src/Command/Redis/HEXPIREAT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HEXPIRETIME.php b/src/Command/Redis/HEXPIRETIME.php index 2db9ca94e5be67b3bc6fed2b18979cd63489b088..fc6d4c4eb43c8f1cb4b71d5bd839d9df5ffb7eae 100644 --- a/src/Command/Redis/HEXPIRETIME.php +++ b/src/Command/Redis/HEXPIRETIME.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HGET.php b/src/Command/Redis/HGET.php index 113d72058da0fecd2c38732398c765ba9139f2b1..b8ae19102065d27b5597960e6ed1393fdba846b8 100644 --- a/src/Command/Redis/HGET.php +++ b/src/Command/Redis/HGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HGETALL.php b/src/Command/Redis/HGETALL.php index 13392f2e75bef2e01be7f98b8f0c943db7ae0e5c..ca269c5fd3eabe4851012995414fb9408b9fa347 100644 --- a/src/Command/Redis/HGETALL.php +++ b/src/Command/Redis/HGETALL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HGETDEL.php b/src/Command/Redis/HGETDEL.php new file mode 100644 index 0000000000000000000000000000000000000000..b1518efa847d4e2b6153e23904b1935b52682082 --- /dev/null +++ b/src/Command/Redis/HGETDEL.php @@ -0,0 +1,35 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis; + +use Predis\Command\Command as RedisCommand; + +class HGETDEL extends RedisCommand +{ + public function getId() + { + return 'HGETDEL'; + } + + /** + * @param array $arguments + * @return void + */ + public function setArguments(array $arguments) + { + $processedArguments = [$arguments[0], 'FIELDS', count($arguments[1])]; + $processedArguments = array_merge($processedArguments, $arguments[1]); + + parent::setArguments($processedArguments); + } +} diff --git a/src/Command/Redis/HGETEX.php b/src/Command/Redis/HGETEX.php new file mode 100644 index 0000000000000000000000000000000000000000..c3788532a31fc8a31a9260210c2b04dcece838fe --- /dev/null +++ b/src/Command/Redis/HGETEX.php @@ -0,0 +1,81 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis; + +use Predis\Command\Command as RedisCommand; +use UnexpectedValueException; + +class HGETEX extends RedisCommand +{ + public const NULL = ''; + public const EX = 'ex'; + public const PX = 'px'; + public const EXAT = 'exat'; + public const PXAT = 'pxat'; + public const PERSIST = 'persist'; + + /** + * @var string[] + */ + private static $modifierEnum = [ + self::EX => 'EX', + self::PX => 'PX', + self::EXAT => 'EXAT', + self::PXAT => 'PXAT', + self::PERSIST => 'PERSIST', + ]; + + public function getId() + { + return 'HGETEX'; + } + + public function setArguments(array $arguments) + { + $processedArguments = [$arguments[0]]; + + // Only required arguments + if (!array_key_exists(2, $arguments) || $arguments[2] == '') { + array_push($processedArguments, 'FIELDS', count($arguments[1])); + $processedArguments = array_merge($processedArguments, $arguments[1]); + parent::setArguments($processedArguments); + + return; + } + + if (!in_array(strtoupper($arguments[2]), self::$modifierEnum)) { + $enumValues = implode(', ', array_keys(self::$modifierEnum)); + throw new UnexpectedValueException("Modifier argument accepts only: {$enumValues} values"); + } + + // PERSIST requires no additional value + if (strtoupper($arguments[2]) === self::$modifierEnum['persist']) { + $processedArguments[] = self::$modifierEnum['persist']; + array_push($processedArguments, 'FIELDS', count($arguments[1])); + $processedArguments = array_merge($processedArguments, $arguments[1]); + parent::setArguments($processedArguments); + + return; + } + + if (!array_key_exists(3, $arguments) || !is_int($arguments[3])) { + throw new UnexpectedValueException('Modifier value is missing or incorrect type'); + } + + // Order matters so FIELDS should be at the end + array_push($processedArguments, self::$modifierEnum[strtolower($arguments[2])], $arguments[3], 'FIELDS', count($arguments[1])); + $processedArguments = array_merge($processedArguments, $arguments[1]); + + parent::setArguments($processedArguments); + } +} diff --git a/src/Command/Redis/HINCRBY.php b/src/Command/Redis/HINCRBY.php index 8eefc41bc33796fd8de155c77bec09fdaea07478..63a63f403d52c22eacc42874423b507a01e7c3b1 100644 --- a/src/Command/Redis/HINCRBY.php +++ b/src/Command/Redis/HINCRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HINCRBYFLOAT.php b/src/Command/Redis/HINCRBYFLOAT.php index f44d9c4a9b896e34fa9be775f5ee1e0a710acaad..172c547160d73e2f502498a6ed1a9e48b7ea6b66 100644 --- a/src/Command/Redis/HINCRBYFLOAT.php +++ b/src/Command/Redis/HINCRBYFLOAT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HKEYS.php b/src/Command/Redis/HKEYS.php index e1c4864171137fa40fae380d12debe6bf2d683cb..cf6ed7283b26bddf5d3ce81486bc848feb67febc 100644 --- a/src/Command/Redis/HKEYS.php +++ b/src/Command/Redis/HKEYS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HLEN.php b/src/Command/Redis/HLEN.php index 62e44dbc839d848a06601535351c095b32c04309..a90c80e9581c243abb602e7ed593bfdc15d9fb87 100644 --- a/src/Command/Redis/HLEN.php +++ b/src/Command/Redis/HLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HMGET.php b/src/Command/Redis/HMGET.php index 0eb334580e5ca2679845d8c92ddb09d27f3462e2..80fa7a7cd630be7b985a74be1b6de08e3dc1e286 100644 --- a/src/Command/Redis/HMGET.php +++ b/src/Command/Redis/HMGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HMSET.php b/src/Command/Redis/HMSET.php index 95bf656e0e32336802ccbbfe2b1ce8dd63a0f8e8..43b6d92dd003cf86fe5d06d7802a0f613e4ef752 100644 --- a/src/Command/Redis/HMSET.php +++ b/src/Command/Redis/HMSET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HPERSIST.php b/src/Command/Redis/HPERSIST.php index dae45acd2064d3a26e60db6a9a78922590a642f0..6340d97fb2e2d9f67ed91974c4bf24a42cdb8bfc 100644 --- a/src/Command/Redis/HPERSIST.php +++ b/src/Command/Redis/HPERSIST.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HPEXPIRE.php b/src/Command/Redis/HPEXPIRE.php index 46a1ef2a2d86aa31b868158267cf13f7cd3d3aa4..504c533e930dc9f569a852e375e9681c9ca8737a 100644 --- a/src/Command/Redis/HPEXPIRE.php +++ b/src/Command/Redis/HPEXPIRE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HPEXPIREAT.php b/src/Command/Redis/HPEXPIREAT.php index 8770c523166ac36c4aa4eb1775352df6326888b6..194c17a78f77615c0596825f92673586b37306fb 100644 --- a/src/Command/Redis/HPEXPIREAT.php +++ b/src/Command/Redis/HPEXPIREAT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HPEXPIRETIME.php b/src/Command/Redis/HPEXPIRETIME.php index d7a22dff0060e5512fccbc2687ac8333f349d3cf..4c13912359538aa0429b1730f73d31cf6744b7d9 100644 --- a/src/Command/Redis/HPEXPIRETIME.php +++ b/src/Command/Redis/HPEXPIRETIME.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HPTTL.php b/src/Command/Redis/HPTTL.php index 4709f2c2de18f4bbc9236d0c4f9667f56f1712ac..799046716e35be27e2614717167d6af5185eafb9 100644 --- a/src/Command/Redis/HPTTL.php +++ b/src/Command/Redis/HPTTL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HRANDFIELD.php b/src/Command/Redis/HRANDFIELD.php index 9f49542d551b491ecd7da21986175ca76937594b..fd8cfa03aababe3f102764b601b22f8f25224830 100644 --- a/src/Command/Redis/HRANDFIELD.php +++ b/src/Command/Redis/HRANDFIELD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HSCAN.php b/src/Command/Redis/HSCAN.php index 65e959fdd797b8031dbbc8c8b0bdc2849745b60a..78d4054dea6a0ff9b38bab23bc4e9c0337215e9c 100644 --- a/src/Command/Redis/HSCAN.php +++ b/src/Command/Redis/HSCAN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HSET.php b/src/Command/Redis/HSET.php index 00a949c598545b934b98f5ac406fb81a6aa2577b..091974277950b089178e71fb60d73b53b3e7c3ad 100644 --- a/src/Command/Redis/HSET.php +++ b/src/Command/Redis/HSET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HSETEX.php b/src/Command/Redis/HSETEX.php new file mode 100644 index 0000000000000000000000000000000000000000..fdf6a69047050c98ae9c7bef686d0279678120bc --- /dev/null +++ b/src/Command/Redis/HSETEX.php @@ -0,0 +1,117 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis; + +use Predis\Command\Command as RedisCommand; +use UnexpectedValueException; + +class HSETEX extends RedisCommand +{ + public const TTL_NULL = ''; + public const TTL_EX = 'ex'; + public const TTL_PX = 'px'; + public const TTL_EXAT = 'exat'; + public const TTL_PXAT = 'pxat'; + public const TTL_KEEP_TTL = 'keepttl'; + + public const SET_NULL = ''; + public const SET_FNX = 'fnx'; + public const SET_FXX = 'fxx'; + + /** + * @var string[] + */ + private static $ttlModifierEnum = [ + self::TTL_EX => 'EX', + self::TTL_PX => 'PX', + self::TTL_EXAT => 'EXAT', + self::TTL_PXAT => 'PXAT', + self::TTL_KEEP_TTL => 'KEEPTTL', + ]; + + /** + * @var string[] + */ + private static $setModifierEnum = [ + self::SET_FNX => 'FNX', + self::SET_FXX => 'FXX', + ]; + + public function getId() + { + return 'HSETEX'; + } + + public function setArguments(array $arguments) + { + $processedArguments = [$arguments[0]]; + $flatArray = []; + + // Convert key => value, into key, value + array_walk($arguments[1], function ($value, $key) use (&$flatArray) { + array_push($flatArray, $key, $value); + }); + + // Only required arguments + if (!array_key_exists(2, $arguments)) { + array_push($processedArguments, 'FIELDS', count($flatArray) / 2); + $processedArguments = array_merge($processedArguments, $flatArray); + parent::setArguments($processedArguments); + + return; + } + + if ($arguments[2] !== '') { + if (!in_array(strtoupper($arguments[2]), self::$setModifierEnum)) { + $enumValues = implode(', ', array_keys(self::$setModifierEnum)); + throw new UnexpectedValueException("Modifier argument accepts only: {$enumValues} values"); + } + + $processedArguments[] = self::$setModifierEnum[strtolower($arguments[2])]; + } + + // Required + set modifier + if (!array_key_exists(3, $arguments) || $arguments[3] == '') { + array_push($processedArguments, 'FIELDS', count($flatArray) / 2); + $processedArguments = array_merge($processedArguments, $flatArray); + parent::setArguments($processedArguments); + + return; + } + + if (!in_array(strtoupper($arguments[3]), self::$ttlModifierEnum)) { + $enumValues = implode(', ', array_keys(self::$ttlModifierEnum)); + throw new UnexpectedValueException("Modifier argument accepts only: {$enumValues} values"); + } + + // KEEPTTL requires no additional value + if (strtoupper($arguments[3]) === self::$ttlModifierEnum[self::TTL_KEEP_TTL]) { + $processedArguments[] = self::$ttlModifierEnum[self::TTL_KEEP_TTL]; + array_push($processedArguments, 'FIELDS', count($flatArray) / 2); + $processedArguments = array_merge($processedArguments, $flatArray); + parent::setArguments($processedArguments); + + return; + } + + if (!array_key_exists(4, $arguments) || !is_int($arguments[4])) { + throw new UnexpectedValueException('Modifier value is missing or incorrect type'); + } + + // Order matters so FIELDS should be at the end + array_push($processedArguments, self::$ttlModifierEnum[strtolower($arguments[3])], $arguments[4], 'FIELDS', count($flatArray) / 2); + $processedArguments = array_merge($processedArguments, $flatArray); + + parent::setArguments($processedArguments); + } +} diff --git a/src/Command/Redis/HSETNX.php b/src/Command/Redis/HSETNX.php index 6704dd660634944af3056bcd8a96d017b8d34d4a..0326202d990ebfb4674cf8e3213e4ac8d19f3fef 100644 --- a/src/Command/Redis/HSETNX.php +++ b/src/Command/Redis/HSETNX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HSTRLEN.php b/src/Command/Redis/HSTRLEN.php index 9ce194a28a0c059d2b751c337c40422214d6643c..4ed11f6cd38a39c0b1304335d8e211ec4c4185f7 100644 --- a/src/Command/Redis/HSTRLEN.php +++ b/src/Command/Redis/HSTRLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HTTL.php b/src/Command/Redis/HTTL.php index a0d41bec5370198f71f92c72cbbd7a273b87c28e..3112b857a624e83d8367ae2390ff85164d65a98c 100644 --- a/src/Command/Redis/HTTL.php +++ b/src/Command/Redis/HTTL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/HVALS.php b/src/Command/Redis/HVALS.php index 88510bc6254346575198d23b91acea31b56ed610..c8aff37d7edc661e6169ad96fc3e07306e13acaa 100644 --- a/src/Command/Redis/HVALS.php +++ b/src/Command/Redis/HVALS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/INCR.php b/src/Command/Redis/INCR.php index 326fcb9c764fba5939ae9c1758b2ec471d7eceff..a488e9cdeaf10c6aff87ba38b9a9a40f7ad5361e 100644 --- a/src/Command/Redis/INCR.php +++ b/src/Command/Redis/INCR.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/INCRBY.php b/src/Command/Redis/INCRBY.php index 4163a54e4c532bd49f35df3d89b3058b0efcc302..71c614f8342f13f9000e971f8d1a403635da5117 100644 --- a/src/Command/Redis/INCRBY.php +++ b/src/Command/Redis/INCRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/INCRBYFLOAT.php b/src/Command/Redis/INCRBYFLOAT.php index 2c8ef77ae4adfcd8ef898cf87fdb695c7c4121b1..d930084a27ecf3686f4ef30d15fbd6a60c1c7377 100644 --- a/src/Command/Redis/INCRBYFLOAT.php +++ b/src/Command/Redis/INCRBYFLOAT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/INFO.php b/src/Command/Redis/INFO.php index 505a5f781fd63081b685da33796c224c664832d0..a087b6c43476341e86ce57076cc2a3e320cec4cf 100644 --- a/src/Command/Redis/INFO.php +++ b/src/Command/Redis/INFO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONARRAPPEND.php b/src/Command/Redis/Json/JSONARRAPPEND.php index bac255a850d51c8f1776b528cc59805036095aa1..12ca3f85486198a3eb38bbcf4bdde1f131850301 100644 --- a/src/Command/Redis/Json/JSONARRAPPEND.php +++ b/src/Command/Redis/Json/JSONARRAPPEND.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONARRINDEX.php b/src/Command/Redis/Json/JSONARRINDEX.php index 4676ba968889768b6660f920e09fbedefe574c12..9710df248dcff16e45af4a8e18d92673adb01a16 100644 --- a/src/Command/Redis/Json/JSONARRINDEX.php +++ b/src/Command/Redis/Json/JSONARRINDEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONARRINSERT.php b/src/Command/Redis/Json/JSONARRINSERT.php index fa3a608be50bfcfa73f3384e2754ba9825f61bd7..719aad7297a2f80a2eb168a96a8f0c0097036b68 100644 --- a/src/Command/Redis/Json/JSONARRINSERT.php +++ b/src/Command/Redis/Json/JSONARRINSERT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONARRLEN.php b/src/Command/Redis/Json/JSONARRLEN.php index 6abad70c48f7b2f09bc57132454e3bb7645caac0..8fb13dd9a20a2b841d3053d4006ea99517cc19e4 100644 --- a/src/Command/Redis/Json/JSONARRLEN.php +++ b/src/Command/Redis/Json/JSONARRLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONARRPOP.php b/src/Command/Redis/Json/JSONARRPOP.php index 9ec3bc53054c50bb0367395d43b0d1d45c376c0f..080fa3b9edba976de0feef0c3e034c2189dde650 100644 --- a/src/Command/Redis/Json/JSONARRPOP.php +++ b/src/Command/Redis/Json/JSONARRPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONARRTRIM.php b/src/Command/Redis/Json/JSONARRTRIM.php index 11babc9353ab40e0ffa6ae104a488be2d4f795a7..70af3337fc65df329bca0a2ad2e298e249bde271 100644 --- a/src/Command/Redis/Json/JSONARRTRIM.php +++ b/src/Command/Redis/Json/JSONARRTRIM.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONCLEAR.php b/src/Command/Redis/Json/JSONCLEAR.php index 550a0c933a2778f3093c743ce2ae4406898d7bbd..af7b6900c7389835c2e3bc16e3c4ff38d4ab23fb 100644 --- a/src/Command/Redis/Json/JSONCLEAR.php +++ b/src/Command/Redis/Json/JSONCLEAR.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONDEBUG.php b/src/Command/Redis/Json/JSONDEBUG.php index 307eb26c377c9a95f33e050acfa3d9b2494f0d89..d52da7135d6ef4868936a04367021cf74d396be5 100644 --- a/src/Command/Redis/Json/JSONDEBUG.php +++ b/src/Command/Redis/Json/JSONDEBUG.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONDEL.php b/src/Command/Redis/Json/JSONDEL.php index 99fc71999e1aebdfaf31948c4fcc25a29097c6d6..8ee739cc149094f5bb4a9c85e4b247f645e24d0b 100644 --- a/src/Command/Redis/Json/JSONDEL.php +++ b/src/Command/Redis/Json/JSONDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONFORGET.php b/src/Command/Redis/Json/JSONFORGET.php index 06e17a1868a718dbc2f522cf82b06f613faa850a..4abe2514765b2f139cdb6dcaf68a4c4b7a7a0c5a 100644 --- a/src/Command/Redis/Json/JSONFORGET.php +++ b/src/Command/Redis/Json/JSONFORGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONGET.php b/src/Command/Redis/Json/JSONGET.php index c2e0562755d153cbee81a2c562c4eb98460649ed..64acebaaf4d291ecee01c63aa95e93dc168f185d 100644 --- a/src/Command/Redis/Json/JSONGET.php +++ b/src/Command/Redis/Json/JSONGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONMERGE.php b/src/Command/Redis/Json/JSONMERGE.php index 39e3c92b0802a9e6ccece974b785c61a5d73b872..f272c4bc7a538cb5309d9e56c781f2623d7a4df2 100644 --- a/src/Command/Redis/Json/JSONMERGE.php +++ b/src/Command/Redis/Json/JSONMERGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONMGET.php b/src/Command/Redis/Json/JSONMGET.php index 4bab30977b99af4f287696ab02e50914815d7faf..fa1f19a9f3c6e80c8791e3b8308356f83f0ee63c 100644 --- a/src/Command/Redis/Json/JSONMGET.php +++ b/src/Command/Redis/Json/JSONMGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONMSET.php b/src/Command/Redis/Json/JSONMSET.php index cf6a298446ca9ce4cc3d487e993a05544be19486..5b72c03ebc317ca4fc05971ec0d1b855ccfe511a 100644 --- a/src/Command/Redis/Json/JSONMSET.php +++ b/src/Command/Redis/Json/JSONMSET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONNUMINCRBY.php b/src/Command/Redis/Json/JSONNUMINCRBY.php index 648507e094056e5888bf914c3cb0825e37956634..690250043702ccc06387262196e1bd89731abaff 100644 --- a/src/Command/Redis/Json/JSONNUMINCRBY.php +++ b/src/Command/Redis/Json/JSONNUMINCRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONOBJKEYS.php b/src/Command/Redis/Json/JSONOBJKEYS.php index efabdd6d9eb9661fb3a3f197357c8b94a82a0d9e..74a3b9959cb055d27b2fb6c3adc948dd1494445d 100644 --- a/src/Command/Redis/Json/JSONOBJKEYS.php +++ b/src/Command/Redis/Json/JSONOBJKEYS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONOBJLEN.php b/src/Command/Redis/Json/JSONOBJLEN.php index 39bd7bd269d4a1b72ce8c50f9ac9ed82b6fcfd1b..352fc68067a922e4b962dc08e2b5e0982aa0bcf1 100644 --- a/src/Command/Redis/Json/JSONOBJLEN.php +++ b/src/Command/Redis/Json/JSONOBJLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONRESP.php b/src/Command/Redis/Json/JSONRESP.php index 3b057244c251a1e3dd52c41882fe2574f2c5f01c..f77158078e9c75647ee3d7f06f9390c66c6f2b0e 100644 --- a/src/Command/Redis/Json/JSONRESP.php +++ b/src/Command/Redis/Json/JSONRESP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONSET.php b/src/Command/Redis/Json/JSONSET.php index ba2ba04bc64698c5c8dfbb6976b8fd5b0bf39e97..43c683a61d1c0ac38e411f389e7d92e9fb896d82 100644 --- a/src/Command/Redis/Json/JSONSET.php +++ b/src/Command/Redis/Json/JSONSET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONSTRAPPEND.php b/src/Command/Redis/Json/JSONSTRAPPEND.php index 54b4724948561e587c631c156f992bcfa4f0e56b..b717fc86157cfa6949ae2f9cc3a467d1f155f34a 100644 --- a/src/Command/Redis/Json/JSONSTRAPPEND.php +++ b/src/Command/Redis/Json/JSONSTRAPPEND.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONSTRLEN.php b/src/Command/Redis/Json/JSONSTRLEN.php index 19a4cabbb7421a283513acc51d44079a46b2a8fb..c11ff08e1822e386da5f9002496dc9005900f7ed 100644 --- a/src/Command/Redis/Json/JSONSTRLEN.php +++ b/src/Command/Redis/Json/JSONSTRLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONTOGGLE.php b/src/Command/Redis/Json/JSONTOGGLE.php index 0d1b15e65228719d6c9417d7f15d34f87106d935..b538c1c79537339e7931ae0c93529a2bfec2f78f 100644 --- a/src/Command/Redis/Json/JSONTOGGLE.php +++ b/src/Command/Redis/Json/JSONTOGGLE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Json/JSONTYPE.php b/src/Command/Redis/Json/JSONTYPE.php index d03dc18c9dd726f0a16b8d8025e37e26310728c9..76123d4f038e53ad5d8e7f81f22b596f5e53247f 100644 --- a/src/Command/Redis/Json/JSONTYPE.php +++ b/src/Command/Redis/Json/JSONTYPE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/KEYS.php b/src/Command/Redis/KEYS.php index 8d1700a199c1f744f347af034ad4024643f2cbfd..6cc0b4ec26d4b37a90fcd3e3c65b3587f07f937f 100644 --- a/src/Command/Redis/KEYS.php +++ b/src/Command/Redis/KEYS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LASTSAVE.php b/src/Command/Redis/LASTSAVE.php index 30b8ec9600bb1a91c74241548018dea2ce697b3a..319273f38f36820398b1e5740f7dd734f90b5132 100644 --- a/src/Command/Redis/LASTSAVE.php +++ b/src/Command/Redis/LASTSAVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LCS.php b/src/Command/Redis/LCS.php index 22373c0c1fab7323fa930366a9b16bedfaf38aba..b0f7c90df8fdb99e33428fdb3f5ad18fb027a677 100644 --- a/src/Command/Redis/LCS.php +++ b/src/Command/Redis/LCS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LINDEX.php b/src/Command/Redis/LINDEX.php index 2ddfbe5cb90150f8b3aeb8660c2dea4d897dffa2..fd2c0e9b7d6907e4c66b4317659b6d5dd47b0fab 100644 --- a/src/Command/Redis/LINDEX.php +++ b/src/Command/Redis/LINDEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LINSERT.php b/src/Command/Redis/LINSERT.php index 3ac67a3d8d35cf33e3328a2336d4cfaa117cf3a0..16c2ad990cda99a6e423675a9b6ab3f91a56136e 100644 --- a/src/Command/Redis/LINSERT.php +++ b/src/Command/Redis/LINSERT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LLEN.php b/src/Command/Redis/LLEN.php index 015a862c5b83f72c3d8504b2f1afd44486eba284..a2a25d004108ba4e2e45d5c41b5e7361015033f0 100644 --- a/src/Command/Redis/LLEN.php +++ b/src/Command/Redis/LLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LMOVE.php b/src/Command/Redis/LMOVE.php index 1867eb1299abc1a1cff02563bc8534343f0b6bc9..95d906eb4eda246318550120579aab42ecacd6d4 100644 --- a/src/Command/Redis/LMOVE.php +++ b/src/Command/Redis/LMOVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LMPOP.php b/src/Command/Redis/LMPOP.php index 40b3532057d2fe44313edf676c7a47d364f4bebc..6568ad6e40b7c8cf9129f2dc2c0e13a13a9794b1 100644 --- a/src/Command/Redis/LMPOP.php +++ b/src/Command/Redis/LMPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LPOP.php b/src/Command/Redis/LPOP.php index d4f46232530d51576119931d560ed39d8e0c9eff..3dbdf8b77541b3edf054c84e066ceaf89282bc25 100644 --- a/src/Command/Redis/LPOP.php +++ b/src/Command/Redis/LPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LPUSH.php b/src/Command/Redis/LPUSH.php index a693f68cdaeaf13058603549f71d6934c9343101..c533b2903dcef293339941cf9f56d2e890837755 100644 --- a/src/Command/Redis/LPUSH.php +++ b/src/Command/Redis/LPUSH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LPUSHX.php b/src/Command/Redis/LPUSHX.php index f5be64940816ca1ddffbed6764037c0c78f5631a..9dcb27e67bb2e086c17a240577c872e26e12572d 100644 --- a/src/Command/Redis/LPUSHX.php +++ b/src/Command/Redis/LPUSHX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LRANGE.php b/src/Command/Redis/LRANGE.php index 46a37dd17c2e493d17354435aacd5fbfd405f8bf..73fac05394dccbdc8056d6dd1fab5d349181628d 100644 --- a/src/Command/Redis/LRANGE.php +++ b/src/Command/Redis/LRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LREM.php b/src/Command/Redis/LREM.php index cf38aa9c7ec2aab72ad3bf70442c4dc18e33a880..11aab61ab8bcba189a514e06d59b45608e3589ca 100644 --- a/src/Command/Redis/LREM.php +++ b/src/Command/Redis/LREM.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LSET.php b/src/Command/Redis/LSET.php index f93fe48be2b99be5ee0145184f43bf12180ab459..6b2c94ae7553c61a09daa63f06fe73997c7403da 100644 --- a/src/Command/Redis/LSET.php +++ b/src/Command/Redis/LSET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/LTRIM.php b/src/Command/Redis/LTRIM.php index c63e7e7a7af770427d3e18c0c595f4c9adc64787..e2bc26d117251b41f3b0cdeccaeedd8884aaeac2 100644 --- a/src/Command/Redis/LTRIM.php +++ b/src/Command/Redis/LTRIM.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/MGET.php b/src/Command/Redis/MGET.php index a946959019ef78be06efc7343ddbbefb9020ddb2..504d48c71b980533d768b8254740aee37089cba5 100644 --- a/src/Command/Redis/MGET.php +++ b/src/Command/Redis/MGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/MIGRATE.php b/src/Command/Redis/MIGRATE.php index 66e0605c581748e74ed9390cdc2dcc5a18697d0c..d13cf366cfc9cfcd15b535acfcff3dc80c2b437e 100644 --- a/src/Command/Redis/MIGRATE.php +++ b/src/Command/Redis/MIGRATE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/MONITOR.php b/src/Command/Redis/MONITOR.php index 0093270ca6ccbce5c0c350205150fbdd762594b8..bafda521c92695d898afad574808d54861382fda 100644 --- a/src/Command/Redis/MONITOR.php +++ b/src/Command/Redis/MONITOR.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/MOVE.php b/src/Command/Redis/MOVE.php index afbfea57a204a69d3c16f4dc55591c29f6f655ef..433278f0436398e79edfd299e266360e09e4ed14 100644 --- a/src/Command/Redis/MOVE.php +++ b/src/Command/Redis/MOVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/MSET.php b/src/Command/Redis/MSET.php index dacc854eced168b963d337d99c47a64e247f9f28..c9e090f510efb4c720ef3aafd37b7af18da82251 100644 --- a/src/Command/Redis/MSET.php +++ b/src/Command/Redis/MSET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/MSETNX.php b/src/Command/Redis/MSETNX.php index ebee447789b6ace0dd46e2069b2748e1b73db28a..6e23a3eee0ca8230c092d204f7031c428052e88e 100644 --- a/src/Command/Redis/MSETNX.php +++ b/src/Command/Redis/MSETNX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/MULTI.php b/src/Command/Redis/MULTI.php index 745025a895ce1b315b94ca13e50db9493e74cea3..a9a21104f8eb610582720bc8ec6c32f3cbba426e 100644 --- a/src/Command/Redis/MULTI.php +++ b/src/Command/Redis/MULTI.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/OBJECT_.php b/src/Command/Redis/OBJECT_.php index 926314d289195f756024c3d5857954454d5d07a7..8d89528e7a2744b7dc23faeb4383893fc33386a5 100644 --- a/src/Command/Redis/OBJECT_.php +++ b/src/Command/Redis/OBJECT_.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PERSIST.php b/src/Command/Redis/PERSIST.php index 145d6397f2fbae093e4bbc575dcf24fe31bb32c6..7815ab997216d00b03c98f2088a6c4794e9744d5 100644 --- a/src/Command/Redis/PERSIST.php +++ b/src/Command/Redis/PERSIST.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PEXPIRE.php b/src/Command/Redis/PEXPIRE.php index 7f85d13e61c717c40e96bdfb0c61e2933fcb2288..950be38306d9b4c5371c3f57736a027981fc691a 100644 --- a/src/Command/Redis/PEXPIRE.php +++ b/src/Command/Redis/PEXPIRE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PEXPIREAT.php b/src/Command/Redis/PEXPIREAT.php index 33ed43d1d904cd880b95b377beba9f34a2517aa0..ef9bc2ddba58df57e3ae0b56fa57a299abbc9b91 100644 --- a/src/Command/Redis/PEXPIREAT.php +++ b/src/Command/Redis/PEXPIREAT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PEXPIRETIME.php b/src/Command/Redis/PEXPIRETIME.php index 2de55957bee8be4525119abbbc08e13746511a79..86926be44beaf0f400834867534cb6a9c457e6c3 100644 --- a/src/Command/Redis/PEXPIRETIME.php +++ b/src/Command/Redis/PEXPIRETIME.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PFADD.php b/src/Command/Redis/PFADD.php index 966785d90aef733160bd9e735464647e24a97713..8ed7e63b94630c549713b0ea9f922bfa1e3715cb 100644 --- a/src/Command/Redis/PFADD.php +++ b/src/Command/Redis/PFADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PFCOUNT.php b/src/Command/Redis/PFCOUNT.php index a7c20b963f1f584c4ae3f71e869d168bfdcd1800..95a082a9a93ae01bc96c88c0ccea6f142c889aef 100644 --- a/src/Command/Redis/PFCOUNT.php +++ b/src/Command/Redis/PFCOUNT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PFMERGE.php b/src/Command/Redis/PFMERGE.php index f61bf2d34daef191346caf9ffa306c9e9351ed07..de3335b7dcfa0016dd8c8291ad186c11092b94ea 100644 --- a/src/Command/Redis/PFMERGE.php +++ b/src/Command/Redis/PFMERGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PING.php b/src/Command/Redis/PING.php index 65fab66e7ce1e9b049f58fc4a2b77533fb343c83..36c60560865d8edbf5915dd220bb9d9e150e68ab 100644 --- a/src/Command/Redis/PING.php +++ b/src/Command/Redis/PING.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PSETEX.php b/src/Command/Redis/PSETEX.php index 30eacfb91309a99a326743496c31b85ab32df4ea..5506adfe344d34744a90ddc25262baa4d78081db 100644 --- a/src/Command/Redis/PSETEX.php +++ b/src/Command/Redis/PSETEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PSUBSCRIBE.php b/src/Command/Redis/PSUBSCRIBE.php index c3207bf5b0ce4976db065dc85ba5a1f9a8085b51..7b131ead855cce9e261db2ac99514e6102510846 100644 --- a/src/Command/Redis/PSUBSCRIBE.php +++ b/src/Command/Redis/PSUBSCRIBE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PTTL.php b/src/Command/Redis/PTTL.php index 600c4ce68dfe68f19c6f7e7a5d7a32a2865459e5..aa119050174577d7c5cdef1b580e6874c1ecf06f 100644 --- a/src/Command/Redis/PTTL.php +++ b/src/Command/Redis/PTTL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PUBLISH.php b/src/Command/Redis/PUBLISH.php index 26eaf56d9b2ab6e4992d6944dc083b209cf120af..8dd61010f6efe811b7d942c23ba93fea022d68ac 100644 --- a/src/Command/Redis/PUBLISH.php +++ b/src/Command/Redis/PUBLISH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PUBSUB.php b/src/Command/Redis/PUBSUB.php index 9da484843f208078f81247e7171273a13e602ee9..608eac43ca5678d6ab727b28979fd5386f78ffb2 100644 --- a/src/Command/Redis/PUBSUB.php +++ b/src/Command/Redis/PUBSUB.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/PUNSUBSCRIBE.php b/src/Command/Redis/PUNSUBSCRIBE.php index 9a0ccdcd1b535c741548acbb3abca33ed4453efc..50b7187139fdea13ad9a5f07c90bb702967e99b9 100644 --- a/src/Command/Redis/PUNSUBSCRIBE.php +++ b/src/Command/Redis/PUNSUBSCRIBE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/QUIT.php b/src/Command/Redis/QUIT.php index e747adb3617fef5c5d4dc68d1cb150344804e653..a706997d9ae9608123097041ddfb6c321c14e6f8 100644 --- a/src/Command/Redis/QUIT.php +++ b/src/Command/Redis/QUIT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/RANDOMKEY.php b/src/Command/Redis/RANDOMKEY.php index c72fa8000dc33259519c2798880220bba11d5eb5..bff1abe3ab150fc91846f82ba0cf37495b4de2fa 100644 --- a/src/Command/Redis/RANDOMKEY.php +++ b/src/Command/Redis/RANDOMKEY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/RENAME.php b/src/Command/Redis/RENAME.php index 3741ff9c072089748d25f296fb004bcc8c26e441..83791aa844e3bab55c95a980e120e52342b30ad3 100644 --- a/src/Command/Redis/RENAME.php +++ b/src/Command/Redis/RENAME.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/RENAMENX.php b/src/Command/Redis/RENAMENX.php index db2a023cf718874827ce55b7475571246749ea3b..f3d224d66061e6479791969fff9e621917ec896e 100644 --- a/src/Command/Redis/RENAMENX.php +++ b/src/Command/Redis/RENAMENX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/RESTORE.php b/src/Command/Redis/RESTORE.php index f4a8a66f9e5c33060d9e2024391fd2cf85701874..5247982a9e9f03b4748d18bbafd54733fa4220f3 100644 --- a/src/Command/Redis/RESTORE.php +++ b/src/Command/Redis/RESTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/RPOP.php b/src/Command/Redis/RPOP.php index 055448d292cc2c764359b6cd965cca1dfb045880..a118a3cace09f2227c22186af139b27cc070f3cb 100644 --- a/src/Command/Redis/RPOP.php +++ b/src/Command/Redis/RPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/RPOPLPUSH.php b/src/Command/Redis/RPOPLPUSH.php index 7396a7583265b985e80fbee4a9bff23b6419bdb1..949b03a597e618dd6898fd49ec28119511a1dccd 100644 --- a/src/Command/Redis/RPOPLPUSH.php +++ b/src/Command/Redis/RPOPLPUSH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/RPUSH.php b/src/Command/Redis/RPUSH.php index 44d61dea9d2c41251b21a62177b739e7283fad7f..52c0c4549b650285c6e65ff79a3de0784dcfadc2 100644 --- a/src/Command/Redis/RPUSH.php +++ b/src/Command/Redis/RPUSH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/RPUSHX.php b/src/Command/Redis/RPUSHX.php index 36b424d259f86cf19cbdeeed246cbdcb287da448..9eb37ecf676dcd1f2d24f4624a3fb6a9cb3da266 100644 --- a/src/Command/Redis/RPUSHX.php +++ b/src/Command/Redis/RPUSHX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SADD.php b/src/Command/Redis/SADD.php index 9d7c3c060dc10be2e0a7f23d62c2c8bdb5b9c1da..2ed4c0490e2443631f52f73de862223abda046c3 100644 --- a/src/Command/Redis/SADD.php +++ b/src/Command/Redis/SADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SAVE.php b/src/Command/Redis/SAVE.php index fa7b65a47c4dfafe48dbd611786559ca1f52fe46..e24e0325daa28f0052cade562884b403f7ab6293 100644 --- a/src/Command/Redis/SAVE.php +++ b/src/Command/Redis/SAVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SCAN.php b/src/Command/Redis/SCAN.php index 9b014b9d69dc33c44ddac97ac8987d918d67fb85..d3bf4784711af9821e6a83d8666db214d6d5a04a 100644 --- a/src/Command/Redis/SCAN.php +++ b/src/Command/Redis/SCAN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SCARD.php b/src/Command/Redis/SCARD.php index 71aeca359c1cd41261696899646f29408b0b5be4..695b420cb2626ca0f423883910000f45a595699e 100644 --- a/src/Command/Redis/SCARD.php +++ b/src/Command/Redis/SCARD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SCRIPT.php b/src/Command/Redis/SCRIPT.php index c6712c610383a6d7ffd8054986fc5a43c362b7c4..928439ee26530fdda3453e25c78c75700144d63b 100644 --- a/src/Command/Redis/SCRIPT.php +++ b/src/Command/Redis/SCRIPT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SDIFF.php b/src/Command/Redis/SDIFF.php index 6bd2d8b48921ddc66c3bad75aae4c66a4d0e457c..7784898c7f9e4fc4c6cd4032b32648a962c58819 100644 --- a/src/Command/Redis/SDIFF.php +++ b/src/Command/Redis/SDIFF.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SDIFFSTORE.php b/src/Command/Redis/SDIFFSTORE.php index 29091b98f10368b8df8ab07d03bcc9c856994cbe..b819aaa80f59b7670dafb04d492b6514c9528194 100644 --- a/src/Command/Redis/SDIFFSTORE.php +++ b/src/Command/Redis/SDIFFSTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SELECT.php b/src/Command/Redis/SELECT.php index 43d64c277b75456bedcfbb478ddd164e4d3e4948..23c773a4c87db9f881f4b8adc072a2eabc9bdf0d 100644 --- a/src/Command/Redis/SELECT.php +++ b/src/Command/Redis/SELECT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SENTINEL.php b/src/Command/Redis/SENTINEL.php index 09ec3d345f712bf559186616cf91e2c255d8ab67..1e05e8cfb21b7ee09a49c538e195c8de58062da0 100644 --- a/src/Command/Redis/SENTINEL.php +++ b/src/Command/Redis/SENTINEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SET.php b/src/Command/Redis/SET.php index eb22b849819ba9222a65296a2fb52ad1efec9521..1487815ae49e52d6c907fa87ff4902dfd5249e60 100644 --- a/src/Command/Redis/SET.php +++ b/src/Command/Redis/SET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SETBIT.php b/src/Command/Redis/SETBIT.php index 929eca24b73af035187b525fc25c7c1c05dda9f6..3566e33219acb48e463f7c9187847e5417aaaa4e 100644 --- a/src/Command/Redis/SETBIT.php +++ b/src/Command/Redis/SETBIT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SETEX.php b/src/Command/Redis/SETEX.php index e05f51f39730647c022c6e45faa0621232ee6297..22189c52fe7c1ee0f04742b8c4c730d49dc0d8d8 100644 --- a/src/Command/Redis/SETEX.php +++ b/src/Command/Redis/SETEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SETNX.php b/src/Command/Redis/SETNX.php index 272439cdb91e7cfd471491cd770eb217086b133e..8f8604fc228296b073185b239b7896c73d80bad5 100644 --- a/src/Command/Redis/SETNX.php +++ b/src/Command/Redis/SETNX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SETRANGE.php b/src/Command/Redis/SETRANGE.php index a36fd119feb5944cb10b2302a8a4fb9be587bca7..843a10058a85573139a7d7faf5d4cc68c634ed76 100644 --- a/src/Command/Redis/SETRANGE.php +++ b/src/Command/Redis/SETRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SHUTDOWN.php b/src/Command/Redis/SHUTDOWN.php index 4a1a9515b87e9cc9114cb2fd89bd2e8c7afa41ec..558fcf1615116e6d757b58bc02ee777e0ba42738 100644 --- a/src/Command/Redis/SHUTDOWN.php +++ b/src/Command/Redis/SHUTDOWN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SINTER.php b/src/Command/Redis/SINTER.php index a1d1ff2859622ee0c62e02a16850abbbf14b5b7c..604b032ede0beee57ad10f7d985ea477f837dbfc 100644 --- a/src/Command/Redis/SINTER.php +++ b/src/Command/Redis/SINTER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SINTERCARD.php b/src/Command/Redis/SINTERCARD.php index c611bdde66493de967da17d018eb2de13d91bf91..49f0c3c4ce94b5cba52ca273c66f8556b921c54f 100644 --- a/src/Command/Redis/SINTERCARD.php +++ b/src/Command/Redis/SINTERCARD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SINTERSTORE.php b/src/Command/Redis/SINTERSTORE.php index fef133b7cf387bdffc2efb936fc8a1569c54e79e..b7b514170203327a30f41972d61b003550a2673f 100644 --- a/src/Command/Redis/SINTERSTORE.php +++ b/src/Command/Redis/SINTERSTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SISMEMBER.php b/src/Command/Redis/SISMEMBER.php index f4b2bba5369e7257cc83b5b1536e6bde1cc47293..41d4ebb76911200999c1ea118b80a5a31bbbbc0e 100644 --- a/src/Command/Redis/SISMEMBER.php +++ b/src/Command/Redis/SISMEMBER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SLAVEOF.php b/src/Command/Redis/SLAVEOF.php index 51be7c5380417036c9ebf488ae65daeb31c9f93b..1df62e82a7aa9a8d4500c51230b42a844bec99c9 100644 --- a/src/Command/Redis/SLAVEOF.php +++ b/src/Command/Redis/SLAVEOF.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SLOWLOG.php b/src/Command/Redis/SLOWLOG.php index 9c96d4e3b3c03cd36bbe5b9d1f059d1baeb274da..3cdeb38535239faade1ec9d38fecb59da81b3b2f 100644 --- a/src/Command/Redis/SLOWLOG.php +++ b/src/Command/Redis/SLOWLOG.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SMEMBERS.php b/src/Command/Redis/SMEMBERS.php index 024037caa8b21f8d46a38cb9ad7fed6e64c4e4b8..1b373afab469fa32ccf7d637d94278202ab9be2e 100644 --- a/src/Command/Redis/SMEMBERS.php +++ b/src/Command/Redis/SMEMBERS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SMISMEMBER.php b/src/Command/Redis/SMISMEMBER.php index 8f0e228fe4e0cf23684115b0684788cc4a7e026b..f34d05d6af604ae997197384d2734f7fa39c9bb5 100644 --- a/src/Command/Redis/SMISMEMBER.php +++ b/src/Command/Redis/SMISMEMBER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SMOVE.php b/src/Command/Redis/SMOVE.php index be45e523da920a9b02ce580909242dc520f98eb0..2a4c9ac5b647712f1564665e0c2b406400bd9413 100644 --- a/src/Command/Redis/SMOVE.php +++ b/src/Command/Redis/SMOVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SORT.php b/src/Command/Redis/SORT.php index 493293836b5b72b1f82b9aca81ff5d820f76b043..b8fe82ab34c32e63c451897e8151138ef4e7bdbc 100644 --- a/src/Command/Redis/SORT.php +++ b/src/Command/Redis/SORT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SORT_RO.php b/src/Command/Redis/SORT_RO.php index 888358d7698fae5338708d0e3862913a8a2f7549..9f092c5a842a4767b91ec44a15b3e41eb304c240 100644 --- a/src/Command/Redis/SORT_RO.php +++ b/src/Command/Redis/SORT_RO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SPOP.php b/src/Command/Redis/SPOP.php index 94ab1ba23df24613decd23733f2636325a137bfe..6ba704864e2a913ddd4f7cee4432ce324dcce07a 100644 --- a/src/Command/Redis/SPOP.php +++ b/src/Command/Redis/SPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SRANDMEMBER.php b/src/Command/Redis/SRANDMEMBER.php index 53b76c35cd8d5a835cd2974bb93a0e0ad714d704..1f4cd53f3b418129738eea0cd180e32037d179db 100644 --- a/src/Command/Redis/SRANDMEMBER.php +++ b/src/Command/Redis/SRANDMEMBER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SREM.php b/src/Command/Redis/SREM.php index df3d548e615974f1d3c5ed2776b1e37e190a56de..26124a6509a8c2646fab63354dc4b7511c5d7295 100644 --- a/src/Command/Redis/SREM.php +++ b/src/Command/Redis/SREM.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SSCAN.php b/src/Command/Redis/SSCAN.php index f8da4efcf661e7ecaf64323243ca21691302f856..4c3631b334732dc62a148072e22ccd7a298a2952 100644 --- a/src/Command/Redis/SSCAN.php +++ b/src/Command/Redis/SSCAN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/STRLEN.php b/src/Command/Redis/STRLEN.php index 976ffdce2f499ddef0a6216e79a04974e7030c89..f1d797726c35a4a588abcb3125a2f952eb97fa55 100644 --- a/src/Command/Redis/STRLEN.php +++ b/src/Command/Redis/STRLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SUBSCRIBE.php b/src/Command/Redis/SUBSCRIBE.php index 8e770e40f4b3c4ec25891d47360d06ba7d84fd60..82b1fdc653af4fc6c833cac83cfc38b887b408d3 100644 --- a/src/Command/Redis/SUBSCRIBE.php +++ b/src/Command/Redis/SUBSCRIBE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SUBSTR.php b/src/Command/Redis/SUBSTR.php index 4b515d44f7ca4cca181656b81f331b2c8490bfd7..c37aa1d0795a173eba6b9d7d9ce97c2cc4cada05 100644 --- a/src/Command/Redis/SUBSTR.php +++ b/src/Command/Redis/SUBSTR.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SUNION.php b/src/Command/Redis/SUNION.php index 09cea163590bf007a9739fbb39a06acc32e97732..3789c47c685196f690a5b4daa24f7d036dfb3476 100644 --- a/src/Command/Redis/SUNION.php +++ b/src/Command/Redis/SUNION.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/SUNIONSTORE.php b/src/Command/Redis/SUNIONSTORE.php index f48f61940e18133f235888ea94078231fee507b3..ec775885991081acb7e2dde11d30c3abf8bf4167 100644 --- a/src/Command/Redis/SUNIONSTORE.php +++ b/src/Command/Redis/SUNIONSTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTAGGREGATE.php b/src/Command/Redis/Search/FTAGGREGATE.php index 8367c5d5315b50769dddf4dff2c3e997aabd5b71..74a158399227356d84d2014d8b169abdef20b2ab 100644 --- a/src/Command/Redis/Search/FTAGGREGATE.php +++ b/src/Command/Redis/Search/FTAGGREGATE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTALIASADD.php b/src/Command/Redis/Search/FTALIASADD.php index 9ae3e9b38d089c8697ceee05787e6b08f4ec7213..12b1945675cd5328ae20418e5cecc3702e797805 100644 --- a/src/Command/Redis/Search/FTALIASADD.php +++ b/src/Command/Redis/Search/FTALIASADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTALIASDEL.php b/src/Command/Redis/Search/FTALIASDEL.php index fe895ccfd8e2c8591c3e4e6e43c99e3a99a31cec..1ef32248dcd99f85f507c9e85fdc37dff2e2ddc2 100644 --- a/src/Command/Redis/Search/FTALIASDEL.php +++ b/src/Command/Redis/Search/FTALIASDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTALIASUPDATE.php b/src/Command/Redis/Search/FTALIASUPDATE.php index b5adf005caa2ec02266983cb8bc6087e4de1fa8f..28d522b2b5571157321f7e55b047cd94f27ac737 100644 --- a/src/Command/Redis/Search/FTALIASUPDATE.php +++ b/src/Command/Redis/Search/FTALIASUPDATE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTALTER.php b/src/Command/Redis/Search/FTALTER.php index ee12c1ffd4e73087afd1dec85a97476b09e84742..a209af64b8ebf58da4ee85bb6b1a91e81e9aa3ba 100644 --- a/src/Command/Redis/Search/FTALTER.php +++ b/src/Command/Redis/Search/FTALTER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTCONFIG.php b/src/Command/Redis/Search/FTCONFIG.php index 2dbbc4a823572a57d6b70bd979e6cf000ca171a4..d009048d084f561669e9a2f4e0416d0acab68c0d 100644 --- a/src/Command/Redis/Search/FTCONFIG.php +++ b/src/Command/Redis/Search/FTCONFIG.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -13,8 +13,12 @@ namespace Predis\Command\Redis\Search; use Predis\Command\Command as RedisCommand; +use Predis\Command\Redis\CONFIG; /** + * @deprecated FT.CONFIG GET and SET is deprecated since Redis 8.0. + * @see CONFIG if you want to manipulate search configuration + * * @see https://redis.io/commands/ft.config-get/ * @see https://redis.io/commands/ft.config-set/ * diff --git a/src/Command/Redis/Search/FTCREATE.php b/src/Command/Redis/Search/FTCREATE.php index 0072acd8c91aedd58db0ab1d6476ff3a8500b480..8d2a7ee0e72911767c87aa72a09bbee46bb76371 100644 --- a/src/Command/Redis/Search/FTCREATE.php +++ b/src/Command/Redis/Search/FTCREATE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTCURSOR.php b/src/Command/Redis/Search/FTCURSOR.php index 90b3d1d21cb5f5a8f72866205dce09bb62309139..5794fa8411589b55a440539a8b76ee0c1c9bddd1 100644 --- a/src/Command/Redis/Search/FTCURSOR.php +++ b/src/Command/Redis/Search/FTCURSOR.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTDICTADD.php b/src/Command/Redis/Search/FTDICTADD.php index 39c9d82c7ddfa48f3f0e34f9c16a13e94db7f004..2c48ea606e72082e13aed128653ffb6722af6d44 100644 --- a/src/Command/Redis/Search/FTDICTADD.php +++ b/src/Command/Redis/Search/FTDICTADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTDICTDEL.php b/src/Command/Redis/Search/FTDICTDEL.php index 53cea18daed6c644de6608f36b0f050e4ab7a35c..a18cae31504cc1a67de943c44712f9c6f5f5958f 100644 --- a/src/Command/Redis/Search/FTDICTDEL.php +++ b/src/Command/Redis/Search/FTDICTDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTDICTDUMP.php b/src/Command/Redis/Search/FTDICTDUMP.php index 76ac30d529b87fdf5bd0877ed3191f4223767034..b8323cf0075074515be45fb7a54ea2fcd8efd389 100644 --- a/src/Command/Redis/Search/FTDICTDUMP.php +++ b/src/Command/Redis/Search/FTDICTDUMP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTDROPINDEX.php b/src/Command/Redis/Search/FTDROPINDEX.php index 8ecadcdd5146b4ff81abe324a26884e9fab4363b..6282bdada6ada2d22c05d22e34d70c2e0f965c1c 100644 --- a/src/Command/Redis/Search/FTDROPINDEX.php +++ b/src/Command/Redis/Search/FTDROPINDEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTEXPLAIN.php b/src/Command/Redis/Search/FTEXPLAIN.php index 7c6878a4a3cca0ae547508b24bf37c6b4adce4a1..ad0b00af5e9f4a4b86e463f902d82bde9de34290 100644 --- a/src/Command/Redis/Search/FTEXPLAIN.php +++ b/src/Command/Redis/Search/FTEXPLAIN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTINFO.php b/src/Command/Redis/Search/FTINFO.php index d4b86e17081adb5e7d555db1deddab6dd3615809..26f6de6a6d9c580a69f45788899418795a435a10 100644 --- a/src/Command/Redis/Search/FTINFO.php +++ b/src/Command/Redis/Search/FTINFO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTPROFILE.php b/src/Command/Redis/Search/FTPROFILE.php index 66c0b10d55cd26c0fab6482fb7a3f4f21758329a..e361807fd6d7f8ab6454141935f212bc55b1b037 100644 --- a/src/Command/Redis/Search/FTPROFILE.php +++ b/src/Command/Redis/Search/FTPROFILE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTSEARCH.php b/src/Command/Redis/Search/FTSEARCH.php index 6a10ee236d825f2ce71e1e1f4b022909bf11ccf4..0d80be9f91576eb0943e309d7c1df7152f1a5951 100644 --- a/src/Command/Redis/Search/FTSEARCH.php +++ b/src/Command/Redis/Search/FTSEARCH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTSPELLCHECK.php b/src/Command/Redis/Search/FTSPELLCHECK.php index b3939ca4bdf8b70aa2b23e73a9539cc13f56cc3f..0d8360afe4d0b674f6009bbbd890bfb1d59edcc9 100644 --- a/src/Command/Redis/Search/FTSPELLCHECK.php +++ b/src/Command/Redis/Search/FTSPELLCHECK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTSUGADD.php b/src/Command/Redis/Search/FTSUGADD.php index 3a76fe0a0743a8362ccf7f7170073fc86cb292da..e81e75792e6af8d24e07f49b8c6a72437e325830 100644 --- a/src/Command/Redis/Search/FTSUGADD.php +++ b/src/Command/Redis/Search/FTSUGADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTSUGDEL.php b/src/Command/Redis/Search/FTSUGDEL.php index 973282429a8a65d6073b00e606023727535b9f87..90b0a5b747a7090b9f19681df2309313863ab40a 100644 --- a/src/Command/Redis/Search/FTSUGDEL.php +++ b/src/Command/Redis/Search/FTSUGDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTSUGGET.php b/src/Command/Redis/Search/FTSUGGET.php index e5190d6c5fb338d7da93ef5f9b39dcf50ca8fc79..72dccd638a9ad07aa8e73d64e8e58f7a2b29144e 100644 --- a/src/Command/Redis/Search/FTSUGGET.php +++ b/src/Command/Redis/Search/FTSUGGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTSUGLEN.php b/src/Command/Redis/Search/FTSUGLEN.php index 46219332b40e43dc2060d7b5c792f96dbb27b423..2bc406f336b4fb3f3a4649d7615640de8785886f 100644 --- a/src/Command/Redis/Search/FTSUGLEN.php +++ b/src/Command/Redis/Search/FTSUGLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTSYNDUMP.php b/src/Command/Redis/Search/FTSYNDUMP.php index d9fb4d15eb6d438e28f291af77af7fbd6b56ef66..59ebafaab9c9556a34dd691834c460fd91b17133 100644 --- a/src/Command/Redis/Search/FTSYNDUMP.php +++ b/src/Command/Redis/Search/FTSYNDUMP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTSYNUPDATE.php b/src/Command/Redis/Search/FTSYNUPDATE.php index 666440624bebd04d8d9aabcad29281ac3121ee92..4302e5decd8f06b4b4df95130704122189bc5d05 100644 --- a/src/Command/Redis/Search/FTSYNUPDATE.php +++ b/src/Command/Redis/Search/FTSYNUPDATE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FTTAGVALS.php b/src/Command/Redis/Search/FTTAGVALS.php index 2fca9a92147fc051d3490aa589fbc35f6bdb453d..0ec2c9dea23f504d2be3e2404395c8d83fb53045 100644 --- a/src/Command/Redis/Search/FTTAGVALS.php +++ b/src/Command/Redis/Search/FTTAGVALS.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/Search/FT_LIST.php b/src/Command/Redis/Search/FT_LIST.php new file mode 100644 index 0000000000000000000000000000000000000000..45e09e1a301020c78954c8a923738d8605ce4aac --- /dev/null +++ b/src/Command/Redis/Search/FT_LIST.php @@ -0,0 +1,26 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis\Search; + +use Predis\Command\Command as RedisCommand; + +class FT_LIST extends RedisCommand +{ + /** + * @return string + */ + public function getId() + { + return 'FT._LIST'; + } +} diff --git a/src/Command/Redis/TDigest/TDIGESTADD.php b/src/Command/Redis/TDigest/TDIGESTADD.php index fbe93d3a28f7dee4826ed71aaf44b7098f74a138..5a060d9081afd800369bcbc90993ed9144953ce8 100644 --- a/src/Command/Redis/TDigest/TDIGESTADD.php +++ b/src/Command/Redis/TDigest/TDIGESTADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTBYRANK.php b/src/Command/Redis/TDigest/TDIGESTBYRANK.php index 80235f97a3a4f5f7183195ed9c87541721c20f03..7e36602154ebad54d206a675c1a93fbdb569cb44 100644 --- a/src/Command/Redis/TDigest/TDIGESTBYRANK.php +++ b/src/Command/Redis/TDigest/TDIGESTBYRANK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTBYREVRANK.php b/src/Command/Redis/TDigest/TDIGESTBYREVRANK.php index 9cc499ec5c1d31ef4a6f0c425ea454351415b9be..e3eca0e3df0ef0b9f74107f1911e4d1aeb697610 100644 --- a/src/Command/Redis/TDigest/TDIGESTBYREVRANK.php +++ b/src/Command/Redis/TDigest/TDIGESTBYREVRANK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTCDF.php b/src/Command/Redis/TDigest/TDIGESTCDF.php index 4b4b0a8316e439c172f38a03896ad3b054d34a3b..9da737a6823aef3d86796e924f2e7430c5eb2bdd 100644 --- a/src/Command/Redis/TDigest/TDIGESTCDF.php +++ b/src/Command/Redis/TDigest/TDIGESTCDF.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTCREATE.php b/src/Command/Redis/TDigest/TDIGESTCREATE.php index 462d7a31431ddca4040b77aca3089e605c192ba7..d975ee3d7aadf097ed9d1c4371ef51676341a109 100644 --- a/src/Command/Redis/TDigest/TDIGESTCREATE.php +++ b/src/Command/Redis/TDigest/TDIGESTCREATE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTINFO.php b/src/Command/Redis/TDigest/TDIGESTINFO.php index cd64bafc883e2490798077697895aeabc1d6592a..93c98292bd96616a635c1a74ff542f632786db90 100644 --- a/src/Command/Redis/TDigest/TDIGESTINFO.php +++ b/src/Command/Redis/TDigest/TDIGESTINFO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTMAX.php b/src/Command/Redis/TDigest/TDIGESTMAX.php index 95d720104b252f18ee31fb3e3edaf554d5930623..f64884590a58fc75d53696cb51a6d79900b81142 100644 --- a/src/Command/Redis/TDigest/TDIGESTMAX.php +++ b/src/Command/Redis/TDigest/TDIGESTMAX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTMERGE.php b/src/Command/Redis/TDigest/TDIGESTMERGE.php index 7ca03ebaa27f351cc3150c2b8ef481278ab75931..5c60ac309e773a713060308b4d4e1a1ba548f7bb 100644 --- a/src/Command/Redis/TDigest/TDIGESTMERGE.php +++ b/src/Command/Redis/TDigest/TDIGESTMERGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTMIN.php b/src/Command/Redis/TDigest/TDIGESTMIN.php index 6795c12d0aa39635ee0e99e6c11d51985834c485..77f1d5f69abb2a0347354f9439763e5c45b8912a 100644 --- a/src/Command/Redis/TDigest/TDIGESTMIN.php +++ b/src/Command/Redis/TDigest/TDIGESTMIN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTQUANTILE.php b/src/Command/Redis/TDigest/TDIGESTQUANTILE.php index 3a1bbdf3e1f5d77e21bf6f77b86e4de10dda6178..dae3c2924749530fffdd09610025bca2509f43ca 100644 --- a/src/Command/Redis/TDigest/TDIGESTQUANTILE.php +++ b/src/Command/Redis/TDigest/TDIGESTQUANTILE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTRANK.php b/src/Command/Redis/TDigest/TDIGESTRANK.php index 624835b7922129472e91a9d8beec4bf3a86705e2..e0c3255663fb3f8790f26a060467e6e864b661a5 100644 --- a/src/Command/Redis/TDigest/TDIGESTRANK.php +++ b/src/Command/Redis/TDigest/TDIGESTRANK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTRESET.php b/src/Command/Redis/TDigest/TDIGESTRESET.php index 6fa0f311fd46b6afca2889dfad7fa843213e93e1..20fb87412ba07f703b6e71e5384fb59eba106acb 100644 --- a/src/Command/Redis/TDigest/TDIGESTRESET.php +++ b/src/Command/Redis/TDigest/TDIGESTRESET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTREVRANK.php b/src/Command/Redis/TDigest/TDIGESTREVRANK.php index 3bf5a08ea4295bf773fc2281e06128e4f4864c5d..e6edbd89e521e4f99e77aae7a5d95e0a926d668b 100644 --- a/src/Command/Redis/TDigest/TDIGESTREVRANK.php +++ b/src/Command/Redis/TDigest/TDIGESTREVRANK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN.php b/src/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN.php index b624eef5ddcf2fef6bbc66d6011d498226624d9b..2490eef3549f5e14391f771dd1f2e2c55f137840 100644 --- a/src/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN.php +++ b/src/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TIME.php b/src/Command/Redis/TIME.php index a4a2cb7f08e10e4da7d45ecd3fcd2905448e8787..7c3ba199626a6c70ac3aa18d20bce75ef5140488 100644 --- a/src/Command/Redis/TIME.php +++ b/src/Command/Redis/TIME.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TOUCH.php b/src/Command/Redis/TOUCH.php index 9cd3817c4c048dd1a1abe8f7942643be60070576..2991d6cc11f0b502b216fc32e09fe02a13211db1 100644 --- a/src/Command/Redis/TOUCH.php +++ b/src/Command/Redis/TOUCH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TTL.php b/src/Command/Redis/TTL.php index cf8f11417395738747d4b63cf1fa19e8d26897bf..77f9f346c1f73e02fbf0fc44b8fcbac2940ecc36 100644 --- a/src/Command/Redis/TTL.php +++ b/src/Command/Redis/TTL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TYPE.php b/src/Command/Redis/TYPE.php index 6d15cbcfe1a6bf8c371a5dee8dc5df951a53f5ae..0816454441cb9e5f177d685c6e1066c373b52686 100644 --- a/src/Command/Redis/TYPE.php +++ b/src/Command/Redis/TYPE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSADD.php b/src/Command/Redis/TimeSeries/TSADD.php index 7d92cd600cf5b97b6c2ba3009f7e7c45ae18859b..68707e56b8960f7a77bd0bc9e4112e6cc07b196c 100644 --- a/src/Command/Redis/TimeSeries/TSADD.php +++ b/src/Command/Redis/TimeSeries/TSADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSALTER.php b/src/Command/Redis/TimeSeries/TSALTER.php index f91e9d04d8699ad008aa0a075f6464a1c5298b95..9d46fe2cd906c09a0b0abff72301558449812093 100644 --- a/src/Command/Redis/TimeSeries/TSALTER.php +++ b/src/Command/Redis/TimeSeries/TSALTER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSCREATE.php b/src/Command/Redis/TimeSeries/TSCREATE.php index 7cf73fa822352812b24a23b428c6918f5bce9a6d..29f815c0a42f91ed843a99a2f0650eab4071f207 100644 --- a/src/Command/Redis/TimeSeries/TSCREATE.php +++ b/src/Command/Redis/TimeSeries/TSCREATE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSCREATERULE.php b/src/Command/Redis/TimeSeries/TSCREATERULE.php index 047c35cdac3425bda93476b6f4b77eca3540cdc6..9e9adcef30343e7d3c28861de4531a8746ebd5ad 100644 --- a/src/Command/Redis/TimeSeries/TSCREATERULE.php +++ b/src/Command/Redis/TimeSeries/TSCREATERULE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSDECRBY.php b/src/Command/Redis/TimeSeries/TSDECRBY.php index d605f4e527c7f35296716ed09a78e8c28cf3b3f9..597879489329d9c9f4020abb79a0dd0b0ff31ee8 100644 --- a/src/Command/Redis/TimeSeries/TSDECRBY.php +++ b/src/Command/Redis/TimeSeries/TSDECRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSDEL.php b/src/Command/Redis/TimeSeries/TSDEL.php index 86982cdafd894efebaa3bd8180f425335386bf06..83b9639b0cb3d96d20abad1951a6875105129834 100644 --- a/src/Command/Redis/TimeSeries/TSDEL.php +++ b/src/Command/Redis/TimeSeries/TSDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSDELETERULE.php b/src/Command/Redis/TimeSeries/TSDELETERULE.php index 0b0d68c58c1390d90e74c7a36e52883844529c7c..c24643c28a083552464f7efd709ca731caa2182f 100644 --- a/src/Command/Redis/TimeSeries/TSDELETERULE.php +++ b/src/Command/Redis/TimeSeries/TSDELETERULE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSGET.php b/src/Command/Redis/TimeSeries/TSGET.php index 6bddeb059d180f9581190447ede51e62c5d4612f..13f84993920b5d3ac1f1a45d53f7fdf22ce5e4e6 100644 --- a/src/Command/Redis/TimeSeries/TSGET.php +++ b/src/Command/Redis/TimeSeries/TSGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSINCRBY.php b/src/Command/Redis/TimeSeries/TSINCRBY.php index fbe570c00f7ca66fa52629cdb647b1f3976471b4..e1bd0e0f2ac8deec5cde0172d996e6e71f275e23 100644 --- a/src/Command/Redis/TimeSeries/TSINCRBY.php +++ b/src/Command/Redis/TimeSeries/TSINCRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSINFO.php b/src/Command/Redis/TimeSeries/TSINFO.php index ee259ab2484096d8d4569e850b811b4a5c18781a..5ce146a2002923d7baffbc3524bfbacc87ed74ad 100644 --- a/src/Command/Redis/TimeSeries/TSINFO.php +++ b/src/Command/Redis/TimeSeries/TSINFO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSMADD.php b/src/Command/Redis/TimeSeries/TSMADD.php index af8d459a9323910aa420b8ba79105da2fe2bc12f..02fc03e2994cb2d9997f46896a60fe5fe9699df5 100644 --- a/src/Command/Redis/TimeSeries/TSMADD.php +++ b/src/Command/Redis/TimeSeries/TSMADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSMGET.php b/src/Command/Redis/TimeSeries/TSMGET.php index c28add86cee243e9fdb40db7dd99d03ba50196f7..4cf826993fddc8a9f61774eedb6110841746f813 100644 --- a/src/Command/Redis/TimeSeries/TSMGET.php +++ b/src/Command/Redis/TimeSeries/TSMGET.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSMRANGE.php b/src/Command/Redis/TimeSeries/TSMRANGE.php index edce0d35cad0504261f3a095785926455cc93a3d..0420acaa0a9863cab65f2e6dc6bc197da6593ae3 100644 --- a/src/Command/Redis/TimeSeries/TSMRANGE.php +++ b/src/Command/Redis/TimeSeries/TSMRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSMREVRANGE.php b/src/Command/Redis/TimeSeries/TSMREVRANGE.php index 5937bb0c407c77e6a865008002a62d4f8890ca96..44dd91b570e4d0a85284fecc5222dd58ec281224 100644 --- a/src/Command/Redis/TimeSeries/TSMREVRANGE.php +++ b/src/Command/Redis/TimeSeries/TSMREVRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSQUERYINDEX.php b/src/Command/Redis/TimeSeries/TSQUERYINDEX.php index b6d28a1ad8b3d5eab68e37868eab8f17c6445d23..2451dcd5aadf639c4062cebb1a7d9a42afea4256 100644 --- a/src/Command/Redis/TimeSeries/TSQUERYINDEX.php +++ b/src/Command/Redis/TimeSeries/TSQUERYINDEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSRANGE.php b/src/Command/Redis/TimeSeries/TSRANGE.php index fef789d9331a6a742d1451c42e6315f9e06b1426..253ba4ad34896257f40b891bc6600639061c07e9 100644 --- a/src/Command/Redis/TimeSeries/TSRANGE.php +++ b/src/Command/Redis/TimeSeries/TSRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TimeSeries/TSREVRANGE.php b/src/Command/Redis/TimeSeries/TSREVRANGE.php index a1676d102279353a1fdc2254d5c81405558c479f..2054fabe6c3ed8ca3e3c4ba3668a4c316f83932e 100644 --- a/src/Command/Redis/TimeSeries/TSREVRANGE.php +++ b/src/Command/Redis/TimeSeries/TSREVRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TopK/TOPKADD.php b/src/Command/Redis/TopK/TOPKADD.php index f431d0d7f0087d7567cd995922a2372469228323..990faaf5da67a3bcd5c1ac9b303b9a6a9fb3e6e9 100644 --- a/src/Command/Redis/TopK/TOPKADD.php +++ b/src/Command/Redis/TopK/TOPKADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TopK/TOPKINCRBY.php b/src/Command/Redis/TopK/TOPKINCRBY.php index cb4d3a0b2d618189cc4ef9938f4ca3f3b8765cfb..c7fb9a6c17d4e28e0dbd16c6573855dadbcd9d5c 100644 --- a/src/Command/Redis/TopK/TOPKINCRBY.php +++ b/src/Command/Redis/TopK/TOPKINCRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TopK/TOPKINFO.php b/src/Command/Redis/TopK/TOPKINFO.php index b8280d0ea36cb75d806896718422af4d3ceb2d86..50a8ffac3ececa20a355f78ca85faf25161b44d5 100644 --- a/src/Command/Redis/TopK/TOPKINFO.php +++ b/src/Command/Redis/TopK/TOPKINFO.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TopK/TOPKLIST.php b/src/Command/Redis/TopK/TOPKLIST.php index 1e234033fda28f63de7a90f814f9e6c8732b6efa..d516b2a8d8e8e961a9e4ea80dc256795dc3d327b 100644 --- a/src/Command/Redis/TopK/TOPKLIST.php +++ b/src/Command/Redis/TopK/TOPKLIST.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TopK/TOPKQUERY.php b/src/Command/Redis/TopK/TOPKQUERY.php index 443a2117debe8f8e1ffc33b31abbe0ee40b68d23..5854935187dc00f41e5769286ee05b2eb5bdd0e8 100644 --- a/src/Command/Redis/TopK/TOPKQUERY.php +++ b/src/Command/Redis/TopK/TOPKQUERY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/TopK/TOPKRESERVE.php b/src/Command/Redis/TopK/TOPKRESERVE.php index 510b024eeabdf2189fa1eb045d5b438265975ede..144154897486f892ce7a76881c3d0236979c5b13 100644 --- a/src/Command/Redis/TopK/TOPKRESERVE.php +++ b/src/Command/Redis/TopK/TOPKRESERVE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/UNSUBSCRIBE.php b/src/Command/Redis/UNSUBSCRIBE.php index 98c590dcbdf5990f87df0a9be71962b0af1cce82..9839e49c3a37103b5432f25f4ca4ccef6a8f0e52 100644 --- a/src/Command/Redis/UNSUBSCRIBE.php +++ b/src/Command/Redis/UNSUBSCRIBE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/UNWATCH.php b/src/Command/Redis/UNWATCH.php index 1a810fc3d64e73b4de36cfa23db55ce5f64c9079..089b95f48f66b6ea3233902aaf449d5be7c8fd19 100644 --- a/src/Command/Redis/UNWATCH.php +++ b/src/Command/Redis/UNWATCH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/WAITAOF.php b/src/Command/Redis/WAITAOF.php index be4d12431fc4d321125aac170471e56e444a1605..a07a76436ac4581f0c8acbce5845102071aca5c6 100644 --- a/src/Command/Redis/WAITAOF.php +++ b/src/Command/Redis/WAITAOF.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/WATCH.php b/src/Command/Redis/WATCH.php index 8fa91fb271a7c9a28677e917a102f37575ff09f3..3360f98bb9503c18f98901e9ff585093ff896fe0 100644 --- a/src/Command/Redis/WATCH.php +++ b/src/Command/Redis/WATCH.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/XADD.php b/src/Command/Redis/XADD.php index e3a86d7cd6cb17ebce8e5d146f4337edd616b69c..cab786f1fab19883f2ffec4cb20203b721c572ad 100644 --- a/src/Command/Redis/XADD.php +++ b/src/Command/Redis/XADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/XDEL.php b/src/Command/Redis/XDEL.php index dba7c60043d25a9566f6b780c45aa5ddb893d718..dffd2deacbb6b401453f64bb892f1cdd3b879e6a 100644 --- a/src/Command/Redis/XDEL.php +++ b/src/Command/Redis/XDEL.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/XLEN.php b/src/Command/Redis/XLEN.php index 413f1b0f761e9a1359ee19c2af60b089ca523e01..9bac0a9703c2cfe7c71997c2ca54237b295a3e79 100644 --- a/src/Command/Redis/XLEN.php +++ b/src/Command/Redis/XLEN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/XRANGE.php b/src/Command/Redis/XRANGE.php index 68c31fb8eb4bdee431b8e2af36ee9c6bb5733ade..49e8ac28d1150c35f980e3f372cca8c10918b9e7 100644 --- a/src/Command/Redis/XRANGE.php +++ b/src/Command/Redis/XRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/XREAD.php b/src/Command/Redis/XREAD.php index b4038acbfacdfbf12cc21a4df2ec7711c3d7cc72..523050bed9b0100bac729099b58cd5f2d975f4f4 100644 --- a/src/Command/Redis/XREAD.php +++ b/src/Command/Redis/XREAD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/XREVRANGE.php b/src/Command/Redis/XREVRANGE.php index c92afc644bf7510480ec3277d5dcb46d31a42ffb..5704cefca9bfa402757e1ab0c435bba8f64c191d 100644 --- a/src/Command/Redis/XREVRANGE.php +++ b/src/Command/Redis/XREVRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/XTRIM.php b/src/Command/Redis/XTRIM.php index 8bdb24f9cb6979bebc2fe489479713060f410790..9cfe22e7d48d01e704e1cb113bfca9751ce1d3ba 100644 --- a/src/Command/Redis/XTRIM.php +++ b/src/Command/Redis/XTRIM.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZADD.php b/src/Command/Redis/ZADD.php index 72cbbbd74d794f7ce0c8e46ab657c8fffc3efa6d..01874703e93a6953d5dc2e4b80756bd1c39ee7c7 100644 --- a/src/Command/Redis/ZADD.php +++ b/src/Command/Redis/ZADD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZCARD.php b/src/Command/Redis/ZCARD.php index d83ab619d7f2e3ffeb941b5e6910433234276bbc..c0b2389c3ee39d6d102594b364970ea3954611c5 100644 --- a/src/Command/Redis/ZCARD.php +++ b/src/Command/Redis/ZCARD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZCOUNT.php b/src/Command/Redis/ZCOUNT.php index 381ecf4ce26aba791d6dae7172c18b0fa84a75c3..8e6ef5e5501a967c4f2669291b7b6959c533d453 100644 --- a/src/Command/Redis/ZCOUNT.php +++ b/src/Command/Redis/ZCOUNT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZDIFF.php b/src/Command/Redis/ZDIFF.php index 04dc3be3537018e2203e9ab7a2cc1bc33abc85a0..5a4933025ba940b1d47cbab95ba3fa7426e99c18 100644 --- a/src/Command/Redis/ZDIFF.php +++ b/src/Command/Redis/ZDIFF.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZDIFFSTORE.php b/src/Command/Redis/ZDIFFSTORE.php index ccae228e2e79dca71bd4ff9866cb1e966966965c..aba401bbc46fe0abb859899140201506f1c77e66 100644 --- a/src/Command/Redis/ZDIFFSTORE.php +++ b/src/Command/Redis/ZDIFFSTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZINCRBY.php b/src/Command/Redis/ZINCRBY.php index d3d9bf4f1d95b44ded816d8d2f2d3317d479a09e..c5047299bb7933d56a67ca58b2c52e54f7d0354e 100644 --- a/src/Command/Redis/ZINCRBY.php +++ b/src/Command/Redis/ZINCRBY.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZINTER.php b/src/Command/Redis/ZINTER.php index 955905c2523d15b870f857fd71c2ef851ac7a56e..65e9955c0af810cf7125df616cd627159a5c458c 100644 --- a/src/Command/Redis/ZINTER.php +++ b/src/Command/Redis/ZINTER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZINTERCARD.php b/src/Command/Redis/ZINTERCARD.php index fb89cab4426e9ef1d65c929debf48e632d658218..8168fc6067354a3a89a6b9616e444b695504790a 100644 --- a/src/Command/Redis/ZINTERCARD.php +++ b/src/Command/Redis/ZINTERCARD.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZINTERSTORE.php b/src/Command/Redis/ZINTERSTORE.php index 8b729c779f58e97a597345fa5918cfe319de5716..80d851012a1819f7327f7acded25bcef6353d929 100644 --- a/src/Command/Redis/ZINTERSTORE.php +++ b/src/Command/Redis/ZINTERSTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZLEXCOUNT.php b/src/Command/Redis/ZLEXCOUNT.php index 4f5977c912175bce29775a79531ef02bbf921d78..c32f721570532ac0a6a3193d4e2e1ef9efa16764 100644 --- a/src/Command/Redis/ZLEXCOUNT.php +++ b/src/Command/Redis/ZLEXCOUNT.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZMPOP.php b/src/Command/Redis/ZMPOP.php index 6f56065e8fad33996dcb72564898fde9d68ae0f7..1ff7f8972566168f180640e31a3b594df1b1e222 100644 --- a/src/Command/Redis/ZMPOP.php +++ b/src/Command/Redis/ZMPOP.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZMSCORE.php b/src/Command/Redis/ZMSCORE.php index 8feb7ce907132bf428478e4016c600bb442c79b2..0455fad26b1c68af5aa6619214c78a510a6543c7 100644 --- a/src/Command/Redis/ZMSCORE.php +++ b/src/Command/Redis/ZMSCORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZPOPMAX.php b/src/Command/Redis/ZPOPMAX.php index 15868d837a00728dc368262163447c7c29863cd4..1339f054b02729ae534b602bf83d7d063157ab94 100644 --- a/src/Command/Redis/ZPOPMAX.php +++ b/src/Command/Redis/ZPOPMAX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZPOPMIN.php b/src/Command/Redis/ZPOPMIN.php index 1e65074aad8e9b22bb3d8ede3ab8d9890d4953d2..c0657c91056a84cb05e73307943e9a00ac912e73 100644 --- a/src/Command/Redis/ZPOPMIN.php +++ b/src/Command/Redis/ZPOPMIN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZRANDMEMBER.php b/src/Command/Redis/ZRANDMEMBER.php index 560fb186729710cc12842e5ccfbea86515ca2bd9..b1d2ca71a12ea8c3242dc66182fd5d27a6824765 100644 --- a/src/Command/Redis/ZRANDMEMBER.php +++ b/src/Command/Redis/ZRANDMEMBER.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZRANGE.php b/src/Command/Redis/ZRANGE.php index 12ca6ad66bce05346a49f805271c491fec8f27ca..243252449a868aa010d2360c67ac8ff26e32e28d 100644 --- a/src/Command/Redis/ZRANGE.php +++ b/src/Command/Redis/ZRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZRANGEBYLEX.php b/src/Command/Redis/ZRANGEBYLEX.php index 34e7e1e09c653494cb61a5ac6ddd5dd0ab85a204..6b0ad96999f4851f379713b96ccca1d93eece87e 100644 --- a/src/Command/Redis/ZRANGEBYLEX.php +++ b/src/Command/Redis/ZRANGEBYLEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZRANGEBYSCORE.php b/src/Command/Redis/ZRANGEBYSCORE.php index fcd742395852ce3191d327a13bbfa09e5ccd569e..b7f279a2a8e0e77b5e3fbd5fd518553b6d4d43e1 100644 --- a/src/Command/Redis/ZRANGEBYSCORE.php +++ b/src/Command/Redis/ZRANGEBYSCORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZRANGESTORE.php b/src/Command/Redis/ZRANGESTORE.php index ff19352381f691d4c91d155d94fbced9466ae6e6..f61d41e77c2075de004d7f126420546517c58402 100644 --- a/src/Command/Redis/ZRANGESTORE.php +++ b/src/Command/Redis/ZRANGESTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZRANK.php b/src/Command/Redis/ZRANK.php index c734a71b259c541a60ca1bb7b7d5a6bc78693c10..b8e2df7ea39969022a26109a090369a3179c11e7 100644 --- a/src/Command/Redis/ZRANK.php +++ b/src/Command/Redis/ZRANK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZREM.php b/src/Command/Redis/ZREM.php index f8267e9e6cb2595000a7571bee50826a5ff6470c..fc6f5777a69cbedcbd4c2b851fe9a737ab4de4e1 100644 --- a/src/Command/Redis/ZREM.php +++ b/src/Command/Redis/ZREM.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZREMRANGEBYLEX.php b/src/Command/Redis/ZREMRANGEBYLEX.php index 2343bb836f062e555d01fabca9222446f96c3a5d..3370c678c73a2f827f709485e84649fada067257 100644 --- a/src/Command/Redis/ZREMRANGEBYLEX.php +++ b/src/Command/Redis/ZREMRANGEBYLEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZREMRANGEBYRANK.php b/src/Command/Redis/ZREMRANGEBYRANK.php index 5b93f4dc824a0b8f600d4c2e851da505e0794577..ad9fd56b4b8a8d8e9e2d34b74a3b214bcf36e727 100644 --- a/src/Command/Redis/ZREMRANGEBYRANK.php +++ b/src/Command/Redis/ZREMRANGEBYRANK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZREMRANGEBYSCORE.php b/src/Command/Redis/ZREMRANGEBYSCORE.php index 6845536e29a08a7ce8a828a3a8a6b325fdea7dfd..3e9265e199075c43f84ed6e65a0983fdcdb4f66e 100644 --- a/src/Command/Redis/ZREMRANGEBYSCORE.php +++ b/src/Command/Redis/ZREMRANGEBYSCORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZREVRANGE.php b/src/Command/Redis/ZREVRANGE.php index b6e16384fb46d5d3cfaf2a729d4e0d29cfd0cce5..52ed092b7e8cd8f3eb24de9710452c5c7326318b 100644 --- a/src/Command/Redis/ZREVRANGE.php +++ b/src/Command/Redis/ZREVRANGE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZREVRANGEBYLEX.php b/src/Command/Redis/ZREVRANGEBYLEX.php index 2405fcaf93a5612f777a0c04c2f2bf141e964470..e70cb5feaed634173af4c325bffc183c9153271a 100644 --- a/src/Command/Redis/ZREVRANGEBYLEX.php +++ b/src/Command/Redis/ZREVRANGEBYLEX.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZREVRANGEBYSCORE.php b/src/Command/Redis/ZREVRANGEBYSCORE.php index 07b539daf040df9093cd5fa8ba261cf26b8cc72d..2cecd1dfa7f7d979ad57953373e871823470821b 100644 --- a/src/Command/Redis/ZREVRANGEBYSCORE.php +++ b/src/Command/Redis/ZREVRANGEBYSCORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZREVRANK.php b/src/Command/Redis/ZREVRANK.php index 8172044d1b42e7d4ed2576622ba843ff6881dd12..4794fd1eb402180dcec188cc54cb350556105cf0 100644 --- a/src/Command/Redis/ZREVRANK.php +++ b/src/Command/Redis/ZREVRANK.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZSCAN.php b/src/Command/Redis/ZSCAN.php index 83befa0b3514774a320289286bf76ecca0529058..97ef59d203260e31c52a40d2078243ba774749b7 100644 --- a/src/Command/Redis/ZSCAN.php +++ b/src/Command/Redis/ZSCAN.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZSCORE.php b/src/Command/Redis/ZSCORE.php index 5aeaf7ab5dc6bfb27b92e9c0abae0fc7b8fca2b9..2728a9f89cef4eabb5c5de3e84ec63fa56f4d877 100644 --- a/src/Command/Redis/ZSCORE.php +++ b/src/Command/Redis/ZSCORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZUNION.php b/src/Command/Redis/ZUNION.php index b215c7692456b7570a33150c3c2d92fd41ece200..67fec6cf4c8699d1c56595210a6ec525533b5cd5 100644 --- a/src/Command/Redis/ZUNION.php +++ b/src/Command/Redis/ZUNION.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Redis/ZUNIONSTORE.php b/src/Command/Redis/ZUNIONSTORE.php index 25c072d1c3c5732db0294a2c8f3eee1adaf62ba8..94b98d81c7fce361732835923745c50bd845812e 100644 --- a/src/Command/Redis/ZUNIONSTORE.php +++ b/src/Command/Redis/ZUNIONSTORE.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/RedisFactory.php b/src/Command/RedisFactory.php index c7d785a0a8dda63fde1c4dacdf4a28c5431fa806..a20b4d5164e3c826255d377ad3c3a34fef8b1880 100644 --- a/src/Command/RedisFactory.php +++ b/src/Command/RedisFactory.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/ScriptCommand.php b/src/Command/ScriptCommand.php index b9b845c63dc4edf89274c2f4ffdbed0071f50950..d978649c6206b51f21bc877c07e2ed3d9468eb0f 100644 --- a/src/Command/ScriptCommand.php +++ b/src/Command/ScriptCommand.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/ContainerCommands/Functions/DeleteStrategy.php b/src/Command/Strategy/ContainerCommands/Functions/DeleteStrategy.php index d759799e7108e4b2f162aea8d7ff2bf8b1047a93..4c12cfd449f4e68e657e7fdb83525367c9c43467 100644 --- a/src/Command/Strategy/ContainerCommands/Functions/DeleteStrategy.php +++ b/src/Command/Strategy/ContainerCommands/Functions/DeleteStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/ContainerCommands/Functions/DumpStrategy.php b/src/Command/Strategy/ContainerCommands/Functions/DumpStrategy.php index 6f804ddfa2deb89af662a66b89ba5eed36fd4822..a98bc5d7379f47fc67746710d1cdae48fbd26685 100644 --- a/src/Command/Strategy/ContainerCommands/Functions/DumpStrategy.php +++ b/src/Command/Strategy/ContainerCommands/Functions/DumpStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/ContainerCommands/Functions/FlushStrategy.php b/src/Command/Strategy/ContainerCommands/Functions/FlushStrategy.php index 14501222d05c6e2ded7864b274a9157622f8ce6b..30c9ee9406fec0cc35e39b271c99c3d21bb52ea4 100644 --- a/src/Command/Strategy/ContainerCommands/Functions/FlushStrategy.php +++ b/src/Command/Strategy/ContainerCommands/Functions/FlushStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/ContainerCommands/Functions/KillStrategy.php b/src/Command/Strategy/ContainerCommands/Functions/KillStrategy.php index 38c1410d3f0d44d3262092b11400eea6310db5a1..1ba351a77d1f5939c4e77bc16a26bd6f7249914a 100644 --- a/src/Command/Strategy/ContainerCommands/Functions/KillStrategy.php +++ b/src/Command/Strategy/ContainerCommands/Functions/KillStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/ContainerCommands/Functions/ListStrategy.php b/src/Command/Strategy/ContainerCommands/Functions/ListStrategy.php index 79b6eb15205a2def3c64cbed60d934bf8d9a30a5..1df993be02f40f17b227de03ea1c1db4b3c65e48 100644 --- a/src/Command/Strategy/ContainerCommands/Functions/ListStrategy.php +++ b/src/Command/Strategy/ContainerCommands/Functions/ListStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/ContainerCommands/Functions/LoadStrategy.php b/src/Command/Strategy/ContainerCommands/Functions/LoadStrategy.php index e8366987fbc06791d67a6341ec6f69d8289195bd..44b46e437afc67b1183a3798947736e9d1aaeed0 100644 --- a/src/Command/Strategy/ContainerCommands/Functions/LoadStrategy.php +++ b/src/Command/Strategy/ContainerCommands/Functions/LoadStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/ContainerCommands/Functions/RestoreStrategy.php b/src/Command/Strategy/ContainerCommands/Functions/RestoreStrategy.php index 83de48b8306ca7a50569e29465fd0f350e259153..b2bcd469961d33331b06c5a9f3df9ea9bbdd1d09 100644 --- a/src/Command/Strategy/ContainerCommands/Functions/RestoreStrategy.php +++ b/src/Command/Strategy/ContainerCommands/Functions/RestoreStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/ContainerCommands/Functions/StatsStrategy.php b/src/Command/Strategy/ContainerCommands/Functions/StatsStrategy.php index 8d3d5b881e9f43f6d81ca5b8e97e5a637757fb80..ea8c9c53f132c20436e5ba602886571805a944d0 100644 --- a/src/Command/Strategy/ContainerCommands/Functions/StatsStrategy.php +++ b/src/Command/Strategy/ContainerCommands/Functions/StatsStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/StrategyResolverInterface.php b/src/Command/Strategy/StrategyResolverInterface.php index cb57654ad7b767fd10eabc6ff7c2e9ecbe99e06e..88f200576e17090965e00222b4e132ee366db9d3 100644 --- a/src/Command/Strategy/StrategyResolverInterface.php +++ b/src/Command/Strategy/StrategyResolverInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/SubcommandStrategyInterface.php b/src/Command/Strategy/SubcommandStrategyInterface.php index 48abd847b8cf2eaba04327632af194e87ef584f0..c3bc9b78e321ce4dc98b31dc1190524aee76f901 100644 --- a/src/Command/Strategy/SubcommandStrategyInterface.php +++ b/src/Command/Strategy/SubcommandStrategyInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Strategy/SubcommandStrategyResolver.php b/src/Command/Strategy/SubcommandStrategyResolver.php index 864b2a31479fa920213ba5b5a4ea963da9c74148..bc033606b2915b15d1a4ed39971d08fb087bb2e8 100644 --- a/src/Command/Strategy/SubcommandStrategyResolver.php +++ b/src/Command/Strategy/SubcommandStrategyResolver.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Aggregate.php b/src/Command/Traits/Aggregate.php index 79b8c6e9e2e217994e8ef0b10589183b66c3c6bd..da4479e78af289c95c55b20748db6b73c99c3430 100644 --- a/src/Command/Traits/Aggregate.php +++ b/src/Command/Traits/Aggregate.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/BitByte.php b/src/Command/Traits/BitByte.php index 827c5320a147451af206967290ba386aa5ddef2d..03d255f0a24fc82c5366d9cbb340b74875dcf4bb 100644 --- a/src/Command/Traits/BitByte.php +++ b/src/Command/Traits/BitByte.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/BloomFilters/BucketSize.php b/src/Command/Traits/BloomFilters/BucketSize.php index a784b0931c5749e01487cda8bcefa3021374a5ef..4217efa34b3148f78e173f2def27254b492d7c03 100644 --- a/src/Command/Traits/BloomFilters/BucketSize.php +++ b/src/Command/Traits/BloomFilters/BucketSize.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/BloomFilters/Capacity.php b/src/Command/Traits/BloomFilters/Capacity.php index f29ccc29ead007fb4fa442a1c2941f705cb49875..52929cc4bc06c1326d513c43edd70060a443e810 100644 --- a/src/Command/Traits/BloomFilters/Capacity.php +++ b/src/Command/Traits/BloomFilters/Capacity.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/BloomFilters/Error.php b/src/Command/Traits/BloomFilters/Error.php index b410ec399716256dcbd0fabff4e349537cdd3894..91037622ea5609168279376fccb97b7b3d80709d 100644 --- a/src/Command/Traits/BloomFilters/Error.php +++ b/src/Command/Traits/BloomFilters/Error.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/BloomFilters/Expansion.php b/src/Command/Traits/BloomFilters/Expansion.php index 1cd244d8a700c968607b548a832811e85b19bb83..0fb1764d97cc31d36d28525d73fb1f7bff1fcd8a 100644 --- a/src/Command/Traits/BloomFilters/Expansion.php +++ b/src/Command/Traits/BloomFilters/Expansion.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/BloomFilters/Items.php b/src/Command/Traits/BloomFilters/Items.php index 198e6e0830f2428f9c9697751912cd33bb6947bd..87d1533aa68ce9035d420f2df725e4325ffd9515 100644 --- a/src/Command/Traits/BloomFilters/Items.php +++ b/src/Command/Traits/BloomFilters/Items.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/BloomFilters/MaxIterations.php b/src/Command/Traits/BloomFilters/MaxIterations.php index e5ad76f3901037e212d362e3c07bbbb636550b7a..05cc33bc92b5eef450a3a9606815c111c30258e8 100644 --- a/src/Command/Traits/BloomFilters/MaxIterations.php +++ b/src/Command/Traits/BloomFilters/MaxIterations.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/BloomFilters/NoCreate.php b/src/Command/Traits/BloomFilters/NoCreate.php index d243afdd707ed8e352a333c89ff3d27e12474ba5..85f7ae84c556553caa4026cd640ec7a1e800f17f 100644 --- a/src/Command/Traits/BloomFilters/NoCreate.php +++ b/src/Command/Traits/BloomFilters/NoCreate.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/By/ByArgument.php b/src/Command/Traits/By/ByArgument.php index db808104722344ab92e5bf531f6e885cd4eb832d..c8e018a496fa118c34a31765d3b285dd67670c9d 100644 --- a/src/Command/Traits/By/ByArgument.php +++ b/src/Command/Traits/By/ByArgument.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/By/ByLexByScore.php b/src/Command/Traits/By/ByLexByScore.php index 67ebfb6f38a43acab501b260c332d09c9664661d..97c2ddd693083dfeaecd2e2f7c80779580e8d778 100644 --- a/src/Command/Traits/By/ByLexByScore.php +++ b/src/Command/Traits/By/ByLexByScore.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/By/GeoBy.php b/src/Command/Traits/By/GeoBy.php index d17613ef1e077e906d757cf29c5f5ead5ca12aa0..ecbb8df2916416570b928830b6a21a8d47409619 100644 --- a/src/Command/Traits/By/GeoBy.php +++ b/src/Command/Traits/By/GeoBy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Count.php b/src/Command/Traits/Count.php index c78e5441827c962f96e268a1c9d3a5e583454fb4..a9a91b418c0cc2191f0d57466d3ad53518165590 100644 --- a/src/Command/Traits/Count.php +++ b/src/Command/Traits/Count.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/DB.php b/src/Command/Traits/DB.php index f113aa096fe91aedbd478119b759c55c17bab666..6519b7d194ebf3fb715cce45dbdca6fed93d63a6 100644 --- a/src/Command/Traits/DB.php +++ b/src/Command/Traits/DB.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Expire/ExpireOptions.php b/src/Command/Traits/Expire/ExpireOptions.php index 33dfb9e55f20f3cbea6a57bdfa1d02e9c9ee8157..9154d64698512e5c60fdeb142905191c79cdec8e 100644 --- a/src/Command/Traits/Expire/ExpireOptions.php +++ b/src/Command/Traits/Expire/ExpireOptions.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/From/GeoFrom.php b/src/Command/Traits/From/GeoFrom.php index 3ef56ce685c20d5e7ca595eb201649f34978a9a1..4fe9bbed8c907c9f3658fca41e448af356e5ac8f 100644 --- a/src/Command/Traits/From/GeoFrom.php +++ b/src/Command/Traits/From/GeoFrom.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Get/Get.php b/src/Command/Traits/Get/Get.php index 7d213d339c4fc25b77c782f372238d54624ec540..c01003ee12ec06633a231426a2d7ffd4295fc6af 100644 --- a/src/Command/Traits/Get/Get.php +++ b/src/Command/Traits/Get/Get.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Json/Indent.php b/src/Command/Traits/Json/Indent.php index 25707adb71443a1134dd01e4bd073110b71c2599..80ddcd5e711c771f3a674e73de2769942dcc545f 100644 --- a/src/Command/Traits/Json/Indent.php +++ b/src/Command/Traits/Json/Indent.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Json/Newline.php b/src/Command/Traits/Json/Newline.php index 170a0370cc3ca0d6d86547b524aa4bf6bffd6a10..ba9ecb68348eb008180934122daa039e6f345acf 100644 --- a/src/Command/Traits/Json/Newline.php +++ b/src/Command/Traits/Json/Newline.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Json/NxXxArgument.php b/src/Command/Traits/Json/NxXxArgument.php index 40b9e32db8cfbcad6d3e67a76ac797bd6d579b15..12023192488b99ac3735056c31a48284b1236d91 100644 --- a/src/Command/Traits/Json/NxXxArgument.php +++ b/src/Command/Traits/Json/NxXxArgument.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Json/Space.php b/src/Command/Traits/Json/Space.php index acd77fa3f6c95045a41f37b58def0b637b9bd1fc..1ecea03c6af1f609490e08874611aae427311967 100644 --- a/src/Command/Traits/Json/Space.php +++ b/src/Command/Traits/Json/Space.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Keys.php b/src/Command/Traits/Keys.php index 42b8d1ef44c4854b93ec974f7c643b8b1dbe72f3..e18a017c4e12e0bd3b502540691b70c07049f4c8 100644 --- a/src/Command/Traits/Keys.php +++ b/src/Command/Traits/Keys.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/LeftRight.php b/src/Command/Traits/LeftRight.php index 41954841866b127331659b89e6411c8fb643f647..9f9c08139c9fca2ff0fb5fd746c035c6bd0b0e45 100644 --- a/src/Command/Traits/LeftRight.php +++ b/src/Command/Traits/LeftRight.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Limit/Limit.php b/src/Command/Traits/Limit/Limit.php index fd13e68e015251d643028c3229ab1638600cdc8e..8768d123baba1d5243df3d4da97e0011f1ba1d8d 100644 --- a/src/Command/Traits/Limit/Limit.php +++ b/src/Command/Traits/Limit/Limit.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Limit/LimitObject.php b/src/Command/Traits/Limit/LimitObject.php index 244b475c97299e5139e7313602a2be92b6832a2a..7b998c091189ca750bdc8691499c444050330774 100644 --- a/src/Command/Traits/Limit/LimitObject.php +++ b/src/Command/Traits/Limit/LimitObject.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/MinMaxModifier.php b/src/Command/Traits/MinMaxModifier.php index 11ac7f2c076442c9bcfcda33a5de817134c91b16..e15abd9180073b7ccdc5dd962f7e48e39f9cd3b0 100644 --- a/src/Command/Traits/MinMaxModifier.php +++ b/src/Command/Traits/MinMaxModifier.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Replace.php b/src/Command/Traits/Replace.php index 3753e6d7d2d78ad74aafe60859792283ff8a7c7c..9182be2e7f5b72f6cee5c372a8210244d51803ee 100644 --- a/src/Command/Traits/Replace.php +++ b/src/Command/Traits/Replace.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Rev.php b/src/Command/Traits/Rev.php index e21acfeb075f2cab34d8472aea3a1d9fecdccbda..fb7dc2c30db25ce9d91e5d21b92bee70b065653d 100644 --- a/src/Command/Traits/Rev.php +++ b/src/Command/Traits/Rev.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Sorting.php b/src/Command/Traits/Sorting.php index c287c199e76e98f16cbb03d80662a44512c4a8c1..a70c4c1fff655d5a2a414f729e8ae4f302aafecf 100644 --- a/src/Command/Traits/Sorting.php +++ b/src/Command/Traits/Sorting.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Storedist.php b/src/Command/Traits/Storedist.php index 0b9856a320b36d2e5c33296bb0c417fe87c770aa..8a5e5d6bc74fd178cf6308c59aada8db7ca14292 100644 --- a/src/Command/Traits/Storedist.php +++ b/src/Command/Traits/Storedist.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Timeout.php b/src/Command/Traits/Timeout.php index 62b1c9f4041995f3b03f7216c0d10ec6eacf7b1f..220a85fb6e54b6effa828ee8f928e7724864e6e5 100644 --- a/src/Command/Traits/Timeout.php +++ b/src/Command/Traits/Timeout.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/To/ServerTo.php b/src/Command/Traits/To/ServerTo.php index 1bcdccb2b51a6882d0bf0a56173e95816490b249..012753a388b918b635f7415c0a853f9603807282 100644 --- a/src/Command/Traits/To/ServerTo.php +++ b/src/Command/Traits/To/ServerTo.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/Weights.php b/src/Command/Traits/Weights.php index 7df8ac8efcbafe67d49ffbdc31864d273e4cdd1e..0bf83fc4f9112cbc9aad3c46b720dfef5f431c91 100644 --- a/src/Command/Traits/Weights.php +++ b/src/Command/Traits/Weights.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/With/WithCoord.php b/src/Command/Traits/With/WithCoord.php index a2b982eead0cb5b115d13e4ef06e18798e138ffa..1a3148904dd44cf37658d9642dd31b6adf110c01 100644 --- a/src/Command/Traits/With/WithCoord.php +++ b/src/Command/Traits/With/WithCoord.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/With/WithDist.php b/src/Command/Traits/With/WithDist.php index 25c99f293b83c3fe92051128c9ed7ef911f0be52..8884ab3f05cdfea031040d3a4e89bae9b27f41d0 100644 --- a/src/Command/Traits/With/WithDist.php +++ b/src/Command/Traits/With/WithDist.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/With/WithHash.php b/src/Command/Traits/With/WithHash.php index 05647c72d8afdf1086751a77865bb4d4f20f17b9..6088b08da7203d9c09aa28f8c90c1c4a76a4d28e 100644 --- a/src/Command/Traits/With/WithHash.php +++ b/src/Command/Traits/With/WithHash.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/With/WithScores.php b/src/Command/Traits/With/WithScores.php index e8872386f1f60b328ca9644e97c985035cbdc592..01a361f531c0e650c31a8fba3a9569db7c7f937d 100644 --- a/src/Command/Traits/With/WithScores.php +++ b/src/Command/Traits/With/WithScores.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/Traits/With/WithValues.php b/src/Command/Traits/With/WithValues.php index 70900d4386ee825825ede7fb78d8f9211818b943..7f90740cf0a08c346872fedabec213c2ccd95b85 100644 --- a/src/Command/Traits/With/WithValues.php +++ b/src/Command/Traits/With/WithValues.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/CommunicationException.php b/src/CommunicationException.php index da70d62be86bd5f2f47f53aad557adcc5fc87530..0b57e31e9810429e46107155d0689b5339295593 100644 --- a/src/CommunicationException.php +++ b/src/CommunicationException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Option/Aggregate.php b/src/Configuration/Option/Aggregate.php index 76b623b253f8eeb5a3a829ffd44ae8a7dd9ff231..13d7198401137d5fd4305f2fafc555d4625001eb 100644 --- a/src/Configuration/Option/Aggregate.php +++ b/src/Configuration/Option/Aggregate.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Option/CRC16.php b/src/Configuration/Option/CRC16.php index 1b3f109390d5ed37133faacf951ff5cd0e8a07c5..8c4fdf2e38fca1f40e6afe7ce45841a65099ffa4 100644 --- a/src/Configuration/Option/CRC16.php +++ b/src/Configuration/Option/CRC16.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Option/Cluster.php b/src/Configuration/Option/Cluster.php index c3c5055292458a4ef5a2ca96a791a6b80e2910f7..e2078b823b6ea6f15c4abfff6978255ba7fef5af 100644 --- a/src/Configuration/Option/Cluster.php +++ b/src/Configuration/Option/Cluster.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Option/Commands.php b/src/Configuration/Option/Commands.php index 6f9a31b33bc38a929a23d3461e141b99c9751139..376ccc17676b0817eaaab5943f80bc5e94ffbcb7 100644 --- a/src/Configuration/Option/Commands.php +++ b/src/Configuration/Option/Commands.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Option/Connections.php b/src/Configuration/Option/Connections.php index 40988feda365e1fcb672a78dfc790b78e07c3929..02f065ec4bc0deec283abb37258d0f2c05fcda0f 100644 --- a/src/Configuration/Option/Connections.php +++ b/src/Configuration/Option/Connections.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Option/Exceptions.php b/src/Configuration/Option/Exceptions.php index 2a779845697e4e7abe958dc94c1fbe4e6d75a4bc..dcad452a19582fdf28e6a699a1e5250a75f4873d 100644 --- a/src/Configuration/Option/Exceptions.php +++ b/src/Configuration/Option/Exceptions.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Option/Prefix.php b/src/Configuration/Option/Prefix.php index c8635f0dfd2d2166383498d43d243e039804c3b8..83142c93a60afde9c27472ce70e2359b4aea800c 100644 --- a/src/Configuration/Option/Prefix.php +++ b/src/Configuration/Option/Prefix.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Option/Replication.php b/src/Configuration/Option/Replication.php index 7717a7dd510d561be9a006c98f0bae751d6ce019..9907740795501d3a1b97e1ffd1e8d88904090ed6 100644 --- a/src/Configuration/Option/Replication.php +++ b/src/Configuration/Option/Replication.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/OptionInterface.php b/src/Configuration/OptionInterface.php index 6250216a3720add2634f58455386a3bcd6490b26..16462800de1f522cffcef9fbaf3547090fde5862 100644 --- a/src/Configuration/OptionInterface.php +++ b/src/Configuration/OptionInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/Options.php b/src/Configuration/Options.php index 62513b6b4bf445735065149dd658842c33931287..a36e124e4fd0fabdd724b1b29577d4060865dae1 100644 --- a/src/Configuration/Options.php +++ b/src/Configuration/Options.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Configuration/OptionsInterface.php b/src/Configuration/OptionsInterface.php index 96fd647ab467fb16bc1950dcb08d45337f6cb875..ff7aade90fc60ea9d3486644d0f1b3c4ef6d0cc2 100644 --- a/src/Configuration/OptionsInterface.php +++ b/src/Configuration/OptionsInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/AbstractConnection.php b/src/Connection/AbstractConnection.php index 08b81d9de9757a978ab79ac07bc97cc17ddf4434..93fe782e7fb9aebe1d1232e127fcada9da66330b 100644 --- a/src/Connection/AbstractConnection.php +++ b/src/Connection/AbstractConnection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/AggregateConnectionInterface.php b/src/Connection/AggregateConnectionInterface.php index e5849ef55cc4407c38edf89f8de105c3e884e659..c42df8b4c7b8c4fb9b9a8ee6aba492ffb22096ea 100644 --- a/src/Connection/AggregateConnectionInterface.php +++ b/src/Connection/AggregateConnectionInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/Cluster/ClusterInterface.php b/src/Connection/Cluster/ClusterInterface.php index 757b671dacce05937e44ba7760eb9d684a2fe862..dd6e926593ef63c606c08bdcc2a88e09e1368622 100644 --- a/src/Connection/Cluster/ClusterInterface.php +++ b/src/Connection/Cluster/ClusterInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/Cluster/PredisCluster.php b/src/Connection/Cluster/PredisCluster.php index eada25190466494b2f8ee84c7ad0ed2b80a9dd80..a5c880ad9ff599275620f9541c7e163ca239a90b 100644 --- a/src/Connection/Cluster/PredisCluster.php +++ b/src/Connection/Cluster/PredisCluster.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/Cluster/RedisCluster.php b/src/Connection/Cluster/RedisCluster.php index ddcb5da638481144be3a703337905f3a2e008d7e..34dc57035ab52e3ad2f8e99c64dc751c8308bfb7 100644 --- a/src/Connection/Cluster/RedisCluster.php +++ b/src/Connection/Cluster/RedisCluster.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/CompositeConnectionInterface.php b/src/Connection/CompositeConnectionInterface.php index 5d02a25886ab275094eb9a531b6fe02ab5193843..1a0699d82fbb6775588bcf2d0b16e435a624a5e3 100644 --- a/src/Connection/CompositeConnectionInterface.php +++ b/src/Connection/CompositeConnectionInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/CompositeStreamConnection.php b/src/Connection/CompositeStreamConnection.php index 33e2535f67cf03a821540463e2f845a2f79f306d..a6c14a934a188cfdc653627cf3202a23ce454bd1 100644 --- a/src/Connection/CompositeStreamConnection.php +++ b/src/Connection/CompositeStreamConnection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/ConnectionException.php b/src/Connection/ConnectionException.php index 322f0d837bbbba7bcbb6a5439e8fb1c7bfe53cd4..5ec14babdc1b8df9c8fd24d127bfe53cd112897e 100644 --- a/src/Connection/ConnectionException.php +++ b/src/Connection/ConnectionException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/ConnectionInterface.php b/src/Connection/ConnectionInterface.php index f292afa59c01759d1c85ba1cc1566be9a695eae2..6cea653291322dce71c19b33defd98accc5bdff9 100644 --- a/src/Connection/ConnectionInterface.php +++ b/src/Connection/ConnectionInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/Factory.php b/src/Connection/Factory.php index 07db5167b31b1ec4d1adad1a43183cf04393efa2..41439283bc18bbe88e5ee0670ad7c4238004bab9 100644 --- a/src/Connection/Factory.php +++ b/src/Connection/Factory.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/FactoryInterface.php b/src/Connection/FactoryInterface.php index 1f1633242da046581992e89cb71096edf0db3aa5..5ef274756ed9663faa030197152c0f1ff7d0cf12 100644 --- a/src/Connection/FactoryInterface.php +++ b/src/Connection/FactoryInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/NodeConnectionInterface.php b/src/Connection/NodeConnectionInterface.php index ee9838d52912cd2c21029a253655084475cd36d4..d0aa4e1754de73a8c22554422ee5d23ae995cb65 100644 --- a/src/Connection/NodeConnectionInterface.php +++ b/src/Connection/NodeConnectionInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/Parameters.php b/src/Connection/Parameters.php index c491526a9ac11616714b4702f02e0fa55eea86ee..0df27211224dc540084ff6115b70129e625800d8 100644 --- a/src/Connection/Parameters.php +++ b/src/Connection/Parameters.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -165,6 +165,11 @@ class Parameters implements ParametersInterface } } + public function __set($parameter, $value) + { + $this->parameters[$parameter] = $value; + } + /** * {@inheritdoc} */ diff --git a/src/Connection/ParametersInterface.php b/src/Connection/ParametersInterface.php index b48d118deaed674f6b169087a2511262e3f1409a..0dac37df26d9766e90ce69249c8b4baa893415d5 100644 --- a/src/Connection/ParametersInterface.php +++ b/src/Connection/ParametersInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -27,6 +27,7 @@ namespace Predis\Connection; * @property float $timeout Timeout for the connect() operation. * @property float $read_write_timeout Timeout for read() and write() operations. * @property bool $persistent Leaves the connection open after a GC collection. + * @property string $conn_uid Unique identifier of connection, needs to create a multiple persistent connections to the same resource. * @property string $password Password to access Redis (see the AUTH command). * @property string $database Database index (see the SELECT command). * @property bool $async_connect Performs the connect() operation asynchronously. diff --git a/src/Connection/PhpiredisSocketConnection.php b/src/Connection/PhpiredisSocketConnection.php index 9657d9fa7caef7f216759a4961ca2b639dd5cdf7..9a7f7bde15d20c9431c5dedcbd4d23a08dabd522 100644 --- a/src/Connection/PhpiredisSocketConnection.php +++ b/src/Connection/PhpiredisSocketConnection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/PhpiredisStreamConnection.php b/src/Connection/PhpiredisStreamConnection.php index 2a6e0ce237231fa41fff132bb11638c45b4d6a14..d7198304fc780931fc71d87e3f6279cd7c526fb1 100644 --- a/src/Connection/PhpiredisStreamConnection.php +++ b/src/Connection/PhpiredisStreamConnection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/RelayConnection.php b/src/Connection/RelayConnection.php index b71b60b194e29cdf7bc6511d7aa3d2c5203877be..50bbc96fd60cd92a8d184a8ce41ee6a9c3dd1a13 100644 --- a/src/Connection/RelayConnection.php +++ b/src/Connection/RelayConnection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/RelayMethods.php b/src/Connection/RelayMethods.php index 116c8754ae7163d476af6d0f262e5255b39868c6..b2c4d7442e931d121214d44a2cfc4dacd4438183 100644 --- a/src/Connection/RelayMethods.php +++ b/src/Connection/RelayMethods.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/Replication/MasterSlaveReplication.php b/src/Connection/Replication/MasterSlaveReplication.php index 10246fc81b0bea3cee35bf268884274a240696a7..35724863d1df4d4ddacd5b3b9e5b63431730b5b0 100644 --- a/src/Connection/Replication/MasterSlaveReplication.php +++ b/src/Connection/Replication/MasterSlaveReplication.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/Replication/ReplicationInterface.php b/src/Connection/Replication/ReplicationInterface.php index a59a53516ea9fb4a1352606a74990e75624052ee..9540fc14f4ea9abf27ecf36a2dc2f3661d056f00 100644 --- a/src/Connection/Replication/ReplicationInterface.php +++ b/src/Connection/Replication/ReplicationInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/Replication/SentinelReplication.php b/src/Connection/Replication/SentinelReplication.php index 11c8178bf00acfcac1059602007b20b8de5b5af6..9d2b573a62c5badebd8adf992dfb24f4ae6bcfbc 100644 --- a/src/Connection/Replication/SentinelReplication.php +++ b/src/Connection/Replication/SentinelReplication.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Connection/StreamConnection.php b/src/Connection/StreamConnection.php index 18827c1cc4c9f71f46e7bf0e91f2de232ea64151..24038bab8383e75477e2ea65cfd1b9f2c9d48ead 100644 --- a/src/Connection/StreamConnection.php +++ b/src/Connection/StreamConnection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -35,6 +35,15 @@ use Predis\Response\Status as StatusResponse; */ class StreamConnection extends AbstractConnection { + /** + * @param ParametersInterface $parameters + */ + public function __construct(ParametersInterface $parameters) + { + parent::__construct($parameters); + $this->parameters->conn_uid = spl_object_hash($this); + } + /** * Disconnects from the server and destroys the underlying resource when the * garbage collector kicks in only if the connection has not been marked as @@ -105,6 +114,18 @@ class StreamConnection extends AbstractConnection $timeout = (isset($parameters->timeout) ? (float) $parameters->timeout : 5.0); $context = stream_context_create(['socket' => ['tcp_nodelay' => (bool) $parameters->tcp_nodelay]]); + if ( + (isset($parameters->persistent) && $parameters->persistent) + && (isset($parameters->conn_uid) && $parameters->conn_uid) + ) { + $conn_uid = '/' . $parameters->conn_uid; + } else { + $conn_uid = ''; + } + + // Needs to create multiple persistent connections to the same resource + $address = $address . $conn_uid; + if (!$resource = @stream_socket_client($address, $errno, $errstr, $timeout, $flags, $context)) { $this->onConnectionError(trim($errstr), $errno); } @@ -211,7 +232,11 @@ class StreamConnection extends AbstractConnection $options['crypto_type'] = STREAM_CRYPTO_METHOD_TLS_CLIENT; } - if (!stream_context_set_option($resource, ['ssl' => $options])) { + $context_options = function_exists('stream_context_set_options') + ? stream_context_set_options($resource, ['ssl' => $options]) + : stream_context_set_option($resource, ['ssl' => $options]); + + if (!$context_options) { $this->onConnectionError('Error while setting SSL context options'); } diff --git a/src/Connection/WebdisConnection.php b/src/Connection/WebdisConnection.php index 040f557bb86e5085d84f021f620903838d8c9520..f9418e1b45218668c8fd0eb8d80e80fc6a1a8e94 100644 --- a/src/Connection/WebdisConnection.php +++ b/src/Connection/WebdisConnection.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Monitor/Consumer.php b/src/Monitor/Consumer.php index 7fd6c6be87e0e51500b0bb85d06fb54e20e1557c..0e08300183a0b6beeac3d5c329ebbb9c91983e37 100644 --- a/src/Monitor/Consumer.php +++ b/src/Monitor/Consumer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/NotSupportedException.php b/src/NotSupportedException.php index e766c9a117aea7d9113592d104697238b5b01895..fbbacce12a10f772e41d06321d913798060df52e 100644 --- a/src/NotSupportedException.php +++ b/src/NotSupportedException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Pipeline/Atomic.php b/src/Pipeline/Atomic.php index 77fd5145ba27bddabdf1b0e6a47449d354a7c83f..4e321a451dd3e1b0ad0a7af24a0681410a8c48d5 100644 --- a/src/Pipeline/Atomic.php +++ b/src/Pipeline/Atomic.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Pipeline/ConnectionErrorProof.php b/src/Pipeline/ConnectionErrorProof.php index e6d96ee2cfb1dbb63e4f90b42a492188a78c55f9..e655a7a63cbb5df1716944a99faa446c50c462dd 100644 --- a/src/Pipeline/ConnectionErrorProof.php +++ b/src/Pipeline/ConnectionErrorProof.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Pipeline/FireAndForget.php b/src/Pipeline/FireAndForget.php index 1f646ff7737662696931d4753b0619ba077d452d..705cb8215108528e2d0796c94b31ff924bda00dd 100644 --- a/src/Pipeline/FireAndForget.php +++ b/src/Pipeline/FireAndForget.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Pipeline/Pipeline.php b/src/Pipeline/Pipeline.php index 30c5601d3307283787c0a1abbbf10702c638f993..d94246bc25f16a62a127cb62cd401da098e9720f 100644 --- a/src/Pipeline/Pipeline.php +++ b/src/Pipeline/Pipeline.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Pipeline/RelayAtomic.php b/src/Pipeline/RelayAtomic.php index c3fce43abc083da0677d28b535e68a9f89d55f34..e1c869bb1dd58815086a298a45c3a17e3f86703e 100644 --- a/src/Pipeline/RelayAtomic.php +++ b/src/Pipeline/RelayAtomic.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Pipeline/RelayPipeline.php b/src/Pipeline/RelayPipeline.php index 00f083352f4b599b3a6fcf032158180779636378..e6befec09e771a9afac734d3e5b51937efd762b3 100644 --- a/src/Pipeline/RelayPipeline.php +++ b/src/Pipeline/RelayPipeline.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/PredisException.php b/src/PredisException.php index dc11c0d1c69192a6681191e7b0b1061152c6520c..ebb22501604b9ec7879e9ce1b5b13193b5d6ec2a 100644 --- a/src/PredisException.php +++ b/src/PredisException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/ProtocolException.php b/src/Protocol/ProtocolException.php index 5bd59d0d93f23060fc80a8f0d2660d5ec929c55e..9795e1d8923f40e612ab3a819c4a96762609af05 100644 --- a/src/Protocol/ProtocolException.php +++ b/src/Protocol/ProtocolException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/ProtocolProcessorInterface.php b/src/Protocol/ProtocolProcessorInterface.php index c857a37674144a87667b8f5a3a79164a6c253b01..7caaed76a28126edabdd13503c26a72b00bba84b 100644 --- a/src/Protocol/ProtocolProcessorInterface.php +++ b/src/Protocol/ProtocolProcessorInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/RequestSerializerInterface.php b/src/Protocol/RequestSerializerInterface.php index 51441ab1297ec5f91ae60904f05821b57307a186..3b6ec493c01f6142d23107c2c689850f262d207d 100644 --- a/src/Protocol/RequestSerializerInterface.php +++ b/src/Protocol/RequestSerializerInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/ResponseReaderInterface.php b/src/Protocol/ResponseReaderInterface.php index f1946f5cb7f1a7b6dbc1b0eec6d0e908b5c5ab2c..db1c3fdd6192165cb7ba0d82b5d11f2872d8dd90 100644 --- a/src/Protocol/ResponseReaderInterface.php +++ b/src/Protocol/ResponseReaderInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/CompositeProtocolProcessor.php b/src/Protocol/Text/CompositeProtocolProcessor.php index 55bb00ff68890485edd4a9e27223dabe889c4887..ccc773b69ac55ba86553a6b8b8f37e37d621e599 100644 --- a/src/Protocol/Text/CompositeProtocolProcessor.php +++ b/src/Protocol/Text/CompositeProtocolProcessor.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/Handler/BulkResponse.php b/src/Protocol/Text/Handler/BulkResponse.php index 39963333dc8893f26463e070cd33cba6a3eccec0..f83a95a70b177c50f001975e8d2221b035eefacd 100644 --- a/src/Protocol/Text/Handler/BulkResponse.php +++ b/src/Protocol/Text/Handler/BulkResponse.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/Handler/ErrorResponse.php b/src/Protocol/Text/Handler/ErrorResponse.php index fb980407e0c9c8bc6f7475d121bc840dff9eb466..249ecbd42ce472da3725a926006eada7e55b7864 100644 --- a/src/Protocol/Text/Handler/ErrorResponse.php +++ b/src/Protocol/Text/Handler/ErrorResponse.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/Handler/IntegerResponse.php b/src/Protocol/Text/Handler/IntegerResponse.php index a16a9092e23d2d9d0b58b1a5cb40c5d44136459f..5acd5097a8387f4c5848e0dc5bc27b158f041cae 100644 --- a/src/Protocol/Text/Handler/IntegerResponse.php +++ b/src/Protocol/Text/Handler/IntegerResponse.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/Handler/MultiBulkResponse.php b/src/Protocol/Text/Handler/MultiBulkResponse.php index f470d91671fb9f60adc46652efc533be1a54fc34..e8136c18240ccb202a3bffde700350c9964521e6 100644 --- a/src/Protocol/Text/Handler/MultiBulkResponse.php +++ b/src/Protocol/Text/Handler/MultiBulkResponse.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/Handler/ResponseHandlerInterface.php b/src/Protocol/Text/Handler/ResponseHandlerInterface.php index 870074a6261fcffc8bb1f9ea4227fdef086d3dd6..f424e905fd600fc161dc1324a42065ac4ace29e8 100644 --- a/src/Protocol/Text/Handler/ResponseHandlerInterface.php +++ b/src/Protocol/Text/Handler/ResponseHandlerInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/Handler/StatusResponse.php b/src/Protocol/Text/Handler/StatusResponse.php index 0ef0698bd08a38b893c3e9d5034c19d3a8e4d7ab..6dc7616a1dbc3a74d61c4a76caf07cfbe123a275 100644 --- a/src/Protocol/Text/Handler/StatusResponse.php +++ b/src/Protocol/Text/Handler/StatusResponse.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/Handler/StreamableMultiBulkResponse.php b/src/Protocol/Text/Handler/StreamableMultiBulkResponse.php index ac8aaea9658503600024bf18bdc6863368f70cca..023290a9d8fbf81464171264955eab8f0a2eaae3 100644 --- a/src/Protocol/Text/Handler/StreamableMultiBulkResponse.php +++ b/src/Protocol/Text/Handler/StreamableMultiBulkResponse.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/ProtocolProcessor.php b/src/Protocol/Text/ProtocolProcessor.php index ac44e231c988ea0ccc8288bcf3e3a525895a53fc..478acb7b2ddb835cb17b1ce40ff09787fe38dcd1 100644 --- a/src/Protocol/Text/ProtocolProcessor.php +++ b/src/Protocol/Text/ProtocolProcessor.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/RequestSerializer.php b/src/Protocol/Text/RequestSerializer.php index 31d110b2eb8e9dc1db2ef4062b11316e4904c543..c42eafc9a5c987bec342447736ef63cec180b76f 100644 --- a/src/Protocol/Text/RequestSerializer.php +++ b/src/Protocol/Text/RequestSerializer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Protocol/Text/ResponseReader.php b/src/Protocol/Text/ResponseReader.php index 0c7c0e90e975b60b44a1ad891e60a4e9d034f61e..698a11d260afde2bcd69d17e081a84e18eee5ca6 100644 --- a/src/Protocol/Text/ResponseReader.php +++ b/src/Protocol/Text/ResponseReader.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/PubSub/AbstractConsumer.php b/src/PubSub/AbstractConsumer.php index 98b1fb002e447532ae344912eba02a82e7517b5c..fa4ea360a4c342b0a03dc0db059fbf56d99f3cb2 100644 --- a/src/PubSub/AbstractConsumer.php +++ b/src/PubSub/AbstractConsumer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/PubSub/Consumer.php b/src/PubSub/Consumer.php index 7c3e244e08821682a9c841cf2125d70715e067a9..76a0e259c432b03704ab5f41e89dcacf5621e257 100644 --- a/src/PubSub/Consumer.php +++ b/src/PubSub/Consumer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/PubSub/DispatcherLoop.php b/src/PubSub/DispatcherLoop.php index c3ba306e2f4397c6d493844ab5cb52f72e4a54c3..ff0a5deb6b1252a14d5651aa364c4b06461d2883 100644 --- a/src/PubSub/DispatcherLoop.php +++ b/src/PubSub/DispatcherLoop.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/PubSub/RelayConsumer.php b/src/PubSub/RelayConsumer.php index 5c15325dfa382f6ed05cc11e1aa4ce1606a0ec25..5613f372ec5040b7924f2a9e0f50c118409d06f8 100644 --- a/src/PubSub/RelayConsumer.php +++ b/src/PubSub/RelayConsumer.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Replication/MissingMasterException.php b/src/Replication/MissingMasterException.php index 6550aeb543fe03a200027815da41fc0cc439c83c..ddfbb2f7fe9589cd7c1f5385bc555f2cef62ef62 100644 --- a/src/Replication/MissingMasterException.php +++ b/src/Replication/MissingMasterException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Replication/ReplicationStrategy.php b/src/Replication/ReplicationStrategy.php index 3a806ce87d4d9f076282926ffd08321d90d39ceb..5d3cf07c6294c6b9744d3482ada84ae068a32931 100644 --- a/src/Replication/ReplicationStrategy.php +++ b/src/Replication/ReplicationStrategy.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -274,6 +274,7 @@ class ReplicationStrategy 'GEODIST' => true, 'GEORADIUS' => [$this, 'isGeoradiusReadOnly'], 'GEORADIUSBYMEMBER' => [$this, 'isGeoradiusReadOnly'], + 'GEOSEARCH' => true, ]; } diff --git a/src/Replication/RoleException.php b/src/Replication/RoleException.php index 415432e2fa80cea4f1b2faac1a04795cd5115d2b..65bac07cc133608f21c478dc73ae8ed91b2551f8 100644 --- a/src/Replication/RoleException.php +++ b/src/Replication/RoleException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Response/Error.php b/src/Response/Error.php index 783549e00f80d628b6e67aa8476b022bbb59cdf7..f87fc47f3c957e0692bfd438b799cf253777f858 100644 --- a/src/Response/Error.php +++ b/src/Response/Error.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Response/ErrorInterface.php b/src/Response/ErrorInterface.php index a90420d74ea666cd2ed624632a2868e9bb9924f8..d6eac7cdf7be57447ec8db60823593c7ae2e7b48 100644 --- a/src/Response/ErrorInterface.php +++ b/src/Response/ErrorInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Response/Iterator/MultiBulk.php b/src/Response/Iterator/MultiBulk.php index 59488427f40be4e2bea4e38821f97cb6a3bbd432..06f8764f6873f65e5ea88fce994fd517d682b1d7 100644 --- a/src/Response/Iterator/MultiBulk.php +++ b/src/Response/Iterator/MultiBulk.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Response/Iterator/MultiBulkIterator.php b/src/Response/Iterator/MultiBulkIterator.php index 0584a1adae585f0dc325fe78fefe5f476d93b498..6b5abba8245d4e2dcac25ed6ec0959a731384b8c 100644 --- a/src/Response/Iterator/MultiBulkIterator.php +++ b/src/Response/Iterator/MultiBulkIterator.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Response/Iterator/MultiBulkTuple.php b/src/Response/Iterator/MultiBulkTuple.php index b8740300a1f951b49506f0e49166e6b15a4b66f4..780d91df20a8bb5e77e23f53006b5506d072770a 100644 --- a/src/Response/Iterator/MultiBulkTuple.php +++ b/src/Response/Iterator/MultiBulkTuple.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Response/ResponseInterface.php b/src/Response/ResponseInterface.php index bd7671b47e0de3b485e6ca0f69703d6d32baf6d9..120fe206ee44a9e38b44a8da5356927eec319f4d 100644 --- a/src/Response/ResponseInterface.php +++ b/src/Response/ResponseInterface.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Response/ServerException.php b/src/Response/ServerException.php index 83d82c308d8cb947e3d8c2436f1835e24e8bdfc4..d90c39bad08511210f5410751ef3f4af25063d2d 100644 --- a/src/Response/ServerException.php +++ b/src/Response/ServerException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Response/Status.php b/src/Response/Status.php index 9b5ea1f110c6712158fb9c06ce2dbdb005267aee..af85fae2c391a23914b8114f34b2ce95c10eacef 100644 --- a/src/Response/Status.php +++ b/src/Response/Status.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Session/Handler.php b/src/Session/Handler.php index 2da5bfce7ca503cbe842295f29a773283d380171..9d5de4939f34556a64432a855fe0c7b7b7c77ea8 100644 --- a/src/Session/Handler.php +++ b/src/Session/Handler.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Transaction/AbortedMultiExecException.php b/src/Transaction/AbortedMultiExecException.php index 06329c9671557828ef85a62086eb51ac9448ad8d..4d88247d7d8603ead3a2c8c3bdf2d63443c07770 100644 --- a/src/Transaction/AbortedMultiExecException.php +++ b/src/Transaction/AbortedMultiExecException.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Transaction/MultiExec.php b/src/Transaction/MultiExec.php index 7ef7f6dd0a1047ff6d8cb9c21ddc9b35a0e3658e..1d7a74558dfcbe585b1d8faa36a44ea6fdf42666 100644 --- a/src/Transaction/MultiExec.php +++ b/src/Transaction/MultiExec.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Transaction/MultiExecState.php b/src/Transaction/MultiExecState.php index 97598bf8f9c321ac64ee3ab977a8d63c93445138..3609927d5ef3ea6acf40b8d532848e79674d011e 100644 --- a/src/Transaction/MultiExecState.php +++ b/src/Transaction/MultiExecState.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/PHPUnit/ArrayHasSameValuesConstraint.php b/tests/PHPUnit/ArrayHasSameValuesConstraint.php index d61cb30e3394b8e25e615a7fec906cb356a218e6..fae99e4886850393b94fd23225bd7b7fda825a3c 100644 --- a/tests/PHPUnit/ArrayHasSameValuesConstraint.php +++ b/tests/PHPUnit/ArrayHasSameValuesConstraint.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/PHPUnit/AssertSameWithPrecisionConstraint.php b/tests/PHPUnit/AssertSameWithPrecisionConstraint.php index d51184ece2f2a60113fa5673bdce7c539183bce3..308306c92be084140f25f5286a671bcd5dbc60db 100644 --- a/tests/PHPUnit/AssertSameWithPrecisionConstraint.php +++ b/tests/PHPUnit/AssertSameWithPrecisionConstraint.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/PHPUnit/OneOfConstraint.php b/tests/PHPUnit/OneOfConstraint.php index c3cabd519df46f0679f7fadb1d775dc3624e7b41..8ce6938aa25f2c446941cb5c48daba7dd455b47e 100644 --- a/tests/PHPUnit/OneOfConstraint.php +++ b/tests/PHPUnit/OneOfConstraint.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/PHPUnit/PredisCommandTestCase.php b/tests/PHPUnit/PredisCommandTestCase.php index f53665b7b0ffd472bb22c4d07076ecac18654703..e443ee10c43b8aa659c806688af97bc8fcb6df9e 100644 --- a/tests/PHPUnit/PredisCommandTestCase.php +++ b/tests/PHPUnit/PredisCommandTestCase.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/PHPUnit/PredisConnectionTestCase.php b/tests/PHPUnit/PredisConnectionTestCase.php index f7cc82fb7e649f8843a19654b3985b8e44f066b2..491b928ccee56e8707699a7d413086b44f571e06 100644 --- a/tests/PHPUnit/PredisConnectionTestCase.php +++ b/tests/PHPUnit/PredisConnectionTestCase.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/PHPUnit/PredisDistributorTestCase.php b/tests/PHPUnit/PredisDistributorTestCase.php index 948b3402acde055517eae01467e9619c9d8d0a49..421ebd6c9cfcc0495dc099c156ce4a8de45b7049 100644 --- a/tests/PHPUnit/PredisDistributorTestCase.php +++ b/tests/PHPUnit/PredisDistributorTestCase.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/PHPUnit/PredisTestCase.php b/tests/PHPUnit/PredisTestCase.php index fb6184b1f00be3835cca9dc22050b59aff11f7c5..1dd7b57b5178121207fa1d90a795c5818da9e326 100644 --- a/tests/PHPUnit/PredisTestCase.php +++ b/tests/PHPUnit/PredisTestCase.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -175,7 +175,7 @@ abstract class PredisTestCase extends PHPUnit\Framework\TestCase return [ 'scheme' => 'tcp', 'host' => constant('REDIS_SERVER_HOST'), - 'port' => constant('REDIS_SERVER_PORT'), + 'port' => ($this->isStackTest()) ? getenv('REDIS_STACK_SERVER_PORT') : constant('REDIS_SERVER_PORT'), 'database' => constant('REDIS_SERVER_DBNUM'), ]; } @@ -584,6 +584,22 @@ abstract class PredisTestCase extends PHPUnit\Framework\TestCase && in_array('cluster', $annotations['method']['group'], true); } + /** + * Check annotations if it's matches to stack test scenario. + * + * @return bool + */ + protected function isStackTest(): bool + { + $annotations = TestUtil::parseTestMethodAnnotations( + get_class($this), + $this->getName(false) + ); + + return isset($annotations['class']['group']) + && in_array('realm-stack', $annotations['class']['group'], true); + } + /** * Parse comma-separated cluster endpoints and convert them into tcp strings. * diff --git a/tests/PHPUnit/RedisCommandConstraint.php b/tests/PHPUnit/RedisCommandConstraint.php index 21f7566df28e8f2335df20185cc0aa6692405012..08881dc82b34e6e21a28ed2aedcd056e9befdb7d 100644 --- a/tests/PHPUnit/RedisCommandConstraint.php +++ b/tests/PHPUnit/RedisCommandConstraint.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/ClientExceptionTest.php b/tests/Predis/ClientExceptionTest.php index eaa009ca0eb7f05b82ef50de40a4e5fb06e6aafc..fb6b4e03a42887b20b5bdff4e5391dac04a685a6 100644 --- a/tests/Predis/ClientExceptionTest.php +++ b/tests/Predis/ClientExceptionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/ClientTest.php b/tests/Predis/ClientTest.php index d408e951f698361a1abca38ba752510d0116305a..89cbf3f82ff1d6feccc6064d05fa872258485eaf 100644 --- a/tests/Predis/ClientTest.php +++ b/tests/Predis/ClientTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -1283,6 +1283,44 @@ class ClientTest extends PredisTestCase $this->assertSame(Client::VERSION, $libVer); } + /** + * @group connected + */ + public function testClientsCreateDifferentPersistentConnections(): void + { + $client1 = new Client($this->getParameters(['database' => 14, 'persistent' => true])); + $client2 = new Client($this->getParameters(['database' => 15, 'persistent' => true])); + + $client1->set('foo', 'bar'); + $client2->set('foo', 'baz'); + + $this->assertSame('bar', $client1->get('foo')); + $this->assertSame('baz', $client2->get('foo')); + } + + /** + * @group connected + * @group cluster + * @requiresRedisVersion >= 2.0.0 + */ + public function testClusterClientsCreateDifferentPersistentConnections(): void + { + $client1 = new Client( + $this->getDefaultParametersArray(), + ['cluster' => 'redis', 'parameters' => ['persistent' => true]] + ); + $client2 = new Client( + $this->getDefaultParametersArray(), + ['cluster' => 'redis', 'parameters' => ['persistent' => true]] + ); + + $client1->set('{shard1}foo', 'bar'); + $client2->set('{shard2}foo', 'baz'); + + $this->assertSame('bar', $client1->get('{shard1}foo')); + $this->assertSame('baz', $client2->get('{shard2}foo')); + } + // ******************************************************************** // // ---- HELPER METHODS ------------------------------------------------ // // ******************************************************************** // diff --git a/tests/Predis/Cluster/Distributor/EmptyRingExceptionTest.php b/tests/Predis/Cluster/Distributor/EmptyRingExceptionTest.php index 9636135825cf0bbd3f2228b92d9dd0c863767857..b111a41fe2b2c90751ada54e04010d845ca55d74 100644 --- a/tests/Predis/Cluster/Distributor/EmptyRingExceptionTest.php +++ b/tests/Predis/Cluster/Distributor/EmptyRingExceptionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Cluster/Distributor/HashRingTest.php b/tests/Predis/Cluster/Distributor/HashRingTest.php index 39da8803e935f43609b217993b97cf9bb273c067..5479089d72f00617ebfb14a3652d49b3e62929c4 100644 --- a/tests/Predis/Cluster/Distributor/HashRingTest.php +++ b/tests/Predis/Cluster/Distributor/HashRingTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Cluster/Distributor/KetamaRingTest.php b/tests/Predis/Cluster/Distributor/KetamaRingTest.php index f32be3eb699ebfbe96802bc1e667744993fde611..aa5f08ba08aba16810251fe1d34a775314cd30f3 100644 --- a/tests/Predis/Cluster/Distributor/KetamaRingTest.php +++ b/tests/Predis/Cluster/Distributor/KetamaRingTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Cluster/Hash/CRC16Test.php b/tests/Predis/Cluster/Hash/CRC16Test.php index 296974630ffbdf911c44c8241315496d172519b6..16325c35fa27b3dfabb5973d51f68560b6894175 100644 --- a/tests/Predis/Cluster/Hash/CRC16Test.php +++ b/tests/Predis/Cluster/Hash/CRC16Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Cluster/Hash/PhpiredisCRC16Test.php b/tests/Predis/Cluster/Hash/PhpiredisCRC16Test.php index 7ba97a8b5edc712478e662e6cf211788e4a3dd0d..b49fe73f88e94a9c305fa3336926a6390a7d6ad5 100644 --- a/tests/Predis/Cluster/Hash/PhpiredisCRC16Test.php +++ b/tests/Predis/Cluster/Hash/PhpiredisCRC16Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Cluster/PredisStrategyTest.php b/tests/Predis/Cluster/PredisStrategyTest.php index 150204ec4648718546e8ed77df7f2e01fb540918..b121d72b298a80242c05605bc750cc6d6a2b6491 100644 --- a/tests/Predis/Cluster/PredisStrategyTest.php +++ b/tests/Predis/Cluster/PredisStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -231,6 +231,21 @@ class PredisStrategyTest extends PredisTestCase } } + /** + * @group disconnected + */ + public function testKeysForEvalReadOnlyCommand(): void + { + $strategy = $this->getClusterStrategy(); + $commands = $this->getCommandFactory(); + $arguments = ['%SCRIPT%', ['{key}:1', '{key}:2'], 'value1', 'value2']; + + foreach ($this->getExpectedCommands('keys-script-ro') as $commandID) { + $command = $commands->create($commandID, $arguments); + $this->assertNotNull($strategy->getSlot($command), $commandID); + } + } + /** * @group disconnected */ @@ -452,6 +467,8 @@ class PredisStrategyTest extends PredisTestCase /* scripting */ 'EVAL' => 'keys-script', 'EVALSHA' => 'keys-script', + 'EVAL_RO' => 'keys-script-ro', + 'EVALSHA_RO' => 'keys-script-ro', /* server */ 'INFO' => 'keys-fake', diff --git a/tests/Predis/Cluster/RedisStrategyTest.php b/tests/Predis/Cluster/RedisStrategyTest.php index c3cfd58ba75f0cc9c9f21859a2ab372163a0978a..49bf30d133c4ddd711bbd6ad4c5af85142147e5d 100644 --- a/tests/Predis/Cluster/RedisStrategyTest.php +++ b/tests/Predis/Cluster/RedisStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -246,6 +246,21 @@ class RedisStrategyTest extends PredisTestCase } } + /** + * @group disconnected + */ + public function testKeysForEvalReadOnlyCommand(): void + { + $strategy = $this->getClusterStrategy(); + $commands = $this->getCommandFactory(); + $arguments = ['%SCRIPT%', ['key:1'], 'value1']; + + foreach ($this->getExpectedCommands('keys-script-ro') as $commandID) { + $command = $commands->create($commandID, $arguments); + $this->assertNotNull($strategy->getSlot($command), $commandID); + } + } + /** * @group disconnected */ @@ -475,6 +490,8 @@ class RedisStrategyTest extends PredisTestCase /* scripting */ 'EVAL' => 'keys-script', 'EVALSHA' => 'keys-script', + 'EVAL_RO' => 'keys-script-ro', + 'EVALSHA_RO' => 'keys-script-ro', /* server */ 'INFO' => 'keys-fake', diff --git a/tests/Predis/Cluster/SimpleSlotMapTest.php b/tests/Predis/Cluster/SimpleSlotMapTest.php new file mode 100644 index 0000000000000000000000000000000000000000..95bfae34be9e9a0f86c10c7209cba03b359f511e --- /dev/null +++ b/tests/Predis/Cluster/SimpleSlotMapTest.php @@ -0,0 +1,473 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Cluster; + +use Predis\Cluster\SimpleSlotMap as SlotMap; +use PredisTestCase; + +class SimpleSlotMapTest extends PredisTestCase +{ + /** + * @group disconnected + */ + public function testIsValidReturnsTrueOnValidSlot(): void + { + $this->assertTrue(SlotMap::isValid(0)); + $this->assertTrue(SlotMap::isValid(16383)); + + $this->assertTrue(SlotMap::isValid(5000)); + $this->assertTrue(SlotMap::isValid('5000')); + } + + /** + * @group disconnected + */ + public function testIsValidReturnsFalseOnInvalidSlot(): void + { + $this->assertFalse(SlotMap::isValid(-1)); + $this->assertFalse(SlotMap::isValid(16384)); + } + + /** + * @group disconnected + */ + public function testIsValidRangeReturnsTrueOnValidSlotRange(): void + { + $this->assertTrue(SlotMap::isValidRange(0, 16383)); + $this->assertTrue(SlotMap::isValidRange(2000, 2999)); + $this->assertTrue(SlotMap::isValidRange(3000, 3000)); + } + + /** + * @group disconnected + */ + public function testIsValidRangeReturnsFalseOnInvalidSlotRange(): void + { + $this->assertFalse(SlotMap::isValidRange(0, 16384)); + $this->assertFalse(SlotMap::isValidRange(-1, 16383)); + $this->assertFalse(SlotMap::isValidRange(-1, 16384)); + $this->assertFalse(SlotMap::isValidRange(2999, 2000)); + } + + /** + * @group disconnected + */ + public function testToArrayReturnsEmptyArrayOnEmptySlotMap(): void + { + $slotmap = new SlotMap(); + + $this->assertEmpty($slotmap->toArray()); + } + + /** + * @group disconnected + */ + public function testSetSlotsAssignsSpecifiedNodeToSlotRange(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + $slotmap->setSlots(5461, 10922, '127.0.0.1:6380'); + $slotmap->setSlots(10923, 16383, '127.0.0.1:6381'); + + $expectedMap = array_merge( + array_fill(0, 5461, '127.0.0.1:6379'), + array_fill(5461, 5462, '127.0.0.1:6380'), + array_fill(10923, 5461, '127.0.0.1:6381') + ); + + $this->assertSame($expectedMap, $slotmap->toArray()); + } + + /** + * @group disconnected + */ + public function testSetSlotsOverwritesSlotRange(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + $slotmap->setSlots(1000, 2000, '127.0.0.1:6380'); + + $expectedMap = + array_fill(0, 5461, '127.0.0.1:6379') + + array_fill(1000, 2000, '127.0.0.1:6380'); + + $this->assertSame($expectedMap, $slotmap->toArray()); + } + + /** + * @group disconnected + */ + public function testSetSlotsAssignsSingleSlotWhenFirstAndLastSlotMatch(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(10, 10, '127.0.0.1:6379'); + + $this->assertSame([10 => '127.0.0.1:6379'], $slotmap->toArray()); + } + + /** + * @group disconnected + */ + public function testSetSlotsCastsValueToString(): void + { + $slotmap = new SlotMap(); + + $connection = $this->getMockConnection(); + $connection + ->expects($this->once()) + ->method('__toString') + ->willReturn('127.0.0.1:6379'); + + $slotmap->setSlots(10, 10, $connection); + + $this->assertSame([10 => '127.0.0.1:6379'], $slotmap->toArray()); + } + + /** + * @group disconnected + */ + public function testSetSlotsThrowsExceptionOnInvalidSlotRange(): void + { + $this->expectException('OutOfBoundsException'); + $this->expectExceptionMessage('Invalid slot range 0-16384 for `127.0.0.1:6379`'); + + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 16384, '127.0.0.1:6379'); + } + + /** + * @group disconnected + */ + public function testGetSlotsReturnsEmptyArrayOnEmptySlotMap(): void + { + $slotmap = new SlotMap(); + + $this->assertEmpty($slotmap->getSlots(3, 11)); + } + + /** + * @group disconnected + */ + public function testGetSlotsReturnsDictionaryOfSlotsWithAssignedNodes(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5, '127.0.0.1:6379'); + $slotmap->setSlots(10, 13, '127.0.0.1:6380'); + + $expectedMap = [ + 3 => '127.0.0.1:6379', + 4 => '127.0.0.1:6379', + 5 => '127.0.0.1:6379', + 10 => '127.0.0.1:6380', + 11 => '127.0.0.1:6380', + ]; + + $this->assertSame($expectedMap, $slotmap->getSlots(3, 11)); + } + + /** + * @group disconnected + */ + public function testGetSlotsReturnsEmptyArrayOnEmptySlotRange(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5, '127.0.0.1:6379'); + $slotmap->setSlots(10, 13, '127.0.0.1:6380'); + + $this->assertEmpty($slotmap->getSlots(100, 200)); + } + + /** + * @group disconnected + */ + public function testGetSlotsThrowsExceptionOnInvalidSlotRange(): void + { + $this->expectException('OutOfBoundsException'); + $this->expectExceptionMessage('Invalid slot range 0-16384'); + + $slotmap = new SlotMap(); + + $slotmap->getSlots(0, 16384); + } + + /** + * @group disconnected + */ + public function testIsEmptyReturnsTrueOnEmptySlotMap(): void + { + $slotmap = new SlotMap(); + + $this->assertTrue($slotmap->isEmpty()); + } + + /** + * @group disconnected + */ + public function testIsEmptyReturnsFalseOnNonEmptySlotMap(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertFalse($slotmap->isEmpty()); + } + + /** + * @group disconnected + */ + public function testCountReturnsZeroOnEmptySlotMap(): void + { + $slotmap = new SlotMap(); + + $this->assertCount(0, $slotmap); + } + + /** + * @group disconnected + */ + public function testCountReturnsAssignedSlotsInSlotMap(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + $this->assertCount(5461, $slotmap); + + $slotmap->setSlots(5461, 10922, '127.0.0.1:6380'); + $this->assertCount(10923, $slotmap); + + $slotmap->setSlots(10923, 16383, '127.0.0.1:6381'); + $this->assertCount(16384, $slotmap); + } + + /** + * @group disconnected + */ + public function testResetEmptiesSlotMap(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + $slotmap->setSlots(5461, 10922, '127.0.0.1:6380'); + $slotmap->setSlots(10923, 16383, '127.0.0.1:6381'); + + $this->assertFalse($slotmap->isEmpty()); + + $slotmap->reset(); + + $this->assertTrue($slotmap->isEmpty()); + } + + /** + * @group disconnected + */ + public function testGetNodesReturnsEmptyArrayOnEmptySlotMap(): void + { + $slotmap = new SlotMap(); + + $this->assertEmpty($slotmap->getNodes()); + } + + /** + * @group disconnected + */ + public function testGetNodesReturnsArrayOfNodesInSlotMap(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + $slotmap->setSlots(5461, 10922, '127.0.0.1:6380'); + $slotmap->setSlots(10923, 16383, '127.0.0.1:6381'); + + $this->assertSame(['127.0.0.1:6379', '127.0.0.1:6380', '127.0.0.1:6381'], $slotmap->getNodes()); + } + + /** + * @group disconnected + */ + public function testOffsetExistsReturnsTrueOnAssignedSlot(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertTrue(isset($slotmap[0])); + $this->assertTrue(isset($slotmap[2000])); + } + + /** + * @group disconnected + */ + public function testOffsetExistsReturnsFalseOnAssignedSlot(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertFalse(isset($slotmap[6000])); + } + + /** + * @group disconnected + */ + public function testOffsetExistsReturnsFalseOnInvalidSlot(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertFalse(isset($slotmap[-100])); + $this->assertFalse(isset($slotmap[16384])); + } + + /** + * @group disconnected + */ + public function testOffsetGetReturnsNodeOfAssignedSlot(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + $slotmap->setSlots(5461, 10922, '127.0.0.1:6380'); + $slotmap->setSlots(10923, 16383, '127.0.0.1:6381'); + + $this->assertSame('127.0.0.1:6379', $slotmap[0]); + $this->assertSame('127.0.0.1:6380', $slotmap[5461]); + $this->assertSame('127.0.0.1:6381', $slotmap[10923]); + } + + /** + * @group disconnected + */ + public function testOffsetGetReturnsNullOnUnassignedSlot(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertNull($slotmap[5461]); + } + + /** + * @group disconnected + */ + public function testOffsetGetReturnsNullOnInvalidSlot(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertNull($slotmap[-100]); + $this->assertNull($slotmap[16384]); + } + + /** + * @group disconnected + */ + public function testOffsetUnsetRemovesSlotAssignment(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertTrue(isset($slotmap[100])); + unset($slotmap[100]); + $this->assertFalse(isset($slotmap[100])); + } + + /** + * @group disconnected + */ + public function testOffsetUnsetDoesNotDoAnythingOnUnassignedSlot(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertFalse(isset($slotmap[5461])); + unset($slotmap[5461]); + $this->assertFalse(isset($slotmap[5461])); + } + + /** + * @group disconnected + */ + public function testOffsetSetAssignsNodeToSlot(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + + $this->assertSame('127.0.0.1:6380', $slotmap[100] = '127.0.0.1:6380'); + $this->assertSame('127.0.0.1:6380', $slotmap[100]); + + $this->assertNull($slotmap[5461]); + $this->assertSame('127.0.0.1:6380', $slotmap[5461] = '127.0.0.1:6380'); + $this->assertSame('127.0.0.1:6380', $slotmap[5461]); + } + + /** + * @group disconnected + */ + public function testOffsetSetCastsValueToString(): void + { + $slotmap = new SlotMap(); + + $connection = $this->getMockConnection(); + $connection + ->expects($this->once()) + ->method('__toString') + ->willReturn('127.0.0.1:6379'); + + $this->assertSame($connection, $slotmap[0] = $connection); + $this->assertSame('127.0.0.1:6379', $slotmap[0]); + } + + /** + * @group disconnected + */ + public function testOffsetSetThrowsExceptionOnInvalidSlot(): void + { + $this->expectException('OutOfBoundsException'); + $this->expectExceptionMessage('Invalid slot 16384 for `127.0.0.1:6379`'); + + $slotmap = new SlotMap(); + + $slotmap[16384] = '127.0.0.1:6379'; + } + + /** + * @group disconnected + */ + public function testGetIteratorReturnsIteratorOverSlotMap(): void + { + $slotmap = new SlotMap(); + + $slotmap->setSlots(0, 5460, '127.0.0.1:6379'); + $slotmap->setSlots(5461, 10922, '127.0.0.1:6380'); + $slotmap->setSlots(10923, 16383, '127.0.0.1:6381'); + + $expectedMap = array_merge( + array_fill(0, 5461, '127.0.0.1:6379'), + array_fill(5461, 5462, '127.0.0.1:6380'), + array_fill(10923, 5461, '127.0.0.1:6381') + ); + + $this->assertSame($expectedMap, iterator_to_array($slotmap)); + } +} diff --git a/tests/Predis/Cluster/SlotMapTest.php b/tests/Predis/Cluster/SlotMapTest.php index fa8b82b26e397246ee6332ca19198b9702618a67..c7804d08ff61bf5c54e260f87f07ff9c4e03f7d3 100644 --- a/tests/Predis/Cluster/SlotMapTest.php +++ b/tests/Predis/Cluster/SlotMapTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Cluster/SlotRangeTest.php b/tests/Predis/Cluster/SlotRangeTest.php new file mode 100644 index 0000000000000000000000000000000000000000..5ee66ef7734f99d3450c58de91e5cebcf39290db --- /dev/null +++ b/tests/Predis/Cluster/SlotRangeTest.php @@ -0,0 +1,134 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Cluster; + +use PredisTestCase; + +class SlotRangeTest extends PredisTestCase +{ + /** + * @group disconnected + */ + public function testMaxSlotsEquals16383() + { + $this->assertEquals(SlotRange::MAX_SLOTS, 16383); + } + + /** + * @group disconnected + */ + public function testConstructorThrowExceptionOnInvalidSlotRange(): void + { + $this->expectException('OutOfBoundsException'); + $this->expectExceptionMessage('Invalid slot range 600-300 for `c1`'); + + new SlotRange(600, 300, 'c1'); + } + + /** + * @group disconnected + */ + public function testIsValidRangeReturnsTrueOnValidSlotRange() + { + $this->assertTrue(SlotRange::isValidRange(0, SlotRange::MAX_SLOTS)); + $this->assertTrue(SlotRange::isValidRange(2000, 2999)); + $this->assertTrue(SlotRange::isValidRange(3000, 3000)); + } + + /** + * @group disconnected + */ + public function testIsValidRangeReturnsFalseOnInvalidSlotRange() + { + $this->assertFalse(SlotRange::isValidRange(0, 16384)); + $this->assertFalse(SlotRange::isValidRange(-1, 16383)); + $this->assertFalse(SlotRange::isValidRange(-1, 16384)); + $this->assertFalse(SlotRange::isValidRange(2999, 2000)); + } + + /** + * @group disconnected + */ + public function testPropertySetters() + { + $range = new SlotRange(2000, 5000, 'c1'); + + $this->assertEquals(2000, $range->getStart()); + $this->assertEquals(5000, $range->getEnd()); + $this->assertEquals('c1', $range->getConnection()); + } + + /** + * @group disconnected + */ + public function testHasSlot() + { + $range = new SlotRange(2000, 4000, 'c1'); + + $this->assertTrue($range->hasSlot(2000)); + $this->assertTrue($range->hasSlot(4000)); + $this->assertTrue($range->hasSlot(3000)); + + $this->assertFalse($range->hasSlot(1000)); + $this->assertFalse($range->hasSlot(5000)); + } + + /** + * @group disconnected + */ + public function testToArray() + { + $range = new SlotRange(2000, 2005, 'c1'); + $array = $range->toArray(); + $this->assertSame([ + 2000 => 'c1', + 2001 => 'c1', + 2002 => 'c1', + 2003 => 'c1', + 2004 => 'c1', + 2005 => 'c1', + ], $array); + } + + /** + * @group disconnected + */ + public function testCount() + { + $range = new SlotRange(2000, 3000, 'c1'); + $this->assertEquals(1001, $range->count()); + $this->assertEquals(1001, count($range)); + } + + /** + * @group disconnected + */ + public function testHasIntersectionWith() + { + $original = new SlotRange(2000, 3000, 'c1'); + + $this->assertFalse($original->hasIntersectionWith(new SlotRange(1000, 1500, 'c1'))); + $this->assertFalse($original->hasIntersectionWith(new SlotRange(3001, 5000, 'c1'))); + $this->assertFalse($original->hasIntersectionWith(new SlotRange(1999, 1999, 'c1'))); + $this->assertFalse($original->hasIntersectionWith(new SlotRange(3001, 3001, 'c1'))); + + $this->assertTrue($original->hasIntersectionWith(new SlotRange(1500, 6000, 'c1'))); + $this->assertTrue($original->hasIntersectionWith(new SlotRange(2500, 2999, 'c1'))); + $this->assertTrue($original->hasIntersectionWith(new SlotRange(2000, 2999, 'c1'))); + $this->assertTrue($original->hasIntersectionWith(new SlotRange(2500, 3000, 'c1'))); + $this->assertTrue($original->hasIntersectionWith(new SlotRange(1500, 2000, 'c1'))); + $this->assertTrue($original->hasIntersectionWith(new SlotRange(3000, 3500, 'c1'))); + $this->assertTrue($original->hasIntersectionWith(new SlotRange(2000, 2000, 'c1'))); + $this->assertTrue($original->hasIntersectionWith(new SlotRange(3000, 3000, 'c1'))); + } +} diff --git a/tests/Predis/Collection/Iterator/HashKeyTest.php b/tests/Predis/Collection/Iterator/HashKeyTest.php index 6cc33b6faef852100a767a69f2d4d1b74c7581fd..0668c59adab4bbf9e09dc2158dc06fc19c41ea11 100644 --- a/tests/Predis/Collection/Iterator/HashKeyTest.php +++ b/tests/Predis/Collection/Iterator/HashKeyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Collection/Iterator/KeyspaceTest.php b/tests/Predis/Collection/Iterator/KeyspaceTest.php index fa3e426a32baf944b1c3268308d5d94d644211aa..176dac6357fd47e6eaed10a282d81ea88cfa8a8b 100644 --- a/tests/Predis/Collection/Iterator/KeyspaceTest.php +++ b/tests/Predis/Collection/Iterator/KeyspaceTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Collection/Iterator/ListKeyTest.php b/tests/Predis/Collection/Iterator/ListKeyTest.php index 9f6db3a84c4d2a1f5851dd53bccc12c6451eeeca..e88ceb6368cc9b436d47207e79d467d7f73ee762 100644 --- a/tests/Predis/Collection/Iterator/ListKeyTest.php +++ b/tests/Predis/Collection/Iterator/ListKeyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Collection/Iterator/SetKeyTest.php b/tests/Predis/Collection/Iterator/SetKeyTest.php index 6a5f715bcfcc53b6058d1fccd44bbfe92610a4ab..724d458a0c2c69e7f5b9d7535fd53addf59b0418 100644 --- a/tests/Predis/Collection/Iterator/SetKeyTest.php +++ b/tests/Predis/Collection/Iterator/SetKeyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Collection/Iterator/SortedSetKeyTest.php b/tests/Predis/Collection/Iterator/SortedSetKeyTest.php index eced4a657e25012d0b82e91b92516913853c06cd..bf209458b9cb91e314012af9be0e9e0a8153f5a3 100644 --- a/tests/Predis/Collection/Iterator/SortedSetKeyTest.php +++ b/tests/Predis/Collection/Iterator/SortedSetKeyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/AggregateArgumentsTest.php b/tests/Predis/Command/Argument/Search/AggregateArgumentsTest.php index 6e49eaa9722a00c513c190e4247129a9f54e35cf..12cbd839f039a1eb7016f73fa51fdf9a911d0e63 100644 --- a/tests/Predis/Command/Argument/Search/AggregateArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/AggregateArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/CommonArgumentsTest.php b/tests/Predis/Command/Argument/Search/CommonArgumentsTest.php index a7c492a2a7fe05129ca65d53d42f1ca83e9e1c54..e85086b70fdd1d2ef1f8cb7e0a278c4de90331b3 100644 --- a/tests/Predis/Command/Argument/Search/CommonArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/CommonArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/CreateArgumentsTest.php b/tests/Predis/Command/Argument/Search/CreateArgumentsTest.php index d7f98a368a333bc990fc8c48de158be91969b643..9ebe64387219e3a762d94a90565467ac47e48ee5 100644 --- a/tests/Predis/Command/Argument/Search/CreateArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/CreateArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/CursorArgumentsTest.php b/tests/Predis/Command/Argument/Search/CursorArgumentsTest.php index 2c79d03f65279d99c0d38347e59e85a91fcbe61b..983a978681aa430d867487d946a1f854d03a32bc 100644 --- a/tests/Predis/Command/Argument/Search/CursorArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/CursorArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/DropArgumentsTest.php b/tests/Predis/Command/Argument/Search/DropArgumentsTest.php index 02031516ee4c312b2dbbc69e3a375b9f8e680fc3..d80bfd4cdcf05af7758986ebf9aea975744fc2fc 100644 --- a/tests/Predis/Command/Argument/Search/DropArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/DropArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/ProfileArgumentsTest.php b/tests/Predis/Command/Argument/Search/ProfileArgumentsTest.php index 8c8daca066369bf4558114e155078a52b9ed9004..a21c8ef2bd17e79535a78b8787e99cfe3d818df4 100644 --- a/tests/Predis/Command/Argument/Search/ProfileArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/ProfileArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/GeoFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/GeoFieldTest.php index e081ae5e3e0cdd82014d31afeb66f077a6c61008..f8a455d0ffc1941cfe88d1cf4789e9e63b7a03ec 100644 --- a/tests/Predis/Command/Argument/Search/SchemaFields/GeoFieldTest.php +++ b/tests/Predis/Command/Argument/Search/SchemaFields/GeoFieldTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php index d95ace20ad2328a79119e55cb95a98a9d6be665d..003e70fffbc645f3ae9b58700270005b22a10294 100644 --- a/tests/Predis/Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php +++ b/tests/Predis/Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/NumericFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/NumericFieldTest.php index e2f18082b7d197ab88edf32270d7dd709662df0a..68c1a094e1fb3a8bc80b5d18195275e786ef2879 100644 --- a/tests/Predis/Command/Argument/Search/SchemaFields/NumericFieldTest.php +++ b/tests/Predis/Command/Argument/Search/SchemaFields/NumericFieldTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/TagFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/TagFieldTest.php index 17c3e29479c058fd2d76bfba9dd650c4795635f8..7790f466d0507da7c8f6dc23118acdd41b267d88 100644 --- a/tests/Predis/Command/Argument/Search/SchemaFields/TagFieldTest.php +++ b/tests/Predis/Command/Argument/Search/SchemaFields/TagFieldTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/TextFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/TextFieldTest.php index 8cbf22b1b8982fc9db7d7416bb630a8142cdeace..bbb34d3729c116ea3e81b8a56a6774fc1c7506af 100644 --- a/tests/Predis/Command/Argument/Search/SchemaFields/TextFieldTest.php +++ b/tests/Predis/Command/Argument/Search/SchemaFields/TextFieldTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/VectorFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/VectorFieldTest.php index c171b37544f008e0ca79574b66000b74da7613ac..3d20024b48a22fd0cb362e2cf265a260602af501 100644 --- a/tests/Predis/Command/Argument/Search/SchemaFields/VectorFieldTest.php +++ b/tests/Predis/Command/Argument/Search/SchemaFields/VectorFieldTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SearchArgumentsTest.php b/tests/Predis/Command/Argument/Search/SearchArgumentsTest.php index 63ca0bdf57a831672a8d8624b1fca88f996fd96f..937b7e9dc0771d15bc85ea058909761f3a218307 100644 --- a/tests/Predis/Command/Argument/Search/SearchArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/SearchArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SpellcheckArgumentsTest.php b/tests/Predis/Command/Argument/Search/SpellcheckArgumentsTest.php index 08a9fccc4501810636fceb94d8035485df953dae..7fcd8c0d1c6f4c63e763bff74e7e485ac6f7e731 100644 --- a/tests/Predis/Command/Argument/Search/SpellcheckArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/SpellcheckArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SugAddArgumentsTest.php b/tests/Predis/Command/Argument/Search/SugAddArgumentsTest.php index f1a5e0cc1680346ed3c23f37b046a73255c2b865..1cbca6ae33540ec81d67b940c2c8a2e1fb8ea302 100644 --- a/tests/Predis/Command/Argument/Search/SugAddArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/SugAddArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/Search/SugGetArgumentsTest.php b/tests/Predis/Command/Argument/Search/SugGetArgumentsTest.php index 06118e074d7f7f3e32f4ba0df2efa06cc27506ec..69bfb362fc6f9108234d76937b7ca68ae3de1636 100644 --- a/tests/Predis/Command/Argument/Search/SugGetArgumentsTest.php +++ b/tests/Predis/Command/Argument/Search/SugGetArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/TimeSeries/AddArgumentsTest.php b/tests/Predis/Command/Argument/TimeSeries/AddArgumentsTest.php index 754e1d63744fde3855a089548815b49d939e9aa0..0f4538572212c826b920bcb97d0558960333ef91 100644 --- a/tests/Predis/Command/Argument/TimeSeries/AddArgumentsTest.php +++ b/tests/Predis/Command/Argument/TimeSeries/AddArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/TimeSeries/CommonArgumentsTest.php b/tests/Predis/Command/Argument/TimeSeries/CommonArgumentsTest.php index a2085f8320a0cd3524aeff53a074a746f55fbc7f..516360212511b328e839a82fbc37dc729ec3279f 100644 --- a/tests/Predis/Command/Argument/TimeSeries/CommonArgumentsTest.php +++ b/tests/Predis/Command/Argument/TimeSeries/CommonArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/TimeSeries/CreateArgumentsTest.php b/tests/Predis/Command/Argument/TimeSeries/CreateArgumentsTest.php index 23834b5df821dbbfc2c46e3ea54c0c3ad12eb339..1b919b515e65ff84fe148b82f3e7f3980028ec26 100644 --- a/tests/Predis/Command/Argument/TimeSeries/CreateArgumentsTest.php +++ b/tests/Predis/Command/Argument/TimeSeries/CreateArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/TimeSeries/IncrByArgumentsTest.php b/tests/Predis/Command/Argument/TimeSeries/IncrByArgumentsTest.php index c21c98dff48ad9db1ec8de5f00837db09b09321a..0a866a6245ec03d05b53b2a7137cbdb26f4d8d37 100644 --- a/tests/Predis/Command/Argument/TimeSeries/IncrByArgumentsTest.php +++ b/tests/Predis/Command/Argument/TimeSeries/IncrByArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/TimeSeries/InfoArgumentsTest.php b/tests/Predis/Command/Argument/TimeSeries/InfoArgumentsTest.php index 81c74c89d5d489dca004909905592522433e33d4..e13de2826cb0cb12de44b69a518676ad4573e473 100644 --- a/tests/Predis/Command/Argument/TimeSeries/InfoArgumentsTest.php +++ b/tests/Predis/Command/Argument/TimeSeries/InfoArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/TimeSeries/MRangeArgumentsTest.php b/tests/Predis/Command/Argument/TimeSeries/MRangeArgumentsTest.php index 69cd914cf8b08bd4a03a3ad42592cc7d86cfc718..b96bcfed0caaae5e3fb18cc7d6cd8b5d21647926 100644 --- a/tests/Predis/Command/Argument/TimeSeries/MRangeArgumentsTest.php +++ b/tests/Predis/Command/Argument/TimeSeries/MRangeArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php b/tests/Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php index 712eba361bb77461044c10c408187201f7200c5d..4326ce91fa53544e6ff0abd4cd938efc249b10b4 100644 --- a/tests/Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php +++ b/tests/Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/CommandTest.php b/tests/Predis/Command/CommandTest.php index 887c69e6a31e29b3f0d9920eb049423b4c6e13d2..45f0470aedc6b6d16d4dd1cf1af51607c42f342f 100644 --- a/tests/Predis/Command/CommandTest.php +++ b/tests/Predis/Command/CommandTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Processor/KeyPrefixProcessorTest.php b/tests/Predis/Command/Processor/KeyPrefixProcessorTest.php index 0f2f450c83d47ee5b5fcd873e2ae830b451e03f0..14fd97c652a7d6f6e653289e419c5e694c342bb6 100644 --- a/tests/Predis/Command/Processor/KeyPrefixProcessorTest.php +++ b/tests/Predis/Command/Processor/KeyPrefixProcessorTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Processor/ProcessorChainTest.php b/tests/Predis/Command/Processor/ProcessorChainTest.php index 2a3b6fb39fda47d1d71bbeedf6ae03aedcac20bf..b350562baac8f38b588b1c1f4462bc778c76708e 100644 --- a/tests/Predis/Command/Processor/ProcessorChainTest.php +++ b/tests/Predis/Command/Processor/ProcessorChainTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/RawCommandTest.php b/tests/Predis/Command/RawCommandTest.php index 465e2c25354891401f4fac2f65dbec5c5fcadc29..4782f8a75c52f4026354291b15dde49dc210df64 100644 --- a/tests/Predis/Command/RawCommandTest.php +++ b/tests/Predis/Command/RawCommandTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/RawFactoryTest.php b/tests/Predis/Command/RawFactoryTest.php index edaa0b01ccc2deedc778bf856b90256c3d7d759a..cbda347c9bfeac5496c672a87ebab5598cfb824a 100644 --- a/tests/Predis/Command/RawFactoryTest.php +++ b/tests/Predis/Command/RawFactoryTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ACL_Test.php b/tests/Predis/Command/Redis/ACL_Test.php index 0cc83cd88861a32b0ddebc8590cf78653a43c3d4..28aff81359cc0f80e0cd40426445d9994181bfd1 100644 --- a/tests/Predis/Command/Redis/ACL_Test.php +++ b/tests/Predis/Command/Redis/ACL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,6 +12,7 @@ namespace Predis\Command\Redis; +use Predis\Command\Argument\Search\SchemaFields\TextField; use Predis\Response\ServerException; class ACL_Test extends PredisCommandTestCase @@ -132,6 +133,174 @@ class ACL_Test extends PredisCommandTestCase } } + /** + * @group connected + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testModuleCategoriesAppearsInListOfAllCategories(): void + { + $redis = $this->getClient(); + $allCategories = $redis->acl->cat(); + + foreach (['bloom', 'cuckoo', 'cms', 'topk', 'tdigest', 'search', 'timeseries', 'json'] as $category) { + $this->assertContains($category, $allCategories); + } + } + + /** + * @group connected + * @group relay-incompatible + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testSetModuleCommandPrivileges(): void + { + $redis = $this->getClient(); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + 'reset', + 'nopass', + 'on' + ) + ); + + $this->assertEquals('OK', $redis->auth('testUser', '')); + + $this->expectException(ServerException::class); + $redis->ftcreate('test', [new TextField('foo')]); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + '+ft.create', + '+ft.search' + ) + ); + + $this->assertEquals('OK', $redis->ftcreate('test', [new TextField('foo')])); + $this->assertEmpty($redis->ftsearch('test', '*')); + + $this->expectException(ServerException::class); + $redis->jsonset('test', '$', '{"key":"value"}'); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + '+json.set' + ) + ); + + $this->assertEquals('OK', $redis->jsonset('test', '$', '{"key":"value"}')); + + $this->expectException(ServerException::class); + $redis->bfadd('test', 'value'); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + '+bf.add' + ) + ); + + $this->assertEquals(1, $redis->bfadd('test', 'value')); + + $this->expectException(ServerException::class); + $redis->tsadd('test', time(), 0.01); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + '+ts.add' + ) + ); + + $this->assertEquals(1, $redis->tsadd('test', time(), 0.01)); + } + + /** + * @group connected + * @group relay-incompatible + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testSetModuleCategoryPrivileges(): void + { + $redis = $this->getClient(); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + 'reset', + 'nopass', + 'on' + ) + ); + + $this->assertEquals('OK', $redis->auth('testUser', '')); + + $this->expectException(ServerException::class); + $redis->ftcreate('test', [new TextField('foo')]); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + '+@search' + ) + ); + + $this->assertEquals('OK', $redis->ftcreate('test', [new TextField('foo')])); + $this->assertEmpty($redis->ftsearch('test', '*')); + + $this->expectException(ServerException::class); + $redis->jsonset('test', '$', '{"key":"value"}'); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + '+@json' + ) + ); + + $this->assertEquals('OK', $redis->jsonset('test', '$', '{"key":"value"}')); + + $this->expectException(ServerException::class); + $redis->bfadd('test', 'value'); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + '+@bloom' + ) + ); + + $this->assertEquals(1, $redis->bfadd('test', 'value')); + + $this->expectException(ServerException::class); + $redis->tsadd('test', time(), 0.01); + + $this->assertEquals( + 'OK', + $redis->acl->setUser( + 'testUser', + '+@timeseries' + ) + ); + + $this->assertEquals(1, $redis->tsadd('test', time(), 0.01)); + } + /** * @group connected * @return void diff --git a/tests/Predis/Command/Redis/APPEND_Test.php b/tests/Predis/Command/Redis/APPEND_Test.php index 7d03fd215e7ead87818fff66f67c16eaedd52c54..ba2276b028ae00c40f15a5d3d38c5b89c932341a 100644 --- a/tests/Predis/Command/Redis/APPEND_Test.php +++ b/tests/Predis/Command/Redis/APPEND_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/AUTH_Test.php b/tests/Predis/Command/Redis/AUTH_Test.php index 38c1f3771123445f23737dac86c49b6008d1a733..06e5ddf98ab21ff16535fe838aa8c5d33f5079c5 100644 --- a/tests/Predis/Command/Redis/AUTH_Test.php +++ b/tests/Predis/Command/Redis/AUTH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php b/tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php index 41ede1662fcb0a769dd030401b558e8349746560..5efa95461d03d8acc2928529a4e9db4194833a90 100644 --- a/tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php +++ b/tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BGREWRITEAOF_Test.php b/tests/Predis/Command/Redis/BGREWRITEAOF_Test.php index 057cbb6027b350c8f97965a25971b53de4e98abb..550e04104a59e0e52382dd64edf5429bd75d85fa 100644 --- a/tests/Predis/Command/Redis/BGREWRITEAOF_Test.php +++ b/tests/Predis/Command/Redis/BGREWRITEAOF_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BGSAVE_Test.php b/tests/Predis/Command/Redis/BGSAVE_Test.php index f9237fe8158706f113309a147193e93674325431..8f7fd991cba0a9c51a7c85a1ac21096743d76668 100644 --- a/tests/Predis/Command/Redis/BGSAVE_Test.php +++ b/tests/Predis/Command/Redis/BGSAVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BITCOUNT_Test.php b/tests/Predis/Command/Redis/BITCOUNT_Test.php index 36def5132079facd9e59bed5b14a3e1579826f0c..52ad0ecca5d67adca7a0b69ae7ecc0b99fd201f3 100644 --- a/tests/Predis/Command/Redis/BITCOUNT_Test.php +++ b/tests/Predis/Command/Redis/BITCOUNT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BITFIELD_RO_Test.php b/tests/Predis/Command/Redis/BITFIELD_RO_Test.php new file mode 100644 index 0000000000000000000000000000000000000000..25563fe4984c81506b54a72a010ab6cb255b770e --- /dev/null +++ b/tests/Predis/Command/Redis/BITFIELD_RO_Test.php @@ -0,0 +1,76 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis; + +class BITFIELD_RO_Test extends PredisCommandTestCase +{ + /** + * {@inheritdoc} + */ + protected function getExpectedCommand(): string + { + return BITFIELD_RO::class; + } + + /** + * {@inheritdoc} + */ + protected function getExpectedId(): string + { + return 'BITFIELD_RO'; + } + + /** + * @group disconnected + * @dataProvider argumentsProvider + */ + public function testFilterArguments(array $actualArguments, array $expectedArguments): void + { + $command = $this->getCommand(); + $command->setArguments($actualArguments); + + $this->assertSame($expectedArguments, $command->getArguments()); + } + + /** + * @group connected + * @return void + * @requiresRedisVersion >= 6.2.0 + */ + public function testReturnBitsOfSpecificString() + { + $redis = $this->getClient(); + + $redis->set('foo', 'bar'); + + $this->assertSame([6, 98], $redis->bitfield_ro('foo', ['u4' => 0, 'i8' => 0])); + } + + public function argumentsProvider(): array + { + return [ + 'with default arguments' => [ + ['key'], + ['key'], + ], + 'with single encoding-offset entry' => [ + ['key', ['encoding' => 'offset']], + ['key', 'GET', 'encoding', 'offset'], + ], + 'with multiple encoding-offset entry' => [ + ['key', ['encoding' => 'offset', 'encoding1' => 'offset1', 'encoding2' => 'offset2']], + ['key', 'GET', 'encoding', 'offset', 'GET', 'encoding1', 'offset1', 'GET', 'encoding2', 'offset2'], + ], + ]; + } +} diff --git a/tests/Predis/Command/Redis/BITFIELD_Test.php b/tests/Predis/Command/Redis/BITFIELD_Test.php index d5fe9538b7fa8456aecbe2bc8a4436e30787399d..330b591314d9542078b7643a2473b92d973c13c3 100644 --- a/tests/Predis/Command/Redis/BITFIELD_Test.php +++ b/tests/Predis/Command/Redis/BITFIELD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BITOP_Test.php b/tests/Predis/Command/Redis/BITOP_Test.php index 970791d8b663b0b72731c537dd0b4122ede3be6d..26ce3b268b8ac5ec70d3e07a10641ae957ce3be9 100644 --- a/tests/Predis/Command/Redis/BITOP_Test.php +++ b/tests/Predis/Command/Redis/BITOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BITPOS_Test.php b/tests/Predis/Command/Redis/BITPOS_Test.php index 53acce133c154f046d7d7ff2af03e7ece851cf7b..942e2d67d36e90f16c7c866c1f0d1d89f764f51c 100644 --- a/tests/Predis/Command/Redis/BITPOS_Test.php +++ b/tests/Predis/Command/Redis/BITPOS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BLMOVE_Test.php b/tests/Predis/Command/Redis/BLMOVE_Test.php index 12a864fecf9402c69cbc2fe38ab9cd3b66d53248..8239c2ef9aa08ff64fe651d3e79faed376bc1d31 100644 --- a/tests/Predis/Command/Redis/BLMOVE_Test.php +++ b/tests/Predis/Command/Redis/BLMOVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BLMPOP_Test.php b/tests/Predis/Command/Redis/BLMPOP_Test.php index 92f7310ac60a7ecc1dd87fffcbfaefc804b236d9..24863950fb7f18dfe690e30431a2180a0ec49eff 100644 --- a/tests/Predis/Command/Redis/BLMPOP_Test.php +++ b/tests/Predis/Command/Redis/BLMPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BLPOP_Test.php b/tests/Predis/Command/Redis/BLPOP_Test.php index 9d8ff16c65fc239f1e2b8571697d0687539af4e7..e0ef17076079a42db5499e791381b59c9fd21106 100644 --- a/tests/Predis/Command/Redis/BLPOP_Test.php +++ b/tests/Predis/Command/Redis/BLPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BRPOPLPUSH_Test.php b/tests/Predis/Command/Redis/BRPOPLPUSH_Test.php index 539172ffba96a7369e3c74aced9aad5392d83a55..71e5d126f4cb734980330e747aa46d9f0e7b691d 100644 --- a/tests/Predis/Command/Redis/BRPOPLPUSH_Test.php +++ b/tests/Predis/Command/Redis/BRPOPLPUSH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BRPOP_Test.php b/tests/Predis/Command/Redis/BRPOP_Test.php index 03b7ed6120fb8ed316c547b3cc1a773828a225b4..4f256878e68e82917f6ce58a1c89966234ffc127 100644 --- a/tests/Predis/Command/Redis/BRPOP_Test.php +++ b/tests/Predis/Command/Redis/BRPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BZMPOP_Test.php b/tests/Predis/Command/Redis/BZMPOP_Test.php index 5acd3b041c3576f225847c3c4ba12d0839359416..2b33ccedacb6457581df620d8ba8775ed99036b0 100644 --- a/tests/Predis/Command/Redis/BZMPOP_Test.php +++ b/tests/Predis/Command/Redis/BZMPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BZPOPMAX_Test.php b/tests/Predis/Command/Redis/BZPOPMAX_Test.php index 707d223e82e47c426a005b6f32dddc5c2cc6307f..5873e1272440211861dab89e5a13c3a713e304ee 100644 --- a/tests/Predis/Command/Redis/BZPOPMAX_Test.php +++ b/tests/Predis/Command/Redis/BZPOPMAX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BZPOPMIN_Test.php b/tests/Predis/Command/Redis/BZPOPMIN_Test.php index 33503d99913ef5be7870cfeccf6f090a846084ca..ccefc059c0e387b188c89299610e5246bcf857c9 100644 --- a/tests/Predis/Command/Redis/BZPOPMIN_Test.php +++ b/tests/Predis/Command/Redis/BZPOPMIN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFADD_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFADD_Test.php index 19c6d6b08c041c48d5e21562fab9f256dfc56db4..0e8c3cdd3e629669bb751663a256f807706ad3cf 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFADD_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFEXISTS_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFEXISTS_Test.php index 9873e1a66d5e52971c431d2fa29b7f8f2186785d..7368b99302babd3058e764b8171f03b7031b9856 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFEXISTS_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFEXISTS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php index 857d4de4cd4a7d5f9f47fada6581153b815fd733..010c68c426347e39aaacf20a20196dfe7014f568 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php index 6392fcaf523c7b76d2e7cfd138820539c59a3032..f3ab2c88cea66c561b06aafa0507c6a63a4c90f8 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFLOADCHUNK_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFLOADCHUNK_Test.php index 2957657dff9f19f261606f62df9ab5e9663c1a56..698e7c7d2ee5c3e26281c8cd9c799b6e862361f3 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFLOADCHUNK_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFLOADCHUNK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFMADD_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFMADD_Test.php index 728f90076ad4f2c2352352767fde552765604e87..6c7930e754d8cecbab3a39ee0fe86095407bc7b6 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFMADD_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFMADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFMEXISTS_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFMEXISTS_Test.php index 80782a1e41d5732fc3f85f6da1e7d4c305df29c0..9166beff03368428ba15fd6e9d2ca82f8708dfaa 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFMEXISTS_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFMEXISTS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php index e7475212e8f289154fd02796252472b1906d31f2..4ba4a9e986c704ec2f65892f3d79047fbe3af3ba 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/BloomFilter/BFSCANDUMP_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFSCANDUMP_Test.php index 9598d02a4738ccab9970df9f275a5c75ae968e8c..fb76995394291d33aa3922c8336ea2a28cd52003 100644 --- a/tests/Predis/Command/Redis/BloomFilter/BFSCANDUMP_Test.php +++ b/tests/Predis/Command/Redis/BloomFilter/BFSCANDUMP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CLIENT_Test.php b/tests/Predis/Command/Redis/CLIENT_Test.php index 037f75b2eac8bd11778c39fb871f25b3e523a252..68bbf0f11865c9c8fc4c1aad32ddea8a8ea0b8eb 100644 --- a/tests/Predis/Command/Redis/CLIENT_Test.php +++ b/tests/Predis/Command/Redis/CLIENT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CLUSTER_Test.php b/tests/Predis/Command/Redis/CLUSTER_Test.php index 02593d4ad257d6ba589ee6882533895aa82aeceb..f4105722ffb2b53076d24cdecc67f7a4c9abe876 100644 --- a/tests/Predis/Command/Redis/CLUSTER_Test.php +++ b/tests/Predis/Command/Redis/CLUSTER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/COMMAND_Test.php b/tests/Predis/Command/Redis/COMMAND_Test.php index 95d3bebd035a81150cc9198616b54b7bb7fa12fd..0f671f73e8dfbdaa614b43b37edd55ce70f37e64 100644 --- a/tests/Predis/Command/Redis/COMMAND_Test.php +++ b/tests/Predis/Command/Redis/COMMAND_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CONFIG_Test.php b/tests/Predis/Command/Redis/CONFIG_Test.php index 22ac1d30a21e6dd1758b449b821a768273b6cd6a..d8e2f98d6fa0aa06fed8f347687dba1d9df7573e 100644 --- a/tests/Predis/Command/Redis/CONFIG_Test.php +++ b/tests/Predis/Command/Redis/CONFIG_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -12,6 +12,8 @@ namespace Predis\Command\Redis; +use Predis\Response\ServerException; + /** * @group commands * @group realm-server @@ -137,6 +139,48 @@ class CONFIG_Test extends PredisCommandTestCase $redis->config('SET', 'loglevel', $previous['loglevel']); } + /** + * @group connected + * @group relay-incompatible + * @requiresRedisVersion >= 7.9.0 + */ + public function testOverrideDefaultDialectWithConfigCommand() + { + $redis = $this->getClient(); + $default_dialect = (int) $redis + ->config('GET', 'search-default-dialect')['search-default-dialect']; + + $this->assertEquals('OK', $redis->config('SET', 'search-default-dialect', 2)); + $this->assertEquals(2, (int) $redis->ftconfig->get('DEFAULT_DIALECT')[0][1]); + $this->assertEquals(2, + (int) $redis->config('GET', 'search-default-dialect')['search-default-dialect']); + $this->assertEquals( + 'OK', + $redis->config('SET', 'search-default-dialect', $default_dialect) + ); + } + + /** + * @group connected + * @requiresRedisVersion >= 7.9.0 + */ + public function testSetGetSearchConfiguration() + { + $redis = $this->getClient(); + + $this->assertGreaterThan(0, + (int) $redis->config('GET', 'search-timeout')['search-timeout']); + $this->assertGreaterThanOrEqual(0, + (int) $redis->config('GET', 'ts-retention-policy')['ts-retention-policy']); + $this->assertGreaterThanOrEqual(0, + (int) $redis->config('GET', 'bf-error-rate')['bf-error-rate']); + $this->assertGreaterThan(0, + (int) $redis->config('GET', 'cf-initial-size')['cf-initial-size']); + + $this->expectException(ServerException::class); + $redis->config('SET', 'search-max-doctablesize', 10000); + } + /** * @group connected * @requiresRedisVersion >= 2.0.0 diff --git a/tests/Predis/Command/Redis/COPY_Test.php b/tests/Predis/Command/Redis/COPY_Test.php index 26135af0ae4147a7208678106f81cc6d6a3249a8..aeeb37c8a96cd772af18a40ffc5623ce56c66416 100644 --- a/tests/Predis/Command/Redis/COPY_Test.php +++ b/tests/Predis/Command/Redis/COPY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Container/AbstractContainerTest.php b/tests/Predis/Command/Redis/Container/AbstractContainerTest.php index 0c2555ad9ac09eeb01c21a7c32012fd3c6caacf4..9ea3222287b2a2ed33ccc9d42e492b01f5a12d6f 100644 --- a/tests/Predis/Command/Redis/Container/AbstractContainerTest.php +++ b/tests/Predis/Command/Redis/Container/AbstractContainerTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Container/CLUSTER_Test.php b/tests/Predis/Command/Redis/Container/CLUSTER_Test.php index 4e1474e45359f28124c12ce841f13ccbaf6f63f2..005431db8a2c2a8ba2c54099ab15a0ab838f0ac9 100644 --- a/tests/Predis/Command/Redis/Container/CLUSTER_Test.php +++ b/tests/Predis/Command/Redis/Container/CLUSTER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Container/ContainerFactoryTest.php b/tests/Predis/Command/Redis/Container/ContainerFactoryTest.php index d1c0eeef668a3fb866219fb7cecbf78490118d0a..d5e9519b5b7ac3ebbd0171791e3c496fcb73ce77 100644 --- a/tests/Predis/Command/Redis/Container/ContainerFactoryTest.php +++ b/tests/Predis/Command/Redis/Container/ContainerFactoryTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php index 782ac59d47ed30657d783cf676455e474ff9aade..d4c3ee3f93422c708ac839e853622dc7a46a261c 100644 --- a/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php +++ b/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSINFO_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSINFO_Test.php index 18498106fda821c4e525929e3cf544f64f3a3c06..97985ef3830a6f0cb62fd226a443b1195880c3ea 100644 --- a/tests/Predis/Command/Redis/CountMinSketch/CMSINFO_Test.php +++ b/tests/Predis/Command/Redis/CountMinSketch/CMSINFO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSINITBYDIM_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSINITBYDIM_Test.php index f1c4c9eef3edb4ce41f55af7aac2836ae7eb19f8..d76808c8a28ff0a833ee0823a21b8356a70b9395 100644 --- a/tests/Predis/Command/Redis/CountMinSketch/CMSINITBYDIM_Test.php +++ b/tests/Predis/Command/Redis/CountMinSketch/CMSINITBYDIM_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSINITBYPROB_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSINITBYPROB_Test.php index 19ad95dd5a8aefc73b0aa04016ed50e1572839c8..8026b9362026f21d609ce16f4de6fc97e8766cde 100644 --- a/tests/Predis/Command/Redis/CountMinSketch/CMSINITBYPROB_Test.php +++ b/tests/Predis/Command/Redis/CountMinSketch/CMSINITBYPROB_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php index 17e4414694cb2f9db98126994170761f4a0c2c49..fbcd4122e5ae6882e0e16d3bc083a6a6578bd260 100644 --- a/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php +++ b/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php index 106cd360dcbb7f1e90419a2dc6a5c537f77b4f03..331247177dee3d83c3d926453953f2ea312285ea 100644 --- a/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php +++ b/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFADDNX_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFADDNX_Test.php index db9c3f345af3473c305e7061d50bb8003b0b1809..fc8cac2dd21c5d305ccf94ca300a8eada2b54705 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFADDNX_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFADDNX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFADD_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFADD_Test.php index e5ef8cafb07e1a445d1c1fad039ae7f06ce09912..82662b19fff1d77f78297c2fb882beb9014b94ae 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFADD_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFCOUNT_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFCOUNT_Test.php index a98bcc1162960c5836a86f3ebf2c393e31be0501..51d6f8ff0a4b0b593761f5f759cb7137fe8d3d69 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFCOUNT_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFCOUNT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFDEL_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFDEL_Test.php index 40636e0d3b7aadab22edaed3a71b665e23f8f5c9..602ef423d44d754332484d85c7f3787b70d13b89 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFDEL_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFEXISTS_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFEXISTS_Test.php index aeca1c5f8eba2da9d2e288876090981792483dba..ea4b7005046a2d3406f96998a48aa33cfaff234b 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFEXISTS_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFEXISTS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php index 283813d9ed6b9960fc51e2044ef977b1357eab3b..4387950a806060a95c885c88fad01145b710707e 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php index 4f327d41f50af39d709ef760e1e5721dff8b15bc..2d46eb5d02ffe8eb3983ee1b74d23ae8e8297ff9 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php index 5ae587ade8f3fe57e9c16b38d3ad35a18076a1eb..0e236b261ee33d23fc6c7430df762bf9e149dc9d 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFLOADCHUNK_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFLOADCHUNK_Test.php index 7cea5730bbae8e867c4e3b5c1c570dd33c703d7e..e09e4575cb6938d904e5ad8bd287f6965cc6138d 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFLOADCHUNK_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFLOADCHUNK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFMEXISTS_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFMEXISTS_Test.php index 63d4c699965ca1f018bc2ec03724281f559dfc12..5f7199c476bde38a2de379db9e4528f14ade8853 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFMEXISTS_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFMEXISTS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php index 6866c0315a0fe5dd764ea3ddfd9649abea5ac7b7..081865f170ab00e3a572abf529d23d0cd5440941 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFSCANDUMP_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFSCANDUMP_Test.php index e1ff79beaf3200360c497e21aee36a76a5ed4f1d..0b48b241ac99928053732d436eed5aa658af68c7 100644 --- a/tests/Predis/Command/Redis/CuckooFilter/CFSCANDUMP_Test.php +++ b/tests/Predis/Command/Redis/CuckooFilter/CFSCANDUMP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/DBSIZE_Test.php b/tests/Predis/Command/Redis/DBSIZE_Test.php index ad7ef5204a81a3eaa02d2538ba6f7f352ea0a082..5167ea6e8eabf7d6b0e22d8c93efa89415a11732 100644 --- a/tests/Predis/Command/Redis/DBSIZE_Test.php +++ b/tests/Predis/Command/Redis/DBSIZE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/DECRBY_Test.php b/tests/Predis/Command/Redis/DECRBY_Test.php index a0b5aa3e147d4bc9383a4035e2bb843974273f9f..33aefd731b508a49a798c79f3a09cef8f0e6a34e 100644 --- a/tests/Predis/Command/Redis/DECRBY_Test.php +++ b/tests/Predis/Command/Redis/DECRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/DECR_Test.php b/tests/Predis/Command/Redis/DECR_Test.php index dced85ed2fbaa3fdcead2ea16c39c46b8b502c78..85a712acd94a2a941ffd2bc61355cc1b181ea33f 100644 --- a/tests/Predis/Command/Redis/DECR_Test.php +++ b/tests/Predis/Command/Redis/DECR_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/DEL_Test.php b/tests/Predis/Command/Redis/DEL_Test.php index 7ce595ae79bdce2e945b2a6e66c782e831db60e6..bc18b6081ca6079df123482b55ec5b72c17f2783 100644 --- a/tests/Predis/Command/Redis/DEL_Test.php +++ b/tests/Predis/Command/Redis/DEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/DISCARD_Test.php b/tests/Predis/Command/Redis/DISCARD_Test.php index fb6be119e7b44d36646e9788acd7904f3090889a..06248ec4a34b1c9c51d2416f26ca579428c8794e 100644 --- a/tests/Predis/Command/Redis/DISCARD_Test.php +++ b/tests/Predis/Command/Redis/DISCARD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/DUMP_Test.php b/tests/Predis/Command/Redis/DUMP_Test.php index 9b0adc2155d9584a9a0c54f48f09aa23e46b33a6..de2e9cafbda977031cbc42c8c9ea07c2b48f465a 100644 --- a/tests/Predis/Command/Redis/DUMP_Test.php +++ b/tests/Predis/Command/Redis/DUMP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ECHO_Test.php b/tests/Predis/Command/Redis/ECHO_Test.php index ab4aa463a087bc892faf386d3854448c57b6ec32..69117e94dddc6146f8cd957f535f843d6b7b30ac 100644 --- a/tests/Predis/Command/Redis/ECHO_Test.php +++ b/tests/Predis/Command/Redis/ECHO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EVALSHA_RO_Test.php b/tests/Predis/Command/Redis/EVALSHA_RO_Test.php index 61b31d6bfa97f793bd9ef66cddf2cd0ec5282b3a..23992f19a44f1d79f1a68a086bb4591496d4789d 100644 --- a/tests/Predis/Command/Redis/EVALSHA_RO_Test.php +++ b/tests/Predis/Command/Redis/EVALSHA_RO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EVALSHA_Test.php b/tests/Predis/Command/Redis/EVALSHA_Test.php index 2ba51f49e6c55b7c0207d3705b5fa1b6aa501037..184d1f4fae96110563f5aae30ee872cea9627db1 100644 --- a/tests/Predis/Command/Redis/EVALSHA_Test.php +++ b/tests/Predis/Command/Redis/EVALSHA_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EVAL_RO_Test.php b/tests/Predis/Command/Redis/EVAL_RO_Test.php index 0c9526c0f5366d59c7af3830293b16da68a6185c..bbf9b1b213f1c87d5426003c61ebcdbbd0bc0b61 100644 --- a/tests/Predis/Command/Redis/EVAL_RO_Test.php +++ b/tests/Predis/Command/Redis/EVAL_RO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EVAL_Test.php b/tests/Predis/Command/Redis/EVAL_Test.php index 5117b17d2dba2ea27cc0da84c363718cb2b76060..3885a972dc4cbb58eecffdbda34f4fd394d73978 100644 --- a/tests/Predis/Command/Redis/EVAL_Test.php +++ b/tests/Predis/Command/Redis/EVAL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EXEC_Test.php b/tests/Predis/Command/Redis/EXEC_Test.php index ea96ea33af5116ea8ab8138472404bdacf927775..c0db74da88f29523b446517cdedaef176d9e1e3f 100644 --- a/tests/Predis/Command/Redis/EXEC_Test.php +++ b/tests/Predis/Command/Redis/EXEC_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EXISTS_Test.php b/tests/Predis/Command/Redis/EXISTS_Test.php index cf73434d1f6f99ca6b5fb942c93277e4ca5b09ad..03f9ed428849052ff4e366944f9e7df50e5a6854 100644 --- a/tests/Predis/Command/Redis/EXISTS_Test.php +++ b/tests/Predis/Command/Redis/EXISTS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EXPIREAT_Test.php b/tests/Predis/Command/Redis/EXPIREAT_Test.php index 27f0a5d33079ffa28f916d2e635ad91999faf92c..d1ae10d4295609d9b0d7b6fab2c1404d9d05e1ed 100644 --- a/tests/Predis/Command/Redis/EXPIREAT_Test.php +++ b/tests/Predis/Command/Redis/EXPIREAT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EXPIRETIME_Test.php b/tests/Predis/Command/Redis/EXPIRETIME_Test.php index 0dfad73aed4cce89e536c3b6eac7d3f14b4f11fa..8c04655494dd1d1b9725b271254e13f9ca9b0fdc 100644 --- a/tests/Predis/Command/Redis/EXPIRETIME_Test.php +++ b/tests/Predis/Command/Redis/EXPIRETIME_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/EXPIRE_Test.php b/tests/Predis/Command/Redis/EXPIRE_Test.php index 8b2bd08d4864709ab72e5d8db859c4ad043b9155..6325b6adf163c874737c096a90e960d1f8dd927c 100644 --- a/tests/Predis/Command/Redis/EXPIRE_Test.php +++ b/tests/Predis/Command/Redis/EXPIRE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/FAILOVER_Test.php b/tests/Predis/Command/Redis/FAILOVER_Test.php index d3e73fb5b75d35cad00c25f7361f22c343ffea54..ca9a09a9c7d59f6a13ae0062c09f6ab8cd90a4da 100644 --- a/tests/Predis/Command/Redis/FAILOVER_Test.php +++ b/tests/Predis/Command/Redis/FAILOVER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/FCALL_RO_Test.php b/tests/Predis/Command/Redis/FCALL_RO_Test.php index 3c914d8b9d0d33c32a4af7ad5aaa79ab704b89cc..59256b05e608c38550b80684fc8ee7340b8025b3 100644 --- a/tests/Predis/Command/Redis/FCALL_RO_Test.php +++ b/tests/Predis/Command/Redis/FCALL_RO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/FCALL_Test.php b/tests/Predis/Command/Redis/FCALL_Test.php index 5a8b0607e475d30010d44f4e24ff257012e46bdc..c9ca210697fee77f307041ba851f156afb8906c7 100644 --- a/tests/Predis/Command/Redis/FCALL_Test.php +++ b/tests/Predis/Command/Redis/FCALL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/FLUSHALL_Test.php b/tests/Predis/Command/Redis/FLUSHALL_Test.php index 67dc56a74fc26f5af1fd34274eef6b5c74675174..bf4a9ff93e3213cb415ecd8d028551a8fe9af82e 100644 --- a/tests/Predis/Command/Redis/FLUSHALL_Test.php +++ b/tests/Predis/Command/Redis/FLUSHALL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/FLUSHDB_Test.php b/tests/Predis/Command/Redis/FLUSHDB_Test.php index 2ea83876b29ad35cceee4e8ba195af5a319bbc6e..c0f7c9ed1742892fe6c9922d8229153ba984cecd 100644 --- a/tests/Predis/Command/Redis/FLUSHDB_Test.php +++ b/tests/Predis/Command/Redis/FLUSHDB_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/FUNCTIONS_Test.php b/tests/Predis/Command/Redis/FUNCTIONS_Test.php index 282e41d33c68335920731b125b2c11b5d01c3905..1ca453dc90a063facc9ead9919ebfca0f26d1879 100644 --- a/tests/Predis/Command/Redis/FUNCTIONS_Test.php +++ b/tests/Predis/Command/Redis/FUNCTIONS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GEOADD_Test.php b/tests/Predis/Command/Redis/GEOADD_Test.php index 137ed4fa39355c7bf7856a355f9b2289fbc56fb1..7e46c4ad8cfc1fc4ae34b48c6d68cccb97a7df9f 100644 --- a/tests/Predis/Command/Redis/GEOADD_Test.php +++ b/tests/Predis/Command/Redis/GEOADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GEODIST_Test.php b/tests/Predis/Command/Redis/GEODIST_Test.php index 67a72064e725da9f8b9ee0eba3abc6454413dae0..cc088960f2d87dfc8ff2801fe0b6b0a00cc25847 100644 --- a/tests/Predis/Command/Redis/GEODIST_Test.php +++ b/tests/Predis/Command/Redis/GEODIST_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GEOHASH_Test.php b/tests/Predis/Command/Redis/GEOHASH_Test.php index e7608bd12447904dcb478823ffc12fd4f06609cb..fee72908b0b406494b43e32f8949610e3b47a7dc 100644 --- a/tests/Predis/Command/Redis/GEOHASH_Test.php +++ b/tests/Predis/Command/Redis/GEOHASH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GEOPOS_Test.php b/tests/Predis/Command/Redis/GEOPOS_Test.php index e4d31edd32f312a3319acca303d9a7718dbfb109..8a1b666681951cdb3c7424d474f6a1ea324937a1 100644 --- a/tests/Predis/Command/Redis/GEOPOS_Test.php +++ b/tests/Predis/Command/Redis/GEOPOS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -91,10 +91,10 @@ class GEOPOS_Test extends PredisCommandTestCase $redis = $this->getClient(); $redis->geoadd('Sicily', '13.361389', '38.115556', 'Palermo', '15.087269', '37.502669', 'Catania'); - $this->assertEquals([ - ['13.36138933897018433', '38.11555639549629859'], - ['15.08726745843887329', '37.50266842333162032'], - ], $redis->geopos('Sicily', 'Palermo', 'Catania')); + $this->assertEqualsWithDelta([ + [13.36138933897018433, 38.11555639549629859], + [15.08726745843887329, 37.50266842333162032], + ], $redis->geopos('Sicily', 'Palermo', 'Catania'), 0.1); } /** diff --git a/tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php b/tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php index 1903de7017daec76971100e65c6281bcf88ceb76..79be31327357f5bfe7f19899be1f99ba02249a39 100644 --- a/tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php +++ b/tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -147,10 +147,10 @@ class GEORADIUSBYMEMBER_Test extends PredisCommandTestCase $redis = $this->getClient(); $redis->geoadd('Sicily', '13.361389', '38.115556', 'Palermo', '15.087269', '37.502669', 'Catania', '13.583333', '37.316667', 'Agrigento'); - $this->assertEquals([ - ['Agrigento', '0.0000', ['13.5833314061164856', '37.31666804993816555']], - ['Palermo', '90.9778', ['13.36138933897018433', '38.11555639549629859']], - ], $redis->georadiusbymember('Sicily', 'Agrigento', 100, 'km', 'WITHDIST', 'WITHCOORD')); + $this->assertEqualsWithDelta([ + ['Agrigento', '0.0000', [13.5833314061164856, 37.31666804993816555]], + ['Palermo', '90.9778', [13.36138933897018433, 38.11555639549629859]], + ], $redis->georadiusbymember('Sicily', 'Agrigento', 100, 'km', 'WITHDIST', 'WITHCOORD'), 0.1); } /** diff --git a/tests/Predis/Command/Redis/GEORADIUS_Test.php b/tests/Predis/Command/Redis/GEORADIUS_Test.php index 2926a90dc6ca6a467e12ea1e4fb0416828f1ac19..c1c464d3dd8493c185682d37a1aeb2016c1659ae 100644 --- a/tests/Predis/Command/Redis/GEORADIUS_Test.php +++ b/tests/Predis/Command/Redis/GEORADIUS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -149,10 +149,10 @@ class GEORADIUS_Test extends PredisCommandTestCase $redis = $this->getClient(); $redis->geoadd('Sicily', '13.361389', '38.115556', 'Palermo', '15.087269', '37.502669', 'Catania'); - $this->assertEquals([ - ['Palermo', '190.4424', ['13.36138933897018433', '38.11555639549629859']], - ['Catania', '56.4413', ['15.08726745843887329', '37.50266842333162032']], - ], $redis->georadius('Sicily', 15, 37, 200, 'km', 'WITHDIST', 'WITHCOORD')); + $this->assertEqualsWithDelta([ + ['Palermo', '190.4424', [13.36138933897018433, 38.11555639549629859]], + ['Catania', '56.4413', [15.08726745843887329, 37.50266842333162032]], + ], $redis->georadius('Sicily', 15, 37, 200, 'km', 'WITHDIST', 'WITHCOORD'), 0.1); } /** diff --git a/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php b/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php index a49d6cd709e9334e37730f1b3e7b57dd1cb6e4c2..6120fea3a119f849851240d0c2e0991625dc4f3e 100644 --- a/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php +++ b/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GEOSEARCH_Test.php b/tests/Predis/Command/Redis/GEOSEARCH_Test.php index 851e579bde8daecd55a34a5175de5d36736e5201..9d173dab270fcaf272a267866a8fe9877c7994e1 100644 --- a/tests/Predis/Command/Redis/GEOSEARCH_Test.php +++ b/tests/Predis/Command/Redis/GEOSEARCH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GETBIT_Test.php b/tests/Predis/Command/Redis/GETBIT_Test.php index 08ef2e4e9cc55898d9498f0b2baae43abceb84f0..4df59bddfdcc0db1a3c62a9b8a5b03df9efcc11a 100644 --- a/tests/Predis/Command/Redis/GETBIT_Test.php +++ b/tests/Predis/Command/Redis/GETBIT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GETDEL_Test.php b/tests/Predis/Command/Redis/GETDEL_Test.php index a9dbe2466c2d0217d2e000812cf34cf6a7092216..35c95513f67f1683c1d781a41fa8e3832d686725 100644 --- a/tests/Predis/Command/Redis/GETDEL_Test.php +++ b/tests/Predis/Command/Redis/GETDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GETEX_Test.php b/tests/Predis/Command/Redis/GETEX_Test.php index 9e11232d5945f2682d3500745182f39a10fd2574..10c7b9021e520a0b8948d9c1b55be7d48884f4fb 100644 --- a/tests/Predis/Command/Redis/GETEX_Test.php +++ b/tests/Predis/Command/Redis/GETEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GETRANGE_Test.php b/tests/Predis/Command/Redis/GETRANGE_Test.php index 1abbc105c2618a5ed65985da58ab3ff22ca5a4f8..337a05f8d2cf6820fd6dd765bd70e179b256b4db 100644 --- a/tests/Predis/Command/Redis/GETRANGE_Test.php +++ b/tests/Predis/Command/Redis/GETRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GETSET_Test.php b/tests/Predis/Command/Redis/GETSET_Test.php index 8d2d2fd68e7a53b328c4ab45b98ae512ea25aaf5..0b115bbe8d285d9a275f33d3149a83d56768a6be 100644 --- a/tests/Predis/Command/Redis/GETSET_Test.php +++ b/tests/Predis/Command/Redis/GETSET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/GET_Test.php b/tests/Predis/Command/Redis/GET_Test.php index 4838ab12882185146f2d0c5e698f14d14a290fa9..659bf1f4e31d8efa01a1763227df863bdeb52db6 100644 --- a/tests/Predis/Command/Redis/GET_Test.php +++ b/tests/Predis/Command/Redis/GET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HDEL_Test.php b/tests/Predis/Command/Redis/HDEL_Test.php index 7cdf19e36d803a81ec10a3fdb8d8a6cf58893fbc..4b03b4c4f867d7820c57b1ba3b7cda5c5163c35e 100644 --- a/tests/Predis/Command/Redis/HDEL_Test.php +++ b/tests/Predis/Command/Redis/HDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HEXISTS_Test.php b/tests/Predis/Command/Redis/HEXISTS_Test.php index 9fda338526579e39f4e9acdb11c5f88ad6f2d77c..f75b8a6be9a9cef323163053be8f8c5565f75706 100644 --- a/tests/Predis/Command/Redis/HEXISTS_Test.php +++ b/tests/Predis/Command/Redis/HEXISTS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HEXPIREAT_Test.php b/tests/Predis/Command/Redis/HEXPIREAT_Test.php index 430baf39cf89b448c53eaed809932c9c1300f103..b2b6c6643080f0a8b4719762db78b79944498df5 100644 --- a/tests/Predis/Command/Redis/HEXPIREAT_Test.php +++ b/tests/Predis/Command/Redis/HEXPIREAT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HEXPIRETIME_Test.php b/tests/Predis/Command/Redis/HEXPIRETIME_Test.php index ae99bc807cb5fd5114191f19b076c9f8335c6aaa..79e118294b8bdf0afcfa34679ec88d195a055849 100644 --- a/tests/Predis/Command/Redis/HEXPIRETIME_Test.php +++ b/tests/Predis/Command/Redis/HEXPIRETIME_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HEXPIRE_Test.php b/tests/Predis/Command/Redis/HEXPIRE_Test.php index 33e3073f5cf3ecfb446c56b55f4412d738f1775c..628d6689dc39ddaf19a505d780925a73d0fe8378 100644 --- a/tests/Predis/Command/Redis/HEXPIRE_Test.php +++ b/tests/Predis/Command/Redis/HEXPIRE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HGETALL_Test.php b/tests/Predis/Command/Redis/HGETALL_Test.php index 3198309dfd2d0d00f6cc04c660ef34e18d8e9692..ebe22a9f5fc9da8afc8352a2653893e14643b49b 100644 --- a/tests/Predis/Command/Redis/HGETALL_Test.php +++ b/tests/Predis/Command/Redis/HGETALL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HGETDEL_Test.php b/tests/Predis/Command/Redis/HGETDEL_Test.php new file mode 100644 index 0000000000000000000000000000000000000000..8033a489ce3f1737ee9e120cabe1907e0be06b42 --- /dev/null +++ b/tests/Predis/Command/Redis/HGETDEL_Test.php @@ -0,0 +1,69 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis; + +class HGETDEL_Test extends PredisCommandTestCase +{ + /** + * {@inheritDoc} + */ + protected function getExpectedCommand(): string + { + return HGETDEL::class; + } + + /** + * {@inheritDoc} + */ + protected function getExpectedId(): string + { + return 'HGETDEL'; + } + + /** + * @group disconnected + */ + public function testFilterArguments(): void + { + $command = $this->getCommand(); + $command->setArguments(['key', ['field1', 'field2']]); + + $this->assertSame(['key', 'FIELDS', 2, 'field1', 'field2'], $command->getArguments()); + } + + /** + * @group disconnected + */ + public function testParseResponse(): void + { + $command = $this->getCommand(); + + $this->assertSame(0, $command->parseResponse(0)); + $this->assertSame(1, $command->parseResponse(1)); + } + + /** + * @group connected + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testReturnsAndRemoveFieldsFromHash(): void + { + $redis = $this->getClient(); + + $redis->hset('hashkey', 'field1', 'value1', 'field2', 'value2', 'field3', 'value3'); + + $this->assertSame(['value1', 'value2'], $redis->hgetdel('hashkey', ['field1', 'field2'])); + $this->assertSame(['field3' => 'value3'], $redis->hgetall('hashkey')); + } +} diff --git a/tests/Predis/Command/Redis/HGETEX_Test.php b/tests/Predis/Command/Redis/HGETEX_Test.php new file mode 100644 index 0000000000000000000000000000000000000000..854539733ddd136b456079d33ebd741fb21c9ba5 --- /dev/null +++ b/tests/Predis/Command/Redis/HGETEX_Test.php @@ -0,0 +1,193 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis; + +use UnexpectedValueException; + +class HGETEX_Test extends PredisCommandTestCase +{ + /** + * {@inheritdoc} + */ + protected function getExpectedCommand(): string + { + return HGETEX::class; + } + + /** + * {@inheritdoc} + */ + protected function getExpectedId(): string + { + return 'HGETEX'; + } + + /** + * @group disconnected + * @dataProvider argumentsProvider + */ + public function testFilterArguments(array $actualArguments, array $expectedArguments): void + { + $command = $this->getCommand(); + $command->setArguments($actualArguments); + + $this->assertSame($expectedArguments, $command->getArguments()); + } + + /** + * @group disconnected + */ + public function testParseResponse(): void + { + $command = $this->getCommand(); + + $this->assertSame(1, $command->parseResponse(1)); + } + + /** + * @group connected + * @dataProvider hashProvider + * @param array $hash + * @param array $arguments + * @param array $expectedResponse + * @param float $timeout + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testReturnsValueAndSetExpirationTimeForGivenHash( + array $hash, + array $arguments, + array $expectedResponse, + float $timeout + ): void { + $redis = $this->getClient(); + + $redis->hset(...$hash); + + $this->assertSame($expectedResponse, $redis->hgetex(...$arguments)); + $this->sleep($timeout); + $this->assertSame([], $redis->hgetall('hash_key')); + } + + /** + * @group connected + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testRemovesAssociatedTTLFromHash() + { + $redis = $this->getClient(); + + $redis->hsetex( + 'hash_key', ['field1' => 'value1'], + HSETEX::SET_NULL, HSETEX::TTL_EX, 100 + ); + + $this->assertGreaterThan(0, $redis->hexpiretime('hash_key', ['field1'])[0]); + $redis->hgetex('hash_key', ['field1'], HGETEX::PERSIST); + $this->assertEquals(-1, $redis->hexpiretime('hash_key', ['field1'])[0]); + } + + /** + * @group connected + * @dataProvider unexpectedValuesProvider + * @param array $arguments + * @param string $expectedExceptionMessage + * @return void + */ + public function testThrowsExceptionOnUnexpectedValueGiven( + array $arguments, + string $expectedExceptionMessage + ): void { + $redis = $this->getClient(); + + $this->expectException(UnexpectedValueException::class); + $this->expectExceptionMessage($expectedExceptionMessage); + + $redis->hgetex(...$arguments); + } + + public function argumentsProvider(): array + { + return [ + 'with default arguments' => [ + ['key', ['field1', 'field2']], + ['key', 'FIELDS', 2, 'field1', 'field2'], + ], + 'with EX modifier' => [ + ['key', ['field1', 'field2'], HGETEX::EX, 10], + ['key', 'EX', 10, 'FIELDS', 2, 'field1', 'field2'], + ], + 'with PX modifier' => [ + ['key', ['field1', 'field2'], HGETEX::PX, 10], + ['key', 'PX', 10, 'FIELDS', 2, 'field1', 'field2'], + ], + 'with EXAT modifier' => [ + ['key', ['field1', 'field2'], HGETEX::EXAT, 10], + ['key', 'EXAT', 10, 'FIELDS', 2, 'field1', 'field2'], + ], + 'with PXAT modifier' => [ + ['key', ['field1', 'field2'], HGETEX::PXAT, 10], + ['key', 'PXAT', 10, 'FIELDS', 2, 'field1', 'field2'], + ], + 'with PERSIST modifier' => [ + ['key', ['field1', 'field2'], HGETEX::PERSIST], + ['key', 'PERSIST', 'FIELDS', 2, 'field1', 'field2'], + ], + ]; + } + + public function hashProvider(): array + { + return [ + 'with expiration - EX modifier' => [ + ['hash_key', 'field1', 'value1', 'field2', 'value2'], + ['hash_key', ['field1', 'field2'], HGETEX::EX, 1], + ['value1', 'value2'], + 1.2, + ], + 'with expiration - PX modifier' => [ + ['hash_key', 'field1', 'value1', 'field2', 'value2'], + ['hash_key', ['field1', 'field2'], HGETEX::PX, 100], + ['value1', 'value2'], + 0.2, + ], + 'with expiration - EXAT modifier' => [ + ['hash_key', 'field1', 'value1', 'field2', 'value2'], + ['hash_key', ['field1', 'field2'], HGETEX::EXAT, time() + 1], + ['value1', 'value2'], + 2, + ], + 'with expiration - PXAT modifier' => [ + ['hash_key', 'field1', 'value1', 'field2', 'value2'], + ['hash_key', ['field1', 'field2'], HGETEX::PXAT, (time() * 1000) + 100], + ['value1', 'value2'], + 0.3, + ], + ]; + } + + public function unexpectedValuesProvider(): array + { + return [ + 'with wrong modifier' => [ + ['key', ['field1', 'field2'], 'wrong', 10], + 'Modifier argument accepts only: ex, px, exat, pxat, persist values', + ], + 'with wrong type value' => [ + ['key', ['field1', 'field2'], 'ex', true], + 'Modifier value is missing or incorrect type', + ], + ]; + } +} diff --git a/tests/Predis/Command/Redis/HGET_Test.php b/tests/Predis/Command/Redis/HGET_Test.php index 42356d3d1e7e439144c2305bc9650bef0acdc556..920072d858b0a11734b2b3fe52db1e0060475480 100644 --- a/tests/Predis/Command/Redis/HGET_Test.php +++ b/tests/Predis/Command/Redis/HGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HINCRBYFLOAT_Test.php b/tests/Predis/Command/Redis/HINCRBYFLOAT_Test.php index 03433068a2ac4c0e67f2b69e3c766dcf712ce4e1..144b1ee9383bcf1781de12b8d3b444b6cac12b45 100644 --- a/tests/Predis/Command/Redis/HINCRBYFLOAT_Test.php +++ b/tests/Predis/Command/Redis/HINCRBYFLOAT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HINCRBY_Test.php b/tests/Predis/Command/Redis/HINCRBY_Test.php index b15ce6b3a632341de304294d102f76e609ee2a1a..7c77e9cbac9feebe4a411339470f36203381c917 100644 --- a/tests/Predis/Command/Redis/HINCRBY_Test.php +++ b/tests/Predis/Command/Redis/HINCRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HKEYS_Test.php b/tests/Predis/Command/Redis/HKEYS_Test.php index 6f1a6c19d3d1692f4e600a3a4000c256c76e30f0..5120b99aee112e1ac42c4e8697a987671b873e5f 100644 --- a/tests/Predis/Command/Redis/HKEYS_Test.php +++ b/tests/Predis/Command/Redis/HKEYS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HLEN_Test.php b/tests/Predis/Command/Redis/HLEN_Test.php index 4a96375c604fe12b2fedc4cfc4f97403799ff0c2..f546b602a325786daada5dcb958aa845f31ebe5d 100644 --- a/tests/Predis/Command/Redis/HLEN_Test.php +++ b/tests/Predis/Command/Redis/HLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HMGET_Test.php b/tests/Predis/Command/Redis/HMGET_Test.php index a5f53d6c7383ad6fd1a4c571f51304b986e481d1..8a1dc3993bc3dd1c90223d3df4d29ce25a6bec9c 100644 --- a/tests/Predis/Command/Redis/HMGET_Test.php +++ b/tests/Predis/Command/Redis/HMGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HMSET_Test.php b/tests/Predis/Command/Redis/HMSET_Test.php index b8629f09108ce9736d9738fffc05fd675a3082a3..d23d0029a7961346b50f4a3678d57947bab46cbb 100644 --- a/tests/Predis/Command/Redis/HMSET_Test.php +++ b/tests/Predis/Command/Redis/HMSET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HPERSIST_Test.php b/tests/Predis/Command/Redis/HPERSIST_Test.php index a46e7f30e25bf0a7f69d8f200ec8439b6925d6d1..c790b699d4c782904ac147c2ee109a3bff403711 100644 --- a/tests/Predis/Command/Redis/HPERSIST_Test.php +++ b/tests/Predis/Command/Redis/HPERSIST_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HPEXPIREAT_Test.php b/tests/Predis/Command/Redis/HPEXPIREAT_Test.php index 87c53a4011527b96cfdc05adc93750b984d28497..b3e12273809ac8422cfd5fdf7596f6e9e351cebd 100644 --- a/tests/Predis/Command/Redis/HPEXPIREAT_Test.php +++ b/tests/Predis/Command/Redis/HPEXPIREAT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HPEXPIRETIME_Test.php b/tests/Predis/Command/Redis/HPEXPIRETIME_Test.php index 590c61ce3f8b9bc4866dbcbbdcf6b253bdebac27..0852e689da7fcbeb0bc5644c0248d1125df9b79b 100644 --- a/tests/Predis/Command/Redis/HPEXPIRETIME_Test.php +++ b/tests/Predis/Command/Redis/HPEXPIRETIME_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HPEXPIRE_Test.php b/tests/Predis/Command/Redis/HPEXPIRE_Test.php index c8f3cfc89b8ad261aaeedbef8f9ba7e2fa2cbd3f..9bd0aec808002d19565a7478d91d3375b40b0cd3 100644 --- a/tests/Predis/Command/Redis/HPEXPIRE_Test.php +++ b/tests/Predis/Command/Redis/HPEXPIRE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HPTTL_Test.php b/tests/Predis/Command/Redis/HPTTL_Test.php index 8ead2cd62c162c59e36595fe3cf0cf23a02543dd..1c4f1250f164031de17ddaf2c478e17dfebcc3b1 100644 --- a/tests/Predis/Command/Redis/HPTTL_Test.php +++ b/tests/Predis/Command/Redis/HPTTL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HRANDFIELD_Test.php b/tests/Predis/Command/Redis/HRANDFIELD_Test.php index 31114fc5dd7f4420d47bdde70a683a0f8d8ec182..935d160f0f1c1202ec962e6cd00e7057cd037ec4 100644 --- a/tests/Predis/Command/Redis/HRANDFIELD_Test.php +++ b/tests/Predis/Command/Redis/HRANDFIELD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HSCAN_Test.php b/tests/Predis/Command/Redis/HSCAN_Test.php index 67b608db8c98dfb4f3771a2da70c3017af187e37..1560cb7121b2f48a19f4d096cddb961c86a48843 100644 --- a/tests/Predis/Command/Redis/HSCAN_Test.php +++ b/tests/Predis/Command/Redis/HSCAN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HSETEX_Test.php b/tests/Predis/Command/Redis/HSETEX_Test.php new file mode 100644 index 0000000000000000000000000000000000000000..ab466b29bcb355767426da5c2675684b088eb289 --- /dev/null +++ b/tests/Predis/Command/Redis/HSETEX_Test.php @@ -0,0 +1,257 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis; + +use UnexpectedValueException; + +class HSETEX_Test extends PredisCommandTestCase +{ + /** + * {@inheritdoc} + */ + protected function getExpectedCommand(): string + { + return HSETEX::class; + } + + /** + * {@inheritdoc} + */ + protected function getExpectedId(): string + { + return 'HSETEX'; + } + + /** + * @group disconnected + * @dataProvider argumentsProvider + */ + public function testFilterArguments(array $actualArguments, array $expectedArguments): void + { + $command = $this->getCommand(); + $command->setArguments($actualArguments); + + $this->assertSame($expectedArguments, $command->getArguments()); + } + + /** + * @group connected + * @group slow + * @dataProvider hashProvider + * @param array $arguments + * @param int $expectedResponse + * @param float $timeout + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testSetHashWithExpiration( + array $arguments, + int $expectedResponse, + float $timeout + ): void { + $redis = $this->getClient(); + + $this->assertSame($expectedResponse, $redis->hsetex(...$arguments)); + + $this->sleep($timeout); + + $this->assertSame([], $redis->hgetall('hash_key')); + } + + /** + * @group connected + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testSetHashFieldsIfNotExists(): void + { + $redis = $this->getClient(); + + $this->assertSame( + 1, + $redis->hsetex('hash_key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FNX) + ); + $this->assertSame( + 0, + $redis->hsetex('hash_key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FNX) + ); + } + + /** + * @group connected + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testSetHashFieldsOnlyIfExists(): void + { + $redis = $this->getClient(); + + $this->assertSame( + 0, + $redis->hsetex('hash_key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FXX) + ); + $this->assertSame( + 1, + $redis->hsetex('hash_key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FNX) + ); + $this->assertSame( + 1, + $redis->hsetex('hash_key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FXX) + ); + } + + /** + * @group connected + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testSetHashFieldRetainingTTLValue(): void + { + $redis = $this->getClient(); + + $this->assertSame( + 1, + $redis->hsetex( + 'hash_key', + ['field1' => 'value1', 'field2' => 'value2'], + HSETEX::SET_FNX, + HSETEX::TTL_EX, + 100 + ) + ); + + $this->assertGreaterThan(0, $redis->hexpiretime('hash_key', ['field1'])[0]); + + $this->assertSame( + 1, + $redis->hsetex( + 'hash_key', + ['field1' => 'value1'], + HSETEX::SET_FXX, + HSETEX::TTL_KEEP_TTL + ) + ); + + $this->assertGreaterThan(0, $redis->hexpiretime('hash_key', ['field1'])[0]); + } + + /** + * @group connected + * @dataProvider unexpectedValuesProvider + * @param array $arguments + * @param string $expectedExceptionMessage + * @return void + */ + public function testThrowsExceptionOnUnexpectedValueGiven( + array $arguments, + string $expectedExceptionMessage + ): void { + $redis = $this->getClient(); + + $this->expectException(UnexpectedValueException::class); + $this->expectExceptionMessage($expectedExceptionMessage); + + $redis->hsetex(...$arguments); + } + + public function argumentsProvider(): array + { + return [ + 'with default arguments' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2']], + ['key', 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + 'with FNX modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FNX], + ['key', 'FNX', 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + 'with FXX modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FXX], + ['key', 'FXX', 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + 'with EX modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_EX, 10], + ['key', 'EX', 10, 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + 'with PX modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_PX, 10], + ['key', 'PX', 10, 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + 'with EXAT modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_EXAT, 10], + ['key', 'EXAT', 10, 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + 'with PXAT modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_PXAT, 10], + ['key', 'PXAT', 10, 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + 'with KEEPTTL modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_KEEP_TTL], + ['key', 'KEEPTTL', 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + 'with combined modifiers' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FXX, HSETEX::TTL_PXAT, 10], + ['key', 'FXX', 'PXAT', 10, 'FIELDS', 2, 'field1', 'value1', 'field2', 'value2'], + ], + ]; + } + + public function hashProvider(): array + { + return [ + 'with EX modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_EX, 1], + 1, + 1.2, + ], + 'with PX modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_PX, 100], + 1, + 0.2, + ], + 'with EXAT modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_EXAT, time() + 1], + 1, + 2, + ], + 'with PXAT modifier' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_NULL, HSETEX::TTL_PXAT, (time() * 1000) + 100], + 1, + 0.3, + ], + 'with combined modifiers' => [ + ['key', ['field1' => 'value1', 'field2' => 'value2'], HSETEX::SET_FNX, HSETEX::TTL_PX, 100], + 1, + 0.2, + ], + ]; + } + + public function unexpectedValuesProvider(): array + { + return [ + 'with wrong set modifier' => [ + ['key', ['field1', 'field2'], 'wrong'], + 'Modifier argument accepts only: fnx, fxx values', + ], + 'with wrong ttl modifier' => [ + ['key', ['field1', 'field2'], '', 'wrong'], + 'Modifier argument accepts only: ex, px, exat, pxat, keepttl values', + ], + 'with wrong ttl modifier value' => [ + ['key', ['field1', 'field2'], '', HSETEX::TTL_PXAT, 'wrong'], + 'Modifier value is missing or incorrect type', + ], + ]; + } +} diff --git a/tests/Predis/Command/Redis/HSETNX_Test.php b/tests/Predis/Command/Redis/HSETNX_Test.php index 3fe574af1afd82990abc17a390b7e90a48f2bd7c..cabba8dd4db57b1298e00faa02e1bd0fbb5dcfce 100644 --- a/tests/Predis/Command/Redis/HSETNX_Test.php +++ b/tests/Predis/Command/Redis/HSETNX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HSET_Test.php b/tests/Predis/Command/Redis/HSET_Test.php index 1b45642a3870e749221965b5ab92e30ba5c95dc1..fdea0c8b1bcf925c8eec379b00c4f086f871b106 100644 --- a/tests/Predis/Command/Redis/HSET_Test.php +++ b/tests/Predis/Command/Redis/HSET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HSTRLEN_Test.php b/tests/Predis/Command/Redis/HSTRLEN_Test.php index 9a5f6e167682793aa02e7c3322f8f86fcbb9daa8..245117697726751a4dd98269be3fc8adcf088b96 100644 --- a/tests/Predis/Command/Redis/HSTRLEN_Test.php +++ b/tests/Predis/Command/Redis/HSTRLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HTTL_Test.php b/tests/Predis/Command/Redis/HTTL_Test.php index e20ddce379e5be499db6d7b7f9ef10ad8a01c684..61a4cd7ef5bac13adff597ddfae9c7c1bea07d01 100644 --- a/tests/Predis/Command/Redis/HTTL_Test.php +++ b/tests/Predis/Command/Redis/HTTL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/HVALS_Test.php b/tests/Predis/Command/Redis/HVALS_Test.php index ef07af193ce91451f0e86ee4747a76a2f0a49780..68f877cfb7b0ea87c76150944c4e50cd47c08872 100644 --- a/tests/Predis/Command/Redis/HVALS_Test.php +++ b/tests/Predis/Command/Redis/HVALS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/INCRBYFLOAT_Test.php b/tests/Predis/Command/Redis/INCRBYFLOAT_Test.php index dc4fc24423c1583b18592dffb5bbdc7a6b3d64eb..bf3bd6ebd13be42104f1cd80a21dfaf9e5cdac58 100644 --- a/tests/Predis/Command/Redis/INCRBYFLOAT_Test.php +++ b/tests/Predis/Command/Redis/INCRBYFLOAT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/INCRBY_Test.php b/tests/Predis/Command/Redis/INCRBY_Test.php index 4bac419e384a0038d97bd2340f7728d9e577ed8f..25e9ba47983c7157178ab06727ff0afd5e5940d5 100644 --- a/tests/Predis/Command/Redis/INCRBY_Test.php +++ b/tests/Predis/Command/Redis/INCRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/INCR_Test.php b/tests/Predis/Command/Redis/INCR_Test.php index b68f0419b0d2dc938c54fdf51270e7ab320ee2f4..b350de2e16c97b729acfa75da9980ac4a06dcada 100644 --- a/tests/Predis/Command/Redis/INCR_Test.php +++ b/tests/Predis/Command/Redis/INCR_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/INFO_Test.php b/tests/Predis/Command/Redis/INFO_Test.php index 490a3713743c942a0f638cc14499d184130ec5dd..f173ef32daf8ff7e73494adb023011ef84334dda 100644 --- a/tests/Predis/Command/Redis/INFO_Test.php +++ b/tests/Predis/Command/Redis/INFO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -313,6 +313,21 @@ BUFFER; $this->assertArrayHasKey('redis_version', $info['Server'] ?? $info); } + /** + * @group connected + * @requiresRedisVersion >= 7.9.0 + */ + public function testExposeSearchInformation(): void + { + $this->markTestSkipped('Skipped due to a bug in 8.0-M05. Should be removed in the next version.'); + + $redis = $this->getClient(); + + $this->assertArrayHasKey('search', $redis->info('modules')['Modules']); + $this->assertNotEmpty($redis->info('search')); + $this->assertArrayHasKey('search', $redis->info('everything')['Modules']); + } + /** * @group connected * @requiresRedisVersion < 2.6.0 diff --git a/tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php b/tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php index f32ec9ac3fd3de5b30d5b16bca8b2d9854c7918b..ad91915aa3f02b048f0939ae9c99a10219601248 100644 --- a/tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php b/tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php index 17690c750909ac94fc70fb18b4ba9052001b0fa3..90d7be51d661b15a9beb6da67636114b327fe23a 100644 --- a/tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php b/tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php index 1115ae24b25f2682ac53593cb2f158bcff9dd0bf..5621691390bda75076c236a209254728c15ad406 100644 --- a/tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php b/tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php index 48ef14ede8a8e2f3eec31afe863be2a0f512eba5..833333bf4ea1ae0976e3d0fc6b28a348ed001555 100644 --- a/tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php b/tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php index f6b0fde86d0ad408f8ed2dec4d22f3dc857c0e83..57fa22ace07e96354796cec05c444ab6c3b48418 100644 --- a/tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php b/tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php index 220b9cc349320046e8c6c6554e17a6f0cf65d436..eb1b3d87c6364c8f52ebdfde5c5bd2f1e5b15ead 100644 --- a/tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php b/tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php index 299beae484605bfaf45386fe5d8546fc61ef7e95..827fa191cc962f8cfa82e78175cffbed58a185eb 100644 --- a/tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php b/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php index 2f8e67e85885054a908c092268c0f4bff2d8b189..c5a9ff2739db70cf1d7d74014d4e4c264d48d1c4 100644 --- a/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONDEL_Test.php b/tests/Predis/Command/Redis/Json/JSONDEL_Test.php index b30e466420e8d8c5650d70e94b8c0cb9a63a7fa5..7345be301ad93f6bd00eb71bf87e42b0eb3cbd0c 100644 --- a/tests/Predis/Command/Redis/Json/JSONDEL_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONFORGET_Test.php b/tests/Predis/Command/Redis/Json/JSONFORGET_Test.php index 0825bacf86beac3e0966024c3d206b589424f9c0..1da0225fd1dcaa398593c74198e93cccc1563bb7 100644 --- a/tests/Predis/Command/Redis/Json/JSONFORGET_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONFORGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONGET_Test.php b/tests/Predis/Command/Redis/Json/JSONGET_Test.php index fa3af481b8928de578e50c516a86e6dde18d785a..fe9fd7f1b3c48c00bda27e2639b358565a5e9fee 100644 --- a/tests/Predis/Command/Redis/Json/JSONGET_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php b/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php index 32c54d9a4ac93f2157c8db0a45d69f9be6ed314f..89ad543ad63139ee16ace093c0684fb501331e61 100644 --- a/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONMGET_Test.php b/tests/Predis/Command/Redis/Json/JSONMGET_Test.php index 07a819bc034b3fbae0e09734c44b078d0c124d0c..ff428058e5803b078a6ca7411324f95014a9a95d 100644 --- a/tests/Predis/Command/Redis/Json/JSONMGET_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONMGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONMSET_Test.php b/tests/Predis/Command/Redis/Json/JSONMSET_Test.php index 5390ded760b66c19e407e6c77dcf8440894015fb..c3a54422fab743da7a7efa699df70fbe4eca71df 100644 --- a/tests/Predis/Command/Redis/Json/JSONMSET_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONMSET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php b/tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php index a20ee01248e3863ed5af932d9a6df06f27fa8010..f141cdbceabd1de38a74cc5546a1566ce49e4451 100644 --- a/tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php b/tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php index f8262248e4028b2c85004561918ae5b19cc3fbb0..67ef68767b7353f78090c3c4b481259d68618d1e 100644 --- a/tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php b/tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php index c73ca182376afc79400d1c5f199d33a6b118774b..714c2a174e29399d4c19588f49ff6d14a8a4d8c1 100644 --- a/tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONRESP_Test.php b/tests/Predis/Command/Redis/Json/JSONRESP_Test.php index 058a8d701801a7da2b8c254b1b412f6e7ddc05f9..106308b658eb05b67aa506a6689961b482829c2d 100644 --- a/tests/Predis/Command/Redis/Json/JSONRESP_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONRESP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONSET_Test.php b/tests/Predis/Command/Redis/Json/JSONSET_Test.php index 65952a6ffbdde1dc02f23bd9a2b368339d4ef9c7..50489bb342045d17ab7b71c7b93ffb7efa6bc08b 100644 --- a/tests/Predis/Command/Redis/Json/JSONSET_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONSET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php b/tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php index 4b68fa0f20b04fecc3a7a42524683480591cd34d..11543b0f06180fe5688eb1d4095cfee2632ffede 100644 --- a/tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php b/tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php index 654a8a8196f88c62a4db998f92a6aac6abf78133..ab1336989beedd1a19d6ae46b8298c56cebda66d 100644 --- a/tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php b/tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php index bdf96306fff208c4ec9639b0bbca76c84868544b..20b413285e6a53631b3855a6d2e5811f7b33d151 100644 --- a/tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Json/JSONTYPE_Test.php b/tests/Predis/Command/Redis/Json/JSONTYPE_Test.php index 5b5537e178db6dec641e3e8d0df72770084cde99..5a372bccdc29dd684022874c204a841f3b8ee3bf 100644 --- a/tests/Predis/Command/Redis/Json/JSONTYPE_Test.php +++ b/tests/Predis/Command/Redis/Json/JSONTYPE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/KEYS_Test.php b/tests/Predis/Command/Redis/KEYS_Test.php index f12851a8b4786625de357bc91d87fa793d2fb065..63b9653bf7683229b4f1527377894a8bcc2360cc 100644 --- a/tests/Predis/Command/Redis/KEYS_Test.php +++ b/tests/Predis/Command/Redis/KEYS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LASTSAVE_Test.php b/tests/Predis/Command/Redis/LASTSAVE_Test.php index 6891b662bc5ff62a6963d8f43de85caaae5d1917..641239114c6e7107b484631d90d3d1146ed4f1be 100644 --- a/tests/Predis/Command/Redis/LASTSAVE_Test.php +++ b/tests/Predis/Command/Redis/LASTSAVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LCS_Test.php b/tests/Predis/Command/Redis/LCS_Test.php index 36f961e8c48315b2673444de6a7d1da81333dfe8..0c6f477b018f6873ff71f6f52f847a47c313fddf 100644 --- a/tests/Predis/Command/Redis/LCS_Test.php +++ b/tests/Predis/Command/Redis/LCS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LINDEX_Test.php b/tests/Predis/Command/Redis/LINDEX_Test.php index 59992db402bf9f6151f4f40c6c97d35da7e2bd40..e566b2844443d2d911a02f83cc3f9d0b095a6084 100644 --- a/tests/Predis/Command/Redis/LINDEX_Test.php +++ b/tests/Predis/Command/Redis/LINDEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LINSERT_Test.php b/tests/Predis/Command/Redis/LINSERT_Test.php index 4ad352335dbdd3cac0196e43cbe36174a9a315a1..d62dfd642be938d6ebe981479dfec610f6f69281 100644 --- a/tests/Predis/Command/Redis/LINSERT_Test.php +++ b/tests/Predis/Command/Redis/LINSERT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LLEN_Test.php b/tests/Predis/Command/Redis/LLEN_Test.php index 12bbea810b14415cc249fb30299164ee12e3d9e7..a96c6a8a42cad50c6ce635f14688cec5b01dfdb4 100644 --- a/tests/Predis/Command/Redis/LLEN_Test.php +++ b/tests/Predis/Command/Redis/LLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LMOVE_Test.php b/tests/Predis/Command/Redis/LMOVE_Test.php index fb7c4e87681d876fc31ec4b3225b4ef673db0c2e..8293869e9edd2731e594ad0e67b521fbac37dd02 100644 --- a/tests/Predis/Command/Redis/LMOVE_Test.php +++ b/tests/Predis/Command/Redis/LMOVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LMPOP_Test.php b/tests/Predis/Command/Redis/LMPOP_Test.php index 27635c6bc82fb23189a2abc8cc6c63460da704eb..f01b0181e0ccbef29cb59801428d191c69d36440 100644 --- a/tests/Predis/Command/Redis/LMPOP_Test.php +++ b/tests/Predis/Command/Redis/LMPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LPOP_Test.php b/tests/Predis/Command/Redis/LPOP_Test.php index 420ec2cd5819c2f1be2e1d99b714a2693bb63d91..70e415d6a52fc96016636fda19ec33b22959217b 100644 --- a/tests/Predis/Command/Redis/LPOP_Test.php +++ b/tests/Predis/Command/Redis/LPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LPUSHX_Test.php b/tests/Predis/Command/Redis/LPUSHX_Test.php index e51c87fb9e4582a441e138e89571088d8e0a14bb..250a155885593cec51d31f6b75bbf9e2b2f220de 100644 --- a/tests/Predis/Command/Redis/LPUSHX_Test.php +++ b/tests/Predis/Command/Redis/LPUSHX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LPUSH_Test.php b/tests/Predis/Command/Redis/LPUSH_Test.php index fa4a405257f728aa16349751490bcfab8461c640..c07f62fd8a73b395c98d624856fc1d43bd9ca87d 100644 --- a/tests/Predis/Command/Redis/LPUSH_Test.php +++ b/tests/Predis/Command/Redis/LPUSH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LRANGE_Test.php b/tests/Predis/Command/Redis/LRANGE_Test.php index 9748dc6db21da98592d53cdac69d316e55fb2040..adb576d57fe3f10e2a0964c0c98a4149aeaf97a1 100644 --- a/tests/Predis/Command/Redis/LRANGE_Test.php +++ b/tests/Predis/Command/Redis/LRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LREM_Test.php b/tests/Predis/Command/Redis/LREM_Test.php index 7f4eeaf8f531029c53f93e4fac09fc157016df15..d034ac7315cf9f0f1ed3c132fac2f34fd710a14e 100644 --- a/tests/Predis/Command/Redis/LREM_Test.php +++ b/tests/Predis/Command/Redis/LREM_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LSET_Test.php b/tests/Predis/Command/Redis/LSET_Test.php index d0231beb02acab59dc60407881b8398a03c57052..21d2c6f4bd1e978397936a47c2c6db595eab166e 100644 --- a/tests/Predis/Command/Redis/LSET_Test.php +++ b/tests/Predis/Command/Redis/LSET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/LTRIM_Test.php b/tests/Predis/Command/Redis/LTRIM_Test.php index b33e9dfae14f9c5a241d2646bc1213d03a694b03..7371acc1a30b7bd8e3caa81ca2aa05ba83dac08e 100644 --- a/tests/Predis/Command/Redis/LTRIM_Test.php +++ b/tests/Predis/Command/Redis/LTRIM_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/MGET_Test.php b/tests/Predis/Command/Redis/MGET_Test.php index 5a1b4847198569182c04a200239051eb1b393eb8..82e52a9200121716d3cc035d174ba5aad3094e4c 100644 --- a/tests/Predis/Command/Redis/MGET_Test.php +++ b/tests/Predis/Command/Redis/MGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/MIGRATE_Test.php b/tests/Predis/Command/Redis/MIGRATE_Test.php index f9783cfb01e9b5ceff0ed655c4b9168a7dcd3654..f1e9cdb507f12a62754461c72ae1f6acde6bb0b3 100644 --- a/tests/Predis/Command/Redis/MIGRATE_Test.php +++ b/tests/Predis/Command/Redis/MIGRATE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/MONITOR_Test.php b/tests/Predis/Command/Redis/MONITOR_Test.php index 0d11c686acb246cd2d3249cd6a2a84441656f451..e4faced0d386812a63cdef8d48df5242755e1c26 100644 --- a/tests/Predis/Command/Redis/MONITOR_Test.php +++ b/tests/Predis/Command/Redis/MONITOR_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/MOVE_Test.php b/tests/Predis/Command/Redis/MOVE_Test.php index df6cce24bbcf449b5941027adfb35b7c7a15be2d..7cb3869904d83a551c12ad74c5bde69e066afd91 100644 --- a/tests/Predis/Command/Redis/MOVE_Test.php +++ b/tests/Predis/Command/Redis/MOVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/MSETNX_Test.php b/tests/Predis/Command/Redis/MSETNX_Test.php index 5e3280ed84fe0f42d64958db0cdad10109185a94..4f76e83c9139c1926666d709bfe8727ddcafdd8d 100644 --- a/tests/Predis/Command/Redis/MSETNX_Test.php +++ b/tests/Predis/Command/Redis/MSETNX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/MSET_Test.php b/tests/Predis/Command/Redis/MSET_Test.php index b9d03d1f8fa0e33e1c7e0dd87565af62515889f4..bb0b3e41757ffa4542286d15b6494e143c41fcca 100644 --- a/tests/Predis/Command/Redis/MSET_Test.php +++ b/tests/Predis/Command/Redis/MSET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/MULTI_Test.php b/tests/Predis/Command/Redis/MULTI_Test.php index 13fb5c4a40a0d1a90e6a23b812b22cb1ff5015f4..e8d045d60347c4bd5cf5edc9d01431fa005dea7d 100644 --- a/tests/Predis/Command/Redis/MULTI_Test.php +++ b/tests/Predis/Command/Redis/MULTI_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/OBJECT_Test.php b/tests/Predis/Command/Redis/OBJECT_Test.php index 3edec0b35c77b37f24c6fae82fff297aca321ede..2ec30ce69b4eb77a91c894316e2d2111f43fa33d 100644 --- a/tests/Predis/Command/Redis/OBJECT_Test.php +++ b/tests/Predis/Command/Redis/OBJECT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PERSIST_Test.php b/tests/Predis/Command/Redis/PERSIST_Test.php index fa9a0d68434af06593f6299bd38f17fcdf53c22b..93fe7f73bf1470ad41c38a0ec2b2afa996573f80 100644 --- a/tests/Predis/Command/Redis/PERSIST_Test.php +++ b/tests/Predis/Command/Redis/PERSIST_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PEXPIREAT_Test.php b/tests/Predis/Command/Redis/PEXPIREAT_Test.php index fc448bfad7bfe144455ef312dc598af0e700e336..b35190583bdc0bf5ab43ee772bb1aa74b188712a 100644 --- a/tests/Predis/Command/Redis/PEXPIREAT_Test.php +++ b/tests/Predis/Command/Redis/PEXPIREAT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PEXPIRETIME_Test.php b/tests/Predis/Command/Redis/PEXPIRETIME_Test.php index a51bb37002552d5a19bacf2b3d9a9f61020f58fe..b264053b9fe39a29fb8563b1f798dd96a639fbf8 100644 --- a/tests/Predis/Command/Redis/PEXPIRETIME_Test.php +++ b/tests/Predis/Command/Redis/PEXPIRETIME_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PEXPIRE_Test.php b/tests/Predis/Command/Redis/PEXPIRE_Test.php index 88f002383c898c484da39d84abab30e1e44d5c3d..8d0dc9082ea9007ed9dbc02e01684ae652f19d35 100644 --- a/tests/Predis/Command/Redis/PEXPIRE_Test.php +++ b/tests/Predis/Command/Redis/PEXPIRE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PFADD_Test.php b/tests/Predis/Command/Redis/PFADD_Test.php index 916e0760ad4ee0f783c23d3136b77f3c80f522df..640fe31e9b533382e1d29e8dd826ef11051dbc89 100644 --- a/tests/Predis/Command/Redis/PFADD_Test.php +++ b/tests/Predis/Command/Redis/PFADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PFCOUNT_Test.php b/tests/Predis/Command/Redis/PFCOUNT_Test.php index 625693170c44817ac8abba4308023bfd6f2ebe27..289e5cb2d9f67ca2b33b932818abc6dbf37691eb 100644 --- a/tests/Predis/Command/Redis/PFCOUNT_Test.php +++ b/tests/Predis/Command/Redis/PFCOUNT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PFMERGE_Test.php b/tests/Predis/Command/Redis/PFMERGE_Test.php index 93bb5db925cdcf4740ab52b6f22091245a94946b..2aed7cee3ef5f4b7d62a7c0cabf41ad909ab7cd8 100644 --- a/tests/Predis/Command/Redis/PFMERGE_Test.php +++ b/tests/Predis/Command/Redis/PFMERGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PING_Test.php b/tests/Predis/Command/Redis/PING_Test.php index d7c4028997127c91c71b7c76b0b46f1e767e4612..09782ace90adfb730ad27d6ce2f0ab3b1aebff11 100644 --- a/tests/Predis/Command/Redis/PING_Test.php +++ b/tests/Predis/Command/Redis/PING_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PSETEX_Test.php b/tests/Predis/Command/Redis/PSETEX_Test.php index d15d5cfe5b5134be3f6eaaa354e5542e1e41d892..85cc0b9d011caaca49245bb69e956ceff32bdabf 100644 --- a/tests/Predis/Command/Redis/PSETEX_Test.php +++ b/tests/Predis/Command/Redis/PSETEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PSUBSCRIBE_Test.php b/tests/Predis/Command/Redis/PSUBSCRIBE_Test.php index 91ab098b48668af6438d06c891ecea051f5b4e93..b85a681e68ce8a769c683f8437d2ed9ebe3a9caf 100644 --- a/tests/Predis/Command/Redis/PSUBSCRIBE_Test.php +++ b/tests/Predis/Command/Redis/PSUBSCRIBE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PTTL_Test.php b/tests/Predis/Command/Redis/PTTL_Test.php index 2730e424aa8db4667b866882846bc5913de22a41..91093407532de8bb72ac615fe354e8a45c6359f1 100644 --- a/tests/Predis/Command/Redis/PTTL_Test.php +++ b/tests/Predis/Command/Redis/PTTL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PUBLISH_Test.php b/tests/Predis/Command/Redis/PUBLISH_Test.php index 0639155fe80778e6b0fabf324cbf7cdd28d73bc8..bc53706f2a2adce3c41e82a8b3064cfe7e026ca2 100644 --- a/tests/Predis/Command/Redis/PUBLISH_Test.php +++ b/tests/Predis/Command/Redis/PUBLISH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PUBSUB_Test.php b/tests/Predis/Command/Redis/PUBSUB_Test.php index 7afb72eed3f0972a2c1c78666372964fef0bf9a6..11d93b6be93bb85bf91abfc1e5fb76d42cd7e9cd 100644 --- a/tests/Predis/Command/Redis/PUBSUB_Test.php +++ b/tests/Predis/Command/Redis/PUBSUB_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/PUNSUBSCRIBE_Test.php b/tests/Predis/Command/Redis/PUNSUBSCRIBE_Test.php index 84d1e86f699176c733f84104287c814380485bd7..e2fcbf0e589b67d49a5bba84c4b2d97e0b70283d 100644 --- a/tests/Predis/Command/Redis/PUNSUBSCRIBE_Test.php +++ b/tests/Predis/Command/Redis/PUNSUBSCRIBE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/QUIT_Test.php b/tests/Predis/Command/Redis/QUIT_Test.php index ead9140237f1ef2597e7130dc602bb1ecc3c764a..662cf409b1f70a8e1a695e014013920f7758c7d1 100644 --- a/tests/Predis/Command/Redis/QUIT_Test.php +++ b/tests/Predis/Command/Redis/QUIT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/RANDOMKEY_Test.php b/tests/Predis/Command/Redis/RANDOMKEY_Test.php index 1f31119c9338f4f0f6bd6cb0549ca6d47fecf2b1..6ad997087e598f4cb7ac6cdeb1c119c875473947 100644 --- a/tests/Predis/Command/Redis/RANDOMKEY_Test.php +++ b/tests/Predis/Command/Redis/RANDOMKEY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/RENAMENX_Test.php b/tests/Predis/Command/Redis/RENAMENX_Test.php index 336d03ed0d64bc435d5598e2a3b0c51229e25551..8abf42ca9bd1f55532d8abb0695961139f7f8fcd 100644 --- a/tests/Predis/Command/Redis/RENAMENX_Test.php +++ b/tests/Predis/Command/Redis/RENAMENX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/RENAME_Test.php b/tests/Predis/Command/Redis/RENAME_Test.php index af7e504a89ea306ba604a0eb76a3744321c7108b..e3afa9817c0c5b60254a6c2ec09c1889fb3e321d 100644 --- a/tests/Predis/Command/Redis/RENAME_Test.php +++ b/tests/Predis/Command/Redis/RENAME_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/RESTORE_Test.php b/tests/Predis/Command/Redis/RESTORE_Test.php index 51bbcd15796df515cd7600a6817490c7807bd987..56820a8d04ad3c66f3edca29bcc0bf9fe7dbfac6 100644 --- a/tests/Predis/Command/Redis/RESTORE_Test.php +++ b/tests/Predis/Command/Redis/RESTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/RPOPLPUSH_Test.php b/tests/Predis/Command/Redis/RPOPLPUSH_Test.php index fd380e2f745f8058125b3d558358d8f36a61b71c..104211bab758752a50302dce6ab1b7445d089d3a 100644 --- a/tests/Predis/Command/Redis/RPOPLPUSH_Test.php +++ b/tests/Predis/Command/Redis/RPOPLPUSH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/RPOP_Test.php b/tests/Predis/Command/Redis/RPOP_Test.php index 428d1f1fe4356e54851da57edad5d5e6cf46e496..67b8426634956936d01a5647c0aeea25e943d296 100644 --- a/tests/Predis/Command/Redis/RPOP_Test.php +++ b/tests/Predis/Command/Redis/RPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/RPUSHX_Test.php b/tests/Predis/Command/Redis/RPUSHX_Test.php index e7c46f0d2469971b4f8cd47f88880183a79c16a0..e8f2e53f5aa25373e4949d2d2ab52747296f9116 100644 --- a/tests/Predis/Command/Redis/RPUSHX_Test.php +++ b/tests/Predis/Command/Redis/RPUSHX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/RPUSH_Test.php b/tests/Predis/Command/Redis/RPUSH_Test.php index 0f680271424c7ad2e7fb2317592c1d6eb021edf1..a6c513b294ca9b6d76516203fbbdc987c8e0bec5 100644 --- a/tests/Predis/Command/Redis/RPUSH_Test.php +++ b/tests/Predis/Command/Redis/RPUSH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SADD_Test.php b/tests/Predis/Command/Redis/SADD_Test.php index 1e8ae1133792f43f589cd3c98b3b8b68eeeb0441..cc15d53f66410cbead7f5ed5698d84112793c521 100644 --- a/tests/Predis/Command/Redis/SADD_Test.php +++ b/tests/Predis/Command/Redis/SADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SAVE_Test.php b/tests/Predis/Command/Redis/SAVE_Test.php index 4c590491ffdd918899503c3cee1f1379927f5d3f..e7dcb58589899edbcbd8faec9ef8c1a92232b6c7 100644 --- a/tests/Predis/Command/Redis/SAVE_Test.php +++ b/tests/Predis/Command/Redis/SAVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SCAN_Test.php b/tests/Predis/Command/Redis/SCAN_Test.php index 5ed2720e502affb3235e6b3036a2e3e55e9c8e22..b95983e9a74a90378087f5ad79b378b070c4b71b 100644 --- a/tests/Predis/Command/Redis/SCAN_Test.php +++ b/tests/Predis/Command/Redis/SCAN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SCARD_Test.php b/tests/Predis/Command/Redis/SCARD_Test.php index 0c2355a9dbc70ad5582ada8c1bd8e6d2b8723872..e194bfc2eecf033ae3139946515dd087df296b60 100644 --- a/tests/Predis/Command/Redis/SCARD_Test.php +++ b/tests/Predis/Command/Redis/SCARD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SCRIPT_Test.php b/tests/Predis/Command/Redis/SCRIPT_Test.php index 327cc87e6eab8f46701555f9b5d5ab96dec13e80..39b007d2d4f5008529176521ec0b027d68333083 100644 --- a/tests/Predis/Command/Redis/SCRIPT_Test.php +++ b/tests/Predis/Command/Redis/SCRIPT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SDIFFSTORE_Test.php b/tests/Predis/Command/Redis/SDIFFSTORE_Test.php index 9db7c05ca4300316eefe18e3bf99a8edb3d589bc..3f47a0f258236541e8e9d35378ebe94287c99a13 100644 --- a/tests/Predis/Command/Redis/SDIFFSTORE_Test.php +++ b/tests/Predis/Command/Redis/SDIFFSTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SDIFF_Test.php b/tests/Predis/Command/Redis/SDIFF_Test.php index 70d8170e6201f31085628713d4ff14b987317823..9f587026f4da5145de4ed007b7e0907050967156 100644 --- a/tests/Predis/Command/Redis/SDIFF_Test.php +++ b/tests/Predis/Command/Redis/SDIFF_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SELECT_Test.php b/tests/Predis/Command/Redis/SELECT_Test.php index 5be4103205ebce4ae36c233f63ceeeab5ecb106b..88dba39b84cd1fe7f6472bdf0bf2cf779c8bb7fc 100644 --- a/tests/Predis/Command/Redis/SELECT_Test.php +++ b/tests/Predis/Command/Redis/SELECT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SENTINEL_Test.php b/tests/Predis/Command/Redis/SENTINEL_Test.php index 87a812670143188e3003c6168ab8d539dbd4718f..fe4e3fddf9a20fb5d91ca183b51e68f128aef124 100644 --- a/tests/Predis/Command/Redis/SENTINEL_Test.php +++ b/tests/Predis/Command/Redis/SENTINEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SETBIT_Test.php b/tests/Predis/Command/Redis/SETBIT_Test.php index cea1473b53039dd16293e7b33ce93bbe803a8c67..eacb17065f74bea864a53da7de4d5b36fcc5ced7 100644 --- a/tests/Predis/Command/Redis/SETBIT_Test.php +++ b/tests/Predis/Command/Redis/SETBIT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SETEX_Test.php b/tests/Predis/Command/Redis/SETEX_Test.php index 0a87fa74d037f40a08a27179338c28321456042c..cdd770f2e2d2679dbda7c31b357945fccc2ac43a 100644 --- a/tests/Predis/Command/Redis/SETEX_Test.php +++ b/tests/Predis/Command/Redis/SETEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SETNX_Test.php b/tests/Predis/Command/Redis/SETNX_Test.php index a692c7bd7f9ad66a310e338b2585142aa2662a0f..fd78e8980ad181045a0e77ee019c3ca7de70108d 100644 --- a/tests/Predis/Command/Redis/SETNX_Test.php +++ b/tests/Predis/Command/Redis/SETNX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SETRANGE_Test.php b/tests/Predis/Command/Redis/SETRANGE_Test.php index 77fb014344c9d6dcb4fa6be3dda49137526fa395..ac7f312867d104ad1c4c2172cc3e01439f189082 100644 --- a/tests/Predis/Command/Redis/SETRANGE_Test.php +++ b/tests/Predis/Command/Redis/SETRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SET_Test.php b/tests/Predis/Command/Redis/SET_Test.php index 35c9e1ac127910f6ef40984a8718844b0fb491ec..be3bf9effa88ff1727e197d467802f2963e11a66 100644 --- a/tests/Predis/Command/Redis/SET_Test.php +++ b/tests/Predis/Command/Redis/SET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SHUTDOWN_Test.php b/tests/Predis/Command/Redis/SHUTDOWN_Test.php index 2bd69520a5e673d444d4931403800204e72caa4c..60446ebf7ae0cfb09df9b4793ac0c1e9943c1a1f 100644 --- a/tests/Predis/Command/Redis/SHUTDOWN_Test.php +++ b/tests/Predis/Command/Redis/SHUTDOWN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SINTERCARD_Test.php b/tests/Predis/Command/Redis/SINTERCARD_Test.php index 59167c15a1b76df013fd31c38c033f0f7db87dde..4efc962afff04e9cb3a3608814e71d9d155a6efc 100644 --- a/tests/Predis/Command/Redis/SINTERCARD_Test.php +++ b/tests/Predis/Command/Redis/SINTERCARD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SINTERSTORE_Test.php b/tests/Predis/Command/Redis/SINTERSTORE_Test.php index bbeda8ace81a4321db61821e1fb4291da7e2e518..996d02e136cbb22f916c125776283f9a1e2c131a 100644 --- a/tests/Predis/Command/Redis/SINTERSTORE_Test.php +++ b/tests/Predis/Command/Redis/SINTERSTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SINTER_Test.php b/tests/Predis/Command/Redis/SINTER_Test.php index c2a3ebcb6c4dd5e905c025fe7e2843c2e41d1ba5..833cf416d67bcf2dd5b516364d4e5f4884f4a9b7 100644 --- a/tests/Predis/Command/Redis/SINTER_Test.php +++ b/tests/Predis/Command/Redis/SINTER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SISMEMBER_Test.php b/tests/Predis/Command/Redis/SISMEMBER_Test.php index 32712b7941d75a2caecddd7fdce1b1be537d3bc1..74b7b517cc955f576c9c0817ad17b793fbfe5d2a 100644 --- a/tests/Predis/Command/Redis/SISMEMBER_Test.php +++ b/tests/Predis/Command/Redis/SISMEMBER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SLAVEOF_Test.php b/tests/Predis/Command/Redis/SLAVEOF_Test.php index 1f04020f2b8484d6e574ed6406db79e9555dd7f7..66848055aae2d4a715d0bc277ad9288d396c348e 100644 --- a/tests/Predis/Command/Redis/SLAVEOF_Test.php +++ b/tests/Predis/Command/Redis/SLAVEOF_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SLOWLOG_Test.php b/tests/Predis/Command/Redis/SLOWLOG_Test.php index 85936669174270e7cf25c65532dccfe3dbc22f1f..cf116fb0665fc9e66a60aced9ddb1ad49e999f61 100644 --- a/tests/Predis/Command/Redis/SLOWLOG_Test.php +++ b/tests/Predis/Command/Redis/SLOWLOG_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SMEMBERS_Test.php b/tests/Predis/Command/Redis/SMEMBERS_Test.php index c97edcd543312601628f0ae7bca4ca5cd82228ea..f782cb81b4df689581701a58567c28a7b5a8c50f 100644 --- a/tests/Predis/Command/Redis/SMEMBERS_Test.php +++ b/tests/Predis/Command/Redis/SMEMBERS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SMISMEMBER_Test.php b/tests/Predis/Command/Redis/SMISMEMBER_Test.php index 7d35dea6ad1248dbb92b48eb714e10465d21ca4f..09af0b4443269b86b42bb530f8ccee03b7457ef3 100644 --- a/tests/Predis/Command/Redis/SMISMEMBER_Test.php +++ b/tests/Predis/Command/Redis/SMISMEMBER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SMOVE_Test.php b/tests/Predis/Command/Redis/SMOVE_Test.php index afed350357e0e81a71694d191aba9a6efc76568e..3993c585e19801d132f8074f443f37c9e6a02720 100644 --- a/tests/Predis/Command/Redis/SMOVE_Test.php +++ b/tests/Predis/Command/Redis/SMOVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SORT_RO_Test.php b/tests/Predis/Command/Redis/SORT_RO_Test.php index e0de0e2337963462ac9cabcf50293912d8a99bde..290dc9b8e67d75e1bc2134b9d6176d8abccd4907 100644 --- a/tests/Predis/Command/Redis/SORT_RO_Test.php +++ b/tests/Predis/Command/Redis/SORT_RO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SORT_Test.php b/tests/Predis/Command/Redis/SORT_Test.php index fdf9ad0451264b17772abfc077c7fa77261a476f..844e7eb7736d35a0dc9338914250715b323790ff 100644 --- a/tests/Predis/Command/Redis/SORT_Test.php +++ b/tests/Predis/Command/Redis/SORT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SPOP_Test.php b/tests/Predis/Command/Redis/SPOP_Test.php index 9e2056653b24da082589769fc99de9d4e40b081b..ae3114ba8b57639bd689cb98265dd8b1f72c1037 100644 --- a/tests/Predis/Command/Redis/SPOP_Test.php +++ b/tests/Predis/Command/Redis/SPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SRANDMEMBER_Test.php b/tests/Predis/Command/Redis/SRANDMEMBER_Test.php index cbca8180f9e80db68cb0cd5fe9f989433f8fb994..4fcbb54fe2d0846444f8ee905dd507ed525af626 100644 --- a/tests/Predis/Command/Redis/SRANDMEMBER_Test.php +++ b/tests/Predis/Command/Redis/SRANDMEMBER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SREM_Test.php b/tests/Predis/Command/Redis/SREM_Test.php index 5e383a931c882a73d024b8729d2c50b6adc6bca5..a39f0ddc6303bb10b6124b62f69792ed3ccbee02 100644 --- a/tests/Predis/Command/Redis/SREM_Test.php +++ b/tests/Predis/Command/Redis/SREM_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SSCAN_Test.php b/tests/Predis/Command/Redis/SSCAN_Test.php index bf5a5135706da18aa8558100463fadbc3c62bc6b..0de9281868ef0e51434d131b639fd7e1c68c55b0 100644 --- a/tests/Predis/Command/Redis/SSCAN_Test.php +++ b/tests/Predis/Command/Redis/SSCAN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/STRLEN_Test.php b/tests/Predis/Command/Redis/STRLEN_Test.php index b0ec64e74e9d795e089cf23046aaca3994eed2b8..8c361f130d75ce5296867bda6efd3cec87434704 100644 --- a/tests/Predis/Command/Redis/STRLEN_Test.php +++ b/tests/Predis/Command/Redis/STRLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SUBSCRIBE_Test.php b/tests/Predis/Command/Redis/SUBSCRIBE_Test.php index f215d61584e1fbdbbac507fbc38ccb11f2ac3398..240429f4bd7137074f5b0ce995b7b7c5511b95e4 100644 --- a/tests/Predis/Command/Redis/SUBSCRIBE_Test.php +++ b/tests/Predis/Command/Redis/SUBSCRIBE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SUBSTR_Test.php b/tests/Predis/Command/Redis/SUBSTR_Test.php index ca129b25bb89715593a044482330a5506e4c6bb6..1a221338e3bb26d8f9c719d7a918d7d07c35b6ac 100644 --- a/tests/Predis/Command/Redis/SUBSTR_Test.php +++ b/tests/Predis/Command/Redis/SUBSTR_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SUNIONSTORE_Test.php b/tests/Predis/Command/Redis/SUNIONSTORE_Test.php index e3605cc49cc3ea2a10027156c75bb6414f794a46..02b0e53bf60d5631bee1073de4d118335826222e 100644 --- a/tests/Predis/Command/Redis/SUNIONSTORE_Test.php +++ b/tests/Predis/Command/Redis/SUNIONSTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/SUNION_Test.php b/tests/Predis/Command/Redis/SUNION_Test.php index d72fe636944cd0d74607d11f2e8e5a4f06af8f6e..a8bec4ea702f5336202df9db4c197ef20175dcd2 100644 --- a/tests/Predis/Command/Redis/SUNION_Test.php +++ b/tests/Predis/Command/Redis/SUNION_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php b/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php index 3299c33c6819143142fb9288980229f4d878ed64..121dd796d5b35f82b6e6f49a111b700ae9416953 100644 --- a/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php +++ b/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -124,7 +124,6 @@ class FTAGGREGATE_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('index: no such index'); $redis->ftaggregate('index', 'query'); } diff --git a/tests/Predis/Command/Redis/Search/FTALIASADD_Test.php b/tests/Predis/Command/Redis/Search/FTALIASADD_Test.php index 4c964344a45c2df22b24e25c2a916066f5e4898e..a6e87364c234e4442808bbc4e8a8949db2697469 100644 --- a/tests/Predis/Command/Redis/Search/FTALIASADD_Test.php +++ b/tests/Predis/Command/Redis/Search/FTALIASADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -94,7 +94,6 @@ class FTALIASADD_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Unknown index name (or name is an alias itself)'); $redis->ftaliasadd('alias', 'index'); } diff --git a/tests/Predis/Command/Redis/Search/FTALIASDEL_Test.php b/tests/Predis/Command/Redis/Search/FTALIASDEL_Test.php index 1cf993bf3610db53a58042d820456d7ff607db70..7fb71b55a7c79003091a94f702d3c87c8dd0b63f 100644 --- a/tests/Predis/Command/Redis/Search/FTALIASDEL_Test.php +++ b/tests/Predis/Command/Redis/Search/FTALIASDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTALIASUPDATE_Test.php b/tests/Predis/Command/Redis/Search/FTALIASUPDATE_Test.php index 2f39d9383c77a3f3f4b02856458233013bfb44f0..ac26a48cda568dc7af97f113a373fae85f56dbd1 100644 --- a/tests/Predis/Command/Redis/Search/FTALIASUPDATE_Test.php +++ b/tests/Predis/Command/Redis/Search/FTALIASUPDATE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -109,7 +109,6 @@ class FTALIASUPDATE_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Unknown index name (or name is an alias itself)'); $redis->ftaliasupdate('alias', 'index'); } diff --git a/tests/Predis/Command/Redis/Search/FTALTER_Test.php b/tests/Predis/Command/Redis/Search/FTALTER_Test.php index 90e308375bc6151364d7f1d17b0860fadc4cbac1..02464554e7f06a6f72321d1cbc3692acf06fefb3 100644 --- a/tests/Predis/Command/Redis/Search/FTALTER_Test.php +++ b/tests/Predis/Command/Redis/Search/FTALTER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -88,7 +88,6 @@ class FTALTER_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Unknown index name'); $redis->ftalter('alias', [new TextField('field_name')]); } diff --git a/tests/Predis/Command/Redis/Search/FTCONFIG_Test.php b/tests/Predis/Command/Redis/Search/FTCONFIG_Test.php index 3080b766e669f2dee1d61aef2e429a9181d40bfc..3241e071fe9beb2070b9b52792e32d225cbe8514 100644 --- a/tests/Predis/Command/Redis/Search/FTCONFIG_Test.php +++ b/tests/Predis/Command/Redis/Search/FTCONFIG_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -91,7 +91,7 @@ class FTCONFIG_Test extends PredisCommandTestCase * @group connected * @group relay-resp3 * @return void - * @requiresRedisVersion <= 7.3.0 + * @requiresRedisVersion <= 7.0.0 */ public function testSetGivenRediSearchConfigurationParameter(): void { @@ -104,7 +104,7 @@ class FTCONFIG_Test extends PredisCommandTestCase * @group connected * @group relay-resp3 * @return void - * @requiresRedisVersion <= 7.3.0 + * @requiresRedisVersion <= 7.0.0 */ public function testGetReturnsGivenRediSearchConfigurationParameter(): void { @@ -118,7 +118,7 @@ class FTCONFIG_Test extends PredisCommandTestCase * @group connected * @group relay-resp3 * @return void - * @requiresRedisVersion <= 7.3.0 + * @requiresRedisVersion <= 7.0.0 */ public function testHelpReturnsGivenRediSearchConfigurationDescription(): void { @@ -141,14 +141,13 @@ class FTCONFIG_Test extends PredisCommandTestCase * @group connected * @group relay-resp3 * @return void - * @requiresRedisVersion <= 7.3.0 + * @requiresRedisVersion <= 7.0.0 */ public function testSetThrowsExceptionOnNonExistingOption(): void { $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Invalid option'); $redis->ftconfig->set('foobar', 'value'); } diff --git a/tests/Predis/Command/Redis/Search/FTCREATE_Test.php b/tests/Predis/Command/Redis/Search/FTCREATE_Test.php index 7e7c4dfb8e9daeed790a28bb9e58e75c03c6719f..4ce6b64ecb40536154a6155771dd8ea54737aa1f 100644 --- a/tests/Predis/Command/Redis/Search/FTCREATE_Test.php +++ b/tests/Predis/Command/Redis/Search/FTCREATE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php b/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php index 63099994d83fc8b2d0c2675ab2bf8e932b48530e..7ca1c6b559dec380f7c51cf3e9d2e323d0946d01 100644 --- a/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php +++ b/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -188,7 +188,6 @@ class FTCURSOR_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Cursor not found'); $redis->ftcursor->read('idx', 21412412); } @@ -204,7 +203,6 @@ class FTCURSOR_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Cursor does not exist'); $redis->ftcursor->del('idx', 21412412); } diff --git a/tests/Predis/Command/Redis/Search/FTDICTADD_Test.php b/tests/Predis/Command/Redis/Search/FTDICTADD_Test.php index a347f2b25c74463a7c36b9ed03658cb3afab92ca..668eaa3fffd73ad928624e1f63d6be8c26566e16 100644 --- a/tests/Predis/Command/Redis/Search/FTDICTADD_Test.php +++ b/tests/Predis/Command/Redis/Search/FTDICTADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php b/tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php index 5edd23b7428a20764221fb2c59fa06acc3f95fb9..92116115602b9825733557473c85785517fd42fe 100644 --- a/tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php +++ b/tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTDICTDUMP_Test.php b/tests/Predis/Command/Redis/Search/FTDICTDUMP_Test.php index c08471f3a383a01cd7c72f6f802ec9b4d33973e5..d6f0a35c853567ce54954d35e01a54fc4051740a 100644 --- a/tests/Predis/Command/Redis/Search/FTDICTDUMP_Test.php +++ b/tests/Predis/Command/Redis/Search/FTDICTDUMP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -78,13 +78,13 @@ class FTDICTDUMP_Test extends PredisCommandTestCase * @group connected * @return void * @requiresRediSearchVersion >= 1.4.0 + * @requiresRedisVersion <= 7.9.0 */ public function testThrowsExceptionOnNonExistingDictionary(): void { $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('could not open dict key'); $redis->ftdictdump('dict'); } diff --git a/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php b/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php index 3e360ac5d9db7af85e72b686145aea176bab769b..be498cf979cab55d8c4a101412bdbe3fe31abdc8 100644 --- a/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php +++ b/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -85,7 +85,6 @@ class FTDROPINDEX_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Unknown Index name'); $redis->ftdropindex('index'); } diff --git a/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php b/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php index 208fb3c2fd5ee49b2bd0aced0b80f96108e46011..8e68d6752c010b61c37b350523a39e75ca74ca06 100644 --- a/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php +++ b/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -64,6 +64,7 @@ class FTEXPLAIN_Test extends PredisCommandTestCase * @group relay-resp3 * @return void * @requiresRediSearchVersion >= 1.0.0 + * @requiresRedisVersion <= 7.9.0 */ public function testExplainReturnsExecutionPlanForGivenQuery(): void { @@ -119,7 +120,6 @@ EOT; $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('index: no such index'); $redis->ftexplain('index', 'query'); } diff --git a/tests/Predis/Command/Redis/Search/FTINFO_Test.php b/tests/Predis/Command/Redis/Search/FTINFO_Test.php index 193ff20599c7aebcb4c29eea5cfb7dee87994a8c..b73350e61c39b67cbc4921102196e18d0562c44c 100644 --- a/tests/Predis/Command/Redis/Search/FTINFO_Test.php +++ b/tests/Predis/Command/Redis/Search/FTINFO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php b/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php index 528fd65fff113d227c3cec15a30d22cc778a14af..b2a26a7dfd3df008dfdd631d0b5c541b4380324c 100644 --- a/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php +++ b/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -88,7 +88,6 @@ class FTPROFILE_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('index: no such index'); $redis->ftprofile('index', (new ProfileArguments())->search()->query('query')); } diff --git a/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php b/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php index bf5c9663aa15be168c57eb8ac640c4e8b05c596c..f0c0a2a1645877612dfb2c84d6f2e3d5c097fb39 100644 --- a/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php +++ b/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -18,6 +18,7 @@ use Predis\Command\Argument\Search\SchemaFields\GeoShapeField; use Predis\Command\Argument\Search\SchemaFields\NumericField; use Predis\Command\Argument\Search\SchemaFields\TagField; use Predis\Command\Argument\Search\SchemaFields\TextField; +use Predis\Command\Argument\Search\SchemaFields\VectorField; use Predis\Command\Argument\Search\SearchArguments; use Predis\Command\Redis\PredisCommandTestCase; use Predis\Response\ServerException; @@ -227,6 +228,12 @@ class FTSEARCH_Test extends PredisCommandTestCase $redis->ftsearch('idx', '@text_not_empty:("")', $searchArgs); } + /** + * @group connected + * @group relay-resp3 + * @return void + * @requiresRediSearchVersion >= 2.09.00 + */ public function testSearchWithEnhancedMatchingCapabilities(): void { $redis = $this->getClient(); @@ -403,6 +410,80 @@ class FTSEARCH_Test extends PredisCommandTestCase ); } + /** + * @group connected + * @group relay-resp3 + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testVectorSearchWithInt8Types(): void + { + $redis = $this->getClient(); + + $this->assertEquals('OK', $redis->ftcreate('test', [ + new VectorField( + 'v', 'HNSW', + ['TYPE', 'INT8', 'DIM', 2, 'DISTANCE_METRIC', 'L2'] + ), + ])); + + $this->sleep(0.1); + + $a = [1.5, 10]; + $b = [123, 100]; + $c = [1, 1]; + + $redis->hset('a', 'v', pack('c*', ...$a)); + $redis->hset('b', 'v', pack('c*', ...$b)); + $redis->hset('c', 'v', pack('c*', ...$c)); + + $searchArguments = new SearchArguments(); + $searchArguments->params(['vec', pack('c*', ...$a)]); + $searchArguments->dialect(2); + + $this->assertEquals( + 2, + $redis->ftsearch('test', '*=>[KNN 2 @v $vec]', $searchArguments)[0] + ); + } + + /** + * @group connected + * @group relay-resp3 + * @return void + * @requiresRedisVersion >= 7.9.0 + */ + public function testVectorSearchWithUInt8Types(): void + { + $redis = $this->getClient(); + + $this->assertEquals('OK', $redis->ftcreate('test', [ + new VectorField( + 'v', 'HNSW', + ['TYPE', 'UINT8', 'DIM', 2, 'DISTANCE_METRIC', 'L2'] + ), + ])); + + $this->sleep(0.1); + + $a = [1.5, 10]; + $b = [123, 100]; + $c = [1, 1]; + + $redis->hset('a', 'v', pack('C*', ...$a)); + $redis->hset('b', 'v', pack('C*', ...$b)); + $redis->hset('c', 'v', pack('C*', ...$c)); + + $searchArguments = new SearchArguments(); + $searchArguments->params(['vec', pack('C*', ...$a)]); + $searchArguments->dialect(2); + + $this->assertEquals( + 2, + $redis->ftsearch('test', '*=>[KNN 2 @v $vec]', $searchArguments)[0] + ); + } + public function argumentsProvider(): array { return [ diff --git a/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php b/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php index 3d8035b4884c6d35e304d9da994dac8754c35cb3..c77c634c69bad10351098566a245f57220cf5f92 100644 --- a/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php +++ b/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -116,7 +116,6 @@ class FTSPELLCHECK_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Unknown Index name'); $redis->ftspellcheck( 'index', diff --git a/tests/Predis/Command/Redis/Search/FTSUGADD_Test.php b/tests/Predis/Command/Redis/Search/FTSUGADD_Test.php index b96801b9e8eeab366c16de40c1083023b2936627..9583bc7c41fb374dd95e107b57d8ad5f929ad5cb 100644 --- a/tests/Predis/Command/Redis/Search/FTSUGADD_Test.php +++ b/tests/Predis/Command/Redis/Search/FTSUGADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTSUGDEL_Test.php b/tests/Predis/Command/Redis/Search/FTSUGDEL_Test.php index 9fc2f71795102c98c5a9aa09f8c1e270318ecbad..98a86875a3d370a7f1795a4548a8d711188289d8 100644 --- a/tests/Predis/Command/Redis/Search/FTSUGDEL_Test.php +++ b/tests/Predis/Command/Redis/Search/FTSUGDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php b/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php index 9c17a87b29fe4005df9525a893c7723b259cbd84..23aaae1ab9a97b81c92e7658f71c7d5ca61683cd 100644 --- a/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php +++ b/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -105,11 +105,11 @@ class FTSUGGET_Test extends PredisCommandTestCase * @return void * @requiresRediSearchVersion >= 1.0.0 */ - public function testGetReturnsNullOnNonExistingKey(): void + public function testGetReturnsEmptyArrayOnNonExistingKey(): void { $redis = $this->getClient(); - $this->assertNull($redis->ftsugget('key', 'hel')); + $this->assertEmpty($redis->ftsugget('key', 'hel')); } public function argumentsProvider(): array diff --git a/tests/Predis/Command/Redis/Search/FTSUGLEN_Test.php b/tests/Predis/Command/Redis/Search/FTSUGLEN_Test.php index b71ce26b39376b899364ea919748e15262a0fab0..dff4ccbdd0ff81fe053642a25635250705e2dde5 100644 --- a/tests/Predis/Command/Redis/Search/FTSUGLEN_Test.php +++ b/tests/Predis/Command/Redis/Search/FTSUGLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/Search/FTSYNDUMP_Test.php b/tests/Predis/Command/Redis/Search/FTSYNDUMP_Test.php index 60c2e67f401337b6160a0cb590fb0370c636dfb2..d85536207a71028d733ccb475d8169444efd4f59 100644 --- a/tests/Predis/Command/Redis/Search/FTSYNDUMP_Test.php +++ b/tests/Predis/Command/Redis/Search/FTSYNDUMP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -94,7 +94,6 @@ class FTSYNDUMP_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Unknown index name'); $redis->ftsyndump('index'); } diff --git a/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php b/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php index 5f7e257131a689a7b09807cbfe27e5cbc29cf5ba..3c17dccc02efa91b6779ec8550fd0227e934bdb2 100644 --- a/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php +++ b/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -116,7 +116,6 @@ class FTSYNUPDATE_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Unknown index name'); $redis->ftsynupdate( 'index', diff --git a/tests/Predis/Command/Redis/Search/FTTAGVALS_Test.php b/tests/Predis/Command/Redis/Search/FTTAGVALS_Test.php index ceda1bae77ab9fe0797f8bcab46e23d3bd4abbad..69ab1283b4b7e3609c330d8fb6e9aaab7a9cccc7 100644 --- a/tests/Predis/Command/Redis/Search/FTTAGVALS_Test.php +++ b/tests/Predis/Command/Redis/Search/FTTAGVALS_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -104,7 +104,6 @@ class FTTAGVALS_Test extends PredisCommandTestCase $redis = $this->getClient(); $this->expectException(ServerException::class); - $this->expectExceptionMessage('Unknown Index name'); $redis->fttagvals('index', 'fieldName'); } diff --git a/tests/Predis/Command/Redis/Search/FT_LIST_Test.php b/tests/Predis/Command/Redis/Search/FT_LIST_Test.php new file mode 100644 index 0000000000000000000000000000000000000000..ed784c9256cfc13fb0b4ebffd67fab21274c9ed6 --- /dev/null +++ b/tests/Predis/Command/Redis/Search/FT_LIST_Test.php @@ -0,0 +1,60 @@ +<?php + +/* + * This file is part of the Predis package. + * + * (c) 2009-2020 Daniele Alessandri + * (c) 2021-2025 Till Krüss + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Predis\Command\Redis\Search; + +use Predis\Command\Argument\Search\SchemaFields\TextField; +use Predis\Command\Redis\PredisCommandTestCase; + +class FT_LIST_Test extends PredisCommandTestCase +{ + /** + * {@inheritDoc} + */ + protected function getExpectedCommand(): string + { + return FT_LIST::class; + } + + /** + * {@inheritDoc} + */ + protected function getExpectedId(): string + { + return 'FT_LIST'; + } + + /** + * @group disconnected + */ + public function testFilterArguments(): void + { + $this->assertEmpty($this->getCommand()->getArguments()); + } + + /** + * @group connected + * @return void + * @requiresRediSearchVersion >= 2.0.0 + */ + public function testReturnListOfExistingIndices(): void + { + $redis = $this->getClient(); + + $this->assertEquals('OK', $redis->ftcreate('idx1', [new TextField('text')])); + $this->assertEquals('OK', $redis->ftcreate('idx2', [new TextField('text')])); + + $this->sleep(0.1); + + $this->assertSameValues(['idx1', 'idx2'], $redis->ft_list()); + } +} diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTADD_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTADD_Test.php index dfa22c62fafca58fd50a48d0f1cbfc7e28d253e4..5338dc174cf0f27646b029069eb7f4e374f79f52 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTADD_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTBYRANK_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTBYRANK_Test.php index 92e90ac20bfa5ce2d13e77955980abda40b70b31..02cca5f6696120fbf4f54155e44dd6296fd15ffd 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTBYRANK_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTBYRANK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTBYREVRANK_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTBYREVRANK_Test.php index bf183e3ef396a23e4e8ee714face49da22b12c65..a18c7c309dc093e014ca87ec638c954328fad650 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTBYREVRANK_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTBYREVRANK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTCDF_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTCDF_Test.php index 26ef0c106306c75ba9afddd8689b5f7a82e6e1e1..a26cca221c40234bfd23a5f14cd9762e10c07020 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTCDF_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTCDF_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php index 1642971d940c0807e904dc134fb035dbfe3c1694..37d5e72faebbadb4eae294ca22dc061332ee20d4 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTINFO_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTINFO_Test.php index 99bda5bfce96734f70d02c113eecd05bbfa684e1..c4bb02de27a1cf3330bd517a519be64f3345bff8 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTINFO_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTINFO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTMAX_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTMAX_Test.php index cb49d3d973ab2656796b9fc13bdd3ab6174bb03d..401fcf8655a2bdaef48c8dc35101575f175f9c70 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTMAX_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTMAX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php index ec7ac3981369e1ce7af4f191951f94c2752c0594..bb6286df6bc4ebddd2413b4c6f4236b1e69a55cf 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTMIN_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTMIN_Test.php index 524002527b128b6aa584dc8721df6bafc80e2e90..08b5ddd2e6c12696870049df09b934747ddc4bec 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTMIN_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTMIN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTQUANTILE_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTQUANTILE_Test.php index 32541cf7c0dc75cdfd4f471e583593162a8a89fb..8ee36266fbfa74ab0aa21ec45964621ee16bb216 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTQUANTILE_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTQUANTILE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTRANK_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTRANK_Test.php index 1545cfa19c2a109ae1b2e76f82f618907c269f5a..3e7d8dc7974811dcd44b39091b04789e73623f6b 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTRANK_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTRANK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTRESET_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTRESET_Test.php index bba076a8b7613cff37ad24fa7684c422cc5ccf0d..39e77dffb7d7f5012d80fa36f3d9b1bf1d160f0c 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTRESET_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTRESET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTREVRANK_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTREVRANK_Test.php index cd200b1e0d0b070d363dffa6246facbef5e12592..1bb6686928434668d7c9ee06efa08280f0fa46c9 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTREVRANK_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTREVRANK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php index ea3370215723dadfb6df183b441381732b5dbed0..3bce9eff92d620f1d1fe37c95424efd17782ad92 100644 --- a/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php +++ b/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TIME_Test.php b/tests/Predis/Command/Redis/TIME_Test.php index 645d0fd49bb4a7c6379e8bbdff68033aae828a32..7323b8a7b20b4c535192af2884ea6f3afde711cf 100644 --- a/tests/Predis/Command/Redis/TIME_Test.php +++ b/tests/Predis/Command/Redis/TIME_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TOUCH_Test.php b/tests/Predis/Command/Redis/TOUCH_Test.php index 1231918aa92209b7e0ffae30752afe79131c6e5d..af5619b59d8269c8d821a4a3d2c5dfa21aca0805 100644 --- a/tests/Predis/Command/Redis/TOUCH_Test.php +++ b/tests/Predis/Command/Redis/TOUCH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TTL_Test.php b/tests/Predis/Command/Redis/TTL_Test.php index 7d7aded31f9c88b3d00ff5129b720ee8fab67f05..ce431e83add1549fececc5df40e9b997d0fca022 100644 --- a/tests/Predis/Command/Redis/TTL_Test.php +++ b/tests/Predis/Command/Redis/TTL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TYPE_Test.php b/tests/Predis/Command/Redis/TYPE_Test.php index 4006c4b4b38cca49d52f4acc6087be17edd62fe1..516efd905c94d36f5b4082f0f6237408e0667c9a 100644 --- a/tests/Predis/Command/Redis/TYPE_Test.php +++ b/tests/Predis/Command/Redis/TYPE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php index 99e4c49097052bd30c7537cd164f1f3a5d866879..9d3a5c6e1dcca15d3f55c1f07faeb3c9cdf6a3ad 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php index 4453dac82005bff43c2c1c93f22c74a1843760bf..259bd33a97523edd2343af6866b7ef48a54e3e3b 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php index 5294a7df9c32a8fd7ffbf4340474cf3b735a558a..8731d677625d893d0becc0dc3235517619df72d5 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php index e2cb5660b1654c726356accff1548cdd08dcc03e..a67e828820a3d9c884bc615b03d7e03b615c2015 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php index 86e456625cfc5c3a4ee0b6c7bd646cb968149986..f3bff852cbb37134ddaeaf283376b1e4b7206366 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSDELETERULE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSDELETERULE_Test.php index 7f928373e069cb837c0629f0b61108a437895516..c7ef168edd8385065145d1d3bd52d778f2be6353 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSDELETERULE_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSDELETERULE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSDEL_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSDEL_Test.php index 8a4098398eb5dc30972bac87a38794183668bf69..0b77821e3bfe8ae485a011154482e2de07385838 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSDEL_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php index b1825c76485da116d491fe14f2d91697544919ad..93b24309f88ed3689affd4dd29d0a9f5e5a253e6 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php index c616aab0552ee5dbcd65479a5dc4934cb4697fbf..0618c92c3f5a6d1311df0f86bc2361a11f0f11c3 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php index 74976a84732987a21a49b43d7a88b4b79a798c9d..6bd734419b0e336db997749b2e2439709dc82f11 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -64,6 +64,7 @@ class TSINFO_Test extends PredisCommandTestCase * @group relay-resp3 * @return void * @requiresRedisTimeSeriesVersion <= 1.10.13 + * @requiresRedisVersion > 6.3.0 */ public function testReturnsInformationAboutGivenTimeSeries(): void { diff --git a/tests/Predis/Command/Redis/TimeSeries/TSMADD_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSMADD_Test.php index a733ecb7c23f783b5dabff0c053241154aba791b..2b849887162c16b003755bbeaf122bf32277f720 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSMADD_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSMADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php index e15312e27b4df07546c964c2294b5be9f2730a8d..3f04edce2bf50a3365faf713dbc191b10dffc66a 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php index 8bae95027ab752721d95780dadf7ab23f7444b88..5d79d609888c8f042b97e641501d70dec38a312e 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php index b704902a94b21113e75e0bbf76307f88e7736585..c56119f938a04be92992dba95a4f5b2a5e770b2e 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSQUERYINDEX_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSQUERYINDEX_Test.php index cd895e6ab0dfc70c0240da47f65a1d551f65a191..de1dea92dbeee9605c628792d2f8970eb7bad0d1 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSQUERYINDEX_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSQUERYINDEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php index a6461f8961e6483fafcde89a2180baf048ecc4e9..d727a13d97c43d2f3ff1b4b20b46ecb372e2ef12 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php index d7c7285b7506f28589cd96a87b760f07adfadd3f..9d965a2e2a3d26bdda155bbd5a213ccf8a425274 100644 --- a/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php +++ b/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php b/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php index 824e3286ed1383979e0cfe5841502a33e0c6babc..ea8f62ae71ae6391309a76f1a1c09130135ce6c5 100644 --- a/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php +++ b/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TopK/TOPKINCRBY_Test.php b/tests/Predis/Command/Redis/TopK/TOPKINCRBY_Test.php index a1e465dda59366ae31454570cc5849688f2b6c5b..f13a7827880cc10077f17018e93943991fd2cb51 100644 --- a/tests/Predis/Command/Redis/TopK/TOPKINCRBY_Test.php +++ b/tests/Predis/Command/Redis/TopK/TOPKINCRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TopK/TOPKINFO_Test.php b/tests/Predis/Command/Redis/TopK/TOPKINFO_Test.php index c436ddb7ce2007e5423554742f3597dfaa101c0e..caf4837eb3c234552d7439304e98a3dee894790b 100644 --- a/tests/Predis/Command/Redis/TopK/TOPKINFO_Test.php +++ b/tests/Predis/Command/Redis/TopK/TOPKINFO_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php b/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php index f9af0ce4c3e16d4f44ad4925c0efab55c843657c..bf16ad2f4a09fc67e2c12dba987f31e59b5354d8 100644 --- a/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php +++ b/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TopK/TOPKQUERY_Test.php b/tests/Predis/Command/Redis/TopK/TOPKQUERY_Test.php index 543529fa0b5edd5e306c98fa948f9a1d39771e4b..7fa92c25f6f54f94d1908a862e82684f51efd232 100644 --- a/tests/Predis/Command/Redis/TopK/TOPKQUERY_Test.php +++ b/tests/Predis/Command/Redis/TopK/TOPKQUERY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php b/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php index 3805293001ff7b881f70abbd2de33d1f7f87434e..c58b9a0e87f2f41840b80cebc63e7546c02f58ad 100644 --- a/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php +++ b/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/UNSUBSCRIBE_Test.php b/tests/Predis/Command/Redis/UNSUBSCRIBE_Test.php index 53613de5a5be2e6c93419ec79f6360283a9b563d..473e2ca2817f1b89d379087ddb6f97b1f02f1afd 100644 --- a/tests/Predis/Command/Redis/UNSUBSCRIBE_Test.php +++ b/tests/Predis/Command/Redis/UNSUBSCRIBE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/UNWATCH_Test.php b/tests/Predis/Command/Redis/UNWATCH_Test.php index 2765acc868301bab574e9177a5a603222be80a1f..271c9e2b8def5b70dc8a1c6e7d42cf85c2e8aa9b 100644 --- a/tests/Predis/Command/Redis/UNWATCH_Test.php +++ b/tests/Predis/Command/Redis/UNWATCH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/WAITAOF_Test.php b/tests/Predis/Command/Redis/WAITAOF_Test.php index 6d2412d3f7b56dd935187f7a1e5c368e2aab391f..d507c6de13f010a8e82da9fa8fa1b46a7342019d 100644 --- a/tests/Predis/Command/Redis/WAITAOF_Test.php +++ b/tests/Predis/Command/Redis/WAITAOF_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/WATCH_Test.php b/tests/Predis/Command/Redis/WATCH_Test.php index 53edace9aa4e44762a414e964f071e253eb6753a..087a7381ac33deff6ff210765a339c45db5b28a1 100644 --- a/tests/Predis/Command/Redis/WATCH_Test.php +++ b/tests/Predis/Command/Redis/WATCH_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -90,6 +90,25 @@ class WATCH_Test extends PredisCommandTestCase $this->assertSame('hijacked', $redis1->get('foo')); } + /** + * @group connected + * @requiresRedisVersion >= 2.2.0 + */ + public function testWatchMultipleKeysAsListAbortsTransactionOnExternalWriteOperations(): void + { + $redis1 = $this->getClient(); + $redis2 = $this->getClient(); + + $redis1->mset('foo', 'bar', 'hoge', 'piyo'); + + $this->assertEquals('OK', $redis1->watch(['foo', 'hoge'])); + $this->assertEquals('OK', $redis1->multi()); + $this->assertEquals('QUEUED', $redis1->set('hoge', 'bar')); + $this->assertEquals('OK', $redis2->set('hoge', 'hijacked')); + $this->assertNull($redis1->exec()); + $this->assertSame('hijacked', $redis1->get('hoge')); + } + /** * @group connected * @requiresRedisVersion >= 2.2.0 diff --git a/tests/Predis/Command/Redis/XADD_Test.php b/tests/Predis/Command/Redis/XADD_Test.php index bc69fc23a31ebb06f2c66ae5ccf8756243468504..64f4c8fd55cd28fa63bd9bc37502bee7b35e1375 100644 --- a/tests/Predis/Command/Redis/XADD_Test.php +++ b/tests/Predis/Command/Redis/XADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/XDEL_Test.php b/tests/Predis/Command/Redis/XDEL_Test.php index b59462647965343f965f92acc03a3710eab06a2e..b86768476bf2de4ce2854055c127d885fd6eccf2 100644 --- a/tests/Predis/Command/Redis/XDEL_Test.php +++ b/tests/Predis/Command/Redis/XDEL_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/XLEN_Test.php b/tests/Predis/Command/Redis/XLEN_Test.php index 764cefd9b820da3b71daaed7cab0a91ae6f8b98a..0d918450ef1664b4f35ac82336a68abec747a5e9 100644 --- a/tests/Predis/Command/Redis/XLEN_Test.php +++ b/tests/Predis/Command/Redis/XLEN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/XRANGE_Test.php b/tests/Predis/Command/Redis/XRANGE_Test.php index 964fcc75e94085d66cfa4cd936ca13a0ceb57d01..6465defa40df4a9a08b3149a7fdd4ecbc74e2f48 100644 --- a/tests/Predis/Command/Redis/XRANGE_Test.php +++ b/tests/Predis/Command/Redis/XRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/XREAD_Test.php b/tests/Predis/Command/Redis/XREAD_Test.php index ab1dd0657df00d2d737fc46bea5e9907b237ff7e..208662ad818bb38507f1aa50ee9baffd9fc30928 100644 --- a/tests/Predis/Command/Redis/XREAD_Test.php +++ b/tests/Predis/Command/Redis/XREAD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/XREVRANGE_Test.php b/tests/Predis/Command/Redis/XREVRANGE_Test.php index df3a4c2c6cc81fdb4156731d42e99750e0c70964..369049f45440acd341e6a0a36e1da31d58dcb1d7 100644 --- a/tests/Predis/Command/Redis/XREVRANGE_Test.php +++ b/tests/Predis/Command/Redis/XREVRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/XTRIM_Test.php b/tests/Predis/Command/Redis/XTRIM_Test.php index 170332e57f0125a0bc87b5a032c91c9c5845ea86..ddf3d8aa9ea4e73dc38f2704f1742496d01b0009 100644 --- a/tests/Predis/Command/Redis/XTRIM_Test.php +++ b/tests/Predis/Command/Redis/XTRIM_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZADD_Test.php b/tests/Predis/Command/Redis/ZADD_Test.php index dcb6f44f5dae6c7a2a2d75a4153043ced981239a..764359b820e1ab966a57545765fd5bab49fa826c 100644 --- a/tests/Predis/Command/Redis/ZADD_Test.php +++ b/tests/Predis/Command/Redis/ZADD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZCARD_Test.php b/tests/Predis/Command/Redis/ZCARD_Test.php index 47b6c5631e750ffe4a284230990b105cc87d65bc..2593b4c7e038c3e50252f2858e52711d041b62e7 100644 --- a/tests/Predis/Command/Redis/ZCARD_Test.php +++ b/tests/Predis/Command/Redis/ZCARD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZCOUNT_Test.php b/tests/Predis/Command/Redis/ZCOUNT_Test.php index fcb79b879b55354b51e5dd26db96094714057cc6..342f1766723cb74dcdf8e33299e81bc8a1ac719f 100644 --- a/tests/Predis/Command/Redis/ZCOUNT_Test.php +++ b/tests/Predis/Command/Redis/ZCOUNT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZDIFFSTORE_Test.php b/tests/Predis/Command/Redis/ZDIFFSTORE_Test.php index 613566fadc542f838434b686ad391e94d6c804a7..625f2931c97225f0f1d0b618e240e5db9709a73b 100644 --- a/tests/Predis/Command/Redis/ZDIFFSTORE_Test.php +++ b/tests/Predis/Command/Redis/ZDIFFSTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZDIFF_test.php b/tests/Predis/Command/Redis/ZDIFF_test.php index cffe225fc61cfb469c336341bc8e8abcf22d0a2d..ca40c9369db11918e73a218f8718c0878a07020d 100644 --- a/tests/Predis/Command/Redis/ZDIFF_test.php +++ b/tests/Predis/Command/Redis/ZDIFF_test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZINCRBY_Test.php b/tests/Predis/Command/Redis/ZINCRBY_Test.php index b7ca338331e60c2e5d925610222e374c37635a69..19e1c713d87e5f028028912cc81b62b3ac34575b 100644 --- a/tests/Predis/Command/Redis/ZINCRBY_Test.php +++ b/tests/Predis/Command/Redis/ZINCRBY_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZINTERCARD_Test.php b/tests/Predis/Command/Redis/ZINTERCARD_Test.php index 5adb68ea75f3808ede6c39f311e8cb427973cb88..a7733a69b7d5e3dedc08a04032f0f5a1f19215d0 100644 --- a/tests/Predis/Command/Redis/ZINTERCARD_Test.php +++ b/tests/Predis/Command/Redis/ZINTERCARD_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZINTERSTORE_Test.php b/tests/Predis/Command/Redis/ZINTERSTORE_Test.php index 764b09e159ccadf42678b4006a706c010e46a391..8b968de67b30c221785fec98d1d6dfe43fdd1e65 100644 --- a/tests/Predis/Command/Redis/ZINTERSTORE_Test.php +++ b/tests/Predis/Command/Redis/ZINTERSTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZINTER_Test.php b/tests/Predis/Command/Redis/ZINTER_Test.php index 25e16087c0ab942dcb8f102b65d6510e04401acf..5255225abc7883fba221e070bbcb77e283edc0a6 100644 --- a/tests/Predis/Command/Redis/ZINTER_Test.php +++ b/tests/Predis/Command/Redis/ZINTER_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZLEXCOUNT_Test.php b/tests/Predis/Command/Redis/ZLEXCOUNT_Test.php index 265f461e8ee0272bc49b4939c53857961810cbbe..d31f336dcc43683bdb310d5f66cc529ae8c1ccaf 100644 --- a/tests/Predis/Command/Redis/ZLEXCOUNT_Test.php +++ b/tests/Predis/Command/Redis/ZLEXCOUNT_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZMPOP_Test.php b/tests/Predis/Command/Redis/ZMPOP_Test.php index 73a0a213947196942d83bfe6df6fee6e6b03410b..a72a7b3918d77c9360657b7cb6af12b421a568e1 100644 --- a/tests/Predis/Command/Redis/ZMPOP_Test.php +++ b/tests/Predis/Command/Redis/ZMPOP_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZMSCORE_Test.php b/tests/Predis/Command/Redis/ZMSCORE_Test.php index b21245f7399df68bb71460d23f8085861a04ec9c..eac35caf201147ae5557e20b487a6f2a826f471d 100644 --- a/tests/Predis/Command/Redis/ZMSCORE_Test.php +++ b/tests/Predis/Command/Redis/ZMSCORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZPOPMAX_Test.php b/tests/Predis/Command/Redis/ZPOPMAX_Test.php index 6c65bb23a3ce9f7ca838847dbd18dd735dd28ed6..2d50f7bae6467cd7bb3e9e31fd085ad6385e92e5 100644 --- a/tests/Predis/Command/Redis/ZPOPMAX_Test.php +++ b/tests/Predis/Command/Redis/ZPOPMAX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZPOPMIN_Test.php b/tests/Predis/Command/Redis/ZPOPMIN_Test.php index b94b63b8e1e6140130e1fc6082c412a5b2004cbf..f131e4a6e40420a7190050449a81a8e6fbeb3473 100644 --- a/tests/Predis/Command/Redis/ZPOPMIN_Test.php +++ b/tests/Predis/Command/Redis/ZPOPMIN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZRANDMEMBER_test.php b/tests/Predis/Command/Redis/ZRANDMEMBER_test.php index 206f31f18c75c1618e62a1333b0a8c04e73629fe..ebb7fb0d4a436bfcf06cb3a8747ddea00a634e13 100644 --- a/tests/Predis/Command/Redis/ZRANDMEMBER_test.php +++ b/tests/Predis/Command/Redis/ZRANDMEMBER_test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZRANGEBYLEX_Test.php b/tests/Predis/Command/Redis/ZRANGEBYLEX_Test.php index 07497ac81e4472aad748cfee661da63e9c5ac33c..27edc4e00ba052d12c342ae465bc715ea50112c1 100644 --- a/tests/Predis/Command/Redis/ZRANGEBYLEX_Test.php +++ b/tests/Predis/Command/Redis/ZRANGEBYLEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZRANGEBYSCORE_Test.php b/tests/Predis/Command/Redis/ZRANGEBYSCORE_Test.php index 7e7c5277578d49def0195c6fe7b7d114a260f1dc..0c244bf80f0a6055b24678939b006ae167e22754 100644 --- a/tests/Predis/Command/Redis/ZRANGEBYSCORE_Test.php +++ b/tests/Predis/Command/Redis/ZRANGEBYSCORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZRANGESTORE_Test.php b/tests/Predis/Command/Redis/ZRANGESTORE_Test.php index 41c9e183fd75543739ea8daa22d72f0cc697290e..53168b54ab298b18506c9e877f456fccf779827f 100644 --- a/tests/Predis/Command/Redis/ZRANGESTORE_Test.php +++ b/tests/Predis/Command/Redis/ZRANGESTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZRANGE_Test.php b/tests/Predis/Command/Redis/ZRANGE_Test.php index 25b6afd340ded5727e81b305106d2aeea4611f3b..eaf0531542276411e4ff95dbc4eff7fa65d234bc 100644 --- a/tests/Predis/Command/Redis/ZRANGE_Test.php +++ b/tests/Predis/Command/Redis/ZRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZRANK_Test.php b/tests/Predis/Command/Redis/ZRANK_Test.php index 66d5b8d47e1e5ef2e9b763a6478b8113871bb0f2..18d9b7d2a390fbe33b6cbe2cec638ae8b1e4d14b 100644 --- a/tests/Predis/Command/Redis/ZRANK_Test.php +++ b/tests/Predis/Command/Redis/ZRANK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZREMRANGEBYLEX_Test.php b/tests/Predis/Command/Redis/ZREMRANGEBYLEX_Test.php index e0a34c73fd3e162066cf49a94620e8a95ab27f3b..ccd894db456ca297d0bdd64c331fd9096317846e 100644 --- a/tests/Predis/Command/Redis/ZREMRANGEBYLEX_Test.php +++ b/tests/Predis/Command/Redis/ZREMRANGEBYLEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZREMRANGEBYRANK_Test.php b/tests/Predis/Command/Redis/ZREMRANGEBYRANK_Test.php index b2e2829f1cb77283a3581693ad28d22150e0d0a5..9d56e5ec60242d5fb069988cb50b6101eef51d4e 100644 --- a/tests/Predis/Command/Redis/ZREMRANGEBYRANK_Test.php +++ b/tests/Predis/Command/Redis/ZREMRANGEBYRANK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZREMRANGEBYSCORE_Test.php b/tests/Predis/Command/Redis/ZREMRANGEBYSCORE_Test.php index 8c4ed94fbabd976d43ce1eb2553520d287a4d2f7..3214e38f4a94a657b83ace61942efd993f60a2ec 100644 --- a/tests/Predis/Command/Redis/ZREMRANGEBYSCORE_Test.php +++ b/tests/Predis/Command/Redis/ZREMRANGEBYSCORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZREM_Test.php b/tests/Predis/Command/Redis/ZREM_Test.php index e43107c44e1c19884bb7c6f207d39759f6abefe7..e1cbd88f7e235a845cdc0d41c99ca2cc2d81e518 100644 --- a/tests/Predis/Command/Redis/ZREM_Test.php +++ b/tests/Predis/Command/Redis/ZREM_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZREVRANGEBYLEX_Test.php b/tests/Predis/Command/Redis/ZREVRANGEBYLEX_Test.php index 84511ed28a92bb66f152d0119973e2965543fcf3..8a7324917cf48ec22fb70541c2fc8473db502054 100644 --- a/tests/Predis/Command/Redis/ZREVRANGEBYLEX_Test.php +++ b/tests/Predis/Command/Redis/ZREVRANGEBYLEX_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZREVRANGEBYSCORE_Test.php b/tests/Predis/Command/Redis/ZREVRANGEBYSCORE_Test.php index f67b69f1338d9739d0a097dd2ea519f091b94f95..5e139a8ab54c0910e09dbe65f70e0758cfb4461d 100644 --- a/tests/Predis/Command/Redis/ZREVRANGEBYSCORE_Test.php +++ b/tests/Predis/Command/Redis/ZREVRANGEBYSCORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZREVRANGE_Test.php b/tests/Predis/Command/Redis/ZREVRANGE_Test.php index c30dda011444be69b2b43d5224f6ac634e223184..1fdaf516540aaff515fb4081290832e2fe297537 100644 --- a/tests/Predis/Command/Redis/ZREVRANGE_Test.php +++ b/tests/Predis/Command/Redis/ZREVRANGE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZREVRANK_Test.php b/tests/Predis/Command/Redis/ZREVRANK_Test.php index fa1ffdace79149ae243fbfc9218c13cdf4776686..9d8e853f22c182dc6bf1a45f77703ada04998913 100644 --- a/tests/Predis/Command/Redis/ZREVRANK_Test.php +++ b/tests/Predis/Command/Redis/ZREVRANK_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZSCAN_Test.php b/tests/Predis/Command/Redis/ZSCAN_Test.php index 0859f89f79474d1f05709302eac8cb90989c83f6..838f30fc2c6e988bf3acc0a72741fd8cd576e757 100644 --- a/tests/Predis/Command/Redis/ZSCAN_Test.php +++ b/tests/Predis/Command/Redis/ZSCAN_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZSCORE_Test.php b/tests/Predis/Command/Redis/ZSCORE_Test.php index 682a86d7fdd254f302fe2ad2aa2d6edb5a4c2957..7272eeb0e4053a4e61326704ae16dab3bbf70103 100644 --- a/tests/Predis/Command/Redis/ZSCORE_Test.php +++ b/tests/Predis/Command/Redis/ZSCORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php b/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php index 101891da3e96415c65ad6efd66d524f477302ea1..33259db40f7096783c21abba37c4950475bf94df 100644 --- a/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php +++ b/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Redis/ZUNION_Test.php b/tests/Predis/Command/Redis/ZUNION_Test.php index 205728c0029b6068a4eb6909932aae75259180e9..22c845aa9f3519254da447192c6738cc51363be1 100644 --- a/tests/Predis/Command/Redis/ZUNION_Test.php +++ b/tests/Predis/Command/Redis/ZUNION_Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/RedisFactoryTest.php b/tests/Predis/Command/RedisFactoryTest.php index 17a547f8c14db9dc3cdaa49d9f4e6271b93352fa..6578f573cb87fb0ec2cfb52fa98fdc5ab7ded610 100644 --- a/tests/Predis/Command/RedisFactoryTest.php +++ b/tests/Predis/Command/RedisFactoryTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/ScriptCommandTest.php b/tests/Predis/Command/ScriptCommandTest.php index adfa6364b82537dc1f1701f9128f72c5c55144a7..a74cf7659fcf38820e638a6b7583eca73e28d9af 100644 --- a/tests/Predis/Command/ScriptCommandTest.php +++ b/tests/Predis/Command/ScriptCommandTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/ContainerCommands/Functions/DeleteStrategyTest.php b/tests/Predis/Command/Strategy/ContainerCommands/Functions/DeleteStrategyTest.php index ac638e31f6502d93054892229b0ac0e2ab650430..985a2c5a36464a0a204ed4b13d5f7c6a47caf7a3 100644 --- a/tests/Predis/Command/Strategy/ContainerCommands/Functions/DeleteStrategyTest.php +++ b/tests/Predis/Command/Strategy/ContainerCommands/Functions/DeleteStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/ContainerCommands/Functions/DumpStrategyTest.php b/tests/Predis/Command/Strategy/ContainerCommands/Functions/DumpStrategyTest.php index cdc0343a362c338047ee5f077aae7d9563184354..47fde27e6dfa3dc409b09c50c9f46570eb4a7edc 100644 --- a/tests/Predis/Command/Strategy/ContainerCommands/Functions/DumpStrategyTest.php +++ b/tests/Predis/Command/Strategy/ContainerCommands/Functions/DumpStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/ContainerCommands/Functions/FlushStrategyTest.php b/tests/Predis/Command/Strategy/ContainerCommands/Functions/FlushStrategyTest.php index c8e9ce41f9fc78264a9ad327d9e104dd141f0f20..ad6e00b82503fa221ceb3311b65dbb807739a1d3 100644 --- a/tests/Predis/Command/Strategy/ContainerCommands/Functions/FlushStrategyTest.php +++ b/tests/Predis/Command/Strategy/ContainerCommands/Functions/FlushStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/ContainerCommands/Functions/KillStrategyTest.php b/tests/Predis/Command/Strategy/ContainerCommands/Functions/KillStrategyTest.php index fdc2cd3cbdb0ad7d19cd7589aac047a4da972cd2..b5ecd74df0f0f22e7d36e662914144671952fa9d 100644 --- a/tests/Predis/Command/Strategy/ContainerCommands/Functions/KillStrategyTest.php +++ b/tests/Predis/Command/Strategy/ContainerCommands/Functions/KillStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/ContainerCommands/Functions/ListStrategyTest.php b/tests/Predis/Command/Strategy/ContainerCommands/Functions/ListStrategyTest.php index 4b001488ec5846b55e2b243e5c58af7ff200b496..a8f3a08b469f7fd4845ab95bc0fe6f6a01336722 100644 --- a/tests/Predis/Command/Strategy/ContainerCommands/Functions/ListStrategyTest.php +++ b/tests/Predis/Command/Strategy/ContainerCommands/Functions/ListStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/ContainerCommands/Functions/LoadStrategyTest.php b/tests/Predis/Command/Strategy/ContainerCommands/Functions/LoadStrategyTest.php index baa35b61dac2f036b442cabb738e09044b5c55f4..f7f15de4220634dd65e8b77eab560b6dcb76472d 100644 --- a/tests/Predis/Command/Strategy/ContainerCommands/Functions/LoadStrategyTest.php +++ b/tests/Predis/Command/Strategy/ContainerCommands/Functions/LoadStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/ContainerCommands/Functions/RestoreStrategyTest.php b/tests/Predis/Command/Strategy/ContainerCommands/Functions/RestoreStrategyTest.php index 8300a5b936f35d5ef4964e2213f96d3dc61ba7df..ccb96abba04b8664658cd2e12078a909f107b1b2 100644 --- a/tests/Predis/Command/Strategy/ContainerCommands/Functions/RestoreStrategyTest.php +++ b/tests/Predis/Command/Strategy/ContainerCommands/Functions/RestoreStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/ContainerCommands/Functions/StatsStrategyTest.php b/tests/Predis/Command/Strategy/ContainerCommands/Functions/StatsStrategyTest.php index e956bad16ae36e99b21e7d30a7e0758f5e4d6d3e..3947234962f74f610ef6b4e95448c3d765adf3b9 100644 --- a/tests/Predis/Command/Strategy/ContainerCommands/Functions/StatsStrategyTest.php +++ b/tests/Predis/Command/Strategy/ContainerCommands/Functions/StatsStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Strategy/SubcommandStrategyResolverTest.php b/tests/Predis/Command/Strategy/SubcommandStrategyResolverTest.php index 35fbe366d0ce4ef749ff71cc7e74384cb934a980..81c72af52fd9fe47b1740af765b42fe6f827caef 100644 --- a/tests/Predis/Command/Strategy/SubcommandStrategyResolverTest.php +++ b/tests/Predis/Command/Strategy/SubcommandStrategyResolverTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/AggregateTest.php b/tests/Predis/Command/Traits/AggregateTest.php index 5852d50cef85cce86d1d49de7e32955a6927da49..f6a7fb7d361abae2a1c39d13b819c690dd8dbbb6 100644 --- a/tests/Predis/Command/Traits/AggregateTest.php +++ b/tests/Predis/Command/Traits/AggregateTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/BitByteTest.php b/tests/Predis/Command/Traits/BitByteTest.php index 2e6afe435e9d03de91236c91a8287d91813e082a..5296f1465965ab1c4b67609af102ff7af1a1b90d 100644 --- a/tests/Predis/Command/Traits/BitByteTest.php +++ b/tests/Predis/Command/Traits/BitByteTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php b/tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php index 88a4ed19ea54fd12920deecf6465169e8f79ad77..317828960cd7f21d08395a021e372bb389939244 100644 --- a/tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php +++ b/tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/BloomFilters/CapacityTest.php b/tests/Predis/Command/Traits/BloomFilters/CapacityTest.php index cbbcd1241d741ab9c02b4232862a4c430c2342b6..3431e9ebc38afd0529c9ce0b6b874a01610aade5 100644 --- a/tests/Predis/Command/Traits/BloomFilters/CapacityTest.php +++ b/tests/Predis/Command/Traits/BloomFilters/CapacityTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/BloomFilters/ErrorTest.php b/tests/Predis/Command/Traits/BloomFilters/ErrorTest.php index 119f6617b525745913922bd8c1ccf0f754c74486..d1d59a89ce46cd209b13de1f347a7e7b56a14dc8 100644 --- a/tests/Predis/Command/Traits/BloomFilters/ErrorTest.php +++ b/tests/Predis/Command/Traits/BloomFilters/ErrorTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php b/tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php index d441e35140dd5e4417dcce4971afc471673da53b..b0d85b47d6e9d23a33c32e00e9ead2a207abdb63 100644 --- a/tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php +++ b/tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/BloomFilters/ItemsTest.php b/tests/Predis/Command/Traits/BloomFilters/ItemsTest.php index 742a4ec6f7a26bb0db6ae0b22fb2eaa9df9b4ab1..3023d5762a605182b25ce72c79da30d4471b3b0f 100644 --- a/tests/Predis/Command/Traits/BloomFilters/ItemsTest.php +++ b/tests/Predis/Command/Traits/BloomFilters/ItemsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php b/tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php index b221e559cd9a8e309f272fe215c58a58df984169..c8f016e05ea8e574acafa70cd1f2710479c9b532 100644 --- a/tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php +++ b/tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php b/tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php index 5c4435bf403778736a24c1398a521ddfb83e4021..9b653771129a34241f5c9e7c6fe3c55c2d8887eb 100644 --- a/tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php +++ b/tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/By/ByArgumentTest.php b/tests/Predis/Command/Traits/By/ByArgumentTest.php index 92ef92d5371f270b8d581482f9e0abc31783ce0a..bb1ee930a05d4a1457e5da036f5e02d74ee55f5d 100644 --- a/tests/Predis/Command/Traits/By/ByArgumentTest.php +++ b/tests/Predis/Command/Traits/By/ByArgumentTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/By/GeoByTest.php b/tests/Predis/Command/Traits/By/GeoByTest.php index 1aa84b8ba2227027c89296fde8d471995415c58a..c7fe50dbfce119c545f8e7e5dd44632061baff52 100644 --- a/tests/Predis/Command/Traits/By/GeoByTest.php +++ b/tests/Predis/Command/Traits/By/GeoByTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/ByLexByScoreTest.php b/tests/Predis/Command/Traits/ByLexByScoreTest.php index a50d1ad06079361f5346a891435447a73165a4b3..af8df8b3071fd11f47dda973676f165f4b60e5f5 100644 --- a/tests/Predis/Command/Traits/ByLexByScoreTest.php +++ b/tests/Predis/Command/Traits/ByLexByScoreTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/CountTest.php b/tests/Predis/Command/Traits/CountTest.php index bf912ddf79216800bcec5cd865e7d254bd3a03f5..295933123df280661bfec77a057e303ec3c25cba 100644 --- a/tests/Predis/Command/Traits/CountTest.php +++ b/tests/Predis/Command/Traits/CountTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/DbTest.php b/tests/Predis/Command/Traits/DbTest.php index b7209786c0869918d03d1ed5de9eb3c205fbba1d..1a60b908ced744eb9da12797121cfac571146682 100644 --- a/tests/Predis/Command/Traits/DbTest.php +++ b/tests/Predis/Command/Traits/DbTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/From/GeoFromTest.php b/tests/Predis/Command/Traits/From/GeoFromTest.php index 0fb346384c8a97c17cd7ae8537a91c80a38c1d7d..d884e1451cde10149c081b71dcffc23636dbcb49 100644 --- a/tests/Predis/Command/Traits/From/GeoFromTest.php +++ b/tests/Predis/Command/Traits/From/GeoFromTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/Get/GetTest.php b/tests/Predis/Command/Traits/Get/GetTest.php index 6a9149825f5fbc8c0a6847a58dee12fcaa68ada7..ce445a78fd3f817ba93dd129b4327833651d8690 100644 --- a/tests/Predis/Command/Traits/Get/GetTest.php +++ b/tests/Predis/Command/Traits/Get/GetTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/Json/IndentTest.php b/tests/Predis/Command/Traits/Json/IndentTest.php index d0a3234e82b7cc0c8698948af4bf6065e8858545..bf2af65ff6e662de4d98db1177bd07a1c6342745 100644 --- a/tests/Predis/Command/Traits/Json/IndentTest.php +++ b/tests/Predis/Command/Traits/Json/IndentTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/Json/NewlineTest.php b/tests/Predis/Command/Traits/Json/NewlineTest.php index 88913fcde7055ac42ff2fd6d60ae94a6996a051c..065146aa7b53422748d237a6a94dcda139e3ff81 100644 --- a/tests/Predis/Command/Traits/Json/NewlineTest.php +++ b/tests/Predis/Command/Traits/Json/NewlineTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/Json/NxXxArgumentTest.php b/tests/Predis/Command/Traits/Json/NxXxArgumentTest.php index 23a2749ff977d218bb2fbdc22684c160a9638654..bc6c623b232722da9c79061f8b67fdf7545b5195 100644 --- a/tests/Predis/Command/Traits/Json/NxXxArgumentTest.php +++ b/tests/Predis/Command/Traits/Json/NxXxArgumentTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/Json/SpaceTest.php b/tests/Predis/Command/Traits/Json/SpaceTest.php index eb7cc9017f5403c705380080c4c5eb3d0c36b107..2520f16270489e6f203e6e2e20f8fc436e0d46b4 100644 --- a/tests/Predis/Command/Traits/Json/SpaceTest.php +++ b/tests/Predis/Command/Traits/Json/SpaceTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/KeysTest.php b/tests/Predis/Command/Traits/KeysTest.php index 7b04b5d29df9591f7d57b5938351c62324f8cd2d..d4900a3e3f2c321c1f8aab667e044b6cecbf5c14 100644 --- a/tests/Predis/Command/Traits/KeysTest.php +++ b/tests/Predis/Command/Traits/KeysTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/LeftRightTest.php b/tests/Predis/Command/Traits/LeftRightTest.php index 1526c43f142aa0fdeb7c3c6dae0e80363e564b1b..1b94ed446497e8983d83c2ba92e8303f354721d2 100644 --- a/tests/Predis/Command/Traits/LeftRightTest.php +++ b/tests/Predis/Command/Traits/LeftRightTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/Limit/LimitObjectTest.php b/tests/Predis/Command/Traits/Limit/LimitObjectTest.php index 5241c5e816d7049f8dee1567f62d0cc972e5444b..fe3ca1e073960127287538e9659de3f951122489 100644 --- a/tests/Predis/Command/Traits/Limit/LimitObjectTest.php +++ b/tests/Predis/Command/Traits/Limit/LimitObjectTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/Limit/LimitTest.php b/tests/Predis/Command/Traits/Limit/LimitTest.php index 54013c5dde71e25c39a84a29e011f0d9af0dde41..57795b2ee0bc4a7bfdc04db73e604c5413903b93 100644 --- a/tests/Predis/Command/Traits/Limit/LimitTest.php +++ b/tests/Predis/Command/Traits/Limit/LimitTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/MinMaxModifierTest.php b/tests/Predis/Command/Traits/MinMaxModifierTest.php index 130096c80bb5bf4c979382e20b2363ade0359c3a..37531eef3f0252de967e4998823e63947b63016b 100644 --- a/tests/Predis/Command/Traits/MinMaxModifierTest.php +++ b/tests/Predis/Command/Traits/MinMaxModifierTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/ReplaceTest.php b/tests/Predis/Command/Traits/ReplaceTest.php index 1e6dd438b0652525d4d6811fe620fb36bc7634b8..eae181478fb1e83e3965251560704466a72360ee 100644 --- a/tests/Predis/Command/Traits/ReplaceTest.php +++ b/tests/Predis/Command/Traits/ReplaceTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/RevTest.php b/tests/Predis/Command/Traits/RevTest.php index 6b40931e673a91d5866a701eb566fe5d3f2a296c..6551e9fcb6cce260d6842acefe3b5712daf20f82 100644 --- a/tests/Predis/Command/Traits/RevTest.php +++ b/tests/Predis/Command/Traits/RevTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/StoredistTest.php b/tests/Predis/Command/Traits/StoredistTest.php index 1b5d67ac839de5308206a38c951ba6163c268e24..c096f90365500cfdd1b0baafe2608d8ead4c8a89 100644 --- a/tests/Predis/Command/Traits/StoredistTest.php +++ b/tests/Predis/Command/Traits/StoredistTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/TimeoutTest.php b/tests/Predis/Command/Traits/TimeoutTest.php index 20a46733be7675c454efd4e1f61868732c316649..e7488f6bd252c1c2be45621ed256fd6ca04700bf 100644 --- a/tests/Predis/Command/Traits/TimeoutTest.php +++ b/tests/Predis/Command/Traits/TimeoutTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/To/ServerToTest.php b/tests/Predis/Command/Traits/To/ServerToTest.php index 5bf5cb7bc8a808e64a152aa18ba9e6e3c4b728dc..4168a8904fd989cde203a9155982178e4990c679 100644 --- a/tests/Predis/Command/Traits/To/ServerToTest.php +++ b/tests/Predis/Command/Traits/To/ServerToTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/WeightsTest.php b/tests/Predis/Command/Traits/WeightsTest.php index c6f925a2b2b39e9abb5641afba163446b868e671..9681c2149eb65268f32761518fb2fdb4daeadf2f 100644 --- a/tests/Predis/Command/Traits/WeightsTest.php +++ b/tests/Predis/Command/Traits/WeightsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/With/WithCoordTest.php b/tests/Predis/Command/Traits/With/WithCoordTest.php index c46fc3b6ab3ee7ea61cd390d1245d6d9279225e4..e7f1415b73a007cd09f2415f69b7308a55baf324 100644 --- a/tests/Predis/Command/Traits/With/WithCoordTest.php +++ b/tests/Predis/Command/Traits/With/WithCoordTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/With/WithDistTest.php b/tests/Predis/Command/Traits/With/WithDistTest.php index e456538e941a3644c21a327dcc0b43924055afba..accdfa5efa6fbae5e6f3247a22fd047d9a87aca9 100644 --- a/tests/Predis/Command/Traits/With/WithDistTest.php +++ b/tests/Predis/Command/Traits/With/WithDistTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/With/WithHashTest.php b/tests/Predis/Command/Traits/With/WithHashTest.php index 6d571ec48ea1b53d8d1b65d5dc2dbae66f907ddb..f4ee4dff090e0ea7f3a04912056d99d5fbc7605d 100644 --- a/tests/Predis/Command/Traits/With/WithHashTest.php +++ b/tests/Predis/Command/Traits/With/WithHashTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Command/Traits/With/WithScoresTest.php b/tests/Predis/Command/Traits/With/WithScoresTest.php index 9d56b26cbea04d52584b129ab6600089eb5c25f1..65449a944db5743ae66ee9d256432eafe28e698f 100644 --- a/tests/Predis/Command/Traits/With/WithScoresTest.php +++ b/tests/Predis/Command/Traits/With/WithScoresTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/CommunicationExceptionTest.php b/tests/Predis/CommunicationExceptionTest.php index 5e177a5654374e1175c617e9377b24a106761d31..c39550f4b090a12dee92c9c9985fe29a3611bf78 100644 --- a/tests/Predis/CommunicationExceptionTest.php +++ b/tests/Predis/CommunicationExceptionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/Option/AggregateTest.php b/tests/Predis/Configuration/Option/AggregateTest.php index 50155603b026a3af9941c11c93d34705833a2c1a..e08ed587deb5943a265c984aab5f114e7b55df6e 100644 --- a/tests/Predis/Configuration/Option/AggregateTest.php +++ b/tests/Predis/Configuration/Option/AggregateTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/Option/CRC16Test.php b/tests/Predis/Configuration/Option/CRC16Test.php index 75ffa991097a19b33490672ca99f704ed8dd6880..4333f58799ad74b8d969cee9fad7b95dc92512f6 100644 --- a/tests/Predis/Configuration/Option/CRC16Test.php +++ b/tests/Predis/Configuration/Option/CRC16Test.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/Option/ClusterTest.php b/tests/Predis/Configuration/Option/ClusterTest.php index 3737fb895d79c9728560b9b98d380da0f17c847a..86e8a87554027a6eaeeb4d712c92a9da101312df 100644 --- a/tests/Predis/Configuration/Option/ClusterTest.php +++ b/tests/Predis/Configuration/Option/ClusterTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/Option/CommandsTest.php b/tests/Predis/Configuration/Option/CommandsTest.php index 0bfd4deaefaef4abf522e320250e13cdc8b7f9fc..0fabc5a02b32ea9259858dadfad2e9d747575581 100644 --- a/tests/Predis/Configuration/Option/CommandsTest.php +++ b/tests/Predis/Configuration/Option/CommandsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/Option/ConnectionsTest.php b/tests/Predis/Configuration/Option/ConnectionsTest.php index e3e8866ec58654b3d060c60f3ff38792651dabc9..cd6524f52aa73405094749ace55d65b8a6c7112e 100644 --- a/tests/Predis/Configuration/Option/ConnectionsTest.php +++ b/tests/Predis/Configuration/Option/ConnectionsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/Option/ExceptionsTest.php b/tests/Predis/Configuration/Option/ExceptionsTest.php index 41cef3876c492120ae05cf8cf8cffc761f0607e6..ec878bf9d1c5697eeb61d47e1e32204dcba3081b 100644 --- a/tests/Predis/Configuration/Option/ExceptionsTest.php +++ b/tests/Predis/Configuration/Option/ExceptionsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/Option/PrefixTest.php b/tests/Predis/Configuration/Option/PrefixTest.php index f012917ae9f25f291dfb536ba5edc09ac5988fb3..6c39c0988792d549bebff0fb75d2d50276cbb9c3 100644 --- a/tests/Predis/Configuration/Option/PrefixTest.php +++ b/tests/Predis/Configuration/Option/PrefixTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/Option/ReplicationTest.php b/tests/Predis/Configuration/Option/ReplicationTest.php index 814049c449b790009994efb3afdb2d9fe4a1daa7..9a5162309b44a053ec3b75fe27200f1b90709234 100644 --- a/tests/Predis/Configuration/Option/ReplicationTest.php +++ b/tests/Predis/Configuration/Option/ReplicationTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Configuration/OptionsTest.php b/tests/Predis/Configuration/OptionsTest.php index 092d2c827ef4eb4019893724ac751aa0170b6a4a..6df9a7c445c548b55debb161423ae4f2b35bed60 100644 --- a/tests/Predis/Configuration/OptionsTest.php +++ b/tests/Predis/Configuration/OptionsTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/Cluster/PredisClusterTest.php b/tests/Predis/Connection/Cluster/PredisClusterTest.php index 90902b85392303d97396cbf69a675a7a0f7beb53..f79f396f78d350ce88132e21ff4c54d4a09446b4 100644 --- a/tests/Predis/Connection/Cluster/PredisClusterTest.php +++ b/tests/Predis/Connection/Cluster/PredisClusterTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/Cluster/RedisClusterTest.php b/tests/Predis/Connection/Cluster/RedisClusterTest.php index a2cffbcf18ae73ef2d2e769bf86e8d5be7d84fb8..42c4f851511497cc10e4901228048b7fc04b2de8 100644 --- a/tests/Predis/Connection/Cluster/RedisClusterTest.php +++ b/tests/Predis/Connection/Cluster/RedisClusterTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/CompositeStreamConnectionTest.php b/tests/Predis/Connection/CompositeStreamConnectionTest.php index 804208b2885bc60e580f64003980ca35c965f7be..9f8926e94e9989495b63b91913132f2d36bfbebc 100644 --- a/tests/Predis/Connection/CompositeStreamConnectionTest.php +++ b/tests/Predis/Connection/CompositeStreamConnectionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/ConnectionExceptionTest.php b/tests/Predis/Connection/ConnectionExceptionTest.php index 7f10112fdf1fa277d4fc8f7b114dc3b2030805ff..30c907df28595490f200bf0b7961f11b6923d0a6 100644 --- a/tests/Predis/Connection/ConnectionExceptionTest.php +++ b/tests/Predis/Connection/ConnectionExceptionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/FactoryTest.php b/tests/Predis/Connection/FactoryTest.php index dc6040cbf1bc6bd2587530e91fd89e575001aa7d..d2aecdaba4452788cf6e00f5ffcf7d961e5178aa 100644 --- a/tests/Predis/Connection/FactoryTest.php +++ b/tests/Predis/Connection/FactoryTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/ParametersTest.php b/tests/Predis/Connection/ParametersTest.php index 8b85044b94c7bc55ba03bd4c1f8f56450a878263..3e313b5bff4c218cb4b570f6ef5f4f7010404716 100644 --- a/tests/Predis/Connection/ParametersTest.php +++ b/tests/Predis/Connection/ParametersTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/PhpiredisSocketConnectionTest.php b/tests/Predis/Connection/PhpiredisSocketConnectionTest.php index 8b747de566e0820cf77b26c421304c1c321de8cc..7bc3634b876755f1bd80ed6f9da4bfe8c75689a8 100644 --- a/tests/Predis/Connection/PhpiredisSocketConnectionTest.php +++ b/tests/Predis/Connection/PhpiredisSocketConnectionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/PhpiredisStreamConnectionTest.php b/tests/Predis/Connection/PhpiredisStreamConnectionTest.php index c62247d79f31f4720d3f56cb16a0c7805d0be9a9..9ec95725496326ca2d00ec2f9b347e2b4cf1a878 100644 --- a/tests/Predis/Connection/PhpiredisStreamConnectionTest.php +++ b/tests/Predis/Connection/PhpiredisStreamConnectionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/RelayConnectionTest.php b/tests/Predis/Connection/RelayConnectionTest.php index d5ebc9b6e590ae9b672d93bbddcb9bb9808d1bd4..071b87f2a23bf2ece9b37784763f02d7fb564114 100644 --- a/tests/Predis/Connection/RelayConnectionTest.php +++ b/tests/Predis/Connection/RelayConnectionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/Replication/MasterSlaveReplicationTest.php b/tests/Predis/Connection/Replication/MasterSlaveReplicationTest.php index 628e5ac391ac5264148fb06182ac2ec57436292c..a63402881dcc32478e1fbfcf402af4a5c420f44a 100644 --- a/tests/Predis/Connection/Replication/MasterSlaveReplicationTest.php +++ b/tests/Predis/Connection/Replication/MasterSlaveReplicationTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/Replication/SentinelReplicationTest.php b/tests/Predis/Connection/Replication/SentinelReplicationTest.php index a42113ea09c07db66b21bedf459ef092415dd7ca..c6c063875d960580c8a7066e8e92f4610d40a224 100644 --- a/tests/Predis/Connection/Replication/SentinelReplicationTest.php +++ b/tests/Predis/Connection/Replication/SentinelReplicationTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Connection/StreamConnectionTest.php b/tests/Predis/Connection/StreamConnectionTest.php index 2ead56565c6d714de188f187d5051bcf9ab46a93..cd3c843523b3c9a9262662743fc02de4081d8042 100644 --- a/tests/Predis/Connection/StreamConnectionTest.php +++ b/tests/Predis/Connection/StreamConnectionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -123,23 +123,6 @@ class StreamConnectionTest extends PredisConnectionTestCase $connection1->disconnect(); } - /** - * @group connected - * @requires PHP 5.4 - */ - public function testPersistentConnectionsToSameNodeShareResource(): void - { - $connection1 = $this->createConnectionWithParams(['persistent' => true]); - $connection2 = $this->createConnectionWithParams(['persistent' => true]); - - $this->assertPersistentConnection($connection1); - $this->assertPersistentConnection($connection2); - - $this->assertSame($connection1->getResource(), $connection2->getResource()); - - $connection1->disconnect(); - } - /** * @group connected * @requires PHP 5.4 diff --git a/tests/Predis/Connection/WebdisConnectionTest.php b/tests/Predis/Connection/WebdisConnectionTest.php index bfb70c84287d936c4397ee28e72002139ad6093d..7d4056c3663dd935ed78d86fa1b1eed6a1cf1592 100644 --- a/tests/Predis/Connection/WebdisConnectionTest.php +++ b/tests/Predis/Connection/WebdisConnectionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Monitor/ConsumerTest.php b/tests/Predis/Monitor/ConsumerTest.php index d26a775bae2233fdcc4f313cc924bb393e3704fb..0f8bfad34f64a741b8fee9cad8b0f028b4790c9e 100644 --- a/tests/Predis/Monitor/ConsumerTest.php +++ b/tests/Predis/Monitor/ConsumerTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Pipeline/AtomicTest.php b/tests/Predis/Pipeline/AtomicTest.php index efd1f2908f3141857426101b4bd3dd0de859052a..4b9a388b115e45092117aacae463c9631b871d55 100644 --- a/tests/Predis/Pipeline/AtomicTest.php +++ b/tests/Predis/Pipeline/AtomicTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Pipeline/FireAndForgetTest.php b/tests/Predis/Pipeline/FireAndForgetTest.php index 74108ffba08014acfd791342e494f1c807a7305c..5b812e5c954f425f41f10b297718725dca96d322 100644 --- a/tests/Predis/Pipeline/FireAndForgetTest.php +++ b/tests/Predis/Pipeline/FireAndForgetTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Pipeline/PipelineTest.php b/tests/Predis/Pipeline/PipelineTest.php index c0635c9ca1a4387d5db4327f858caf61bed5c2df..8c0260f14b4bd2d4b694e68df2c1b6ec769c481c 100644 --- a/tests/Predis/Pipeline/PipelineTest.php +++ b/tests/Predis/Pipeline/PipelineTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/PredisExceptionTest.php b/tests/Predis/PredisExceptionTest.php index f084d6dfa823922659242ec1d546413f9d734841..e76685bad7b7054991f6159cda7806c239c9b23f 100644 --- a/tests/Predis/PredisExceptionTest.php +++ b/tests/Predis/PredisExceptionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/ProtocolExceptionTest.php b/tests/Predis/Protocol/ProtocolExceptionTest.php index 1cf9f6e75edaa5cabfe1bc152d50ea506ce19ef0..876e15de3497ec8ec46412f6eeb05b9c44c205d3 100644 --- a/tests/Predis/Protocol/ProtocolExceptionTest.php +++ b/tests/Predis/Protocol/ProtocolExceptionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/CompositeProtocolProcessorTest.php b/tests/Predis/Protocol/Text/CompositeProtocolProcessorTest.php index fc248d807496683e31fd40e5192e445150605008..9aa1451dd521addb473a0ff63c9ec6e0a140e927 100644 --- a/tests/Predis/Protocol/Text/CompositeProtocolProcessorTest.php +++ b/tests/Predis/Protocol/Text/CompositeProtocolProcessorTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/Handler/BulkResponseTest.php b/tests/Predis/Protocol/Text/Handler/BulkResponseTest.php index 82b17436c3b421a530fc3a5a98d8a2ae447850c2..35fc9d85ce74205123b19d9d7e6ce43e01433374 100644 --- a/tests/Predis/Protocol/Text/Handler/BulkResponseTest.php +++ b/tests/Predis/Protocol/Text/Handler/BulkResponseTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/Handler/ErrorResponseTest.php b/tests/Predis/Protocol/Text/Handler/ErrorResponseTest.php index dd324341d46736d7cccca2c888801519d780ad81..0fddacf1c5e049e6026a63ac350fa31d6ef44e41 100644 --- a/tests/Predis/Protocol/Text/Handler/ErrorResponseTest.php +++ b/tests/Predis/Protocol/Text/Handler/ErrorResponseTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/Handler/IntegerResponseTest.php b/tests/Predis/Protocol/Text/Handler/IntegerResponseTest.php index a0589c5f18c63fe7754b22dd58bd2da7193c2dc4..475f32a172186c63d6d51b92399aa5fe4533ca39 100644 --- a/tests/Predis/Protocol/Text/Handler/IntegerResponseTest.php +++ b/tests/Predis/Protocol/Text/Handler/IntegerResponseTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/Handler/MultiBulkResponseTest.php b/tests/Predis/Protocol/Text/Handler/MultiBulkResponseTest.php index 61bc502f64b86582d517e3e770dfc12aaa946249..cdbdc47e36a1a1784fce0df02beba63c62e023a5 100644 --- a/tests/Predis/Protocol/Text/Handler/MultiBulkResponseTest.php +++ b/tests/Predis/Protocol/Text/Handler/MultiBulkResponseTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/Handler/StatusResponseTest.php b/tests/Predis/Protocol/Text/Handler/StatusResponseTest.php index d8afa2b86caa62692cda3644cf4e0fe3a1b99ef6..77da09d38f9829dde43d1001af0e6377d287ef0e 100644 --- a/tests/Predis/Protocol/Text/Handler/StatusResponseTest.php +++ b/tests/Predis/Protocol/Text/Handler/StatusResponseTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/Handler/StreamableMultiBulkResponseTest.php b/tests/Predis/Protocol/Text/Handler/StreamableMultiBulkResponseTest.php index e4a6dc37907fb4ad45b76633cede32ea4e0e6f7c..f29c2b51dba2b1d5ea4639e643d3c6dd275110de 100644 --- a/tests/Predis/Protocol/Text/Handler/StreamableMultiBulkResponseTest.php +++ b/tests/Predis/Protocol/Text/Handler/StreamableMultiBulkResponseTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/ProtocolProcessorTest.php b/tests/Predis/Protocol/Text/ProtocolProcessorTest.php index 005c17d09e6125b529c421026a0a318d71534cb2..db0fd0f5d7347a046174a93c774a14389a28adce 100644 --- a/tests/Predis/Protocol/Text/ProtocolProcessorTest.php +++ b/tests/Predis/Protocol/Text/ProtocolProcessorTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/RequestSerializerTest.php b/tests/Predis/Protocol/Text/RequestSerializerTest.php index 6d2408fc356db42a02258b49fe17c7ddf87abfc4..345bdeac126cb92d3bbd0782752b045c61266ee7 100644 --- a/tests/Predis/Protocol/Text/RequestSerializerTest.php +++ b/tests/Predis/Protocol/Text/RequestSerializerTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Protocol/Text/ResponseReaderTest.php b/tests/Predis/Protocol/Text/ResponseReaderTest.php index ed73e7d92cb1fabd631150dd3e5b0261a50b0183..596ac70e618348aaf80cd1ca8599d89eaeb537d2 100644 --- a/tests/Predis/Protocol/Text/ResponseReaderTest.php +++ b/tests/Predis/Protocol/Text/ResponseReaderTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/PubSub/ConsumerTest.php b/tests/Predis/PubSub/ConsumerTest.php index 485550c7fdc9ec1d5afec9d551f7be0d4af0ffec..0d6636d932d81267edf265eae017c558d1487821 100644 --- a/tests/Predis/PubSub/ConsumerTest.php +++ b/tests/Predis/PubSub/ConsumerTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/PubSub/DispatcherLoopTest.php b/tests/Predis/PubSub/DispatcherLoopTest.php index 129a5342006e1e82ad97ef51289bf19fd6ec113a..25089e7a62c819f57e339bc433cb4a285a45f25e 100644 --- a/tests/Predis/PubSub/DispatcherLoopTest.php +++ b/tests/Predis/PubSub/DispatcherLoopTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Replication/ReplicationStrategyTest.php b/tests/Predis/Replication/ReplicationStrategyTest.php index acbfdefc158458c99bcbee6028a8561bf1c0c34d..ce93f9674af39f75cf7ac06fbe85440b8103179f 100644 --- a/tests/Predis/Replication/ReplicationStrategyTest.php +++ b/tests/Predis/Replication/ReplicationStrategyTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -13,6 +13,8 @@ namespace Predis\Replication; use PHPUnit\Framework\MockObject\MockObject; +use Predis\Command\Argument\Geospatial\ByRadius; +use Predis\Command\Argument\Geospatial\FromLonLat; use Predis\Command\CommandInterface; use PredisTestCase; @@ -215,6 +217,21 @@ class ReplicationStrategyTest extends PredisTestCase ); } + /** + * @group disconnected + */ + public function testGeosearchCommand(): void + { + $commands = $this->getCommandFactory(); + $strategy = new ReplicationStrategy(); + $geoSearchArgs = ['key', new FromLonLat(1.1, 2.2), new ByRadius(1, 'km')]; + $command = $commands->create('GEOSEARCH', $geoSearchArgs); + $this->assertTrue( + $strategy->isReadOperation($command), + 'GEOSEARCH is expected to be a read operation.' + ); + } + /** * @group disconnected */ diff --git a/tests/Predis/Response/ErrorTest.php b/tests/Predis/Response/ErrorTest.php index 0dcc0a8037e4d66ec1750d37f196d7c808cd285e..e2414cc164db00bce4164004d1b5c61963d3e2fd 100644 --- a/tests/Predis/Response/ErrorTest.php +++ b/tests/Predis/Response/ErrorTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Response/Iterator/MultiBulkTest.php b/tests/Predis/Response/Iterator/MultiBulkTest.php index c6c5f46e1e81e3c23a2575df6df5bc8ed1cc3b96..4c8e1b8ece6f59195647efec93f257574b9c1ffa 100644 --- a/tests/Predis/Response/Iterator/MultiBulkTest.php +++ b/tests/Predis/Response/Iterator/MultiBulkTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Response/Iterator/MultiBulkTupleTest.php b/tests/Predis/Response/Iterator/MultiBulkTupleTest.php index c0ab502100b30182754390938631df890ebb511a..4bf5b78bbb08eff4a6e7e53062a3b0117244ffee 100644 --- a/tests/Predis/Response/Iterator/MultiBulkTupleTest.php +++ b/tests/Predis/Response/Iterator/MultiBulkTupleTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Response/ServerExceptionTest.php b/tests/Predis/Response/ServerExceptionTest.php index 704de292d55637aa0f98da32cab96f1da5ddb7c1..76d23add14a13b620694711f66927788ea8cb926 100644 --- a/tests/Predis/Response/ServerExceptionTest.php +++ b/tests/Predis/Response/ServerExceptionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Response/StatusTest.php b/tests/Predis/Response/StatusTest.php index 68e13fa782ee2c0367dcd20c3b0bc995489e1a97..cbcb05563fd3ff116088d9c12e98f19a8d80ec78 100644 --- a/tests/Predis/Response/StatusTest.php +++ b/tests/Predis/Response/StatusTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Transaction/AbortedMultiExecExceptionTest.php b/tests/Predis/Transaction/AbortedMultiExecExceptionTest.php index 35ce488b084a4a59d0d65afc9563a9471662759f..ad5e6fcc91656422c25052a3ae24e3b14cd7a46a 100644 --- a/tests/Predis/Transaction/AbortedMultiExecExceptionTest.php +++ b/tests/Predis/Transaction/AbortedMultiExecExceptionTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Transaction/MultiExecStateTest.php b/tests/Predis/Transaction/MultiExecStateTest.php index b78ad9c468379209bbde6f66f89ee279ae6c2bb8..69acdbcc3a667bdb5e92085a973ed3aa0f309964 100644 --- a/tests/Predis/Transaction/MultiExecStateTest.php +++ b/tests/Predis/Transaction/MultiExecStateTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Predis/Transaction/MultiExecTest.php b/tests/Predis/Transaction/MultiExecTest.php index bb86c379d30dbe883096ef2fac9317ee86291672..39a33a0d489e07e239b57f86be5b5e9be221cdd5 100644 --- a/tests/Predis/Transaction/MultiExecTest.php +++ b/tests/Predis/Transaction/MultiExecTest.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/bootstrap.php b/tests/bootstrap.php index a31f7ee7f7422d6ec9e32b1276cb877fe2242510..c1dff705214d576429012d4c99c489ab245a86d0 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -4,7 +4,7 @@ * This file is part of the Predis package. * * (c) 2009-2020 Daniele Alessandri - * (c) 2021-2024 Till Krüss + * (c) 2021-2025 Till Krüss * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code.