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

Converted Connection and Statement methods which returned false in case of a failure into void #3486

Merged
merged 1 commit into from
Mar 16, 2019

Conversation

morozov
Copy link
Member

@morozov morozov commented Mar 15, 2019

Q A
Type improvement
BC Break yes

}

return true;
$eventArgs = new ConnectionEventArgs($this);
Copy link
Member

Choose a reason for hiding this comment

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

Variable redundant

Copy link
Member Author

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).

@morozov morozov merged commit 72ba3e4 into doctrine:develop Mar 16, 2019
@morozov morozov deleted the conn-stmt-void branch March 16, 2019 02:29
@morozov morozov added this to the 3.0.0 milestone Mar 16, 2019
@morozov morozov self-assigned this Mar 16, 2019
morozov added a commit that referenced this pull request Mar 18, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit that referenced this pull request Apr 16, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit that referenced this pull request May 6, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit that referenced this pull request May 23, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit to morozov/dbal that referenced this pull request May 31, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit that referenced this pull request Jun 13, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit that referenced this pull request Jun 27, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit that referenced this pull request Jun 27, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit that referenced this pull request Jun 27, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit to morozov/dbal that referenced this pull request Aug 26, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
morozov added a commit that referenced this pull request Nov 2, 2019
Converted Connection and Statement methods which returned false in case of a failure into void
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants