Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
danimueller opened this issue Dec 20, 2022 · 0 comments
Closed

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

danimueller opened this issue Dec 20, 2022 · 0 comments
Labels
Milestone

Comments

@danimueller
Copy link

danimueller commented Dec 20, 2022

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.

@Seldaek Seldaek added this to the 2.5 milestone Dec 21, 2022
@Seldaek Seldaek added the Bug label Dec 21, 2022
emahorvat52 pushed a commit to emahorvat52/composer that referenced this issue Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants