Skip to content

Commit f6b14ad

Browse files
oshmyheliukshiftedreality
authored andcommitted
MAGECLOUD-4018: Adjust Service Version Validation for 2.2.10/2.3.3 Support (#580)
1 parent 504fd42 commit f6b14ad

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Service/Validator.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ class Validator
2424
const MAGENTO_SUPPORTED_SERVICE_VERSIONS = [
2525
ServiceInterface::NAME_PHP => [
2626
'<=2.2.4' => '>=7.0 <7.2', //'7.0.2|7.0.4|~7.0.6|~7.1.0',
27-
'>=2.2.5 <2.3.0' => '>=7.0 <7.2', //'~7.0.13|~7.1.0',
28-
'>=2.3.0' => '>=7.1 <7.3', //'~7.1.3 || ~7.2.0',
27+
'>=2.2.5 <2.2.10' => '>=7.0 <7.2', //'~7.0.13|~7.1.0',
28+
'>=2.2.10 <2.3.0' => '>=7.1 <7.3', //'~7.1.0|~7.2.0',
29+
'>=2.3.0 <2.3.3' => '>=7.1 <7.3', //'~7.1.3 || ~7.2.0',
30+
'>=2.3.3' => '>=7.1 <7.4', // '~7.1.3||~7.2.0||~7.3.0'
2931
],
3032
ServiceInterface::NAME_DB => [
3133
'*' => '>=10.0 <10.3',
@@ -35,7 +37,8 @@ class Validator
3537
],
3638
ServiceInterface::NAME_VARNISH=> [
3739
'<2.2.0' => '~3.5.0 || ^4.0',
38-
'>=2.2.0' => '^4.0 || ^5.0',
40+
'>=2.2.0 <2.3.3'=> '^4.0 || ^5.0',
41+
'>=2.3.3' => '^4.0 || ^5.0 || ^6.2',
3942
],
4043
ServiceInterface::NAME_REDIS => [
4144
'*' => '~3.2.0 || ~4.0.0 || ~5.0.0',

0 commit comments

Comments
 (0)