diff --git a/CHANGELOG.md b/CHANGELOG.md index 873feb86..5d29d4e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Correct casing of paths used in tests ([#745](https://github.com/jsonrainbow/json-schema/pull/745)) - Resolve deprecations of optional parameter ([#752](https://github.com/jsonrainbow/json-schema/pull/752)) - Fix wrong combined paths when traversing upward, fixes #557 ([#652](https://github.com/jsonrainbow/json-schema/pull/652)) +- Correct PHPStan baseline ([#764](https://github.com/jsonrainbow/json-schema/pull/764)) ### Changed - Bump to minimum PHP 7.2 ([#746](https://github.com/jsonrainbow/json-schema/pull/746)) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 46ed7397..e834ca5a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -952,7 +952,7 @@ parameters: - message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: string\\}\\.$#" - count: 2 + count: 1 path: src/JsonSchema/Uri/Retrievers/Curl.php - @@ -975,11 +975,6 @@ parameters: count: 1 path: src/JsonSchema/Uri/Retrievers/FileGetContents.php - - - message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: string\\}\\.$#" - count: 1 - path: src/JsonSchema/Uri/Retrievers/FileGetContents.php - - message: "#^Parameter \\#1 \\$callback of function set_error_handler expects \\(callable\\(int, string, string, int, array\\)\\: bool\\)\\|null, Closure\\(mixed, mixed\\)\\: void given\\.$#" count: 1