Skip to content

Throw more specific exceptions in JsonPatch::import() #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

outdooracorn
Copy link
Member

  • InvalidOperationException
  • MissingFieldException

- InvalidOperationException
- MissingFieldException
@github-actions
Copy link

github-actions bot commented Oct 17, 2022

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
PHP 37 (+2) 3741 (+89) 2914 (+52) 294 (+24) 533 (+13) 201 (+1) 95.5K (+1.8K)

@Silvan-WMDE Silvan-WMDE force-pushed the improve-invalid-patch-exceptions branch from 984cdc6 to baa943e Compare October 17, 2022 13:29
* rename Invalid... -> Unknown...
* make PHP 5.6 compatible
* create message inside Exceptions
@Silvan-WMDE Silvan-WMDE force-pushed the improve-invalid-patch-exceptions branch from baa943e to d9a22ad Compare October 17, 2022 13:35
@Silvan-WMDE Silvan-WMDE marked this pull request as ready for review October 17, 2022 13:38
@jakobw jakobw merged commit 066063b into master Oct 17, 2022
@jakobw jakobw deleted the improve-invalid-patch-exceptions branch October 17, 2022 13:41
jakobw pushed a commit that referenced this pull request Oct 21, 2022
- UnknownOperationException
- MissingFieldException

Co-authored-by: sihe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants