mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Compare commits
2 commits
eb3395645f
...
aad9334fba
Author | SHA1 | Date | |
---|---|---|---|
aad9334fba | |||
b9042358e1 |
4 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
# 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
2
composer.lock
generated
|
@ -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": "41f50fbbaf38787881da45b3077408fb",
|
||||
"content-hash": "d8e5313006d5c73b54ee6a410b1ad016",
|
||||
"packages": [
|
||||
{
|
||||
"name": "colinmollenhour/credis",
|
||||
|
|
|
@ -25,9 +25,10 @@ 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, \Stringable|string $message, array $context = []): void
|
||||
public function log($level, $message, array $context = []): void
|
||||
{
|
||||
$logLevels = [
|
||||
'emergency',
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Resque;
|
|||
|
||||
class Resque
|
||||
{
|
||||
public const VERSION = '2.5.1';
|
||||
public const VERSION = '2.5.3';
|
||||
|
||||
public const DEFAULT_INTERVAL = 5;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue