From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Mon, 14 Oct 2024 13:58:38 +0200
Subject: Make provider functions static (PHPUnit 11 Fix)

Bug-Debian: https://bugs.debian.org/1070580
---
 .../Predis/Command/Argument/Search/AggregateArgumentsTest.php  | 10 +++++-----
 .../Command/Argument/Search/SchemaFields/GeoFieldTest.php      |  2 +-
 .../Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php |  2 +-
 .../Command/Argument/Search/SchemaFields/NumericFieldTest.php  |  2 +-
 .../Command/Argument/Search/SchemaFields/TagFieldTest.php      |  2 +-
 .../Command/Argument/Search/SchemaFields/TextFieldTest.php     |  2 +-
 tests/Predis/Command/Argument/Search/SearchArgumentsTest.php   |  6 +++---
 .../Predis/Command/Argument/Search/SpellcheckArgumentsTest.php |  2 +-
 .../Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php  |  2 +-
 tests/Predis/Command/CommandTest.php                           |  2 +-
 tests/Predis/Command/Container/ContainerFactoryTest.php        |  4 ++--
 tests/Predis/Command/PrefixableCommandTest.php                 |  6 +++---
 tests/Predis/Command/RawCommandTest.php                        |  2 +-
 tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php   |  4 ++--
 tests/Predis/Command/Redis/BITFIELD_RO_Test.php                |  2 +-
 tests/Predis/Command/Redis/BLMOVE_Test.php                     |  4 ++--
 tests/Predis/Command/Redis/BLMPOP_Test.php                     |  4 ++--
 tests/Predis/Command/Redis/BZMPOP_Test.php                     |  8 ++++----
 tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php         |  6 +++---
 tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php       |  6 +++---
 tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php      |  4 ++--
 tests/Predis/Command/Redis/CLIENT_Test.php                     |  8 ++++----
 tests/Predis/Command/Redis/COPY_Test.php                       |  2 +-
 tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php   |  2 +-
 tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php    |  4 ++--
 tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php    |  2 +-
 tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php        |  2 +-
 tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php    |  4 ++--
 tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php      |  4 ++--
 tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php     |  4 ++--
 tests/Predis/Command/Redis/EVALSHA_RO_Test.php                 |  2 +-
 tests/Predis/Command/Redis/EVAL_RO_Test.php                    |  2 +-
 tests/Predis/Command/Redis/EXPIREAT_Test.php                   |  2 +-
 tests/Predis/Command/Redis/EXPIRE_Test.php                     |  2 +-
 tests/Predis/Command/Redis/FAILOVER_Test.php                   |  2 +-
 tests/Predis/Command/Redis/FCALL_RO_Test.php                   |  2 +-
 tests/Predis/Command/Redis/FCALL_Test.php                      |  4 ++--
 tests/Predis/Command/Redis/FUNCTIONS_Test.php                  |  6 +++---
 tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php          |  2 +-
 tests/Predis/Command/Redis/GEORADIUS_Test.php                  |  2 +-
 tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php             |  6 +++---
 tests/Predis/Command/Redis/GEOSEARCH_Test.php                  |  8 ++++----
 tests/Predis/Command/Redis/GETEX_Test.php                      |  6 +++---
 tests/Predis/Command/Redis/HEXPIREAT_Test.php                  |  4 ++--
 tests/Predis/Command/Redis/HEXPIRE_Test.php                    |  4 ++--
 tests/Predis/Command/Redis/HGETEX_Test.php                     |  6 +++---
 tests/Predis/Command/Redis/HPEXPIREAT_Test.php                 |  4 ++--
 tests/Predis/Command/Redis/HPEXPIRE_Test.php                   |  4 ++--
 tests/Predis/Command/Redis/HRANDFIELD_Test.php                 |  4 ++--
 tests/Predis/Command/Redis/HSETEX_Test.php                     |  6 +++---
 tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php         |  2 +-
 tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php          |  2 +-
 tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php         |  2 +-
 tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php            |  2 +-
 tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php            |  2 +-
 tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php           |  2 +-
 tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php             |  2 +-
 tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php             |  2 +-
 tests/Predis/Command/Redis/Json/JSONDEL_Test.php               |  2 +-
 tests/Predis/Command/Redis/Json/JSONFORGET_Test.php            |  2 +-
 tests/Predis/Command/Redis/Json/JSONGET_Test.php               |  6 +++---
 tests/Predis/Command/Redis/Json/JSONMERGE_Test.php             |  2 +-
 tests/Predis/Command/Redis/Json/JSONMGET_Test.php              |  2 +-
 tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php         |  2 +-
 tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php           |  2 +-
 tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php            |  2 +-
 tests/Predis/Command/Redis/Json/JSONRESP_Test.php              |  2 +-
 tests/Predis/Command/Redis/Json/JSONSET_Test.php               |  4 ++--
 tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php         |  2 +-
 tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php            |  2 +-
 tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php            |  2 +-
 tests/Predis/Command/Redis/Json/JSONTYPE_Test.php              |  2 +-
 tests/Predis/Command/Redis/LCS_Test.php                        |  6 +++---
 tests/Predis/Command/Redis/LMOVE_Test.php                      |  4 ++--
 tests/Predis/Command/Redis/LMPOP_Test.php                      |  4 ++--
 tests/Predis/Command/Redis/SHUTDOWN_Test.php                   |  2 +-
 tests/Predis/Command/Redis/SINTERCARD_Test.php                 |  6 +++---
 tests/Predis/Command/Redis/SMISMEMBER_Test.php                 |  2 +-
 tests/Predis/Command/Redis/SORT_RO_Test.php                    |  8 ++++----
 tests/Predis/Command/Redis/SORT_Test.php                       |  2 +-
 tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php         |  2 +-
 tests/Predis/Command/Redis/Search/FTALTER_Test.php             |  2 +-
 tests/Predis/Command/Redis/Search/FTCREATE_Test.php            |  2 +-
 tests/Predis/Command/Redis/Search/FTCURSOR_Test.php            |  2 +-
 tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php           |  2 +-
 tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php         |  2 +-
 tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php           |  2 +-
 tests/Predis/Command/Redis/Search/FTPROFILE_Test.php           |  4 ++--
 tests/Predis/Command/Redis/Search/FTSEARCH_Test.php            |  2 +-
 tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php        |  2 +-
 tests/Predis/Command/Redis/Search/FTSUGADD_Test.php            |  2 +-
 tests/Predis/Command/Redis/Search/FTSUGGET_Test.php            |  4 ++--
 tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php         |  2 +-
 tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php      |  4 ++--
 tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php       |  4 ++--
 .../Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php  |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php           |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php         |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php    |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php        |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php        |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php           |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php        |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php          |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php          |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php        |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php     |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php         |  2 +-
 tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php      |  2 +-
 tests/Predis/Command/Redis/TopK/TOPKADD_Test.php               |  2 +-
 tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php              |  6 +++---
 tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php           |  4 ++--
 tests/Predis/Command/Redis/VADD_Test.php                       |  2 +-
 tests/Predis/Command/Redis/VEMB_Test.php                       |  4 ++--
 tests/Predis/Command/Redis/VSIM_Test.php                       |  2 +-
 tests/Predis/Command/Redis/XADD_Test.php                       |  2 +-
 tests/Predis/Command/Redis/XAUTOCLAIM_Test.php                 |  2 +-
 tests/Predis/Command/Redis/XCLAIM_Test.php                     |  2 +-
 tests/Predis/Command/Redis/XGROUP_Test.php                     |  4 ++--
 tests/Predis/Command/Redis/XINFO_Test.php                      |  4 ++--
 tests/Predis/Command/Redis/XPENDING_Test.php                   |  2 +-
 tests/Predis/Command/Redis/XREADGROUP_Test.php                 |  2 +-
 tests/Predis/Command/Redis/XREAD_Test.php                      |  2 +-
 tests/Predis/Command/Redis/XSETID_Test.php                     |  2 +-
 tests/Predis/Command/Redis/XTRIM_Test.php                      |  2 +-
 tests/Predis/Command/Redis/ZDIFFSTORE_Test.php                 |  2 +-
 tests/Predis/Command/Redis/ZDIFF_test.php                      |  4 ++--
 tests/Predis/Command/Redis/ZINTERCARD_Test.php                 |  6 +++---
 tests/Predis/Command/Redis/ZINTERSTORE_Test.php                |  6 +++---
 tests/Predis/Command/Redis/ZINTER_Test.php                     |  6 +++---
 tests/Predis/Command/Redis/ZMPOP_Test.php                      |  8 ++++----
 tests/Predis/Command/Redis/ZMSCORE_Test.php                    |  2 +-
 tests/Predis/Command/Redis/ZRANDMEMBER_test.php                |  4 ++--
 tests/Predis/Command/Redis/ZRANGESTORE_Test.php                |  6 +++---
 tests/Predis/Command/Redis/ZUNIONSTORE_Test.php                |  6 +++---
 tests/Predis/Command/Redis/ZUNION_Test.php                     |  6 +++---
 tests/Predis/Command/Traits/AggregateTest.php                  |  4 ++--
 tests/Predis/Command/Traits/BitByteTest.php                    |  2 +-
 tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php    |  2 +-
 tests/Predis/Command/Traits/BloomFilters/CapacityTest.php      |  2 +-
 tests/Predis/Command/Traits/BloomFilters/ErrorTest.php         |  2 +-
 tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php     |  2 +-
 tests/Predis/Command/Traits/BloomFilters/ItemsTest.php         |  2 +-
 tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php |  2 +-
 tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php      |  2 +-
 tests/Predis/Command/Traits/By/ByArgumentTest.php              |  2 +-
 tests/Predis/Command/Traits/By/GeoByTest.php                   |  2 +-
 tests/Predis/Command/Traits/ByLexByScoreTest.php               |  4 ++--
 tests/Predis/Command/Traits/CountTest.php                      |  2 +-
 tests/Predis/Command/Traits/DbTest.php                         |  2 +-
 tests/Predis/Command/Traits/From/GeoFromTest.php               |  2 +-
 tests/Predis/Command/Traits/Get/GetTest.php                    |  2 +-
 tests/Predis/Command/Traits/Json/IndentTest.php                |  2 +-
 tests/Predis/Command/Traits/Json/NewlineTest.php               |  2 +-
 tests/Predis/Command/Traits/Json/NxXxArgumentTest.php          |  2 +-
 tests/Predis/Command/Traits/Json/SpaceTest.php                 |  2 +-
 tests/Predis/Command/Traits/KeysTest.php                       |  4 ++--
 tests/Predis/Command/Traits/LeftRightTest.php                  |  4 ++--
 tests/Predis/Command/Traits/Limit/LimitObjectTest.php          |  2 +-
 tests/Predis/Command/Traits/Limit/LimitTest.php                |  2 +-
 tests/Predis/Command/Traits/MinMaxModifierTest.php             |  2 +-
 tests/Predis/Command/Traits/ReplaceTest.php                    |  2 +-
 tests/Predis/Command/Traits/RevTest.php                        |  2 +-
 tests/Predis/Command/Traits/StoredistTest.php                  |  2 +-
 tests/Predis/Command/Traits/TimeoutTest.php                    |  2 +-
 tests/Predis/Command/Traits/To/ServerToTest.php                |  2 +-
 tests/Predis/Command/Traits/WeightsTest.php                    |  2 +-
 tests/Predis/Command/Traits/With/WithCoordTest.php             |  2 +-
 tests/Predis/Command/Traits/With/WithDistTest.php              |  2 +-
 tests/Predis/Command/Traits/With/WithHashTest.php              |  2 +-
 tests/Predis/Command/Traits/With/WithScoresTest.php            |  4 ++--
 tests/Predis/Command/Utils/CommandUtilityTest.php              |  2 +-
 tests/Predis/Connection/Cluster/RedisClusterTest.php           |  2 +-
 tests/Predis/Connection/FactoryTest.php                        |  4 ++--
 .../Connection/Replication/MasterSlaveReplicationTest.php      |  2 +-
 .../Predis/Connection/Replication/SentinelReplicationTest.php  |  2 +-
 tests/Predis/Connection/Resource/StreamTest.php                |  4 ++--
 tests/Predis/Connection/StreamConnectionTest.php               |  4 ++--
 tests/Predis/Consumer/PubSub/ConsumerTest.php                  |  2 +-
 tests/Predis/Consumer/Push/ConsumerTest.php                    |  2 +-
 tests/Predis/Protocol/Parser/ParserStrategyResolverTest.php    |  2 +-
 tests/Predis/Protocol/Parser/Strategy/Resp2StrategyTest.php    |  2 +-
 tests/Predis/Protocol/Parser/Strategy/Resp3StrategyTest.php    |  6 +++---
 .../Transaction/Strategy/ClusterConnectionStrategyTest.php     |  5 +++++
 184 files changed, 283 insertions(+), 278 deletions(-)

diff --git a/tests/Predis/Command/Argument/Search/AggregateArgumentsTest.php b/tests/Predis/Command/Argument/Search/AggregateArgumentsTest.php
index 12cbd83..8697127 100644
--- a/tests/Predis/Command/Argument/Search/AggregateArgumentsTest.php
+++ b/tests/Predis/Command/Argument/Search/AggregateArgumentsTest.php
@@ -101,7 +101,7 @@ class AggregateArgumentsTest extends TestCase
         $this->assertSame($expectedResponse, $this->arguments->toArray());
     }
 
-    public function loadProvider(): array
+    public static function loadProvider(): array
     {
         return [
             'with given fields' => [
@@ -115,7 +115,7 @@ class AggregateArgumentsTest extends TestCase
         ];
     }
 
-    public function reduceProvider(): array
+    public static function reduceProvider(): array
     {
         return [
             'without aliases' => [
@@ -129,7 +129,7 @@ class AggregateArgumentsTest extends TestCase
         ];
     }
 
-    public function sortByProvider(): array
+    public static function sortByProvider(): array
     {
         return [
             'without sorting direction and max value' => [
@@ -151,7 +151,7 @@ class AggregateArgumentsTest extends TestCase
         ];
     }
 
-    public function applyProvider(): array
+    public static function applyProvider(): array
     {
         return [
             'with default arguments' => [
@@ -165,7 +165,7 @@ class AggregateArgumentsTest extends TestCase
         ];
     }
 
-    public function withCursorProvider(): array
+    public static function withCursorProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/GeoFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/GeoFieldTest.php
index f8a455d..df180b2 100644
--- a/tests/Predis/Command/Argument/Search/SchemaFields/GeoFieldTest.php
+++ b/tests/Predis/Command/Argument/Search/SchemaFields/GeoFieldTest.php
@@ -29,7 +29,7 @@ class GeoFieldTest extends TestCase
         $this->assertSame($expectedSchema, (new GeoField(...$arguments))->toArray());
     }
 
-    public function geoFieldsProvider(): array
+    public static function geoFieldsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php
index 003e70f..a9a6597 100644
--- a/tests/Predis/Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php
+++ b/tests/Predis/Command/Argument/Search/SchemaFields/GeoShapeFieldTest.php
@@ -29,7 +29,7 @@ class GeoShapeFieldTest extends TestCase
         $this->assertSame($expectedSchema, (new GeoShapeField(...$arguments))->toArray());
     }
 
-    public function geoFieldsProvider(): array
+    public static function geoFieldsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/NumericFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/NumericFieldTest.php
index 68c1a09..2fdd2b4 100644
--- a/tests/Predis/Command/Argument/Search/SchemaFields/NumericFieldTest.php
+++ b/tests/Predis/Command/Argument/Search/SchemaFields/NumericFieldTest.php
@@ -29,7 +29,7 @@ class NumericFieldTest extends TestCase
         $this->assertSame($expectedSchema, (new NumericField(...$arguments))->toArray());
     }
 
-    public function numericFieldsProvider(): array
+    public static function numericFieldsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/TagFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/TagFieldTest.php
index 7790f46..ce03409 100644
--- a/tests/Predis/Command/Argument/Search/SchemaFields/TagFieldTest.php
+++ b/tests/Predis/Command/Argument/Search/SchemaFields/TagFieldTest.php
@@ -29,7 +29,7 @@ class TagFieldTest extends TestCase
         $this->assertSame($expectedSchema, (new TagField(...$arguments))->toArray());
     }
 
-    public function tagFieldsProvider(): array
+    public static function tagFieldsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Argument/Search/SchemaFields/TextFieldTest.php b/tests/Predis/Command/Argument/Search/SchemaFields/TextFieldTest.php
index bbb34d3..282f277 100644
--- a/tests/Predis/Command/Argument/Search/SchemaFields/TextFieldTest.php
+++ b/tests/Predis/Command/Argument/Search/SchemaFields/TextFieldTest.php
@@ -29,7 +29,7 @@ class TextFieldTest extends TestCase
         $this->assertSame($expectedSchema, (new TextField(...$arguments))->toArray());
     }
 
-    public function textFieldsProvider(): array
+    public static function textFieldsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Argument/Search/SearchArgumentsTest.php b/tests/Predis/Command/Argument/Search/SearchArgumentsTest.php
index 937b7e9..8326d21 100644
--- a/tests/Predis/Command/Argument/Search/SearchArgumentsTest.php
+++ b/tests/Predis/Command/Argument/Search/SearchArgumentsTest.php
@@ -225,7 +225,7 @@ class SearchArgumentsTest extends TestCase
         );
     }
 
-    public function sortByProvider(): array
+    public static function sortByProvider(): array
     {
         return [
             'with default arguments' => [
@@ -239,7 +239,7 @@ class SearchArgumentsTest extends TestCase
         ];
     }
 
-    public function summarizeProvider(): array
+    public static function summarizeProvider(): array
     {
         return [
             'with no arguments' => [
@@ -269,7 +269,7 @@ class SearchArgumentsTest extends TestCase
         ];
     }
 
-    public function highlightProvider(): array
+    public static function highlightProvider(): array
     {
         return [
             'with no arguments' => [
diff --git a/tests/Predis/Command/Argument/Search/SpellcheckArgumentsTest.php b/tests/Predis/Command/Argument/Search/SpellcheckArgumentsTest.php
index 7fcd8c0..9d396fa 100644
--- a/tests/Predis/Command/Argument/Search/SpellcheckArgumentsTest.php
+++ b/tests/Predis/Command/Argument/Search/SpellcheckArgumentsTest.php
@@ -61,7 +61,7 @@ class SpellcheckArgumentsTest extends TestCase
         $this->arguments->terms('dict', 'wrong');
     }
 
-    public function termsProvider(): array
+    public static function termsProvider(): array
     {
         return [
             'with INCLUDE modifier' => [
diff --git a/tests/Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php b/tests/Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php
index 4326ce9..7864fa4 100644
--- a/tests/Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php
+++ b/tests/Predis/Command/Argument/TimeSeries/RangeArgumentsTest.php
@@ -69,7 +69,7 @@ class RangeArgumentsTest extends TestCase
         $this->assertSame($expectedResponse, $this->arguments->toArray());
     }
 
-    public function aggregatorProvider(): array
+    public static function aggregatorProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/CommandTest.php b/tests/Predis/Command/CommandTest.php
index bb2e7d7..72679f4 100644
--- a/tests/Predis/Command/CommandTest.php
+++ b/tests/Predis/Command/CommandTest.php
@@ -222,7 +222,7 @@ class CommandTest extends PredisTestCase
         Command::deserializeCommand('foobar');
     }
 
-    public function deserializeCommandProvider(): array
+    public static function deserializeCommandProvider(): array
     {
         return [
             'GET' => [
diff --git a/tests/Predis/Command/Container/ContainerFactoryTest.php b/tests/Predis/Command/Container/ContainerFactoryTest.php
index 3842951..2bae177 100644
--- a/tests/Predis/Command/Container/ContainerFactoryTest.php
+++ b/tests/Predis/Command/Container/ContainerFactoryTest.php
@@ -70,7 +70,7 @@ class ContainerFactoryTest extends TestCase
         $this->factory::create($this->mockClient, $containerCommandId);
     }
 
-    public function containerProvider(): array
+    public static function containerProvider(): array
     {
         return [
             'core command' => ['function', FUNCTIONS::class],
@@ -78,7 +78,7 @@ class ContainerFactoryTest extends TestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'not supported module container command' => ['ftfoobar', 'Given module container command is not supported.'],
diff --git a/tests/Predis/Command/PrefixableCommandTest.php b/tests/Predis/Command/PrefixableCommandTest.php
index d858f48..0d61f0b 100644
--- a/tests/Predis/Command/PrefixableCommandTest.php
+++ b/tests/Predis/Command/PrefixableCommandTest.php
@@ -116,7 +116,7 @@ class PrefixableCommandTest extends PredisTestCase
         $this->assertSame($expectedArguments, $this->testClass->getArguments());
     }
 
-    public function interleavedArgumentsProvider(): array
+    public static function interleavedArgumentsProvider(): array
     {
         return [
             'with empty arguments' => [
@@ -130,7 +130,7 @@ class PrefixableCommandTest extends PredisTestCase
         ];
     }
 
-    public function skippingLastArgumentsProvider(): array
+    public static function skippingLastArgumentsProvider(): array
     {
         return [
             'with empty arguments' => [
@@ -144,7 +144,7 @@ class PrefixableCommandTest extends PredisTestCase
         ];
     }
 
-    public function skippingFirstArgumentsProvider(): array
+    public static function skippingFirstArgumentsProvider(): array
     {
         return [
             'with empty arguments' => [
diff --git a/tests/Predis/Command/RawCommandTest.php b/tests/Predis/Command/RawCommandTest.php
index c9f55af..1b9051c 100644
--- a/tests/Predis/Command/RawCommandTest.php
+++ b/tests/Predis/Command/RawCommandTest.php
@@ -191,7 +191,7 @@ class RawCommandTest extends PredisTestCase
         RawCommand::deserializeCommand('foobar');
     }
 
-    public function deserializeCommandProvider(): array
+    public static function deserializeCommandProvider(): array
     {
         return [
             'GET' => [
diff --git a/tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php b/tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php
index 5efa954..dcd49dd 100644
--- a/tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php
+++ b/tests/Predis/Command/Redis/AbstractCommand/BZPOPBaseTest.php
@@ -54,7 +54,7 @@ class BZPOPBaseTest extends PredisTestCase
         $this->assertSame($expectedResponse, $this->testCommand->parseResponse($actualResponse));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with one key' => [
@@ -68,7 +68,7 @@ class BZPOPBaseTest extends PredisTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'null-element array' => [
diff --git a/tests/Predis/Command/Redis/BITFIELD_RO_Test.php b/tests/Predis/Command/Redis/BITFIELD_RO_Test.php
index 25563fe..ad35abe 100644
--- a/tests/Predis/Command/Redis/BITFIELD_RO_Test.php
+++ b/tests/Predis/Command/Redis/BITFIELD_RO_Test.php
@@ -56,7 +56,7 @@ class BITFIELD_RO_Test extends PredisCommandTestCase
         $this->assertSame([6, 98], $redis->bitfield_ro('foo', ['u4' => 0, 'i8' => 0]));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/BLMOVE_Test.php b/tests/Predis/Command/Redis/BLMOVE_Test.php
index f9d578f..8a53a8d 100644
--- a/tests/Predis/Command/Redis/BLMOVE_Test.php
+++ b/tests/Predis/Command/Redis/BLMOVE_Test.php
@@ -175,7 +175,7 @@ class BLMOVE_Test extends PredisCommandTestCase
         $redis->blmove('foo', 'test-lmove', 'LEFT', 'LEFT', 0);
     }
 
-    public function listsProvider(): array
+    public static function listsProvider(): array
     {
         return [
             'move first element from list into head of another list' => [
@@ -217,7 +217,7 @@ class BLMOVE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sameListProvider(): array
+    public static function sameListProvider(): array
     {
         return [
             'list rotation - head into tail' => [
diff --git a/tests/Predis/Command/Redis/BLMPOP_Test.php b/tests/Predis/Command/Redis/BLMPOP_Test.php
index 064b700..69a8e10 100644
--- a/tests/Predis/Command/Redis/BLMPOP_Test.php
+++ b/tests/Predis/Command/Redis/BLMPOP_Test.php
@@ -106,7 +106,7 @@ class BLMPOP_Test extends PredisCommandTestCase
         $this->assertSame(['elem2', 'elem1'], $redis->lrange('key', 0, -1));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -128,7 +128,7 @@ class BLMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function listProvider(): array
+    public static function listProvider(): array
     {
         return [
             'pops single element - left' => [
diff --git a/tests/Predis/Command/Redis/BZMPOP_Test.php b/tests/Predis/Command/Redis/BZMPOP_Test.php
index 8e62cf3..7f8c400 100644
--- a/tests/Predis/Command/Redis/BZMPOP_Test.php
+++ b/tests/Predis/Command/Redis/BZMPOP_Test.php
@@ -142,7 +142,7 @@ class BZMPOP_Test extends PredisCommandTestCase
         $redis->bzmpop(1, ['bzmpop_foo']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with one key' => [
@@ -156,7 +156,7 @@ class BZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'null-element array' => [
@@ -170,7 +170,7 @@ class BZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with MIN modifier' => [
@@ -203,7 +203,7 @@ class BZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'wrong modifier' => [
diff --git a/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php
index e2d1208..bcdf00a 100644
--- a/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php
+++ b/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php
@@ -151,7 +151,7 @@ class BFINFO_Test extends PredisCommandTestCase
         $redis->bfinfo('binfo_foo');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'without argument' => [
@@ -185,7 +185,7 @@ class BFINFO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'with one modifier' => [
@@ -216,7 +216,7 @@ class BFINFO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function filtersProvider(): array
+    public static function filtersProvider(): array
     {
         return [
             'without modifier' => [
diff --git a/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php
index 984a0fc..d28f54d 100644
--- a/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php
+++ b/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php
@@ -205,7 +205,7 @@ class BFINSERT_Test extends PredisCommandTestCase
         $redis->bfinsert(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -239,7 +239,7 @@ class BFINSERT_Test extends PredisCommandTestCase
         ];
     }
 
-    public function filtersProvider(): array
+    public static function filtersProvider(): array
     {
         return [
             'with default filter' => [
@@ -305,7 +305,7 @@ class BFINSERT_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong CAPACITY' => [
diff --git a/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php b/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php
index d216329..24da143 100644
--- a/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php
+++ b/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php
@@ -147,7 +147,7 @@ class BFRESERVE_Test extends PredisCommandTestCase
         $redis->bfreserve('bfreserve_foo', 0.01, 2);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -169,7 +169,7 @@ class BFRESERVE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function filtersProvider(): array
+    public static function filtersProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/CLIENT_Test.php b/tests/Predis/Command/Redis/CLIENT_Test.php
index 533daa8..1ca25da 100644
--- a/tests/Predis/Command/Redis/CLIENT_Test.php
+++ b/tests/Predis/Command/Redis/CLIENT_Test.php
@@ -281,7 +281,7 @@ BUFFER;
     /**
      * @return array
      */
-    public function invalidConnectionNameProvider()
+    public static function invalidConnectionNameProvider()
     {
         return [
             ['foo space'],
@@ -330,7 +330,7 @@ BUFFER;
         $this->assertSame(0, $redis->client->kill('MAXAGE', 100));
     }
 
-    public function listArgumentsProvider(): array
+    public static function listArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -348,7 +348,7 @@ BUFFER;
         ];
     }
 
-    public function noTouchArgumentsProvider(): array
+    public static function noTouchArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -366,7 +366,7 @@ BUFFER;
         ];
     }
 
-    public function setInfoArgumentsProvider(): array
+    public static function setInfoArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/COPY_Test.php b/tests/Predis/Command/Redis/COPY_Test.php
index 5e1d4c6..69c94ad 100644
--- a/tests/Predis/Command/Redis/COPY_Test.php
+++ b/tests/Predis/Command/Redis/COPY_Test.php
@@ -137,7 +137,7 @@ class COPY_Test extends PredisCommandTestCase
         $this->assertSame('value', $redis->get('destination'));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php
index 892a74d..5cb5637 100644
--- a/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php
+++ b/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php
@@ -136,7 +136,7 @@ class CMSINCRBY_Test extends PredisCommandTestCase
         $redis->cmsincrby('cmsincrby_foo', 'item1', 1);
     }
 
-    public function sketchesProvider(): array
+    public static function sketchesProvider(): array
     {
         return [
             'with single item' => [
diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php
index bda9032..5961371 100644
--- a/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php
+++ b/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php
@@ -185,7 +185,7 @@ class CMSMERGE_Test extends PredisCommandTestCase
         $redis->cmsmerge('destination', ['source1', 'source2']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -203,7 +203,7 @@ class CMSMERGE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sketchesProvider(): array
+    public static function sketchesProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php
index 4b63d9d..a90c5fe 100644
--- a/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php
+++ b/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php
@@ -128,7 +128,7 @@ class CMSQUERY_Test extends PredisCommandTestCase
         $redis->cmsquery('cmsquery_foo', 'item1');
     }
 
-    public function sketchesProvider(): array
+    public static function sketchesProvider(): array
     {
         return [
             'with single item' => [
diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php
index 1ab90cf..d34b843 100644
--- a/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php
+++ b/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php
@@ -144,7 +144,7 @@ class CFINFO_Test extends PredisCommandTestCase
         $redis->cfinfo('non_existing_key');
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'with one modifier' => [
diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php
index 4be3705..e9f5f5d 100644
--- a/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php
+++ b/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php
@@ -158,7 +158,7 @@ class CFINSERTNX_Test extends PredisCommandTestCase
         $this->assertSame([1], $actualResponse);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -180,7 +180,7 @@ class CFINSERTNX_Test extends PredisCommandTestCase
         ];
     }
 
-    public function filtersProvider(): array
+    public static function filtersProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php
index 9b8e89b..50af669 100644
--- a/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php
+++ b/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php
@@ -180,7 +180,7 @@ class CFINSERT_Test extends PredisCommandTestCase
         $redis->cfinsert('key', -1, 'wrong', 'item');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -202,7 +202,7 @@ class CFINSERT_Test extends PredisCommandTestCase
         ];
     }
 
-    public function filtersProvider(): array
+    public static function filtersProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php b/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php
index 55dbf1e..a7587c1 100644
--- a/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php
+++ b/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php
@@ -135,7 +135,7 @@ class CFRESERVE_Test extends PredisCommandTestCase
         $redis->cfreserve('cfreserve_foo', 500);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -161,7 +161,7 @@ class CFRESERVE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function filtersProvider(): array
+    public static function filtersProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/EVALSHA_RO_Test.php b/tests/Predis/Command/Redis/EVALSHA_RO_Test.php
index 79b235c..411e665 100644
--- a/tests/Predis/Command/Redis/EVALSHA_RO_Test.php
+++ b/tests/Predis/Command/Redis/EVALSHA_RO_Test.php
@@ -112,7 +112,7 @@ class EVALSHA_RO_Test extends PredisCommandTestCase
         $redis->evalsha_ro($sha1, ['key'], 'value');
     }
 
-    public function scriptsProvider(): array
+    public static function scriptsProvider(): array
     {
         return [
             'with required arguments' => [
diff --git a/tests/Predis/Command/Redis/EVAL_RO_Test.php b/tests/Predis/Command/Redis/EVAL_RO_Test.php
index e67f90d..98659f8 100644
--- a/tests/Predis/Command/Redis/EVAL_RO_Test.php
+++ b/tests/Predis/Command/Redis/EVAL_RO_Test.php
@@ -112,7 +112,7 @@ class EVAL_RO_Test extends PredisCommandTestCase
         $redis->eval_ro("return redis.call('SET', KEYS[1], ARGV[1])", ['key'], 'value');
     }
 
-    public function scriptsProvider(): array
+    public static function scriptsProvider(): array
     {
         return [
             'with single key' => [
diff --git a/tests/Predis/Command/Redis/EXPIREAT_Test.php b/tests/Predis/Command/Redis/EXPIREAT_Test.php
index f51ae8e..16a1b8e 100644
--- a/tests/Predis/Command/Redis/EXPIREAT_Test.php
+++ b/tests/Predis/Command/Redis/EXPIREAT_Test.php
@@ -161,7 +161,7 @@ class EXPIREAT_Test extends PredisCommandTestCase
         $this->assertSame(0, $redis->exists('foo'));
     }
 
-    public function keysProvider(): array
+    public static function keysProvider(): array
     {
         return [
             'only if key has no expiry' => [
diff --git a/tests/Predis/Command/Redis/EXPIRE_Test.php b/tests/Predis/Command/Redis/EXPIRE_Test.php
index bd78a67..0092cf8 100644
--- a/tests/Predis/Command/Redis/EXPIRE_Test.php
+++ b/tests/Predis/Command/Redis/EXPIRE_Test.php
@@ -157,7 +157,7 @@ class EXPIRE_Test extends PredisCommandTestCase
         $this->assertSame(0, $redis->exists('foo'));
     }
 
-    public function keysProvider(): array
+    public static function keysProvider(): array
     {
         return [
             'only if key has no expiry' => [
diff --git a/tests/Predis/Command/Redis/FAILOVER_Test.php b/tests/Predis/Command/Redis/FAILOVER_Test.php
index ca9a09a..96517ad 100644
--- a/tests/Predis/Command/Redis/FAILOVER_Test.php
+++ b/tests/Predis/Command/Redis/FAILOVER_Test.php
@@ -81,7 +81,7 @@ class FAILOVER_Test extends PredisCommandTestCase
         $redis->failover(null, false, 0);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'without optional arguments - no arguments' => [
diff --git a/tests/Predis/Command/Redis/FCALL_RO_Test.php b/tests/Predis/Command/Redis/FCALL_RO_Test.php
index 0e2cc0f..b8da0a3 100644
--- a/tests/Predis/Command/Redis/FCALL_RO_Test.php
+++ b/tests/Predis/Command/Redis/FCALL_RO_Test.php
@@ -146,7 +146,7 @@ class FCALL_RO_Test extends PredisCommandTestCase
         }
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/FCALL_Test.php b/tests/Predis/Command/Redis/FCALL_Test.php
index 0cd7e60..54f7d27 100644
--- a/tests/Predis/Command/Redis/FCALL_Test.php
+++ b/tests/Predis/Command/Redis/FCALL_Test.php
@@ -133,7 +133,7 @@ class FCALL_Test extends PredisCommandTestCase
         $redis->fcall('function', []);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -151,7 +151,7 @@ class FCALL_Test extends PredisCommandTestCase
         ];
     }
 
-    public function functionsProvider(): array
+    public static function functionsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/FUNCTIONS_Test.php b/tests/Predis/Command/Redis/FUNCTIONS_Test.php
index 8639f04..7f36d9a 100644
--- a/tests/Predis/Command/Redis/FUNCTIONS_Test.php
+++ b/tests/Predis/Command/Redis/FUNCTIONS_Test.php
@@ -404,7 +404,7 @@ class FUNCTIONS_Test extends PredisCommandTestCase
         $redis->function->kill();
     }
 
-    public function flushArgumentsProvider(): array
+    public static function flushArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -418,7 +418,7 @@ class FUNCTIONS_Test extends PredisCommandTestCase
         ];
     }
 
-    public function restoreArgumentsProvider(): array
+    public static function restoreArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -432,7 +432,7 @@ class FUNCTIONS_Test extends PredisCommandTestCase
         ];
     }
 
-    public function listArgumentsProvider(): array
+    public static function listArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php b/tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php
index bf3a1b4..268fb15 100644
--- a/tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php
+++ b/tests/Predis/Command/Redis/GEORADIUSBYMEMBER_Test.php
@@ -198,7 +198,7 @@ class GEORADIUSBYMEMBER_Test extends PredisCommandTestCase
         $redis->georadiusbymember('Sicily', 'Agrigento', 200, 'km');
     }
 
-    public function prefixKeysProvider(): array
+    public static function prefixKeysProvider(): array
     {
         return [
             'with empty arguments' => [
diff --git a/tests/Predis/Command/Redis/GEORADIUS_Test.php b/tests/Predis/Command/Redis/GEORADIUS_Test.php
index f799232..a4c0bea 100644
--- a/tests/Predis/Command/Redis/GEORADIUS_Test.php
+++ b/tests/Predis/Command/Redis/GEORADIUS_Test.php
@@ -200,7 +200,7 @@ class GEORADIUS_Test extends PredisCommandTestCase
         $redis->georadius('Sicily', 15, 37, 200, 'km');
     }
 
-    public function prefixKeysProvider(): array
+    public static function prefixKeysProvider(): array
     {
         return [
             'with empty arguments' => [
diff --git a/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php b/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php
index aca6029..1d289ea 100644
--- a/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php
+++ b/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php
@@ -189,7 +189,7 @@ class GEOSEARCHSTORE_Test extends PredisCommandTestCase
         $redis->geosearchstore(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments - FROMLONLAT, BYRADIUS' => [
@@ -227,7 +227,7 @@ class GEOSEARCHSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function coordinatesProvider(): array
+    public static function coordinatesProvider(): array
     {
         return [
             'with default arguments - FROMLONLAT, BYRADIUS - all members' => [
@@ -359,7 +359,7 @@ class GEOSEARCHSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong FROM argument' => [
diff --git a/tests/Predis/Command/Redis/GEOSEARCH_Test.php b/tests/Predis/Command/Redis/GEOSEARCH_Test.php
index 04f756d..f637bee 100644
--- a/tests/Predis/Command/Redis/GEOSEARCH_Test.php
+++ b/tests/Predis/Command/Redis/GEOSEARCH_Test.php
@@ -174,7 +174,7 @@ class GEOSEARCH_Test extends PredisCommandTestCase
         $redis->geosearch(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments - FROMLONLAT, BYRADIUS' => [
@@ -220,7 +220,7 @@ class GEOSEARCH_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'without WITH modifiers' => [
@@ -280,7 +280,7 @@ class GEOSEARCH_Test extends PredisCommandTestCase
         ];
     }
 
-    public function coordinatesProvider(): array
+    public static function coordinatesProvider(): array
     {
         return [
             'with default arguments - FROMLONLAT, BYRADIUS - all members' => [
@@ -485,7 +485,7 @@ class GEOSEARCH_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong FROM argument' => [
diff --git a/tests/Predis/Command/Redis/GETEX_Test.php b/tests/Predis/Command/Redis/GETEX_Test.php
index 65f955a..0a09749 100644
--- a/tests/Predis/Command/Redis/GETEX_Test.php
+++ b/tests/Predis/Command/Redis/GETEX_Test.php
@@ -113,7 +113,7 @@ class GETEX_Test extends PredisCommandTestCase
         $redis->getex(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -143,7 +143,7 @@ class GETEX_Test extends PredisCommandTestCase
         ];
     }
 
-    public function keysProvider(): array
+    public static function keysProvider(): array
     {
         return [
             'without expiration time' => [
@@ -179,7 +179,7 @@ class GETEX_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong modifier' => [
diff --git a/tests/Predis/Command/Redis/HEXPIREAT_Test.php b/tests/Predis/Command/Redis/HEXPIREAT_Test.php
index b2b6c66..ce533cf 100644
--- a/tests/Predis/Command/Redis/HEXPIREAT_Test.php
+++ b/tests/Predis/Command/Redis/HEXPIREAT_Test.php
@@ -111,7 +111,7 @@ class HEXPIREAT_Test extends PredisCommandTestCase
         $this->assertSame([-2, -2], $redis->hexpireat('wrongkey', time() + 2, ['field1', 'field2']));
     }
 
-    public function hashProvider(): array
+    public static function hashProvider(): array
     {
         return [
             'with all fields expired' => [
@@ -135,7 +135,7 @@ class HEXPIREAT_Test extends PredisCommandTestCase
         ];
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with specified fields' => [
diff --git a/tests/Predis/Command/Redis/HEXPIRE_Test.php b/tests/Predis/Command/Redis/HEXPIRE_Test.php
index 628d668..abb13ec 100644
--- a/tests/Predis/Command/Redis/HEXPIRE_Test.php
+++ b/tests/Predis/Command/Redis/HEXPIRE_Test.php
@@ -109,7 +109,7 @@ class HEXPIRE_Test extends PredisCommandTestCase
         $this->assertSame([-2, -2], $redis->hexpire('wrongkey', 2, ['field1', 'field2']));
     }
 
-    public function hashProvider(): array
+    public static function hashProvider(): array
     {
         return [
             'with all fields expired' => [
@@ -133,7 +133,7 @@ class HEXPIRE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with specified fields' => [
diff --git a/tests/Predis/Command/Redis/HGETEX_Test.php b/tests/Predis/Command/Redis/HGETEX_Test.php
index 8545397..e2a6353 100644
--- a/tests/Predis/Command/Redis/HGETEX_Test.php
+++ b/tests/Predis/Command/Redis/HGETEX_Test.php
@@ -117,7 +117,7 @@ class HGETEX_Test extends PredisCommandTestCase
         $redis->hgetex(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -147,7 +147,7 @@ class HGETEX_Test extends PredisCommandTestCase
         ];
     }
 
-    public function hashProvider(): array
+    public static function hashProvider(): array
     {
         return [
             'with expiration - EX modifier' => [
@@ -177,7 +177,7 @@ class HGETEX_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong modifier' => [
diff --git a/tests/Predis/Command/Redis/HPEXPIREAT_Test.php b/tests/Predis/Command/Redis/HPEXPIREAT_Test.php
index b3e1227..4fbe569 100644
--- a/tests/Predis/Command/Redis/HPEXPIREAT_Test.php
+++ b/tests/Predis/Command/Redis/HPEXPIREAT_Test.php
@@ -111,7 +111,7 @@ class HPEXPIREAT_Test extends PredisCommandTestCase
         $this->assertSame([-2, -2], $redis->hpexpireat('wrongkey', (time() + 2) * 1000, ['field1', 'field2']));
     }
 
-    public function hashProvider(): array
+    public static function hashProvider(): array
     {
         return [
             'with all fields expired' => [
@@ -135,7 +135,7 @@ class HPEXPIREAT_Test extends PredisCommandTestCase
         ];
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with specified fields' => [
diff --git a/tests/Predis/Command/Redis/HPEXPIRE_Test.php b/tests/Predis/Command/Redis/HPEXPIRE_Test.php
index 9bd0aec..298f711 100644
--- a/tests/Predis/Command/Redis/HPEXPIRE_Test.php
+++ b/tests/Predis/Command/Redis/HPEXPIRE_Test.php
@@ -110,7 +110,7 @@ class HPEXPIRE_Test extends PredisCommandTestCase
         $this->assertSame([-2, -2], $redis->hpexpire('wrongkey', 200, ['field1', 'field2']));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with specified fields' => [
@@ -128,7 +128,7 @@ class HPEXPIRE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function hashProvider(): array
+    public static function hashProvider(): array
     {
         return [
             'with all fields expired' => [
diff --git a/tests/Predis/Command/Redis/HRANDFIELD_Test.php b/tests/Predis/Command/Redis/HRANDFIELD_Test.php
index d24a627..7228a71 100644
--- a/tests/Predis/Command/Redis/HRANDFIELD_Test.php
+++ b/tests/Predis/Command/Redis/HRANDFIELD_Test.php
@@ -111,7 +111,7 @@ class HRANDFIELD_Test extends PredisCommandTestCase
         $redis->hrandfield('foo');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -129,7 +129,7 @@ class HRANDFIELD_Test extends PredisCommandTestCase
         ];
     }
 
-    public function hashesProvider(): array
+    public static function hashesProvider(): array
     {
         return [
             'one field - without values' => [
diff --git a/tests/Predis/Command/Redis/HSETEX_Test.php b/tests/Predis/Command/Redis/HSETEX_Test.php
index ab466b2..c80abff 100644
--- a/tests/Predis/Command/Redis/HSETEX_Test.php
+++ b/tests/Predis/Command/Redis/HSETEX_Test.php
@@ -164,7 +164,7 @@ class HSETEX_Test extends PredisCommandTestCase
         $redis->hsetex(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -206,7 +206,7 @@ class HSETEX_Test extends PredisCommandTestCase
         ];
     }
 
-    public function hashProvider(): array
+    public static function hashProvider(): array
     {
         return [
             'with EX modifier' => [
@@ -237,7 +237,7 @@ class HSETEX_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong set modifier' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php b/tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php
index 9597f4d..0eaa146 100644
--- a/tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONARRAPPEND_Test.php
@@ -124,7 +124,7 @@ class JSONARRAPPEND_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":"value1","key2":["value1","value2","value3"]}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'append single item' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php b/tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php
index 8f990d0..9c75565 100644
--- a/tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONARRINDEX_Test.php
@@ -118,7 +118,7 @@ class JSONARRINDEX_Test extends PredisCommandTestCase
         $this->assertSame([1], $redis->jsonarrindex('key', '$.key2', '"value2"'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php b/tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php
index 11ccdb7..0309c40 100644
--- a/tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONARRINSERT_Test.php
@@ -126,7 +126,7 @@ class JSONARRINSERT_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":"value1","key2":["value1","value2","value3"]}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php b/tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php
index 967f184..47158e7 100644
--- a/tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONARRLEN_Test.php
@@ -114,7 +114,7 @@ class JSONARRLEN_Test extends PredisCommandTestCase
         $this->assertSame([2], $redis->jsonarrlen('key', '$.key2'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php b/tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php
index db93bfb..0f52b03 100644
--- a/tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONARRPOP_Test.php
@@ -122,7 +122,7 @@ class JSONARRPOP_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":"value1","key2":["value1"]}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'removes last element' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php b/tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php
index 7ce0c8f..bb0f878 100644
--- a/tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONARRTRIM_Test.php
@@ -124,7 +124,7 @@ class JSONARRTRIM_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":"value1","key2":[2,3,4,5]}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'trim array from start to stop' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php b/tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php
index fc480f2..e241199 100644
--- a/tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONCLEAR_Test.php
@@ -120,7 +120,7 @@ class JSONCLEAR_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":"value1","key2":[]}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'with array values' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php b/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php
index f185460..df447ef 100644
--- a/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php
@@ -106,7 +106,7 @@ class JSONDEBUG_Test extends PredisCommandTestCase
         $this->assertStringContainsString('HELP', $actualResponse[1]);
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONDEL_Test.php b/tests/Predis/Command/Redis/Json/JSONDEL_Test.php
index d065b5d..3f21ecc 100644
--- a/tests/Predis/Command/Redis/Json/JSONDEL_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONDEL_Test.php
@@ -120,7 +120,7 @@ class JSONDEL_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":"value1"}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'without nested level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONFORGET_Test.php b/tests/Predis/Command/Redis/Json/JSONFORGET_Test.php
index e68460e..deecf9e 100644
--- a/tests/Predis/Command/Redis/Json/JSONFORGET_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONFORGET_Test.php
@@ -120,7 +120,7 @@ class JSONFORGET_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":"value1"}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'without nested level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONGET_Test.php b/tests/Predis/Command/Redis/Json/JSONGET_Test.php
index 016aa88..4426184 100644
--- a/tests/Predis/Command/Redis/Json/JSONGET_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONGET_Test.php
@@ -154,7 +154,7 @@ class JSONGET_Test extends PredisCommandTestCase
         $redis->jsonget(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -184,7 +184,7 @@ class JSONGET_Test extends PredisCommandTestCase
         ];
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'with key only' => [
@@ -230,7 +230,7 @@ class JSONGET_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong INDENT modifier' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php b/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php
index 8858b39..bd6e3ae 100644
--- a/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php
@@ -94,7 +94,7 @@ class JSONMERGE_Test extends PredisCommandTestCase
         $this->assertEquals($expectedResponse, $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'create non-existing value' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONMGET_Test.php b/tests/Predis/Command/Redis/Json/JSONMGET_Test.php
index a72d9c6..55f72a9 100644
--- a/tests/Predis/Command/Redis/Json/JSONMGET_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONMGET_Test.php
@@ -118,7 +118,7 @@ class JSONMGET_Test extends PredisCommandTestCase
         $this->assertSame(['["value1"]', '["value3"]'], $redis->jsonmget(['key1', 'key2'], '$.key1'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'with both existing paths' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php b/tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php
index eee4064..22e7db6 100644
--- a/tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONNUMINCRBY_Test.php
@@ -116,7 +116,7 @@ class JSONNUMINCRBY_Test extends PredisCommandTestCase
         $this->assertSame([2], $redis->jsonnumincrby('key', '$.key2', 1));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php b/tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php
index b1761b8..1a7c8f2 100644
--- a/tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONOBJKEYS_Test.php
@@ -114,7 +114,7 @@ class JSONOBJKEYS_Test extends PredisCommandTestCase
         $this->assertSame(['key1', 'key2'], $redis->jsonobjkeys('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php b/tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php
index f6c06b6..191b63b 100644
--- a/tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONOBJLEN_Test.php
@@ -114,7 +114,7 @@ class JSONOBJLEN_Test extends PredisCommandTestCase
         $this->assertSame(2, $redis->jsonobjlen('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONRESP_Test.php b/tests/Predis/Command/Redis/Json/JSONRESP_Test.php
index f277aa1..1ca5df4 100644
--- a/tests/Predis/Command/Redis/Json/JSONRESP_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONRESP_Test.php
@@ -115,7 +115,7 @@ class JSONRESP_Test extends PredisCommandTestCase
         $this->assertEquals(['value1'], $redis->jsonresp('key', '$.key1'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'with string value' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONSET_Test.php b/tests/Predis/Command/Redis/Json/JSONSET_Test.php
index 01f5cd5..cba0384 100644
--- a/tests/Predis/Command/Redis/Json/JSONSET_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONSET_Test.php
@@ -135,7 +135,7 @@ class JSONSET_Test extends PredisCommandTestCase
         $redis->jsonset('key', '$', 'value', 'wrong');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -153,7 +153,7 @@ class JSONSET_Test extends PredisCommandTestCase
         ];
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'override json' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php b/tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php
index d8d8a3e..76d6b5e 100644
--- a/tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONSTRAPPEND_Test.php
@@ -122,7 +122,7 @@ class JSONSTRAPPEND_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":"value1","key2":"value2foo"}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'appends to json string on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php b/tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php
index 2eb4c9b..59d750b 100644
--- a/tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONSTRLEN_Test.php
@@ -114,7 +114,7 @@ class JSONSTRLEN_Test extends PredisCommandTestCase
         $this->assertSame([6], $redis->jsonstrlen('key', '$.key2'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php b/tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php
index cdb9944..975eb01 100644
--- a/tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONTOGGLE_Test.php
@@ -120,7 +120,7 @@ class JSONTOGGLE_Test extends PredisCommandTestCase
         $this->assertSame('{"key1":false}', $redis->jsonget('key'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'on root level' => [
diff --git a/tests/Predis/Command/Redis/Json/JSONTYPE_Test.php b/tests/Predis/Command/Redis/Json/JSONTYPE_Test.php
index 6e457b0..b9100f0 100644
--- a/tests/Predis/Command/Redis/Json/JSONTYPE_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONTYPE_Test.php
@@ -114,7 +114,7 @@ class JSONTYPE_Test extends PredisCommandTestCase
         $this->assertSame([['string']], $redis->jsontype('key', '$.key1'));
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'with string value' => [
diff --git a/tests/Predis/Command/Redis/LCS_Test.php b/tests/Predis/Command/Redis/LCS_Test.php
index 40e6527..a1fa373 100644
--- a/tests/Predis/Command/Redis/LCS_Test.php
+++ b/tests/Predis/Command/Redis/LCS_Test.php
@@ -90,7 +90,7 @@ class LCS_Test extends PredisCommandTestCase
         $this->assertSame('value', $redis->lcs('key1', 'key2'));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -120,7 +120,7 @@ class LCS_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'non-array response' => [
@@ -134,7 +134,7 @@ class LCS_Test extends PredisCommandTestCase
         ];
     }
 
-    public function stringsProvider(): array
+    public static function stringsProvider(): array
     {
         return [
             'with required arguments' => [
diff --git a/tests/Predis/Command/Redis/LMOVE_Test.php b/tests/Predis/Command/Redis/LMOVE_Test.php
index a47eaa5..b151bbc 100644
--- a/tests/Predis/Command/Redis/LMOVE_Test.php
+++ b/tests/Predis/Command/Redis/LMOVE_Test.php
@@ -191,7 +191,7 @@ class LMOVE_Test extends PredisCommandTestCase
         $redis->lmove('foo', 'test-lmove', 'LEFT', 'LEFT');
     }
 
-    public function listsProvider(): array
+    public static function listsProvider(): array
     {
         return [
             'move first element from list into head of another list' => [
@@ -233,7 +233,7 @@ class LMOVE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sameListProvider(): array
+    public static function sameListProvider(): array
     {
         return [
             'list rotation - head into tail' => [
diff --git a/tests/Predis/Command/Redis/LMPOP_Test.php b/tests/Predis/Command/Redis/LMPOP_Test.php
index 6e31c97..372b0b5 100644
--- a/tests/Predis/Command/Redis/LMPOP_Test.php
+++ b/tests/Predis/Command/Redis/LMPOP_Test.php
@@ -104,7 +104,7 @@ class LMPOP_Test extends PredisCommandTestCase
         $this->assertSame(['elem2', 'elem1'], $redis->lrange('key', 0, -1));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -126,7 +126,7 @@ class LMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function listProvider(): array
+    public static function listProvider(): array
     {
         return [
             'pops single element - left' => [
diff --git a/tests/Predis/Command/Redis/SHUTDOWN_Test.php b/tests/Predis/Command/Redis/SHUTDOWN_Test.php
index 60446eb..eec4b5c 100644
--- a/tests/Predis/Command/Redis/SHUTDOWN_Test.php
+++ b/tests/Predis/Command/Redis/SHUTDOWN_Test.php
@@ -46,7 +46,7 @@ class SHUTDOWN_Test extends PredisCommandTestCase
         $this->assertSame($expectedResponse, $command->getArguments());
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with no arguments' => [
diff --git a/tests/Predis/Command/Redis/SINTERCARD_Test.php b/tests/Predis/Command/Redis/SINTERCARD_Test.php
index e1a78fc..054038c 100644
--- a/tests/Predis/Command/Redis/SINTERCARD_Test.php
+++ b/tests/Predis/Command/Redis/SINTERCARD_Test.php
@@ -134,7 +134,7 @@ class SINTERCARD_Test extends PredisCommandTestCase
         $redis->sintercard(['sintercard']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -152,7 +152,7 @@ class SINTERCARD_Test extends PredisCommandTestCase
         ];
     }
 
-    public function setsProvider(): array
+    public static function setsProvider(): array
     {
         return [
             'with full intersection' => [
@@ -193,7 +193,7 @@ class SINTERCARD_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong keys argument' => [
diff --git a/tests/Predis/Command/Redis/SMISMEMBER_Test.php b/tests/Predis/Command/Redis/SMISMEMBER_Test.php
index 685d18a..0b2a972 100644
--- a/tests/Predis/Command/Redis/SMISMEMBER_Test.php
+++ b/tests/Predis/Command/Redis/SMISMEMBER_Test.php
@@ -130,7 +130,7 @@ class SMISMEMBER_Test extends PredisCommandTestCase
         $redis->sismember('foo', 'member1');
     }
 
-    public function membersProvider(): array
+    public static function membersProvider(): array
     {
         return [
             'with one member - belongs to set' => [
diff --git a/tests/Predis/Command/Redis/SORT_RO_Test.php b/tests/Predis/Command/Redis/SORT_RO_Test.php
index 63331bc..0638d6c 100644
--- a/tests/Predis/Command/Redis/SORT_RO_Test.php
+++ b/tests/Predis/Command/Redis/SORT_RO_Test.php
@@ -136,7 +136,7 @@ class SORT_RO_Test extends PredisCommandTestCase
         $redis->sort_ro(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -174,7 +174,7 @@ class SORT_RO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function listProvider(): array
+    public static function listProvider(): array
     {
         return [
             'without any modifiers' => [
@@ -210,7 +210,7 @@ class SORT_RO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function listsProvider(): array
+    public static function listsProvider(): array
     {
         return [
             'sorted by external keys - returns local keys' => [
@@ -231,7 +231,7 @@ class SORT_RO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'wrong GET argument type' => [
diff --git a/tests/Predis/Command/Redis/SORT_Test.php b/tests/Predis/Command/Redis/SORT_Test.php
index 5573d38..58d9ec1 100644
--- a/tests/Predis/Command/Redis/SORT_Test.php
+++ b/tests/Predis/Command/Redis/SORT_Test.php
@@ -274,7 +274,7 @@ class SORT_Test extends PredisCommandTestCase
         $redis->sort('foo');
     }
 
-    public function prefixKeysProvider(): array
+    public static function prefixKeysProvider(): array
     {
         return [
             'with only argument' => [
diff --git a/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php b/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php
index 7026a94..defc81f 100644
--- a/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php
@@ -189,7 +189,7 @@ class FTAGGREGATE_Test extends PredisCommandTestCase
         $redis->ftaggregate('index', 'query');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTALTER_Test.php b/tests/Predis/Command/Redis/Search/FTALTER_Test.php
index 2f624e9..7f85231 100644
--- a/tests/Predis/Command/Redis/Search/FTALTER_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTALTER_Test.php
@@ -129,7 +129,7 @@ class FTALTER_Test extends PredisCommandTestCase
         $redis->ftalter('alias', [new TextField('field_name')]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTCREATE_Test.php b/tests/Predis/Command/Redis/Search/FTCREATE_Test.php
index 1e19632..9cbe358 100644
--- a/tests/Predis/Command/Redis/Search/FTCREATE_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTCREATE_Test.php
@@ -194,7 +194,7 @@ class FTCREATE_Test extends PredisCommandTestCase
         $this->assertEquals('OK', $actualResponse);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'without arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php b/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php
index 79e70f3..544026e 100644
--- a/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php
@@ -274,7 +274,7 @@ class FTCURSOR_Test extends PredisCommandTestCase
         $redis->ftcursor->del('idx', 21412412);
     }
 
-    public function readArgumentsProvider(): array
+    public static function readArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php b/tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php
index 0515299..684ba44 100644
--- a/tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTDICTDEL_Test.php
@@ -112,7 +112,7 @@ class FTDICTDEL_Test extends PredisCommandTestCase
         $this->assertSame(1, $redis->ftdictdel('dict', 'foo'));
     }
 
-    public function dictionariesProvider(): array
+    public static function dictionariesProvider(): array
     {
         return [
             'removes existing term' => [
diff --git a/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php b/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php
index 9822358..c45bf6a 100644
--- a/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php
@@ -123,7 +123,7 @@ class FTDROPINDEX_Test extends PredisCommandTestCase
         $redis->ftdropindex('index');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php b/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php
index 5949a25..b5375a1 100644
--- a/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php
@@ -237,7 +237,7 @@ EOT;
         $redis->ftexplain('index', 'query');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php b/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php
index b3b1368..6886b80 100644
--- a/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php
@@ -124,7 +124,7 @@ class FTPROFILE_Test extends PredisCommandTestCase
         $redis->ftprofile('index', (new ProfileArguments())->search()->query('query'));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments - SEARCH' => [
@@ -142,7 +142,7 @@ class FTPROFILE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function queryProvider(): array
+    public static function queryProvider(): array
     {
         return [
             'with SEARCH context' => [
diff --git a/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php b/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php
index a30de68..b91d522 100644
--- a/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php
@@ -610,7 +610,7 @@ class FTSEARCH_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with NOCONTENT modifier' => [
diff --git a/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php b/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php
index d3a7d6c..ce610ed 100644
--- a/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php
@@ -174,7 +174,7 @@ class FTSPELLCHECK_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTSUGADD_Test.php b/tests/Predis/Command/Redis/Search/FTSUGADD_Test.php
index be1e3b9..927419d 100644
--- a/tests/Predis/Command/Redis/Search/FTSUGADD_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSUGADD_Test.php
@@ -82,7 +82,7 @@ class FTSUGADD_Test extends PredisCommandTestCase
         $this->assertSame(1, $redis->ftsugadd('key', 'string', 1));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php b/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php
index 7226425..03c5528 100644
--- a/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php
@@ -128,7 +128,7 @@ class FTSUGGET_Test extends PredisCommandTestCase
         $this->assertEmpty($redis->ftsugget('key', 'hel'));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -158,7 +158,7 @@ class FTSUGGET_Test extends PredisCommandTestCase
         ];
     }
 
-    public function suggestionProvider(): array
+    public static function suggestionProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php b/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php
index 2d40b2b..3b2857e 100644
--- a/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php
@@ -164,7 +164,7 @@ class FTSYNUPDATE_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php
index 56e1556..1c9c5cc 100644
--- a/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php
+++ b/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php
@@ -135,7 +135,7 @@ class TDIGESTCREATE_Test extends PredisCommandTestCase
         $redis->tdigestcreate('key');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -153,7 +153,7 @@ class TDIGESTCREATE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sketchesProvider(): array
+    public static function sketchesProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php
index 091a787..6c083b8 100644
--- a/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php
+++ b/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php
@@ -247,7 +247,7 @@ class TDIGESTMERGE_Test extends PredisCommandTestCase
         $redis->tdigestmerge('destination-key', ['source-key1', 'source-key2']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -269,7 +269,7 @@ class TDIGESTMERGE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sketchesProvider(): array
+    public static function sketchesProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php b/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php
index 2010825..52745f3 100644
--- a/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php
+++ b/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php
@@ -153,7 +153,7 @@ class TDIGESTTRIMMED_MEAN_Test extends PredisCommandTestCase
         $redis->tdigesttrimmed_mean('key', 0, 1);
     }
 
-    public function sketchesProvider(): array
+    public static function sketchesProvider(): array
     {
         return [
             'between low and high cut' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php
index da984ea..9404d73 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php
@@ -182,7 +182,7 @@ class TSADD_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php
index 2a66f95..4fcc316 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php
@@ -212,7 +212,7 @@ class TSALTER_Test extends PredisCommandTestCase
         $redis->tsalter('non_existing_key');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php
index d84f9f7..056e5dd 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php
@@ -155,7 +155,7 @@ class TSCREATERULE_Test extends PredisCommandTestCase
         $redis->tscreaterule('temp:TLV', 'dailyAvgTemp:TLV', 'wrong', 86400000);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php
index de3749f..e9db138 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php
@@ -186,7 +186,7 @@ class TSCREATE_Test extends PredisCommandTestCase
         $redis->tsinfo('non_existing_key');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php
index a04a8e8..3123dbd 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php
@@ -240,7 +240,7 @@ class TSDECRBY_Test extends PredisCommandTestCase
         $redis->tsdecrby('temperature:2:32', 27, (new DecrByArguments())->timestamp(123123123122));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php
index db28200..2c6dbc0 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php
@@ -169,7 +169,7 @@ class TSGET_Test extends PredisCommandTestCase
         $redis->tsget('non_existing_key');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php
index db9fc9c..c653eac 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php
@@ -243,7 +243,7 @@ class TSINCRBY_Test extends PredisCommandTestCase
         $redis->tsincrby('temperature:2:32', 27, (new IncrByArguments())->timestamp(123123123122));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php
index ae9c578..87b82cc 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php
@@ -133,7 +133,7 @@ class TSINFO_Test extends PredisCommandTestCase
         $this->assertEqualsWithDelta($expectedResponse, $redis->tsinfo('temperature:2:32'), 1000);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php
index 99e42b2..03f87f7 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSMGET_Test.php
@@ -134,7 +134,7 @@ class TSMGET_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php
index ddf7a54..8f65d4b 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSMRANGE_Test.php
@@ -154,7 +154,7 @@ class TSMRANGE_Test extends PredisCommandTestCase
         $this->assertEquals($expectedResponse, $redis->tsmrange('-', '+', $mrangeArguments));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php
index 9bd8a00..4fbcc4b 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSMREVRANGE_Test.php
@@ -154,7 +154,7 @@ class TSMREVRANGE_Test extends PredisCommandTestCase
         $this->assertEquals($expectedResponse, $redis->tsmrevrange('-', '+', $mrangeArguments));
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php
index f34ffc7..45c80ad 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php
@@ -142,7 +142,7 @@ class TSRANGE_Test extends PredisCommandTestCase
         $redis->tsrange('non_existing_key', 1000, 1000);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php
index 3d40d1a..661cafb 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php
@@ -142,7 +142,7 @@ class TSREVRANGE_Test extends PredisCommandTestCase
         $redis->tsrevrange('non_existing_key', 1000, 1000);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php b/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php
index 2aeba81..a16064f 100644
--- a/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php
+++ b/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php
@@ -131,7 +131,7 @@ class TOPKADD_Test extends PredisCommandTestCase
         $redis->topkadd('key', 0, 1);
     }
 
-    public function structuresProvider(): array
+    public static function structuresProvider(): array
     {
         return [
             'without dropped items' => [
diff --git a/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php b/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php
index ba98f24..04f2b68 100644
--- a/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php
+++ b/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php
@@ -138,7 +138,7 @@ class TOPKLIST_Test extends PredisCommandTestCase
         $redis->topklist('key', true);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default argument' => [
@@ -156,7 +156,7 @@ class TOPKLIST_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'without WITHCOUNT modifier' => [
@@ -172,7 +172,7 @@ class TOPKLIST_Test extends PredisCommandTestCase
         ];
     }
 
-    public function structureProvider(): array
+    public static function structureProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php b/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php
index 4d09a50..f05d5dc 100644
--- a/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php
+++ b/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php
@@ -137,7 +137,7 @@ class TOPKRESERVE_Test extends PredisCommandTestCase
         $redis->topkreserve('key', 50);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -159,7 +159,7 @@ class TOPKRESERVE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function structureProvider(): array
+    public static function structureProvider(): array
     {
         return [
             'with default configuration' => [
diff --git a/tests/Predis/Command/Redis/VADD_Test.php b/tests/Predis/Command/Redis/VADD_Test.php
index 2ac0825..5a3fe52 100644
--- a/tests/Predis/Command/Redis/VADD_Test.php
+++ b/tests/Predis/Command/Redis/VADD_Test.php
@@ -154,7 +154,7 @@ class VADD_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default args - blob string' => [
diff --git a/tests/Predis/Command/Redis/VEMB_Test.php b/tests/Predis/Command/Redis/VEMB_Test.php
index 508e7cf..36ed6b4 100644
--- a/tests/Predis/Command/Redis/VEMB_Test.php
+++ b/tests/Predis/Command/Redis/VEMB_Test.php
@@ -127,7 +127,7 @@ class VEMB_Test extends PredisCommandTestCase
         }
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default args' => [
@@ -141,7 +141,7 @@ class VEMB_Test extends PredisCommandTestCase
         ];
     }
 
-    public function quantisationProvider(): array
+    public static function quantisationProvider(): array
     {
         return [[VADD::QUANT_DEFAULT], [VADD::QUANT_Q8], [VADD::QUANT_BIN], [VADD::QUANT_NOQUANT]];
     }
diff --git a/tests/Predis/Command/Redis/VSIM_Test.php b/tests/Predis/Command/Redis/VSIM_Test.php
index 4547778..4e57f14 100644
--- a/tests/Predis/Command/Redis/VSIM_Test.php
+++ b/tests/Predis/Command/Redis/VSIM_Test.php
@@ -202,7 +202,7 @@ class VSIM_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments - vector as array' => [
diff --git a/tests/Predis/Command/Redis/XADD_Test.php b/tests/Predis/Command/Redis/XADD_Test.php
index 6fc0222..8edbc35 100644
--- a/tests/Predis/Command/Redis/XADD_Test.php
+++ b/tests/Predis/Command/Redis/XADD_Test.php
@@ -49,7 +49,7 @@ class XADD_Test extends PredisCommandTestCase
         $this->assertSame($expectedArguments, $command->getArguments());
     }
 
-    public function dataFilterArguments(): array
+    public static function dataFilterArguments(): array
     {
         $data = [];
         $data[] = [
diff --git a/tests/Predis/Command/Redis/XAUTOCLAIM_Test.php b/tests/Predis/Command/Redis/XAUTOCLAIM_Test.php
index fea6d01..7350bcb 100644
--- a/tests/Predis/Command/Redis/XAUTOCLAIM_Test.php
+++ b/tests/Predis/Command/Redis/XAUTOCLAIM_Test.php
@@ -109,7 +109,7 @@ class XAUTOCLAIM_Test extends PredisCommandTestCase
         $redis->xautoclaim('stream', 'group', 'another_consumer', 0, '0-0');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/XCLAIM_Test.php b/tests/Predis/Command/Redis/XCLAIM_Test.php
index 62900e3..d8b0313 100644
--- a/tests/Predis/Command/Redis/XCLAIM_Test.php
+++ b/tests/Predis/Command/Redis/XCLAIM_Test.php
@@ -135,7 +135,7 @@ class XCLAIM_Test extends PredisCommandTestCase
         $this->assertSame([], $claimed);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/XGROUP_Test.php b/tests/Predis/Command/Redis/XGROUP_Test.php
index b19b299..3bdaab3 100644
--- a/tests/Predis/Command/Redis/XGROUP_Test.php
+++ b/tests/Predis/Command/Redis/XGROUP_Test.php
@@ -207,7 +207,7 @@ class XGROUP_Test extends PredisCommandTestCase
         $this->assertEquals('OK', $redis->xgroup->setId('key', 'group', '0'));
     }
 
-    public function createArgumentsProvider(): array
+    public static function createArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -229,7 +229,7 @@ class XGROUP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function setIdArgumentsProvider(): array
+    public static function setIdArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/XINFO_Test.php b/tests/Predis/Command/Redis/XINFO_Test.php
index 55d7ad6..367219b 100644
--- a/tests/Predis/Command/Redis/XINFO_Test.php
+++ b/tests/Predis/Command/Redis/XINFO_Test.php
@@ -326,7 +326,7 @@ class XINFO_Test extends PredisCommandTestCase
         }, $resp2, $resp3);
     }
 
-    public function streamArgumentsProvider(): array
+    public static function streamArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -344,7 +344,7 @@ class XINFO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responseProvider(): array
+    public static function responseProvider(): array
     {
         return [
             'CONSUMERS response' => [
diff --git a/tests/Predis/Command/Redis/XPENDING_Test.php b/tests/Predis/Command/Redis/XPENDING_Test.php
index 7880a38..faeb04e 100644
--- a/tests/Predis/Command/Redis/XPENDING_Test.php
+++ b/tests/Predis/Command/Redis/XPENDING_Test.php
@@ -133,7 +133,7 @@ class XPENDING_Test extends PredisCommandTestCase
         }, $expected, $actual);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/XREADGROUP_Test.php b/tests/Predis/Command/Redis/XREADGROUP_Test.php
index dcf9dea..87fb376 100644
--- a/tests/Predis/Command/Redis/XREADGROUP_Test.php
+++ b/tests/Predis/Command/Redis/XREADGROUP_Test.php
@@ -162,7 +162,7 @@ class XREADGROUP_Test extends PredisCommandTestCase
             '>');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/XREAD_Test.php b/tests/Predis/Command/Redis/XREAD_Test.php
index 4a09202..1a338c4 100644
--- a/tests/Predis/Command/Redis/XREAD_Test.php
+++ b/tests/Predis/Command/Redis/XREAD_Test.php
@@ -182,7 +182,7 @@ class XREAD_Test extends PredisCommandTestCase
         $this->assertSame([], $response);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/XSETID_Test.php b/tests/Predis/Command/Redis/XSETID_Test.php
index ff887a1..df4e3ba 100644
--- a/tests/Predis/Command/Redis/XSETID_Test.php
+++ b/tests/Predis/Command/Redis/XSETID_Test.php
@@ -120,7 +120,7 @@ class XSETID_Test extends PredisCommandTestCase
         $redis->xsetid('stream', '1-1');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
diff --git a/tests/Predis/Command/Redis/XTRIM_Test.php b/tests/Predis/Command/Redis/XTRIM_Test.php
index 78e3e13..97e181c 100644
--- a/tests/Predis/Command/Redis/XTRIM_Test.php
+++ b/tests/Predis/Command/Redis/XTRIM_Test.php
@@ -65,7 +65,7 @@ class XTRIM_Test extends PredisCommandTestCase
         $this->assertSame($expectedArguments, $command->getArguments());
     }
 
-    public function dataFilterArguments(): array
+    public static function dataFilterArguments(): array
     {
         return [
             [
diff --git a/tests/Predis/Command/Redis/ZDIFFSTORE_Test.php b/tests/Predis/Command/Redis/ZDIFFSTORE_Test.php
index 5d5f802..53a74ce 100644
--- a/tests/Predis/Command/Redis/ZDIFFSTORE_Test.php
+++ b/tests/Predis/Command/Redis/ZDIFFSTORE_Test.php
@@ -95,7 +95,7 @@ class ZDIFFSTORE_Test extends PredisCommandTestCase
         $this->assertSame(['member1', 'member2', 'member3'], $redis->zrange('zdiffstore', 0, -1));
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'no intersection' => [
diff --git a/tests/Predis/Command/Redis/ZDIFF_test.php b/tests/Predis/Command/Redis/ZDIFF_test.php
index 3d742cc..e3aa4e2 100644
--- a/tests/Predis/Command/Redis/ZDIFF_test.php
+++ b/tests/Predis/Command/Redis/ZDIFF_test.php
@@ -121,7 +121,7 @@ class ZDIFF_test extends PredisCommandTestCase
         $redis->zdiff(['zdiff_foo'], true);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with scores' => [[['zset'], 5, 'withScores' => true], [1, 'zset', 5, 'WITHSCORES']],
@@ -130,7 +130,7 @@ class ZDIFF_test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'no intersection - without score' => [
diff --git a/tests/Predis/Command/Redis/ZINTERCARD_Test.php b/tests/Predis/Command/Redis/ZINTERCARD_Test.php
index 2f1777f..e40a9aa 100644
--- a/tests/Predis/Command/Redis/ZINTERCARD_Test.php
+++ b/tests/Predis/Command/Redis/ZINTERCARD_Test.php
@@ -143,7 +143,7 @@ class ZINTERCARD_Test extends PredisCommandTestCase
         $redis->zintercard($keys, $limit);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments only' => [
@@ -157,7 +157,7 @@ class ZINTERCARD_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with full intersection' => [
@@ -187,7 +187,7 @@ class ZINTERCARD_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with wrong type keys argument' => [
diff --git a/tests/Predis/Command/Redis/ZINTERSTORE_Test.php b/tests/Predis/Command/Redis/ZINTERSTORE_Test.php
index 9a52032..ba39aef 100644
--- a/tests/Predis/Command/Redis/ZINTERSTORE_Test.php
+++ b/tests/Predis/Command/Redis/ZINTERSTORE_Test.php
@@ -175,7 +175,7 @@ class ZINTERSTORE_Test extends PredisCommandTestCase
         $redis->zinterstore($destination, $keys, $weights, $aggregate);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments only' => [
@@ -204,7 +204,7 @@ class ZINTERSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -246,7 +246,7 @@ class ZINTERSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValueProvider(): array
+    public static function unexpectedValueProvider(): array
     {
         return [
             'with unexpected keys argument' => [
diff --git a/tests/Predis/Command/Redis/ZINTER_Test.php b/tests/Predis/Command/Redis/ZINTER_Test.php
index 41ada67..72f1c66 100644
--- a/tests/Predis/Command/Redis/ZINTER_Test.php
+++ b/tests/Predis/Command/Redis/ZINTER_Test.php
@@ -49,7 +49,7 @@ class ZINTER_Test extends PredisCommandTestCase
         $this->assertSame($expectedArguments, $command->getArguments());
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments only' => [
@@ -166,7 +166,7 @@ class ZINTER_Test extends PredisCommandTestCase
         $redis->zinter($keys, $weights, $aggregate, $withScores);
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -204,7 +204,7 @@ class ZINTER_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValueProvider(): array
+    public static function unexpectedValueProvider(): array
     {
         return [
             'with unexpected keys argument' => [
diff --git a/tests/Predis/Command/Redis/ZMPOP_Test.php b/tests/Predis/Command/Redis/ZMPOP_Test.php
index 27f521d..247872d 100644
--- a/tests/Predis/Command/Redis/ZMPOP_Test.php
+++ b/tests/Predis/Command/Redis/ZMPOP_Test.php
@@ -157,7 +157,7 @@ class ZMPOP_Test extends PredisCommandTestCase
         $redis->zmpop(['zmpop_foo']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with one key' => [
@@ -171,7 +171,7 @@ class ZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'null-element array' => [
@@ -185,7 +185,7 @@ class ZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with MIN modifier' => [
@@ -215,7 +215,7 @@ class ZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'wrong modifier' => [
diff --git a/tests/Predis/Command/Redis/ZMSCORE_Test.php b/tests/Predis/Command/Redis/ZMSCORE_Test.php
index 0f0a158..3ad8885 100644
--- a/tests/Predis/Command/Redis/ZMSCORE_Test.php
+++ b/tests/Predis/Command/Redis/ZMSCORE_Test.php
@@ -118,7 +118,7 @@ class ZMSCORE_Test extends PredisCommandTestCase
         $redis->zmscore('foo', '');
     }
 
-    public function membersProvider(): array
+    public static function membersProvider(): array
     {
         return [['test-zscore', [1, 'member1', 2, 'member2', 3, 'member3'], ['1', '2', '3']]];
     }
diff --git a/tests/Predis/Command/Redis/ZRANDMEMBER_test.php b/tests/Predis/Command/Redis/ZRANDMEMBER_test.php
index 8a95634..aac8ece 100644
--- a/tests/Predis/Command/Redis/ZRANDMEMBER_test.php
+++ b/tests/Predis/Command/Redis/ZRANDMEMBER_test.php
@@ -108,7 +108,7 @@ class ZRANDMEMBER_test extends PredisCommandTestCase
         $redis->zrandmember('zrandmember_foo', 1, true);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with scores' => [['zset', 5, 'withScores' => true], ['zset', 5, 'WITHSCORES']],
@@ -117,7 +117,7 @@ class ZRANDMEMBER_test extends PredisCommandTestCase
         ];
     }
 
-    public function membersProvider(): array
+    public static function membersProvider(): array
     {
         return [
             'one member - without score' => ['test-zset', 1, [1, 'member1'], ['member1'], false],
diff --git a/tests/Predis/Command/Redis/ZRANGESTORE_Test.php b/tests/Predis/Command/Redis/ZRANGESTORE_Test.php
index ab2eb2f..63e2056 100644
--- a/tests/Predis/Command/Redis/ZRANGESTORE_Test.php
+++ b/tests/Predis/Command/Redis/ZRANGESTORE_Test.php
@@ -162,7 +162,7 @@ class ZRANGESTORE_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'without optional arguments' => [
@@ -196,7 +196,7 @@ class ZRANGESTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function rangesProvider(): array
+    public static function rangesProvider(): array
     {
         return [
             'without optional arguments' => [
@@ -286,7 +286,7 @@ class ZRANGESTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'wrong BY argument value' => [
diff --git a/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php b/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php
index 7018f37..2820c16 100644
--- a/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php
+++ b/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php
@@ -175,7 +175,7 @@ class ZUNIONSTORE_Test extends PredisCommandTestCase
         $redis->zunionstore($destination, $keys, $weights, $aggregate);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments only' => [
@@ -204,7 +204,7 @@ class ZUNIONSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -246,7 +246,7 @@ class ZUNIONSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValueProvider(): array
+    public static function unexpectedValueProvider(): array
     {
         return [
             'with unexpected keys argument' => [
diff --git a/tests/Predis/Command/Redis/ZUNION_Test.php b/tests/Predis/Command/Redis/ZUNION_Test.php
index 7fa7223..4b941c5 100644
--- a/tests/Predis/Command/Redis/ZUNION_Test.php
+++ b/tests/Predis/Command/Redis/ZUNION_Test.php
@@ -140,7 +140,7 @@ class ZUNION_Test extends PredisCommandTestCase
         $redis->zunion($keys, $weights, $aggregate, $withScores);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments only' => [
@@ -166,7 +166,7 @@ class ZUNION_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -204,7 +204,7 @@ class ZUNION_Test extends PredisCommandTestCase
         ];
     }
 
-    public function unexpectedValueProvider(): array
+    public static function unexpectedValueProvider(): array
     {
         return [
             'with unexpected keys argument' => [
diff --git a/tests/Predis/Command/Traits/AggregateTest.php b/tests/Predis/Command/Traits/AggregateTest.php
index f6a7fb7..63bd9b7 100644
--- a/tests/Predis/Command/Traits/AggregateTest.php
+++ b/tests/Predis/Command/Traits/AggregateTest.php
@@ -63,7 +63,7 @@ class AggregateTest extends PredisTestCase
         $this->testClass->setArguments($actualArguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [2, ['argument1'], ['argument1']],
@@ -90,7 +90,7 @@ class AggregateTest extends PredisTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with non-string argument' => [[1]],
diff --git a/tests/Predis/Command/Traits/BitByteTest.php b/tests/Predis/Command/Traits/BitByteTest.php
index 5296f14..ffd81e3 100644
--- a/tests/Predis/Command/Traits/BitByteTest.php
+++ b/tests/Predis/Command/Traits/BitByteTest.php
@@ -44,7 +44,7 @@ class BitByteTest extends PredisTestCase
         $this->assertSame($expectedArguments, $this->testClass->getArguments());
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with correct enum value' => [
diff --git a/tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php b/tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php
index 3178289..f3fa25e 100644
--- a/tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php
+++ b/tests/Predis/Command/Traits/BloomFilters/BucketSizeTest.php
@@ -63,7 +63,7 @@ class BucketSizeTest extends PredisTestCase
         $this->testClass->setArguments([-5]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/BloomFilters/CapacityTest.php b/tests/Predis/Command/Traits/BloomFilters/CapacityTest.php
index 3431e9e..e776e54 100644
--- a/tests/Predis/Command/Traits/BloomFilters/CapacityTest.php
+++ b/tests/Predis/Command/Traits/BloomFilters/CapacityTest.php
@@ -63,7 +63,7 @@ class CapacityTest extends PredisTestCase
         $this->testClass->setArguments([-5]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/BloomFilters/ErrorTest.php b/tests/Predis/Command/Traits/BloomFilters/ErrorTest.php
index d1d59a8..8ac0ab9 100644
--- a/tests/Predis/Command/Traits/BloomFilters/ErrorTest.php
+++ b/tests/Predis/Command/Traits/BloomFilters/ErrorTest.php
@@ -63,7 +63,7 @@ class ErrorTest extends PredisTestCase
         $this->testClass->setArguments([-5]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php b/tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php
index b0d85b4..13a2af1 100644
--- a/tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php
+++ b/tests/Predis/Command/Traits/BloomFilters/ExpansionTest.php
@@ -61,7 +61,7 @@ class ExpansionTest extends PredisTestCase
         $this->testClass->setArguments([-2]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [2, ['argument1'], ['argument1']],
diff --git a/tests/Predis/Command/Traits/BloomFilters/ItemsTest.php b/tests/Predis/Command/Traits/BloomFilters/ItemsTest.php
index 3023d57..e74b2dc 100644
--- a/tests/Predis/Command/Traits/BloomFilters/ItemsTest.php
+++ b/tests/Predis/Command/Traits/BloomFilters/ItemsTest.php
@@ -51,7 +51,7 @@ class ItemsTest extends PredisTestCase
         $this->assertSameValues($expectedResponse, $this->testClass->getArguments());
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php b/tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php
index c8f016e..04c3f71 100644
--- a/tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php
+++ b/tests/Predis/Command/Traits/BloomFilters/MaxIterationsTest.php
@@ -63,7 +63,7 @@ class MaxIterationsTest extends PredisTestCase
         $this->testClass->setArguments([-5]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php b/tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php
index 9b65377..4a79b7e 100644
--- a/tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php
+++ b/tests/Predis/Command/Traits/BloomFilters/NoCreateTest.php
@@ -65,7 +65,7 @@ class NoCreateTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'NOCREATE false argument' => [
diff --git a/tests/Predis/Command/Traits/By/ByArgumentTest.php b/tests/Predis/Command/Traits/By/ByArgumentTest.php
index bb1ee93..612562a 100644
--- a/tests/Predis/Command/Traits/By/ByArgumentTest.php
+++ b/tests/Predis/Command/Traits/By/ByArgumentTest.php
@@ -51,7 +51,7 @@ class ByArgumentTest extends PredisTestCase
         $this->assertSame($expectedArguments, $this->testClass->getArguments());
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/By/GeoByTest.php b/tests/Predis/Command/Traits/By/GeoByTest.php
index c7fe50d..5ada32a 100644
--- a/tests/Predis/Command/Traits/By/GeoByTest.php
+++ b/tests/Predis/Command/Traits/By/GeoByTest.php
@@ -60,7 +60,7 @@ class GeoByTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'BYRADIUS argument' => [
diff --git a/tests/Predis/Command/Traits/ByLexByScoreTest.php b/tests/Predis/Command/Traits/ByLexByScoreTest.php
index af8df8b..39e46ea 100644
--- a/tests/Predis/Command/Traits/ByLexByScoreTest.php
+++ b/tests/Predis/Command/Traits/ByLexByScoreTest.php
@@ -68,7 +68,7 @@ class ByLexByScoreTest extends PredisTestCase
         $this->testClass->setArguments($actualArguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'by false argument' => [
@@ -94,7 +94,7 @@ class ByLexByScoreTest extends PredisTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'true argument' => [[true]],
diff --git a/tests/Predis/Command/Traits/CountTest.php b/tests/Predis/Command/Traits/CountTest.php
index 2959331..8795f42 100644
--- a/tests/Predis/Command/Traits/CountTest.php
+++ b/tests/Predis/Command/Traits/CountTest.php
@@ -63,7 +63,7 @@ class CountTest extends PredisTestCase
         $this->testClass->setArguments([0]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with count argument' => [
diff --git a/tests/Predis/Command/Traits/DbTest.php b/tests/Predis/Command/Traits/DbTest.php
index 1a60b90..9d65e3c 100644
--- a/tests/Predis/Command/Traits/DbTest.php
+++ b/tests/Predis/Command/Traits/DbTest.php
@@ -65,7 +65,7 @@ class DbTest extends PredisTestCase
         $this->testClass->setArguments(['wrong']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with positive integer db argument' => [
diff --git a/tests/Predis/Command/Traits/From/GeoFromTest.php b/tests/Predis/Command/Traits/From/GeoFromTest.php
index d884e14..8cc3105 100644
--- a/tests/Predis/Command/Traits/From/GeoFromTest.php
+++ b/tests/Predis/Command/Traits/From/GeoFromTest.php
@@ -60,7 +60,7 @@ class GeoFromTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'FROMLONLAT argument' => [
diff --git a/tests/Predis/Command/Traits/Get/GetTest.php b/tests/Predis/Command/Traits/Get/GetTest.php
index ce445a7..01399a3 100644
--- a/tests/Predis/Command/Traits/Get/GetTest.php
+++ b/tests/Predis/Command/Traits/Get/GetTest.php
@@ -63,7 +63,7 @@ class GetTest extends PredisTestCase
         $this->testClass->setArguments(['wrong']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/Json/IndentTest.php b/tests/Predis/Command/Traits/Json/IndentTest.php
index bf2af65..4c003f9 100644
--- a/tests/Predis/Command/Traits/Json/IndentTest.php
+++ b/tests/Predis/Command/Traits/Json/IndentTest.php
@@ -64,7 +64,7 @@ class IndentTest extends PredisTestCase
         $this->testClass->setArguments([1]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/Json/NewlineTest.php b/tests/Predis/Command/Traits/Json/NewlineTest.php
index 065146a..4ff027f 100644
--- a/tests/Predis/Command/Traits/Json/NewlineTest.php
+++ b/tests/Predis/Command/Traits/Json/NewlineTest.php
@@ -64,7 +64,7 @@ class NewlineTest extends PredisTestCase
         $this->testClass->setArguments([1]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/Json/NxXxArgumentTest.php b/tests/Predis/Command/Traits/Json/NxXxArgumentTest.php
index bc6c623..c7f1470 100644
--- a/tests/Predis/Command/Traits/Json/NxXxArgumentTest.php
+++ b/tests/Predis/Command/Traits/Json/NxXxArgumentTest.php
@@ -64,7 +64,7 @@ class NxXxArgumentTest extends PredisTestCase
         $this->testClass->setArguments(['wrong']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with correct argument - NX' => [
diff --git a/tests/Predis/Command/Traits/Json/SpaceTest.php b/tests/Predis/Command/Traits/Json/SpaceTest.php
index 2520f16..96cb96c 100644
--- a/tests/Predis/Command/Traits/Json/SpaceTest.php
+++ b/tests/Predis/Command/Traits/Json/SpaceTest.php
@@ -64,7 +64,7 @@ class SpaceTest extends PredisTestCase
         $this->testClass->setArguments([1]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [
diff --git a/tests/Predis/Command/Traits/KeysTest.php b/tests/Predis/Command/Traits/KeysTest.php
index d4900a3..2f295e7 100644
--- a/tests/Predis/Command/Traits/KeysTest.php
+++ b/tests/Predis/Command/Traits/KeysTest.php
@@ -73,7 +73,7 @@ class KeysTest extends PredisTestCase
         $this->testClass->setArguments($actualArguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'keys argument first and there is arguments after' => [
@@ -109,7 +109,7 @@ class KeysTest extends PredisTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'keys argument not an array' => [
diff --git a/tests/Predis/Command/Traits/LeftRightTest.php b/tests/Predis/Command/Traits/LeftRightTest.php
index 1b94ed4..2f8c293 100644
--- a/tests/Predis/Command/Traits/LeftRightTest.php
+++ b/tests/Predis/Command/Traits/LeftRightTest.php
@@ -63,7 +63,7 @@ class LeftRightTest extends PredisTestCase
         $this->testClass->setArguments($actualArguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [2, ['argument1'], ['argument1', 'LEFT']],
@@ -90,7 +90,7 @@ class LeftRightTest extends PredisTestCase
         ];
     }
 
-    public function unexpectedValuesProvider(): array
+    public static function unexpectedValuesProvider(): array
     {
         return [
             'with non-string argument' => [[1]],
diff --git a/tests/Predis/Command/Traits/Limit/LimitObjectTest.php b/tests/Predis/Command/Traits/Limit/LimitObjectTest.php
index fe3ca1e..2a11b4e 100644
--- a/tests/Predis/Command/Traits/Limit/LimitObjectTest.php
+++ b/tests/Predis/Command/Traits/Limit/LimitObjectTest.php
@@ -47,7 +47,7 @@ class LimitObjectTest extends PredisTestCase
         $this->assertSame($expectedArguments, $this->testClass->getArguments());
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with non-existing LimitInterface' => [
diff --git a/tests/Predis/Command/Traits/Limit/LimitTest.php b/tests/Predis/Command/Traits/Limit/LimitTest.php
index 57795b2..aebc7c3 100644
--- a/tests/Predis/Command/Traits/Limit/LimitTest.php
+++ b/tests/Predis/Command/Traits/Limit/LimitTest.php
@@ -65,7 +65,7 @@ class LimitTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'limit false argument first and there is arguments after' => [
diff --git a/tests/Predis/Command/Traits/MinMaxModifierTest.php b/tests/Predis/Command/Traits/MinMaxModifierTest.php
index 37531ee..9048d11 100644
--- a/tests/Predis/Command/Traits/MinMaxModifierTest.php
+++ b/tests/Predis/Command/Traits/MinMaxModifierTest.php
@@ -60,7 +60,7 @@ class MinMaxModifierTest extends PredisTestCase
         $this->testClass->resolveModifier(1, $arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with modifier' => [
diff --git a/tests/Predis/Command/Traits/ReplaceTest.php b/tests/Predis/Command/Traits/ReplaceTest.php
index eae1814..b242473 100644
--- a/tests/Predis/Command/Traits/ReplaceTest.php
+++ b/tests/Predis/Command/Traits/ReplaceTest.php
@@ -46,7 +46,7 @@ class ReplaceTest extends PredisTestCase
         $this->assertSame($expectedResponse, $this->testClass->getArguments());
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with boolean - true' => [[true], ['REPLACE']],
diff --git a/tests/Predis/Command/Traits/RevTest.php b/tests/Predis/Command/Traits/RevTest.php
index 6551e9f..02ed3f7 100644
--- a/tests/Predis/Command/Traits/RevTest.php
+++ b/tests/Predis/Command/Traits/RevTest.php
@@ -65,7 +65,7 @@ class RevTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'rev false argument' => [
diff --git a/tests/Predis/Command/Traits/StoredistTest.php b/tests/Predis/Command/Traits/StoredistTest.php
index c096f90..4827a4b 100644
--- a/tests/Predis/Command/Traits/StoredistTest.php
+++ b/tests/Predis/Command/Traits/StoredistTest.php
@@ -65,7 +65,7 @@ class StoredistTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'STOREDIST false argument' => [
diff --git a/tests/Predis/Command/Traits/TimeoutTest.php b/tests/Predis/Command/Traits/TimeoutTest.php
index e7488f6..264fded 100644
--- a/tests/Predis/Command/Traits/TimeoutTest.php
+++ b/tests/Predis/Command/Traits/TimeoutTest.php
@@ -63,7 +63,7 @@ class TimeoutTest extends PredisTestCase
         $this->testClass->setArguments([0]);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with TIMEOUT argument' => [
diff --git a/tests/Predis/Command/Traits/To/ServerToTest.php b/tests/Predis/Command/Traits/To/ServerToTest.php
index 4168a89..b87e4ec 100644
--- a/tests/Predis/Command/Traits/To/ServerToTest.php
+++ b/tests/Predis/Command/Traits/To/ServerToTest.php
@@ -52,7 +52,7 @@ class ServerToTest extends PredisTestCase
         $this->assertSameValues($expectedResponse, $this->testClass->getArguments());
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with TO argument - no FORCE' => [
diff --git a/tests/Predis/Command/Traits/WeightsTest.php b/tests/Predis/Command/Traits/WeightsTest.php
index 9681c21..59caaf1 100644
--- a/tests/Predis/Command/Traits/WeightsTest.php
+++ b/tests/Predis/Command/Traits/WeightsTest.php
@@ -62,7 +62,7 @@ class WeightsTest extends PredisTestCase
         $this->testClass->setArguments($actualArguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with wrong offset' => [2, ['argument1'], ['argument1']],
diff --git a/tests/Predis/Command/Traits/With/WithCoordTest.php b/tests/Predis/Command/Traits/With/WithCoordTest.php
index e7f1415..cfcf525 100644
--- a/tests/Predis/Command/Traits/With/WithCoordTest.php
+++ b/tests/Predis/Command/Traits/With/WithCoordTest.php
@@ -65,7 +65,7 @@ class WithCoordTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'WITHCOORD false argument' => [
diff --git a/tests/Predis/Command/Traits/With/WithDistTest.php b/tests/Predis/Command/Traits/With/WithDistTest.php
index accdfa5..83a8d90 100644
--- a/tests/Predis/Command/Traits/With/WithDistTest.php
+++ b/tests/Predis/Command/Traits/With/WithDistTest.php
@@ -65,7 +65,7 @@ class WithDistTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'WITHDIST false argument' => [
diff --git a/tests/Predis/Command/Traits/With/WithHashTest.php b/tests/Predis/Command/Traits/With/WithHashTest.php
index f4ee4df..18d405e 100644
--- a/tests/Predis/Command/Traits/With/WithHashTest.php
+++ b/tests/Predis/Command/Traits/With/WithHashTest.php
@@ -65,7 +65,7 @@ class WithHashTest extends PredisTestCase
         $this->testClass->setArguments(['test']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'WITHHASH false argument' => [
diff --git a/tests/Predis/Command/Traits/With/WithScoresTest.php b/tests/Predis/Command/Traits/With/WithScoresTest.php
index 65449a9..8725367 100644
--- a/tests/Predis/Command/Traits/With/WithScoresTest.php
+++ b/tests/Predis/Command/Traits/With/WithScoresTest.php
@@ -64,7 +64,7 @@ class WithScoresTest extends PredisTestCase
         $this->assertSame($expectedResponse, $this->testClass->parseResponse($arguments));
     }
 
-    public function valuesProvider(): array
+    public static function valuesProvider(): array
     {
         return [
             'with last argument boolean - true' => [['test', 'test1', true], ['test', 'test1', 'WITHSCORES']],
@@ -73,7 +73,7 @@ class WithScoresTest extends PredisTestCase
         ];
     }
 
-    public function dataProvider(): array
+    public static function dataProvider(): array
     {
         return [
             'with empty arguments' => [[], [null]],
diff --git a/tests/Predis/Command/Utils/CommandUtilityTest.php b/tests/Predis/Command/Utils/CommandUtilityTest.php
index 858b765..916e79d 100644
--- a/tests/Predis/Command/Utils/CommandUtilityTest.php
+++ b/tests/Predis/Command/Utils/CommandUtilityTest.php
@@ -42,7 +42,7 @@ class CommandUtilityTest extends PredisTestCase
         CommandUtility::arrayToDictionary(['key1', 'value1', 'key1']);
     }
 
-    public function arrayProvider(): array
+    public static function arrayProvider(): array
     {
         return [
             'without nesting arrays' => [
diff --git a/tests/Predis/Connection/Cluster/RedisClusterTest.php b/tests/Predis/Connection/Cluster/RedisClusterTest.php
index e0e5177..6c1f3ba 100644
--- a/tests/Predis/Connection/Cluster/RedisClusterTest.php
+++ b/tests/Predis/Connection/Cluster/RedisClusterTest.php
@@ -1262,7 +1262,7 @@ class RedisClusterTest extends PredisTestCase
     /**
      * @return Iterator<string, array{movedErrorMessage: string}>
      */
-    public function onMovedResponsesDataProvider(): Iterator
+    public static function onMovedResponsesDataProvider(): Iterator
     {
         yield 'MOVED 1970 127.0.0.1:6380' => [
             'movedErrorMessage' => 'MOVED 1970 127.0.0.1:6380',
diff --git a/tests/Predis/Connection/FactoryTest.php b/tests/Predis/Connection/FactoryTest.php
index 3049305..d8616d1 100644
--- a/tests/Predis/Connection/FactoryTest.php
+++ b/tests/Predis/Connection/FactoryTest.php
@@ -629,7 +629,7 @@ class FactoryTest extends PredisTestCase
      *
      * @return array
      */
-    public function provideEmptyParametersForInitializationCommands()
+    public static function provideEmptyParametersForInitializationCommands()
     {
         return [
             // AUTH
@@ -644,7 +644,7 @@ class FactoryTest extends PredisTestCase
         ];
     }
 
-    public function onConnectionProvider(): array
+    public static function onConnectionProvider(): array
     {
         return [
             'resp_2_no_auth' => [
diff --git a/tests/Predis/Connection/Replication/MasterSlaveReplicationTest.php b/tests/Predis/Connection/Replication/MasterSlaveReplicationTest.php
index ee92f38..9ed784e 100644
--- a/tests/Predis/Connection/Replication/MasterSlaveReplicationTest.php
+++ b/tests/Predis/Connection/Replication/MasterSlaveReplicationTest.php
@@ -1489,7 +1489,7 @@ repl_backlog_histlen:12978
         $replication->write($command1->serializeCommand() . $command2->serializeCommand() . $command3->serializeCommand());
     }
 
-    public function connectionsProvider(): array
+    public static function connectionsProvider(): array
     {
         return [
             'master connection' => ['tcp://127.0.0.1:6379?role=master'],
diff --git a/tests/Predis/Connection/Replication/SentinelReplicationTest.php b/tests/Predis/Connection/Replication/SentinelReplicationTest.php
index 49b9171..3a8f101 100644
--- a/tests/Predis/Connection/Replication/SentinelReplicationTest.php
+++ b/tests/Predis/Connection/Replication/SentinelReplicationTest.php
@@ -1681,7 +1681,7 @@ class SentinelReplicationTest extends PredisTestCase
         $replication->write($command1->serializeCommand() . $command2->serializeCommand() . $command3->serializeCommand());
     }
 
-    public function connectionsProvider(): array
+    public static function connectionsProvider(): array
     {
         return [
             'master connection' => ['tcp://127.0.0.1:6379?role=master'],
diff --git a/tests/Predis/Connection/Resource/StreamTest.php b/tests/Predis/Connection/Resource/StreamTest.php
index 0e18bdc..41501cf 100644
--- a/tests/Predis/Connection/Resource/StreamTest.php
+++ b/tests/Predis/Connection/Resource/StreamTest.php
@@ -419,7 +419,7 @@ class StreamTest extends TestCase
         fclose($handle);
     }
 
-    public function writableModeProvider(): array
+    public static function writableModeProvider(): array
     {
         return [
             ['w'],
@@ -443,7 +443,7 @@ class StreamTest extends TestCase
         ];
     }
 
-    public function readableModeProvider(): iterable
+    public static function readableModeProvider(): iterable
     {
         return [
             ['r'],
diff --git a/tests/Predis/Connection/StreamConnectionTest.php b/tests/Predis/Connection/StreamConnectionTest.php
index d9796f2..6f326f1 100644
--- a/tests/Predis/Connection/StreamConnectionTest.php
+++ b/tests/Predis/Connection/StreamConnectionTest.php
@@ -516,7 +516,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
         $this->assertTrue($connection->hasDataToRead());
     }
 
-    public function simpleDataTypesProvider(): array
+    public static function simpleDataTypesProvider(): array
     {
         return [
             'simple_string' => [
@@ -550,7 +550,7 @@ class StreamConnectionTest extends PredisConnectionTestCase
         ];
     }
 
-    public function aggregateDataTypesProvider(): array
+    public static function aggregateDataTypesProvider(): array
     {
         return [
             'bulk_string' => [
diff --git a/tests/Predis/Consumer/PubSub/ConsumerTest.php b/tests/Predis/Consumer/PubSub/ConsumerTest.php
index 8895d4f..411f110 100644
--- a/tests/Predis/Consumer/PubSub/ConsumerTest.php
+++ b/tests/Predis/Consumer/PubSub/ConsumerTest.php
@@ -414,7 +414,7 @@ class ConsumerTest extends PredisTestCase
         $this->assertSame($context, $pubsub->getSubscriptionContext()->getContext());
     }
 
-    public function connectionsProvider(): array
+    public static function connectionsProvider(): array
     {
         return [
             [ClusterInterface::class, SubscriptionContext::CONTEXT_SHARDED],
diff --git a/tests/Predis/Consumer/Push/ConsumerTest.php b/tests/Predis/Consumer/Push/ConsumerTest.php
index 2efec03..18fb4d4 100644
--- a/tests/Predis/Consumer/Push/ConsumerTest.php
+++ b/tests/Predis/Consumer/Push/ConsumerTest.php
@@ -76,7 +76,7 @@ class ConsumerTest extends PredisTestCase
         new Consumer($this->mockClient, $callback);
     }
 
-    public function responseProvider(): array
+    public static function responseProvider(): array
     {
         $pushResponse = new PushResponse(['messageType', 'payload']);
 
diff --git a/tests/Predis/Protocol/Parser/ParserStrategyResolverTest.php b/tests/Predis/Protocol/Parser/ParserStrategyResolverTest.php
index b6e0a32..0b08e5f 100644
--- a/tests/Predis/Protocol/Parser/ParserStrategyResolverTest.php
+++ b/tests/Predis/Protocol/Parser/ParserStrategyResolverTest.php
@@ -57,7 +57,7 @@ class ParserStrategyResolverTest extends PredisTestCase
         $this->resolver->resolve(4);
     }
 
-    public function protocolProvider(): array
+    public static function protocolProvider(): array
     {
         return [
             'with RESP2 protocol' => [2, Resp2Strategy::class],
diff --git a/tests/Predis/Protocol/Parser/Strategy/Resp2StrategyTest.php b/tests/Predis/Protocol/Parser/Strategy/Resp2StrategyTest.php
index 9f48b97..838795b 100644
--- a/tests/Predis/Protocol/Parser/Strategy/Resp2StrategyTest.php
+++ b/tests/Predis/Protocol/Parser/Strategy/Resp2StrategyTest.php
@@ -151,7 +151,7 @@ class Resp2StrategyTest extends PredisTestCase
         $this->strategy->parseData($data);
     }
 
-    public function statusResponseProvider(): array
+    public static function statusResponseProvider(): array
     {
         return [
             ['OK'],
diff --git a/tests/Predis/Protocol/Parser/Strategy/Resp3StrategyTest.php b/tests/Predis/Protocol/Parser/Strategy/Resp3StrategyTest.php
index c185f6c..bcc49c9 100644
--- a/tests/Predis/Protocol/Parser/Strategy/Resp3StrategyTest.php
+++ b/tests/Predis/Protocol/Parser/Strategy/Resp3StrategyTest.php
@@ -163,7 +163,7 @@ class Resp3StrategyTest extends PredisTestCase
         $this->assertSame(['type' => 'push', 'value' => 4], $actualResponse);
     }
 
-    public function infinityProvider(): array
+    public static function infinityProvider(): array
     {
         return [
             'positive infinity' => [",inf\r\n"],
@@ -171,7 +171,7 @@ class Resp3StrategyTest extends PredisTestCase
         ];
     }
 
-    public function booleanProvider(): array
+    public static function booleanProvider(): array
     {
         return [
             'true' => ["#t\r\n", true],
@@ -179,7 +179,7 @@ class Resp3StrategyTest extends PredisTestCase
         ];
     }
 
-    public function bigNumberProvider(): array
+    public static function bigNumberProvider(): array
     {
         return [
             'greater than integer limit' => [
diff --git a/tests/Predis/Transaction/Strategy/ClusterConnectionStrategyTest.php b/tests/Predis/Transaction/Strategy/ClusterConnectionStrategyTest.php
index 05270ea..d6d02e9 100644
--- a/tests/Predis/Transaction/Strategy/ClusterConnectionStrategyTest.php
+++ b/tests/Predis/Transaction/Strategy/ClusterConnectionStrategyTest.php
@@ -12,6 +12,7 @@
 
 namespace Predis\Transaction\Strategy;
 
+use PHPUnit\Framework\Attributes\RequiresPhpunit;
 use PHPUnit\Framework\TestCase;
 use Predis\Command\CommandInterface;
 use Predis\Command\Redis\EXEC;
@@ -73,6 +74,7 @@ class ClusterConnectionStrategyTest extends TestCase
      * @return void
      * @throws TransactionException
      */
+    #[RequiresPhpunit('< 11')]
     public function testExecuteCommandAssignsHashSlotToSlotlessCommand(): void
     {
         $anotherCommand = new SET();
@@ -122,6 +124,7 @@ class ClusterConnectionStrategyTest extends TestCase
      * @return void
      * @throws TransactionException
      */
+    #[RequiresPhpunit('< 11')]
     public function testExecuteCommandQueueCommandsMappedToTheSameSlot(): void
     {
         $anotherMockCommand = $this->getMockBuilder(CommandInterface::class)->getMock();
@@ -178,6 +181,7 @@ class ClusterConnectionStrategyTest extends TestCase
      * @return void
      * @throws TransactionException
      */
+    #[RequiresPhpunit('< 11')]
     public function testExecuteTransactionReturnsNullOnQueueingError(): void
     {
         $this->mockConnection
@@ -200,6 +204,7 @@ class ClusterConnectionStrategyTest extends TestCase
      * @return void
      * @throws TransactionException
      */
+    #[RequiresPhpunit('< 11')]
     public function testExecuteTransactionReturnsResultOnSuccessfulTransaction(): void
     {
         $command1 = new SET();
