Skip to content

Commit

Permalink
Merge pull request #115 from magento-commerce/platform-health
Browse files Browse the repository at this point in the history
[Platform Health] Dependency Updates & PHP8 Support
  • Loading branch information
fascinosum authored Oct 6, 2021
2 parents f223e97 + dbb8db9 commit 60d2cbb
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/AwsS3PageBuilder/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Aws S3 Page Builder module",
"require": {
"magento/framework": "*",
"php": "~7.3.0||~7.4.0"
"php": "~7.4.0||~8.0.0"
},
"suggest": {
"magento/module-page-builder": "*",
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogPageBuilderAnalytics/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"magento/module-page-builder-analytics": "*",
"magento/module-catalog": "*",
"magento/framework": "*",
"php": "~7.3.0||~7.4.0"
"php": "~7.4.0||~8.0.0"
},
"type": "magento2-module",
"license": [
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CmsPageBuilderAnalytics/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"magento/module-page-builder-analytics": "*",
"magento/module-cms": "*",
"magento/framework": "*",
"php": "~7.3.0||~7.4.0"
"php": "~7.4.0||~8.0.0"
},
"type": "magento2-module",
"license": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function render(array $params): array
->load();

if ($blocks->count() === 0) {
$result['error'] = sprintf(__('Block with ID: %s doesn\'t exist'), $params['block_id']);
$result['error'] = sprintf(__('Block with ID: %s doesn\'t exist')->render(), $params['block_id']);

return $result;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(
}

/**
* {@inheritdoc}
* @inheritdoc
*
* @return array
*/
Expand All @@ -59,7 +59,7 @@ public function toOptionArray() : array
$this->options[$pageId] = [
'value' => $pageId,
'label' => $item->getTitle(),
'identifier' => sprintf(__('ID: %s'), $pageId)
'identifier' => sprintf(__('ID: %s')->render(), $pageId)
];
}
}
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/PageBuilder/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"magento/module-wishlist": "*",
"magento/module-require-js": "*",
"magento/module-media-storage": "*",
"php": "~7.3.0||~7.4.0",
"phpgt/dom": "2.1.6"
"php": "~7.4.0||~8.0.0",
"phpgt/dom": "2.2.1"
},
"suggest": {
"magento/module-review": "*"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/PageBuilderAdminAnalytics/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"require": {
"magento/framework": "*",
"php": "~7.3.0||~7.4.0"
"php": "~7.4.0||~8.0.0"
},
"suggest": {
"magento/module-admin-analytics": "*",
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/PageBuilderAnalytics/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"magento/module-analytics": "*",
"magento/module-page-builder": "*",
"magento/framework": "*",
"php": "~7.3.0||~7.4.0"
"php": "~7.4.0||~8.0.0"
},
"type": "magento2-module",
"license": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private function prepareExpectedResult() : array
$options[$pageId] = [
'value' => $pageId,
'label' => $item->getTitle(),
'identifier' => sprintf(__('ID: %s'), $pageId)
'identifier' => sprintf(__('ID: %s')->render(), $pageId)
];
}
return $options;
Expand Down

0 comments on commit 60d2cbb

Please sign in to comment.