Skip to content

Remove Doctrine\DBAL\Types\Type::__toString()#3257

Merged
morozov merged 1 commit intodoctrine:developfrom
Majkl578:dev/removal/Type-__toString
Aug 18, 2018
Merged

Remove Doctrine\DBAL\Types\Type::__toString()#3257
morozov merged 1 commit intodoctrine:developfrom
Majkl578:dev/removal/Type-__toString

Conversation

@Majkl578
Copy link
Copy Markdown
Contributor

@Majkl578 Majkl578 commented Aug 17, 2018

Q A
Type improvement
BC Break yes

Summary

Relying on __toString() internally was already removed in #2835, it's not obsolete and untested API.

1st step towards #2841 (Refactoring type system).

Copy link
Copy Markdown
Member

@morozov morozov left a comment

Choose a reason for hiding this comment

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

Not sure if relying on FQCN is any better than relying on a made-up name but __toString() shouldn't bepart of the API in any event.

@morozov morozov merged commit b59f84b into doctrine:develop Aug 18, 2018
@morozov morozov added this to the 3.0.0 milestone Aug 18, 2018
@Majkl578 Majkl578 deleted the dev/removal/Type-__toString branch August 18, 2018 19:31
morozov added a commit that referenced this pull request Sep 29, 2018
Remove Doctrine\DBAL\Types\Type::__toString()
morozov added a commit that referenced this pull request Oct 7, 2018
Remove Doctrine\DBAL\Types\Type::__toString()
morozov added a commit that referenced this pull request Oct 7, 2018
Remove Doctrine\DBAL\Types\Type::__toString()
morozov added a commit that referenced this pull request Nov 14, 2018
Remove Doctrine\DBAL\Types\Type::__toString()
morozov added a commit that referenced this pull request Nov 14, 2018
Remove Doctrine\DBAL\Types\Type::__toString()
morozov added a commit that referenced this pull request Nov 25, 2018
Remove Doctrine\DBAL\Types\Type::__toString()
morozov added a commit that referenced this pull request Dec 6, 2018
Remove Doctrine\DBAL\Types\Type::__toString()
morozov added a commit that referenced this pull request Jan 20, 2019
Remove Doctrine\DBAL\Types\Type::__toString()
morozov added a commit to morozov/dbal that referenced this pull request Feb 6, 2019
…tring

Remove Doctrine\DBAL\Types\Type::__toString()
@morozov morozov mentioned this pull request May 23, 2019
1 task
@morozov morozov modified the milestones: 4.0.0, 3.0.0 Jun 17, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 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.

2 participants