Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add laravel 9 and php8.2 support #150

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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