diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7f1df8f..901fdd3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,7 +20,7 @@ jobs: --health-retries 5 strategy: matrix: - php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] + php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] redis-versions: ['5', '6', '7'] name: PHP ${{ matrix.php-versions }} (Redis ${{ matrix.redis-versions }}) steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index c49e99c..3550636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [3.22.0] - 2023-02-24 +### Changes +- PHP 8.2 support +- Laravel 9 support + ## [3.21.0] - 2022-11-09 ### Changes - predis -> ^1.1.10 with ErrorResponse handling diff --git a/composer.json b/composer.json index 998b381..8a6d515 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ } ], "require": { - "php": ">=7.1 < 8.2", + "php": ">=7.1 < 8.3", "ext-json": "*", "ext-pcntl": "*", "ext-pcre": "*", @@ -32,7 +32,7 @@ "ext-sockets": "*", "monolog/monolog": "^1.23 || ^2.0", "predis/predis": "^1.1.10", - "psr/log": "^1", + "psr/log": "^1 || ^2 || ^3", "ramsey/uuid": "^3.7 || ^4", "seld/signal-handler": "1.1.*" }, diff --git a/src/Jobs/Reservers/AbstractReserver.php b/src/Jobs/Reservers/AbstractReserver.php index 988cf9f..f7b642f 100644 --- a/src/Jobs/Reservers/AbstractReserver.php +++ b/src/Jobs/Reservers/AbstractReserver.php @@ -150,7 +150,7 @@ public function getDescription(): string * @param LoggerInterface $logger * @return void */ - public function setLogger(LoggerInterface $logger) + public function setLogger(LoggerInterface $logger): void { $this->logger = $logger; } diff --git a/src/PubSub/Manager.php b/src/PubSub/Manager.php index ce2bdd7..83f2160 100644 --- a/src/PubSub/Manager.php +++ b/src/PubSub/Manager.php @@ -143,7 +143,7 @@ public function stopListening(): void * @param LoggerInterface $logger * @return void */ - public function setLogger(LoggerInterface $logger) + public function setLogger(LoggerInterface $logger): void { $this->logger = $logger; } diff --git a/src/Subscribers/WatchdogSubscriber.php b/src/Subscribers/WatchdogSubscriber.php index 80f64b1..3641e9d 100644 --- a/src/Subscribers/WatchdogSubscriber.php +++ b/src/Subscribers/WatchdogSubscriber.php @@ -70,7 +70,7 @@ public function __construct(Redis $redis, array $channels, SystemFacade $system * @param LoggerInterface $logger * @return void */ - public function setLogger(LoggerInterface $logger) + public function setLogger(LoggerInterface $logger): void { $this->logger = $logger; } diff --git a/src/Workers/AbstractWorker.php b/src/Workers/AbstractWorker.php index ab9d406..7fe0fee 100644 --- a/src/Workers/AbstractWorker.php +++ b/src/Workers/AbstractWorker.php @@ -169,7 +169,7 @@ final public function getInterval(): int * @param LoggerInterface $logger * @return void */ - public function setLogger(LoggerInterface $logger) + public function setLogger(LoggerInterface $logger): void { $this->logger = $logger; $this->reserver->setLogger($logger);