Skip to content

Commit ba2d3c7

Browse files
fix: correct phpstan baseline (#764)
1 parent 24e7cbf commit ba2d3c7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- Correct casing of paths used in tests ([#745](https://github.com/jsonrainbow/json-schema/pull/745))
1818
- Resolve deprecations of optional parameter ([#752](https://github.com/jsonrainbow/json-schema/pull/752))
1919
- Fix wrong combined paths when traversing upward, fixes #557 ([#652](https://github.com/jsonrainbow/json-schema/pull/652))
20+
- Correct PHPStan baseline ([#764](https://github.com/jsonrainbow/json-schema/pull/764))
2021

2122
### Changed
2223
- Bump to minimum PHP 7.2 ([#746](https://github.com/jsonrainbow/json-schema/pull/746))

phpstan-baseline.neon

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ parameters:
952952

953953
-
954954
message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: string\\}\\.$#"
955-
count: 2
955+
count: 1
956956
path: src/JsonSchema/Uri/Retrievers/Curl.php
957957

958958
-
@@ -975,11 +975,6 @@ parameters:
975975
count: 1
976976
path: src/JsonSchema/Uri/Retrievers/FileGetContents.php
977977

978-
-
979-
message: "#^Offset 1 does not exist on array\\{0\\?\\: string, 1\\?\\: string\\}\\.$#"
980-
count: 1
981-
path: src/JsonSchema/Uri/Retrievers/FileGetContents.php
982-
983978
-
984979
message: "#^Parameter \\#1 \\$callback of function set_error_handler expects \\(callable\\(int, string, string, int, array\\)\\: bool\\)\\|null, Closure\\(mixed, mixed\\)\\: void given\\.$#"
985980
count: 1

0 commit comments

Comments
 (0)