-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Eliminate dependency on doctrine/common #7249
Comments
should they go in the ORM, or in |
Will this be feasible in the 2.x branch? Or are we forced to wait for 3.x due to BC? |
Due to BC reasons, dropping the dependency on |
So requiring the split packages and using Composer's |
I don't think it's possible in 2.x, especially because of the Doctrine\Common\Proxy dependency. |
Umh... Maybe we can write down a shim/polyfill that uses ProxyManager under the hood, but provides aliases for Doctrine\Common\Proxy? Or the behavior is too different? |
That's a lot of work that really isn't worth it. I already tried working towards a BC-friendly way of doing it, and it is feasible, but its at least a couple of full days of work. |
Handled in #7497. |
What is used through
doctrine/common
dependency:Doctrine\Common\Util\Debug
- likely to be dropped, only used in one console command and one testDoctrine\Common\Event*
to be extracted todoctrine/event-manager
(for now)Doctrine\Common\Persistence
-> needsdoctrine/persistence
Doctrine\Common\Util\Inflector
-> should be switched todoctrine/inflector
Doctrine\Common\Lexer
-> should be switched todoctrine/lexer
(later removed)Doctrine\Common\{PropertyChangedListener,NotifyPropertyChanged}
-> likely to be merged into ORMcross references:
DBAL: doctrine/dbal#3176
Migrations: doctrine/migrations#722
The text was updated successfully, but these errors were encountered: