Skip to content

Commit

Permalink
Add laravel 9 and php8.2 support (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
heetap authored Feb 24, 2023
1 parent e029f91 commit d3fb983
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
}
],
"require": {
"php": ">=7.1 < 8.2",
"php": ">=7.1 < 8.3",
"ext-json": "*",
"ext-pcntl": "*",
"ext-pcre": "*",
"ext-posix": "*",
"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.*"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Jobs/Reservers/AbstractReserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/PubSub/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Subscribers/WatchdogSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Workers/AbstractWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d3fb983

Please sign in to comment.