Skip to content

Commit b2cef72

Browse files
authored
Merge pull request #56 from MacFJA/update-tools
Update PHP-CS-Fixer version
2 parents ec9dec1 + a925356 commit b2cef72

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+65
-63
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased v2.x]
88

9+
### Changed
10+
11+
- (dev) Update PHP-CS-Fixer to version `3.12.0`
12+
913
## [2.2.0]
1014

1115
### Added

src/Redis/Client/PhpiredisClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class PhpiredisClient extends AbstractClient
3939

4040
/**
4141
* @param resource $redis
42+
*
4243
* @psalm-assert function_exists('phpiredis_command_bs')
4344
* @psalm-assert function_exists('phpiredis_multi_command_bs')
4445
*/

src/Redis/Client/PredisClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ protected function doPipeline(Command ...$commands): array
104104

105105
/**
106106
* @param array<float|int|string> $args
107+
*
107108
* @codeCoverageIgnore
108109
*/
109110
private static function createRawCommand(array $args): CommandInterface

src/Redis/Command/Aggregate.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ public function getSize(): ?int
219219
* @param array|mixed|string $data
220220
*
221221
* @return CursorResponse|PaginatedResponse<AggregateResponseItem>
222+
*
222223
* @phpstan-return CursorResponse|PaginatedResponse
223224
*/
224225
public function parseResponse($data)

src/Redis/Command/Option/CustomValidatorOption.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
/**
2929
* @template T of CommandOption
30+
*
3031
* @mixin T
3132
*/
3233
class CustomValidatorOption implements CommandOption, DecoratedCommandOption
@@ -47,6 +48,7 @@ public function __construct(CommandOption $decorated, Validatable $validator)
4748

4849
/**
4950
* @phpstan-param T $decorated
51+
*
5052
* @psalm-param CommandOption $decorated
5153
*
5254
* @param array<float|int|string> $allowed
@@ -60,6 +62,7 @@ public static function allowedValues(CommandOption $decorated, array $allowed):
6062

6163
/**
6264
* @phpstan-param T $decorated
65+
*
6366
* @psalm-param CommandOption $decorated
6467
*
6568
* @return static<T>

src/Redis/Command/Option/DecoratedOptionTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@
2525

2626
/**
2727
* @template T of CommandOption
28+
*
2829
* @mixin T
2930
*/
3031
trait DecoratedOptionTrait
3132
{
3233
/**
3334
* @var CommandOption
35+
*
3436
* @phpstan-var T
3537
*/
3638
private $decorated;

src/Redis/Command/Option/FlagOption.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function isActive(): bool
5959

6060
/**
6161
* @return bool
62+
*
6263
* @SuppressWarnings(PHPMD.BooleanGetMethodName)
6364
*/
6465
public function getOptionData()

src/Redis/Command/Option/NotEmptyOption.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
/**
2727
* @template T of CommandOption
28+
*
2829
* @mixin T
2930
*/
3031
class NotEmptyOption implements CommandOption, DecoratedCommandOption

src/Redis/Command/Search.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ public function setDialect(int $version): self
335335
* @param mixed $data
336336
*
337337
* @return PaginatedResponse
338+
*
338339
* @psalm-return PaginatedResponse<SearchResponseItem>
339340
*
340341
* @SuppressWarnings(PHPMD.CyclomaticComplexity)

src/Redis/Initializer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class Initializer
6161
{
6262
/**
6363
* @codeCoverageIgnore
64+
*
6465
* @psalm-suppress UndefinedDocblockClass
6566
* @psalm-suppress UndefinedClass
6667
*

0 commit comments

Comments
 (0)