-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
[Downgrade PHP 8.0] Throw expression #4314
Labels
Comments
I'm on it |
It's way more complicated then I expected. I'm giving up for other priorities |
Closing as PHP 8.0 is not a version we need to downgrade now. Let's handle in the future, when issues will pop :) |
TomasVotruba
added a commit
that referenced
this issue
Jun 22, 2023
rectorphp/rector-src@5438c55 Fix command to configure rector (#4314)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Downgrade new feature from PHP 8.0 to its equivalent PHP 7.4 code. RFC with explanation
We must identify all the different places where
throw
can appear as an expression, and transform each of them to a statement.If when executing the rule the code contains an unhandled example, it should throw a
DowngradeNotImplementedException
(and not aDowngradeNotPossibleException
), asking the developer to report the code as a new issue in Rector, so it can be implemented.From the RFC, the following examples have been identified. What others are there?
Diff
The text was updated successfully, but these errors were encountered: