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

Remove UnprocessedRequestException #337

Closed
kelunik opened this issue Jul 8, 2023 · 1 comment · Fixed by #349
Closed

Remove UnprocessedRequestException #337

kelunik opened this issue Jul 8, 2023 · 1 comment · Fixed by #349
Assignees
Milestone

Comments

@kelunik
Copy link
Member

kelunik commented Jul 8, 2023

Work already started in #334.

@kelunik kelunik self-assigned this Jul 8, 2023
@kelunik kelunik added this to the 5.x milestone Jul 8, 2023
@kelunik
Copy link
Member Author

kelunik commented Aug 23, 2023

@trowski I finally remember why we can remove this exception:

    /**
     * @return bool Whether processing the request has already been started.
     */
    public function isStarted(): bool
    {
        return EventInvoker::getPhase($this) !== Phase::Unprocessed;
    }

We have another way to check whether a request is unprocessed now.

@kelunik kelunik linked a pull request Aug 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant