Skip to content

Commit b7d1964

Browse files
Merge pull request #68 from magento-gl/AC-13306
AC-13306::Adobe Commerce 2.4.8 core code is compatible with PHP 8.4
2 parents 251b58d + 9e7d8d4 commit b7d1964

File tree

28 files changed

+30
-30
lines changed

28 files changed

+30
-30
lines changed

app/code/Magento/BundleSampleData/Setup/Installer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Installer implements Setup\SampleData\InstallerInterface
3232
*/
3333
public function __construct(
3434
\Magento\BundleSampleData\Model\Product $bundleProduct,
35-
StoreManagerInterface $storeManager = null
35+
?StoreManagerInterface $storeManager = null
3636
) {
3737
$this->bundleProduct = $bundleProduct;
3838
$this->storeManager = $storeManager ?: \Magento\Framework\App\ObjectManager::getInstance()

app/code/Magento/BundleSampleData/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-bundle-sample-data",
33
"description": "N/A",
44
"require": {
5-
"php": "~8.2.0||~8.3.0",
5+
"php": "~8.2.0||~8.3.0||~8.4.0",
66
"magento/framework": "*",
77
"magento/module-bundle": "*",
88
"magento/module-catalog-sample-data": "*",

app/code/Magento/CatalogRuleSampleData/Model/Rule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function __construct(
7272
\Magento\Catalog\Model\ResourceModel\Category\CollectionFactory $categoryCollectionFactory,
7373
\Magento\Customer\Model\GroupFactory $groupFactory,
7474
\Magento\Store\Model\WebsiteFactory $websiteFactory,
75-
Json $serializer = null
75+
?Json $serializer = null
7676
) {
7777
$this->fixtureManager = $sampleDataContext->getFixtureManager();
7878
$this->csvReader = $sampleDataContext->getCsvReader();

app/code/Magento/CatalogRuleSampleData/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-catalog-rule-sample-data",
33
"description": "N/A",
44
"require": {
5-
"php": "~8.2.0||~8.3.0",
5+
"php": "~8.2.0||~8.3.0||~8.4.0",
66
"magento/framework": "*",
77
"magento/module-catalog-rule": "*",
88
"magento/module-store": "*",

app/code/Magento/CatalogSampleData/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-catalog-sample-data",
33
"description": "N/A",
44
"require": {
5-
"php": "~8.2.0||~8.3.0",
5+
"php": "~8.2.0||~8.3.0||~8.4.0",
66
"magento/framework": "*",
77
"magento/module-store": "*",
88
"magento/module-eav": "*",

app/code/Magento/CmsSampleData/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-cms-sample-data",
33
"description": "N/A",
44
"require": {
5-
"php": "~8.2.0||~8.3.0",
5+
"php": "~8.2.0||~8.3.0||~8.4.0",
66
"magento/framework": "*",
77
"magento/module-cms": "*",
88
"magento/module-theme-sample-data": "*",

app/code/Magento/ConfigurableSampleData/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-configurable-sample-data",
33
"description": "N/A",
44
"require": {
5-
"php": "~8.2.0||~8.3.0",
5+
"php": "~8.2.0||~8.3.0||~8.4.0",
66
"magento/framework": "*",
77
"magento/module-configurable-product": "*",
88
"magento/module-product-links-sample-data": "*",

app/code/Magento/CustomerSampleData/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-customer-sample-data",
33
"description": "N/A",
44
"require": {
5-
"php": "~8.2.0||~8.3.0",
5+
"php": "~8.2.0||~8.3.0||~8.4.0",
66
"magento/framework": "*",
77
"magento/module-customer": "*",
88
"magento/module-directory": "*",

app/code/Magento/DownloadableSampleData/Model/Product/Converter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public function __construct(
3232
\Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory $attributeCollectionFactory,
3333
\Magento\Eav\Model\ResourceModel\Entity\Attribute\Option\CollectionFactory $attrOptionCollectionFactory,
3434
\Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory,
35-
\Magento\Downloadable\Api\Data\File\ContentInterfaceFactory $fileContentFactory = null,
36-
Filesystem $filesystem = null
35+
?\Magento\Downloadable\Api\Data\File\ContentInterfaceFactory $fileContentFactory = null,
36+
?Filesystem $filesystem = null
3737
) {
3838
parent::__construct(
3939
$categoryTreeFactory,

app/code/Magento/DownloadableSampleData/Setup/Installer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(
4444
Category $category,
4545
Attribute $attribute,
4646
Product $product,
47-
StoreManagerInterface $storeManager = null
47+
?StoreManagerInterface $storeManager = null
4848
) {
4949
$this->category = $category;
5050
$this->attribute = $attribute;

0 commit comments

Comments
 (0)