From 651eac785f14b8badd88ea0eda4a5925e673c6b2 Mon Sep 17 00:00:00 2001 From: "text-html-renovate[bot]" <182508163+text-html-renovate[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 23:30:42 +0000 Subject: [PATCH 01/12] Update dependency phpunit/phpunit to v11 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e12096c..4cd83bc 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require-dev": { - "phpunit/phpunit": "~4.0" + "phpunit/phpunit": "~11.0" }, "require": { "ext-pcntl": "*", From e95755d2c440a1b523f0d10422a40b1137b7143f Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:32:02 +0200 Subject: [PATCH 02/12] . --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4cd83bc..85a5b64 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require-dev": { - "phpunit/phpunit": "~11.0" + "phpunit/phpunit": "^10.5|^11.0" }, "require": { "ext-pcntl": "*", From a1ba401584f958d2087d2c1ae22d9cbb3176ad82 Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:33:07 +0200 Subject: [PATCH 03/12] . --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 85a5b64..c5ecc84 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require-dev": { - "phpunit/phpunit": "^10.5|^11.0" + "phpunit/phpunit": "^9.0|^10.5|^11.0" }, "require": { "ext-pcntl": "*", From 098c5ac507e21d94daa29320ea83ce152c704ce7 Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:34:03 +0200 Subject: [PATCH 04/12] . --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c5ecc84..4ee2a1a 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require-dev": { - "phpunit/phpunit": "^9.0|^10.5|^11.0" + "phpunit/phpunit": "^8.0|^9.0|^10.5|^11.0" }, "require": { "ext-pcntl": "*", From 3e92e73d5652ed6861fc43874463fe3887ab7fed Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:34:44 +0200 Subject: [PATCH 05/12] . --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4ee2a1a..23363b6 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require-dev": { - "phpunit/phpunit": "^8.0|^9.0|^10.5|^11.0" + "phpunit/phpunit": "^7.0|^8.0|^9.0|^10.5|^11.0" }, "require": { "ext-pcntl": "*", From 29a33d27899695b1ac069ba23b3b662511960e64 Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:36:32 +0200 Subject: [PATCH 06/12] . --- tests/RedisSimpleLockFactoryTest.php | 3 ++- tests/RedisSimpleLockTest.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/RedisSimpleLockFactoryTest.php b/tests/RedisSimpleLockFactoryTest.php index db6beb0..da0f3b0 100644 --- a/tests/RedisSimpleLockFactoryTest.php +++ b/tests/RedisSimpleLockFactoryTest.php @@ -1,9 +1,10 @@ Date: Sat, 28 Sep 2024 01:37:52 +0200 Subject: [PATCH 07/12] . --- composer.json | 2 +- tests/RedisSimpleLockTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 23363b6..47837aa 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require-dev": { - "phpunit/phpunit": "^7.0|^8.0|^9.0|^10.5|^11.0" + "phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0|^10.5|^11.0" }, "require": { "ext-pcntl": "*", diff --git a/tests/RedisSimpleLockTest.php b/tests/RedisSimpleLockTest.php index 53c163c..4716257 100644 --- a/tests/RedisSimpleLockTest.php +++ b/tests/RedisSimpleLockTest.php @@ -21,7 +21,7 @@ public function testLock() $lock1->acquire(); // Only the second acquire is supposed to fail - $this->setExpectedException("Exception"); + $this->expectException("Exception"); $lock2->acquire(); } From 227a12a36fbca884f70c8cbf275c59f0335ecb3d Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:38:39 +0200 Subject: [PATCH 08/12] . --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 47837aa..0666f28 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ } ], "require-dev": { - "phpunit/phpunit": "^6.0|^7.0|^8.0|^9.0|^10.5|^11.0" + "phpunit/phpunit": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.5|^11.0" }, "require": { "ext-pcntl": "*", From c8655b2f062804d9e688f94a503633e89996c9ec Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:40:11 +0200 Subject: [PATCH 09/12] . --- .github/workflows/test.yml | 1 - tests/RedisSimpleLockFactoryTest.php | 2 +- tests/RedisSimpleLockTest.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b00e3b..9a5768a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,6 @@ jobs: strategy: matrix: php-versions: - - '5.5' - '5.6' - '7.0' - '7.1' diff --git a/tests/RedisSimpleLockFactoryTest.php b/tests/RedisSimpleLockFactoryTest.php index da0f3b0..4c4f508 100644 --- a/tests/RedisSimpleLockFactoryTest.php +++ b/tests/RedisSimpleLockFactoryTest.php @@ -8,7 +8,7 @@ class RedisSimpleLockFactoryTest extends TestCase { private $redisClient; - protected function setUp() + public function setUp() { $this->redisClient = new \Predis\Client(getenv('REDIS_URI')); $this->redisClient->flushdb(); diff --git a/tests/RedisSimpleLockTest.php b/tests/RedisSimpleLockTest.php index 4716257..faa97fb 100644 --- a/tests/RedisSimpleLockTest.php +++ b/tests/RedisSimpleLockTest.php @@ -7,7 +7,7 @@ class RedisSimpleLockTest extends TestCase { private $redisClient; - protected function setUp() + public function setUp() { $this->redisClient = new \Predis\Client(getenv("REDIS_URI")); $this->redisClient->flushdb(); From 2ffd61d0d38b6f47eec097a169ef3d332125b79e Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:41:21 +0200 Subject: [PATCH 10/12] . --- tests/RedisSimpleLockFactoryTest.php | 2 +- tests/RedisSimpleLockTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/RedisSimpleLockFactoryTest.php b/tests/RedisSimpleLockFactoryTest.php index 4c4f508..45bd09f 100644 --- a/tests/RedisSimpleLockFactoryTest.php +++ b/tests/RedisSimpleLockFactoryTest.php @@ -8,7 +8,7 @@ class RedisSimpleLockFactoryTest extends TestCase { private $redisClient; - public function setUp() + public function setUp(): void { $this->redisClient = new \Predis\Client(getenv('REDIS_URI')); $this->redisClient->flushdb(); diff --git a/tests/RedisSimpleLockTest.php b/tests/RedisSimpleLockTest.php index faa97fb..5d4cff5 100644 --- a/tests/RedisSimpleLockTest.php +++ b/tests/RedisSimpleLockTest.php @@ -7,7 +7,7 @@ class RedisSimpleLockTest extends TestCase { private $redisClient; - public function setUp() + public function setUp(): void { $this->redisClient = new \Predis\Client(getenv("REDIS_URI")); $this->redisClient->flushdb(); From b1bac81ae0149c4af2a61f39d33129f95fec5923 Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:42:10 +0200 Subject: [PATCH 11/12] . --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a5768a..f4b4e4b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,6 @@ jobs: strategy: matrix: php-versions: - - '5.6' - '7.0' - '7.1' - '7.2' From 36a0932b6a51b17ae3b9d49f3b59cc5ff0cc69fd Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Sat, 28 Sep 2024 01:44:03 +0200 Subject: [PATCH 12/12] . --- .github/workflows/test.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4b4e4b..37f6ab6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,13 +17,12 @@ jobs: strategy: matrix: php-versions: - - '7.0' - '7.1' - '7.2' - # - '8.0' - # - '8.1' - # - '8.2' - # - '8.3' + - '8.0' + - '8.1' + - '8.2' + - '8.3' steps: - uses: actions/checkout@v4