Skip to content

Commit

Permalink
fix: correct phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyvdSluijs committed Nov 21, 2024
1 parent 24e7cbf commit ce49046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
7 changes: 1 addition & 6 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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

-
Expand All @@ -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
Expand Down

0 comments on commit ce49046

Please sign in to comment.