8000 Improve deprecation wording in `Doctrine\DBAL\Schema\Column#setOptions()` by greg0ire · Pull Request #2935 · doctrine/dbal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improve deprecation wording in Doctrine\DBAL\Schema\Column#setOptions() #2935

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

Merged
merged 1 commit into from
Dec 8, 2017

Conversation

greg0ire
Copy link
Member
@greg0ire greg0ire commented Dec 8, 2017

People that are starting a new project will immediately know what this
is about, but people upgrading doctrine might get a lot of these and
should have a better clue regarding what this is about.

@@ -121,7 +121,7 @@ public function setOptions(array $options)
if ( ! method_exists($this, $method)) {
// next major: throw an exception
@trigger_error(sprintf(
'The "%s" option is not supported,'.
'The "%s" doctrine column option is not supported,'.
' setting it is deprecated and will cause an error in 3.0',
Copy link
Member

Choose a reason for hiding this comment

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

my 2cts:
'The "%s" column option is not supported,'.
' setting it is deprecated and will cause an error in Doctrine 3.0',

People that are starting a new project will immediately know what this
is about, but people upgrading doctrine might get a lot of these and
should have a better clue regarding what this is about.
@Ocramius Ocramius self-assigned this Dec 8, 2017
@Ocramius Ocramius changed the title Improve deprecation wording Improve deprecation wording in Doctrine\DBAL\Schema\Column#setOptions() Dec 8, 2017
@Ocramius Ocramius added this to the 2.7.0 milestone Dec 8, 2017
Copy link
Member
@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Ocramius Ocramius merged commit 6565790 into doctrine:master Dec 8, 2017
@greg0ire greg0ire deleted the improve_wording branch December 8, 2017 18:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 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
0