Repository navigation
v3.1.1
·
122 commits
to main
since this release
Changes
- #18 PHPStan level 10 (was 8), on
srcandtests:LogProcessFilter::new()$labeltyped asTranslatableInterface|string|false|null(the type ofsetLabel()),LogRecord::$contextdocumented asarray<mixed>(the Monolog context), conditional return type ofProcessExecution::getReport().
Fixes
- #135 HTTP API: a
contextgiven as a JSON string that does not decode to an array ("1","true","\"abc\"","null","") is rejected with a422(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.