• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

predis / predis / 15460064401

05 Jun 2025 06:28AM UTC coverage: 92.727% (+0.09%) from 92.642%
15460064401

push

github

web-flow
feat(commands): Add support for VectorSet commands (#1550)

* feat(commands): Add support for VectorSet commands

* Codestyle fixes

* Fixed test

* Added logging for test purposes

* Marked tests as relay incompatible

* Missing incompatible tests

* Updated CHANGELOG to reflect experimental nature of feature

* Marked properties as nullable

* Changed static variables to constants

* Codestyle fixe

* Revert changes

* Update CHANGELOG.md

---------

Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>

154 of 159 new or added lines in 13 files covered. (96.86%)

7305 of 7878 relevant lines covered (92.73%)

111.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/src/Command/Redis/VINFO.php
1
<?php
2

3
/*
4
 * This file is part of the Predis package.
5
 *
6
 * (c) 2009-2020 Daniele Alessandri
7
 * (c) 2021-2025 Till Krüss
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12

13
namespace Predis\Command\Redis;
14

15
use Predis\Command\Command as RedisCommand;
16
use Predis\Command\Redis\Utils\CommandUtility;
17

18
class VINFO extends RedisCommand
19
{
20
    /**
21
     * @return string
22
     */
23
    public function getId(): string
1✔
24
    {
25
        return 'VINFO';
1✔
26
    }
27

28
    /**
29
     * @param             $data
30
     * @return array|null
31
     */
32
    public function parseResponse($data): ?array
1✔
33
    {
34
        if (!is_null($data)) {
1✔
35
            return CommandUtility::arrayToDictionary($data);
1✔
36
        }
37

NEW
38
        return $data;
×
39
    }
40
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc