Skip to content

v3.1.1

Choose a tag to compare

@njoubert-cleverage njoubert-cleverage released this 09 Oct 08:04
· 122 commits to main since this release
11c8f80

Changes

  • #18 PHPStan level 10 (was 8), on src and tests: LogProcessFilter::new() $label typed as TranslatableInterface|string|false|null (the type of setLabel()), LogRecord::$context documented as array<mixed> (the Monolog context), conditional return type of ProcessExecution::getReport().

Fixes

  • #135 HTTP API: a context given as a JSON string that does not decode to an array ("1", "true", "\"abc\"", "null", "") is rejected with a 422 (Context must be a JSON object or array.); it gave a 500 (TypeError), whose message exposed the server paths with a synchronous execution. Add tests.