Skip to content

The future of Common 3.0 #826

Open
Open
@Majkl578

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 We've already discussed replacing it by i.e. Symfony's EventDispatcher - drop it if suitable replacement is selected, doctrine/event-manager.
Lexer Already moved out, only BC.
NotifyPropertyChanged + PropertyChangedListener These sound useful and are used in ORM so move it to doctrine/property-change-notifier (what a name!) doctrine/persistence.
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?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions