Skip to content
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

Refactor remaining usages of json_error_response() #2269

Merged

Conversation

williamjallen
Copy link
Collaborator

json_error_response() has been deprecated for some time, and several of the thorny issues which previously blocked its removal have since been addressed. This PR removes the final remaining usages of json_error_response(). As a result, the System class and dependency injection code was rendered obsolete and removed. By removing the most common usage of the exit() PHP builtin in the codebase, the long-term goal of handling all request termination with Laravel is now almost complete.

@williamjallen williamjallen added this to the v3.5 milestone Jun 12, 2024
@williamjallen williamjallen force-pushed the remove-json_error_response branch from ae98ebd to bcfc542 Compare June 12, 2024 14:58
Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable! LGTM

@josephsnyder josephsnyder added this pull request to the merge queue Jun 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 17, 2024
@williamjallen williamjallen added this pull request to the merge queue Jun 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 17, 2024
@williamjallen williamjallen added this pull request to the merge queue Jun 17, 2024
Merged via the queue into Kitware:master with commit acd1184 Jun 17, 2024
6 checks passed
@williamjallen williamjallen deleted the remove-json_error_response branch June 17, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants