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/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/Redis/AbstractCommand/BZPOPBaseTest.php   |  4 ++--
 tests/Predis/Command/Redis/BLMOVE_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/COPY_Test.php                       |  2 +-
 tests/Predis/Command/Redis/Container/ContainerFactoryTest.php  |  4 ++--
 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                      |  6 +++---
 tests/Predis/Command/Redis/FUNCTIONS_Test.php                  |  6 +++---
 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/HRANDFIELD_Test.php                 |  4 ++--
 tests/Predis/Command/Redis/Json/JSONDEBUG_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/JSONSET_Test.php               |  4 ++--
 tests/Predis/Command/Redis/LMOVE_Test.php                      |  4 ++--
 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/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/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/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/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/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 ++--
 115 files changed, 186 insertions(+), 186 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/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/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/BLMOVE_Test.php b/tests/Predis/Command/Redis/BLMOVE_Test.php
index 8239c2e..65c69c3 100644
--- a/tests/Predis/Command/Redis/BLMOVE_Test.php
+++ b/tests/Predis/Command/Redis/BLMOVE_Test.php
@@ -132,7 +132,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' => [
@@ -174,7 +174,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/BZMPOP_Test.php b/tests/Predis/Command/Redis/BZMPOP_Test.php
index 2b33cce..6113249 100644
--- a/tests/Predis/Command/Redis/BZMPOP_Test.php
+++ b/tests/Predis/Command/Redis/BZMPOP_Test.php
@@ -126,7 +126,7 @@ class BZMPOP_Test extends PredisCommandTestCase
         $redis->bzmpop(1, ['bzmpop_foo']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with one key' => [
@@ -140,7 +140,7 @@ class BZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'null-element array' => [
@@ -154,7 +154,7 @@ class BZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with MIN modifier' => [
@@ -187,7 +187,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 010c68c..94d5f94 100644
--- a/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php
+++ b/tests/Predis/Command/Redis/BloomFilter/BFINFO_Test.php
@@ -113,7 +113,7 @@ class BFINFO_Test extends PredisCommandTestCase
         $redis->bfinfo('binfo_foo');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'without argument' => [
@@ -147,7 +147,7 @@ class BFINFO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'with one modifier' => [
@@ -178,7 +178,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 f3ab2c8..40482f7 100644
--- a/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php
+++ b/tests/Predis/Command/Redis/BloomFilter/BFINSERT_Test.php
@@ -155,7 +155,7 @@ class BFINSERT_Test extends PredisCommandTestCase
         $redis->bfinsert(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -189,7 +189,7 @@ class BFINSERT_Test extends PredisCommandTestCase
         ];
     }
 
-    public function filtersProvider(): array
+    public static function filtersProvider(): array
     {
         return [
             'with default filter' => [
@@ -255,7 +255,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 4ba4a9e..04cc966 100644
--- a/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php
+++ b/tests/Predis/Command/Redis/BloomFilter/BFRESERVE_Test.php
@@ -113,7 +113,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' => [
@@ -135,7 +135,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/COPY_Test.php b/tests/Predis/Command/Redis/COPY_Test.php
index aeeb37c..7910e90 100644
--- a/tests/Predis/Command/Redis/COPY_Test.php
+++ b/tests/Predis/Command/Redis/COPY_Test.php
@@ -121,7 +121,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/Container/ContainerFactoryTest.php b/tests/Predis/Command/Redis/Container/ContainerFactoryTest.php
index d5e9519..799dc71 100644
--- a/tests/Predis/Command/Redis/Container/ContainerFactoryTest.php
+++ b/tests/Predis/Command/Redis/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', FunctionContainer::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/Redis/CountMinSketch/CMSINCRBY_Test.php b/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php
index d4c3ee3..352d95e 100644
--- a/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php
+++ b/tests/Predis/Command/Redis/CountMinSketch/CMSINCRBY_Test.php
@@ -99,7 +99,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 fbcd412..3129117 100644
--- a/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php
+++ b/tests/Predis/Command/Redis/CountMinSketch/CMSMERGE_Test.php
@@ -145,7 +145,7 @@ class CMSMERGE_Test extends PredisCommandTestCase
         $redis->cmsmerge('destination', ['source1', 'source2']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -163,7 +163,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 3312471..8647b24 100644
--- a/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php
+++ b/tests/Predis/Command/Redis/CountMinSketch/CMSQUERY_Test.php
@@ -94,7 +94,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 4387950..d9fd7a0 100644
--- a/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php
+++ b/tests/Predis/Command/Redis/CuckooFilter/CFINFO_Test.php
@@ -100,7 +100,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 2d46eb5..f987ad3 100644
--- a/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php
+++ b/tests/Predis/Command/Redis/CuckooFilter/CFINSERTNX_Test.php
@@ -123,7 +123,7 @@ class CFINSERTNX_Test extends PredisCommandTestCase
         $this->assertSame([1], $actualResponse);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -145,7 +145,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 0e236b2..0f066c9 100644
--- a/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php
+++ b/tests/Predis/Command/Redis/CuckooFilter/CFINSERT_Test.php
@@ -142,7 +142,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' => [
@@ -164,7 +164,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 081865f..3474f2d 100644
--- a/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php
+++ b/tests/Predis/Command/Redis/CuckooFilter/CFRESERVE_Test.php
@@ -96,7 +96,7 @@ class CFRESERVE_Test extends PredisCommandTestCase
         $redis->cfreserve('cfreserve_foo', 500);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -122,7 +122,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 23992f1..73543f3 100644
--- a/tests/Predis/Command/Redis/EVALSHA_RO_Test.php
+++ b/tests/Predis/Command/Redis/EVALSHA_RO_Test.php
@@ -98,7 +98,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 bbf9b1b..f850ca0 100644
--- a/tests/Predis/Command/Redis/EVAL_RO_Test.php
+++ b/tests/Predis/Command/Redis/EVAL_RO_Test.php
@@ -98,7 +98,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 d1ae10d..e99eb20 100644
--- a/tests/Predis/Command/Redis/EXPIREAT_Test.php
+++ b/tests/Predis/Command/Redis/EXPIREAT_Test.php
@@ -131,7 +131,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 6325b6a..7144fdf 100644
--- a/tests/Predis/Command/Redis/EXPIRE_Test.php
+++ b/tests/Predis/Command/Redis/EXPIRE_Test.php
@@ -127,7 +127,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 10aeab6..0da76b6 100644
--- a/tests/Predis/Command/Redis/FCALL_RO_Test.php
+++ b/tests/Predis/Command/Redis/FCALL_RO_Test.php
@@ -122,7 +122,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 c9ca210..53e1252 100644
--- a/tests/Predis/Command/Redis/FCALL_Test.php
+++ b/tests/Predis/Command/Redis/FCALL_Test.php
@@ -59,7 +59,7 @@ class FCALL_Test extends PredisCommandTestCase
 
     /**
      * @group connected
-     * @dataProvider functionsProvider
+     * @dataProvider static functionsProvider
      * @param  string $function
      * @param  array  $functionArguments
      * @param         $expectedResponse
@@ -97,7 +97,7 @@ class FCALL_Test extends PredisCommandTestCase
         $redis->fcall('function', []);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -115,7 +115,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 1ca453d..7117049 100644
--- a/tests/Predis/Command/Redis/FUNCTIONS_Test.php
+++ b/tests/Predis/Command/Redis/FUNCTIONS_Test.php
@@ -386,7 +386,7 @@ class FUNCTIONS_Test extends PredisCommandTestCase
         $redis->function->kill();
     }
 
-    public function flushArgumentsProvider(): array
+    public static function flushArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -400,7 +400,7 @@ class FUNCTIONS_Test extends PredisCommandTestCase
         ];
     }
 
-    public function restoreArgumentsProvider(): array
+    public static function restoreArgumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -414,7 +414,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/GEOSEARCHSTORE_Test.php b/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php
index 6120fea..b2acf40 100644
--- a/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php
+++ b/tests/Predis/Command/Redis/GEOSEARCHSTORE_Test.php
@@ -161,7 +161,7 @@ class GEOSEARCHSTORE_Test extends PredisCommandTestCase
         $redis->geosearchstore(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments - FROMLONLAT, BYRADIUS' => [
@@ -199,7 +199,7 @@ class GEOSEARCHSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function coordinatesProvider(): array
+    public static function coordinatesProvider(): array
     {
         return [
             'with default arguments - FROMLONLAT, BYRADIUS - all members' => [
@@ -331,7 +331,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 6cd30bf..90099ca 100644
--- a/tests/Predis/Command/Redis/GEOSEARCH_Test.php
+++ b/tests/Predis/Command/Redis/GEOSEARCH_Test.php
@@ -133,7 +133,7 @@ class GEOSEARCH_Test extends PredisCommandTestCase
         $redis->geosearch(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments - FROMLONLAT, BYRADIUS' => [
@@ -179,7 +179,7 @@ class GEOSEARCH_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'without WITH modifiers' => [
@@ -239,7 +239,7 @@ class GEOSEARCH_Test extends PredisCommandTestCase
         ];
     }
 
-    public function coordinatesProvider(): array
+    public static function coordinatesProvider(): array
     {
         return [
             'with default arguments - FROMLONLAT, BYRADIUS - all members' => [
@@ -444,7 +444,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 10c7b90..7f94825 100644
--- a/tests/Predis/Command/Redis/GETEX_Test.php
+++ b/tests/Predis/Command/Redis/GETEX_Test.php
@@ -99,7 +99,7 @@ class GETEX_Test extends PredisCommandTestCase
         $redis->getex(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -129,7 +129,7 @@ class GETEX_Test extends PredisCommandTestCase
         ];
     }
 
-    public function keysProvider(): array
+    public static function keysProvider(): array
     {
         return [
             'without expiration time' => [
@@ -165,7 +165,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/HRANDFIELD_Test.php b/tests/Predis/Command/Redis/HRANDFIELD_Test.php
index 935d160..8e3debc 100644
--- a/tests/Predis/Command/Redis/HRANDFIELD_Test.php
+++ b/tests/Predis/Command/Redis/HRANDFIELD_Test.php
@@ -96,7 +96,7 @@ class HRANDFIELD_Test extends PredisCommandTestCase
         $redis->hrandfield('foo');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -114,7 +114,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/Json/JSONDEBUG_Test.php b/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php
index c5a9ff2..1b44767 100644
--- a/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONDEBUG_Test.php
@@ -91,7 +91,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/JSONGET_Test.php b/tests/Predis/Command/Redis/Json/JSONGET_Test.php
index fe9fd7f..aa70141 100644
--- a/tests/Predis/Command/Redis/Json/JSONGET_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONGET_Test.php
@@ -119,7 +119,7 @@ class JSONGET_Test extends PredisCommandTestCase
         $redis->jsonget(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -149,7 +149,7 @@ class JSONGET_Test extends PredisCommandTestCase
         ];
     }
 
-    public function jsonProvider(): array
+    public static function jsonProvider(): array
     {
         return [
             'with key only' => [
@@ -195,7 +195,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 89ad543..9a87db7 100644
--- a/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONMERGE_Test.php
@@ -76,7 +76,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/JSONSET_Test.php b/tests/Predis/Command/Redis/Json/JSONSET_Test.php
index 50489bb..c7a501c 100644
--- a/tests/Predis/Command/Redis/Json/JSONSET_Test.php
+++ b/tests/Predis/Command/Redis/Json/JSONSET_Test.php
@@ -102,7 +102,7 @@ class JSONSET_Test extends PredisCommandTestCase
         $redis->jsonset('key', '$', 'value', 'wrong');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -120,7 +120,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/LMOVE_Test.php b/tests/Predis/Command/Redis/LMOVE_Test.php
index 8293869..d31b707 100644
--- a/tests/Predis/Command/Redis/LMOVE_Test.php
+++ b/tests/Predis/Command/Redis/LMOVE_Test.php
@@ -154,7 +154,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' => [
@@ -196,7 +196,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/SINTERCARD_Test.php b/tests/Predis/Command/Redis/SINTERCARD_Test.php
index 4efc962..e2c4244 100644
--- a/tests/Predis/Command/Redis/SINTERCARD_Test.php
+++ b/tests/Predis/Command/Redis/SINTERCARD_Test.php
@@ -119,7 +119,7 @@ class SINTERCARD_Test extends PredisCommandTestCase
         $redis->sintercard(['sintercard']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -137,7 +137,7 @@ class SINTERCARD_Test extends PredisCommandTestCase
         ];
     }
 
-    public function setsProvider(): array
+    public static function setsProvider(): array
     {
         return [
             'with full intersection' => [
@@ -178,7 +178,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 09af0b4..3e797a1 100644
--- a/tests/Predis/Command/Redis/SMISMEMBER_Test.php
+++ b/tests/Predis/Command/Redis/SMISMEMBER_Test.php
@@ -98,7 +98,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 290dc9b..d587f12 100644
--- a/tests/Predis/Command/Redis/SORT_RO_Test.php
+++ b/tests/Predis/Command/Redis/SORT_RO_Test.php
@@ -122,7 +122,7 @@ class SORT_RO_Test extends PredisCommandTestCase
         $redis->sort_ro(...$arguments);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -160,7 +160,7 @@ class SORT_RO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function listProvider(): array
+    public static function listProvider(): array
     {
         return [
             'without any modifiers' => [
@@ -196,7 +196,7 @@ class SORT_RO_Test extends PredisCommandTestCase
         ];
     }
 
-    public function listsProvider(): array
+    public static function listsProvider(): array
     {
         return [
             'sorted by external keys - returns local keys' => [
@@ -217,7 +217,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/Search/FTAGGREGATE_Test.php b/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php
index 121dd79..73836c8 100644
--- a/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTAGGREGATE_Test.php
@@ -128,7 +128,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 0246455..c91e9f2 100644
--- a/tests/Predis/Command/Redis/Search/FTALTER_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTALTER_Test.php
@@ -92,7 +92,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 4ce6b64..bc045a8 100644
--- a/tests/Predis/Command/Redis/Search/FTCREATE_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTCREATE_Test.php
@@ -151,7 +151,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 7ca1c6b..07f0072 100644
--- a/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTCURSOR_Test.php
@@ -207,7 +207,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/FTDROPINDEX_Test.php b/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php
index be498cf..15a5fed 100644
--- a/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTDROPINDEX_Test.php
@@ -89,7 +89,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 8e68d67..a392a27 100644
--- a/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTEXPLAIN_Test.php
@@ -124,7 +124,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 b2a26a7..ae2f88b 100644
--- a/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTPROFILE_Test.php
@@ -92,7 +92,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' => [
@@ -110,7 +110,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 f0c0a2a..bde78e8 100644
--- a/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSEARCH_Test.php
@@ -484,7 +484,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 c77c634..adab34a 100644
--- a/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSPELLCHECK_Test.php
@@ -124,7 +124,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/FTSUGGET_Test.php b/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php
index 23aaae1..4671b82 100644
--- a/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSUGGET_Test.php
@@ -112,7 +112,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' => [
@@ -142,7 +142,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 3c17dcc..7baa63a 100644
--- a/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php
+++ b/tests/Predis/Command/Redis/Search/FTSYNUPDATE_Test.php
@@ -125,7 +125,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 37d5e72..17ed931 100644
--- a/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php
+++ b/tests/Predis/Command/Redis/TDigest/TDIGESTCREATE_Test.php
@@ -99,7 +99,7 @@ class TDIGESTCREATE_Test extends PredisCommandTestCase
         $redis->tdigestcreate('key');
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -117,7 +117,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 bb6286d..8eb4fc4 100644
--- a/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php
+++ b/tests/Predis/Command/Redis/TDigest/TDIGESTMERGE_Test.php
@@ -202,7 +202,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' => [
@@ -224,7 +224,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 3bce9ef..a4dbc11 100644
--- a/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php
+++ b/tests/Predis/Command/Redis/TDigest/TDIGESTTRIMMED_MEAN_Test.php
@@ -117,7 +117,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 9d3a5c6..07049dd 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSADD_Test.php
@@ -136,7 +136,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 259bd33..f5e621b 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSALTER_Test.php
@@ -165,7 +165,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 8731d67..c0d790e 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSCREATERULE_Test.php
@@ -116,7 +116,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 a67e828..a259553 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSCREATE_Test.php
@@ -147,7 +147,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 f3bff85..cd3942d 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSDECRBY_Test.php
@@ -187,7 +187,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 93b2430..5c7cfb7 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSGET_Test.php
@@ -113,7 +113,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 0618c92..28b3096 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSINCRBY_Test.php
@@ -190,7 +190,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 543e9b4..003e7eb 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSINFO_Test.php
@@ -87,7 +87,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/TSRANGE_Test.php b/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php
index d727a13..a2527c4 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSRANGE_Test.php
@@ -99,7 +99,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 9d965a2..2b97083 100644
--- a/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php
+++ b/tests/Predis/Command/Redis/TimeSeries/TSREVRANGE_Test.php
@@ -99,7 +99,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 ea8f62a..1e94b5e 100644
--- a/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php
+++ b/tests/Predis/Command/Redis/TopK/TOPKADD_Test.php
@@ -97,7 +97,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 bf16ad2..4a9e5c5 100644
--- a/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php
+++ b/tests/Predis/Command/Redis/TopK/TOPKLIST_Test.php
@@ -103,7 +103,7 @@ class TOPKLIST_Test extends PredisCommandTestCase
         $redis->topklist('key', true);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default argument' => [
@@ -121,7 +121,7 @@ class TOPKLIST_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'without WITHCOUNT modifier' => [
@@ -137,7 +137,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 c58b9a0..5f94520 100644
--- a/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php
+++ b/tests/Predis/Command/Redis/TopK/TOPKRESERVE_Test.php
@@ -98,7 +98,7 @@ class TOPKRESERVE_Test extends PredisCommandTestCase
         $redis->topkreserve('key', 50);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with default arguments' => [
@@ -120,7 +120,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/ZDIFF_test.php b/tests/Predis/Command/Redis/ZDIFF_test.php
index ca40c93..2e1d0a2 100644
--- a/tests/Predis/Command/Redis/ZDIFF_test.php
+++ b/tests/Predis/Command/Redis/ZDIFF_test.php
@@ -106,7 +106,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']],
@@ -115,7 +115,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 a7733a6..9266dce 100644
--- a/tests/Predis/Command/Redis/ZINTERCARD_Test.php
+++ b/tests/Predis/Command/Redis/ZINTERCARD_Test.php
@@ -128,7 +128,7 @@ class ZINTERCARD_Test extends PredisCommandTestCase
         $redis->zintercard($keys, $limit);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with required arguments only' => [
@@ -142,7 +142,7 @@ class ZINTERCARD_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with full intersection' => [
@@ -172,7 +172,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 8b968de..523fd6b 100644
--- a/tests/Predis/Command/Redis/ZINTERSTORE_Test.php
+++ b/tests/Predis/Command/Redis/ZINTERSTORE_Test.php
@@ -136,7 +136,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' => [
@@ -165,7 +165,7 @@ class ZINTERSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -207,7 +207,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 5255225..344de4a 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' => [
@@ -149,7 +149,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' => [
@@ -187,7 +187,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 a72a7b3..f6511e4 100644
--- a/tests/Predis/Command/Redis/ZMPOP_Test.php
+++ b/tests/Predis/Command/Redis/ZMPOP_Test.php
@@ -141,7 +141,7 @@ class ZMPOP_Test extends PredisCommandTestCase
         $redis->zmpop(['zmpop_foo']);
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'with one key' => [
@@ -155,7 +155,7 @@ class ZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function responsesProvider(): array
+    public static function responsesProvider(): array
     {
         return [
             'null-element array' => [
@@ -169,7 +169,7 @@ class ZMPOP_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with MIN modifier' => [
@@ -199,7 +199,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 eac35ca..d3bea5a 100644
--- a/tests/Predis/Command/Redis/ZMSCORE_Test.php
+++ b/tests/Predis/Command/Redis/ZMSCORE_Test.php
@@ -97,7 +97,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 ebb7fb0..91218b6 100644
--- a/tests/Predis/Command/Redis/ZRANDMEMBER_test.php
+++ b/tests/Predis/Command/Redis/ZRANDMEMBER_test.php
@@ -93,7 +93,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']],
@@ -102,7 +102,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 53168b5..0a2a2c9 100644
--- a/tests/Predis/Command/Redis/ZRANGESTORE_Test.php
+++ b/tests/Predis/Command/Redis/ZRANGESTORE_Test.php
@@ -141,7 +141,7 @@ class ZRANGESTORE_Test extends PredisCommandTestCase
         );
     }
 
-    public function argumentsProvider(): array
+    public static function argumentsProvider(): array
     {
         return [
             'without optional arguments' => [
@@ -175,7 +175,7 @@ class ZRANGESTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function rangesProvider(): array
+    public static function rangesProvider(): array
     {
         return [
             'without optional arguments' => [
@@ -265,7 +265,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 33259db..2af825d 100644
--- a/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php
+++ b/tests/Predis/Command/Redis/ZUNIONSTORE_Test.php
@@ -136,7 +136,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' => [
@@ -165,7 +165,7 @@ class ZUNIONSTORE_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -207,7 +207,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 22c845a..f7c7e84 100644
--- a/tests/Predis/Command/Redis/ZUNION_Test.php
+++ b/tests/Predis/Command/Redis/ZUNION_Test.php
@@ -123,7 +123,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' => [
@@ -149,7 +149,7 @@ class ZUNION_Test extends PredisCommandTestCase
         ];
     }
 
-    public function sortedSetsProvider(): array
+    public static function sortedSetsProvider(): array
     {
         return [
             'with required arguments' => [
@@ -187,7 +187,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]],
