Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Version::id() instead of Version::series() to check extension com…
…patibility Version::id() returns X.Y.Z for release versions, which can be passed directly to PharIo\Version\Version. For unreleased versions, Version::id() returns X.Y.Z-n-hash (release branch) or X.Y-hash (main branch), which cannot be passed directly to PharIo\Version\Version. X.Y.Z-n-hash is passed to PharIo\Version\Version as X.Y.Z and X.Y-hash is passed to PharIo\Version\Version as X.Y.0.
- Loading branch information