Skip to content

Remove pointless json_encode availability checks (#1919) #843

Remove pointless json_encode availability checks (#1919)

Remove pointless json_encode availability checks (#1919) #843

Triggered via push October 25, 2024 19:45
Status Failure
Total duration 40s
Artifacts

phpstan.yml

on: push
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

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.