Compare commits

..

No commits in common. "main" and "2.5.1" have entirely different histories.
main ... 2.5.1

4 changed files with 3 additions and 10 deletions

View file

@ -1,9 +1,3 @@
# 2.5.3 (2025-06-08)
- Update typing of Log() to support all psr\log versions
- # 2.5.2 (2025-06-08)
- Update typing of Log() to support all psr\log versions
# 2.5.1 (2025-06-08)
- Update psr/log version requirements

2
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d8e5313006d5c73b54ee6a410b1ad016",
"content-hash": "41f50fbbaf38787881da45b3077408fb",
"packages": [
{
"name": "colinmollenhour/credis",

View file

@ -25,10 +25,9 @@ class Log extends \Psr\Log\AbstractLogger
* @param mixed $level PSR-3 log level constant, or equivalent string
* @param string $message Message to log, may contain a { placeholder }
* @param array $context Variables to replace { placeholder }
*
* @return null
*/
public function log($level, $message, array $context = []): void
public function log($level, \Stringable|string $message, array $context = []): void
{
$logLevels = [
'emergency',

View file

@ -12,7 +12,7 @@ namespace Resque;
class Resque
{
public const VERSION = '2.5.3';
public const VERSION = '2.5.1';
public const DEFAULT_INTERVAL = 5;