-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Converted Connection and Statement methods which returned false in case of a failure into void #3486
Conversation
morozov
commented
Mar 15, 2019
Q | A |
---|---|
Type | improvement |
BC Break | yes |
…se of a failure into void
} | ||
|
||
return true; | ||
$eventArgs = new ConnectionEventArgs($this); |
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.
Variable redundant
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.
It was like this prior to the change and only got changed because of EarlyExitNotUsed
which often makes more harm than good if enforced (e.g. slevomat/coding-standard#371).
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void
Converted Connection and Statement methods which returned false in case of a failure into void