Open
Description
The proposal is pretty simple: have no Common 3.0, instead split Common into smaller packages. We've already had discussion about this and Common 3.0 seems pretty much like relic and multiple components have already been split to their own packages.
Current proposal:
Component | Suggested action |
---|---|
Persistence | Move to new package doctrine/persistence (rename namespace to Doctrine\Persistence) |
Proxy | To be dropped without replacement. |
Reflection | Not really sure about this one, either move to doctrine/reflection or drop it. |
Util/ClassUtils | Proxy-related methods are obsolete making the rest also pretty much obsolete - drop it |
Util/Debug | Drop it or move to doctrine/debug. |
Util/Dumper | Unsure about its usefulness (there already exist more advanced tools like Tracy or Symfony Dumper). |
Util/Inflector | Already moved out, only BC. |
ClassLoader | Already deprecated, drop it. |
CommonException | ~ |
Comparable | I know no place where Comparable is used across Doctrine (is there any?) but it seems useful i.e. for ORM 3.0 - move it to doctrine/comparable. |
EventArgs + EventManager + EventSubscriber | |
Lexer | Already moved out, only BC. |
NotifyPropertyChanged + PropertyChangedListener | These sound useful and are used in ORM so |
Version | ~ |
Each new package would use PHP 7.2 (or even 7.1 where 7.2 has no benefit), follow CS and would be ported to typed code.
WDYT?