Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PropertyInfo] Version 7.1 conflicts with symfony/doctrine-bridge 7.0 #57360

Closed
@llupa

Description

@llupa

Symfony version(s) affected

7.1.1

Description

I had a generic PR from dependabot to update from bump symfony/property-info from 7.0.8 to 7.1.1 and it immediately fails to dump the container because:

!!  
!!  In PropertyInfoExtractor.php line 93:
!!  
!!    Attempted to call an undefined method named "getType" of class "Symfony\Bri  
!!    dge\Doctrine\PropertyInfo\DoctrineExtractor".                                
!!    Did you mean to call "getTypes"?                                             

getType was added in 7.1 with this PR. Is a conflict PR enough or is there another way the team would like to handle this? (like checking for method exists).

How to reproduce

If you pin symfony/doctrine-bridge at 7.0.* and then require for symfony/property-info at ^7.1 packages will comply with each other, but then the container cannot be built.

Possible Solution

No response

Additional Context

No response

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