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

Skip to content

[PropertyInfo] Invalid merge broke composer installation #63179

@kevinpapst

Description

@kevinpapst

Symfony version(s) affected

7.3 + 7.4 + 8.0 + 8.1

Description

After a regular composer update in a 7.4 project, I suddenly receive the error during cache:warmup:

Image

This likely happens due to an invalid merge:
https://github.com/symfony/symfony/commits/7.4/src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php

@nicolas-grekas your original PR said

 [PropertyInfo] Throw when phpdocumentor/reflection-docblock v6 is in use (branch 6.4 only)

but the code was merged in all higher branches as well:

How to reproduce

Run composer update on a SF 74 project that uses nelmio/api-doc-bundle or any other library that relies on symfony/property-info

Possible Solution

Remove the invalid commit from all higher branches and tag new releases

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions