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

Add a deprecation notice for this feature #633

Conversation

mikeSimonson
Copy link
Contributor

It can be replaced by comment feature of the doctrine
Type object.

@mikeSimonson mikeSimonson self-assigned this Mar 1, 2017
@mikeSimonson mikeSimonson reopened this Mar 7, 2017
@mikeSimonson mikeSimonson requested a review from stof March 7, 2017 12:51
@mikeSimonson
Copy link
Contributor Author

@stof Should I put the env var SYMFONY_DEPRECATIONS_HELPER=weak on every build ?

ConnectionFactory.php Outdated Show resolved Hide resolved
It can be replaced by comment feature of the doctrine
Type object.
@stof
Copy link
Member

stof commented Jul 10, 2017

@mikeSimonson No. you should add @group legacy on the test covering the BC layer (and ensuring other features covered by the same test are also covered by a non-legacy test)

@@ -84,6 +84,9 @@ private function initializeTypes()
Type::addType($type, $typeConfig['class']);
}
if ($typeConfig['commented']) {
@trigger_error(
sprintf('The commented option of the type configuration is deprecated since DoctrineBundle 1.7.' .
'Use the feature of the Type class instead. (in %s)', $type), E_USER_DEPRECATED);
Copy link
Member

Choose a reason for hiding this comment

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

I would say Use the "requiresSQLCommentHint" method of the Type class instead

@alcaeus
Copy link
Member

alcaeus commented Apr 5, 2019

Superseded by #947.

@alcaeus alcaeus closed this Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants