Remove pointless json_encode availability checks #839
Annotations
6 errors
PHPStan (8.1):
src/Monolog/Handler/RedisHandler.php#L73
Call to method Redis::ltrim() with incorrect case: lTrim
|
PHPStan (8.1):
src/Monolog/Handler/TestHandler.php#L183
Offset 1 does not exist on array{0?: string, 1?: string, 2?: 'Alert'|'Critical'|'Debug'|'Emergency'|'Error'|'Info'|'Notice'|'Warning', 3?: string}.
|
PHPStan (8.1):
src/Monolog/Handler/TestHandler.php#L183
Offset 3 does not exist on array{0?: string, 1?: string, 2?: 'Alert'|'Critical'|'Debug'|'Emergency'|'Error'|'Info'|'Notice'|'Warning', 3?: string}.
|
PHPStan (8.1):
src/Monolog/Handler/TestHandler.php#L184
Offset 2 does not exist on array{0?: string, 1?: string, 2?: 'Alert'|'Critical'|'Debug'|'Emergency'|'Error'|'Info'|'Notice'|'Warning', 3: string}.
|
PHPStan (8.1):
src/Monolog/Utils.php#L242
Offset 'unit' on array{0: string, val: numeric-string, 1: numeric-string, unit: string, 2: string} on left side of ?? always exists and is not nullable.
|
PHPStan (8.1)
Process completed with exit code 1.
|