Laravel 5.6 updates
Travis config update Removed HHVM script as Laravel no longer support HHVM after releasing 5.3
This commit is contained in:
@@ -19,7 +19,7 @@ class VersionConstraintParserTest extends TestCase {
|
||||
/**
|
||||
* @dataProvider versionStringProvider
|
||||
*
|
||||
* @param string $versionString
|
||||
* @param string $versionString
|
||||
* @param VersionConstraint $expectedConstraint
|
||||
*/
|
||||
public function testReturnsExpectedConstraint($versionString, VersionConstraint $expectedConstraint) {
|
||||
@@ -109,6 +109,27 @@ class VersionConstraintParserTest extends TestCase {
|
||||
)
|
||||
]
|
||||
)
|
||||
],
|
||||
['7.0.28-1', new ExactVersionConstraint('7.0.28-1')],
|
||||
[
|
||||
'^3.0.0-alpha1',
|
||||
new AndVersionConstraintGroup(
|
||||
'^3.0.0-alpha1',
|
||||
[
|
||||
new GreaterThanOrEqualToVersionConstraint('^3.0.0-alpha1', new Version('3.0.0-alpha1')),
|
||||
new SpecificMajorVersionConstraint('^3.0.0-alpha1', 3)
|
||||
]
|
||||
)
|
||||
],
|
||||
[
|
||||
'^3.0.0-alpha.1',
|
||||
new AndVersionConstraintGroup(
|
||||
'^3.0.0-alpha.1',
|
||||
[
|
||||
new GreaterThanOrEqualToVersionConstraint('^3.0.0-alpha.1', new Version('3.0.0-alpha.1')),
|
||||
new SpecificMajorVersionConstraint('^3.0.0-alpha.1', 3)
|
||||
]
|
||||
)
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user