@@ -15,9 +15,9 @@ |
||
| 15 | 15 | |
| 16 | 16 | use ptlis\SemanticVersion\Comparator\ComparatorFactory; |
| 17 | 17 | use ptlis\SemanticVersion\Parse\Token; |
| 18 | -use ptlis\SemanticVersion\Version\VersionBuilder; |
|
| 19 | 18 | use ptlis\SemanticVersion\VersionRange\ComparatorVersion; |
| 20 | 19 | use ptlis\SemanticVersion\VersionRange\VersionRangeInterface; |
| 20 | +use ptlis\SemanticVersion\Version\VersionBuilder; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Comparator versions store a comparator & version specifying part of a version range. |
@@ -15,12 +15,12 @@ |
||
| 15 | 15 | |
| 16 | 16 | use ptlis\SemanticVersion\Comparator\ComparatorInterface; |
| 17 | 17 | use ptlis\SemanticVersion\Parse\Token; |
| 18 | -use ptlis\SemanticVersion\Version\Label\LabelBuilder; |
|
| 19 | -use ptlis\SemanticVersion\Version\Version; |
|
| 20 | -use ptlis\SemanticVersion\Version\VersionBuilder; |
|
| 21 | 18 | use ptlis\SemanticVersion\VersionRange\ComparatorVersion; |
| 22 | 19 | use ptlis\SemanticVersion\VersionRange\LogicalAnd; |
| 23 | 20 | use ptlis\SemanticVersion\VersionRange\VersionRangeInterface; |
| 21 | +use ptlis\SemanticVersion\Version\Label\LabelBuilder; |
|
| 22 | +use ptlis\SemanticVersion\Version\Version; |
|
| 23 | +use ptlis\SemanticVersion\Version\VersionBuilder; |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * Parser for hyphenated ranges. |
@@ -22,11 +22,11 @@ |
||
| 22 | 22 | use ptlis\SemanticVersion\Parse\Matcher\WildcardRangeParser; |
| 23 | 23 | use ptlis\SemanticVersion\Parse\VersionParser; |
| 24 | 24 | use ptlis\SemanticVersion\Parse\VersionTokenizer; |
| 25 | +use ptlis\SemanticVersion\VersionRange\ComparatorVersion; |
|
| 26 | +use ptlis\SemanticVersion\VersionRange\VersionRangeInterface; |
|
| 25 | 27 | use ptlis\SemanticVersion\Version\Label\LabelBuilder; |
| 26 | 28 | use ptlis\SemanticVersion\Version\VersionBuilder; |
| 27 | 29 | use ptlis\SemanticVersion\Version\VersionInterface; |
| 28 | -use ptlis\SemanticVersion\VersionRange\ComparatorVersion; |
|
| 29 | -use ptlis\SemanticVersion\VersionRange\VersionRangeInterface; |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Simple class to provide version parsing with good defaults. |
@@ -11,8 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace ptlis\SemanticVersion\Comparator; |
| 13 | 13 | |
| 14 | -use ptlis\SemanticVersion\Parse\Token; |
|
| 15 | - |
|
| 16 | 14 | /** |
| 17 | 15 | * Factory to build comparator instances from string representation. |
| 18 | 16 | */ |