Skip to content

Consider PHP 7.2 for ORM.NEXT #6529

Closed
Closed
@Majkl578

Description

@Majkl578

Primary motivation:

  • object typehint
    • should eliminate lots of mixed types across whole code base
    • greatly improving type safety & avoid potential mixed-related bugs
    • clean-up public API
    • less BC breaks in future versions
  • parameter type widening
    • could ease migration
    • mostly theoretical benefitl? (added return types will still break user-land things)

As an example, here's how EntityManagerInterface would look for 7.2. ☺️

PHP 7.2 is due to release before the end of year. There's already alpha 2 (without object typehint - should arrive in alpha 3 / beta 1).

Thoughts?

Metadata

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