You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh, yeah, I saw that, and yeah, I used that exactly as you proposed, tho, I find it kinda odd - instead of just checking whether or not string is a version and getting (presumably) true/false answer, you had to ->normalize() it (not obvious solution by itself), but also you had to catch an exception after it. Not so... beautiful I guess? Not so straightforward, maybe. So, wouldn't it be more convenient to add some true/false method (that maybe do exactly that ->normalize() + catch) ?
Is there any plans to add functionality for checking whether the passed string is a valid package version for Composer?
The text was updated successfully, but these errors were encountered: