Skip to content

Commit d1f17f8

Browse files
author
Joan He
authored
Merge pull request #120 from magento-engcom/MAGETWO-89443
MAGETWO-89443: Release New Version of ZF1
2 parents c6b0575 + 459d0d0 commit d1f17f8

File tree

4 files changed

+39
-47
lines changed

4 files changed

+39
-47
lines changed

composer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
"preferred-install": "dist",
1212
"sort-packages": true
1313
},
14-
"repositories": {
15-
"zf1": {
16-
"type": "vcs",
17-
"url": "https://github.com/magento-engcom/zf1-php-7.2-support.git"
18-
}
19-
},
2014
"require": {
2115
"php": "~7.1.3||~7.2.0",
2216
"ext-ctype": "*",
@@ -44,7 +38,7 @@
4438
"elasticsearch/elasticsearch": "~2.0|~5.1",
4539
"magento/composer": "~1.3.0",
4640
"magento/magento-composer-installer": ">=0.1.11",
47-
"magento/zendframework1": "dev-master",
41+
"magento/zendframework1": "~1.14.0",
4842
"monolog/monolog": "^1.17",
4943
"oyejorge/less.php": "~1.7.0",
5044
"pelago/emogrifier": "^2.0.0",

composer.lock

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/tests/integration/testsuite/Magento/GraphQl/GraphQlIntrospectionTest.php

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,17 @@ public function testIntrospectionQuery()
8080
$this->assertEquals('Query', $output['queryType']['name']);
8181
$this->assertEquals($output['types'][0]['kind'], 'OBJECT');
8282
$expectedFragment =
83-
[
84-
'name' => 'Query',
85-
'description' => 'Description at type level',
86-
'kind' => 'OBJECT',
87-
'fields' => [
88-
[
89-
'name' => 'a',
90-
'args' => []
91-
]
92-
]
93-
];
83+
[
84+
'name' => 'Query',
85+
'description' => 'Description at type level',
86+
'kind' => 'OBJECT',
87+
'fields' => [
88+
[
89+
'name' => 'a',
90+
'args' => []
91+
]
92+
]
93+
];
9494
$this->assertContains($expectedFragment, $output['types']);
9595
}
9696

@@ -102,27 +102,26 @@ public function testIntrospectsInputObjectWithNonNullInputField()
102102
{
103103
$testInputObject = new InputObjectType(
104104
[
105-
'name' => 'ProductFilterInput',
106-
'fields' => [
107-
'attributeA' => [
108-
'type' => \GraphQL\Type\Definition\Type::nonNull(
109-
\GraphQL\Type\Definition\Type::string()
110-
),
111-
'description' => 'testDescriptionForA'
112-
],
113-
'attributeB' => [
114-
'type' => \GraphQL\Type\Definition\Type::listOf(
115-
\GraphQL\Type\Definition\Type::string()
116-
)
117-
],
118-
'attributeC' => ['type' => \GraphQL\Type\Definition\Type::string(), 'defaultValue' => null],
119-
'attributeD' => [
120-
'type' => \GraphQL\Type\Definition\Type::string(),
121-
'defaultValue' => 'test',
122-
'description' => 'testDescriptionForD'
123-
],
124-
125-
]
105+
'name' => 'ProductFilterInput',
106+
'fields' => [
107+
'attributeA' => [
108+
'type' => \GraphQL\Type\Definition\Type::nonNull(
109+
\GraphQL\Type\Definition\Type::string()
110+
),
111+
'description' => 'testDescriptionForA'
112+
],
113+
'attributeB' => [
114+
'type' => \GraphQL\Type\Definition\Type::listOf(
115+
\GraphQL\Type\Definition\Type::string()
116+
)
117+
],
118+
'attributeC' => ['type' => \GraphQL\Type\Definition\Type::string(), 'defaultValue' => null],
119+
'attributeD' => [
120+
'type' => \GraphQL\Type\Definition\Type::string(),
121+
'defaultValue' => 'test',
122+
'description' => 'testDescriptionForD'
123+
],
124+
]
126125
]
127126
);
128127
$TestType = new ObjectType([

lib/internal/Magento/Framework/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"lib-libxml": "*",
3131
"colinmollenhour/php-redis-session-abstract": "~1.3.8",
3232
"composer/composer": "^1.6",
33-
"magento/zendframework1": "dev-master",
33+
"magento/zendframework1": "~1.14.0",
3434
"monolog/monolog": "^1.17",
3535
"oyejorge/less.php": "~1.7.0",
3636
"symfony/console": "~4.0.0",

0 commit comments

Comments
 (0)