mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
aad9334fba | |||
b9042358e1 | |||
eb3395645f |
5 changed files with 15 additions and 5 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -1,4 +1,13 @@
|
|||
# 2.5.0 (205-06-08)
|
||||
# 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.5.0 (2025-06-08)
|
||||
- Update packages
|
||||
|
||||
# 2.4.0 (2024-12-11)
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
],
|
||||
"require": {
|
||||
"php": ">=8.1",
|
||||
"psr/log": "^3.0.2",
|
||||
"psr/log": "^1.1 || ^2.0 || ^3.0",
|
||||
"colinmollenhour/credis": "^1.14.0"
|
||||
},
|
||||
"require-dev": {
|
||||
|
|
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.0';
|
||||
public const VERSION = '2.5.3';
|
||||
|
||||
public const DEFAULT_INTERVAL = 5;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue