-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Move HintException to OCP #26681
Move HintException to OCP #26681
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Please squash and rebase :) |
* @param \Exception|null $previous | ||
* @since 22.0.0 | ||
*/ | ||
public function __construct($message, $hint = '', $code = 0, \Exception $previous = null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public function __construct($message, $hint = '', $code = 0, \Exception $previous = null) { | |
public function __construct(string $message, string $hint = '', int $code = 0, ?\Exception $previous = null) { |
Can we do this or will it do boom?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do boom because of the exceptions that extend it and then they don't match anymore 🙈
So, I know you just string replaced, but the import order is now not alphabetically anymore, @kesselb will be sad |
@juliushaertl Mind to fix the comments? |
|
also conflicts. move to 23? |
Yes, lets move that. |
@juliushaertl Mind if I take over this PR? |
@gary-kim Sure, feel free to go ahead with it :) |
4cea5b9
to
e7089dd
Compare
Rebased, reordered the imports, and addressed the comments that I could. |
This comment has been minimized.
This comment has been minimized.
e7089dd
to
61806dc
Compare
Rebased |
This comment has been minimized.
This comment has been minimized.
61806dc
to
3302a20
Compare
Signed-off-by: Gary Kim <gary@garykim.dev>
3302a20
to
b78f3a5
Compare
There are plenty of exceptions in OCP that are extending from it and it is also used by some apps:
Makes psalm more happy when running with only the public namespace