Skip to content

Preg.php line 392 exception after upgrade to 2.5.0 from 2.4.4 #11231

Closed
@danimueller

Description

@danimueller

Today after using composer.phar self-update, composer was updated to 2.5.0

When running composer.phar install after that I get:

In Preg.php line 392:

Pattern "#./(trunk|(branches|tags)/(.))#" had an unexpected unmatched group "2", make sure the pattern always matches or u
se match() instead.

Rolled back to 2.4.4 and everything works fine with no issues.

Looked at composer.phar code and exception might be thrown after svn info --xml is called. I have a svn repository with just a main trunk, no branches or tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions