Skip to content

Commit 794cc9c

Browse files
authored
Merge pull request #495 from favicode/fix/php8
adding support and fix for PHP 8.0
2 parents c92400b + efff757 commit 794cc9c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "fastly/magento2",
33
"description": "Fastly CDN Module for Magento 2.3.x | 2.4.x",
44
"require": {
5-
"php": "~7.1.3|~7.2.0|~7.3.0|~7.4.0",
5+
"php": "~7.1.3|~7.2.0|~7.3.0|~7.4.0|~8.0.0",
66
"magento/module-config": ">=101.1.0",
77
"magento/module-store": ">=101.0.0",
88
"magento/module-page-cache": ">=100.3.0",

Diff for: etc/di.xml

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
*/
2222
-->
2323
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
24-
<type name="Magento\Catalog\Model\Product">
25-
<plugin name="configurable_identity" type="Magento\ConfigurableProduct\Plugin\Model\Product" disabled="true"/>
26-
</type>
2724
<type name="Magento\PageCache\Model\Config">
2825
<plugin name="fastly_emulate_varnish_cache_type" type="Fastly\Cdn\Model\PageCache\ConfigPlugin"/>
2926
</type>

0 commit comments

Comments
 (0)