Commit 284eedd
committed
Use Version::id() instead of Version::series() to check extension compatibility
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.1 parent 8eae9e1 commit 284eedd
1 file changed
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
77 | 98 | | |
0 commit comments