Skip to content

Commit 5764eeb

Browse files
author
Nicholas Roberts
authored
Merge pull request #41 from section-io/magento242p1php74
Magento 2.4.2 p1 PHP 7.4
2 parents 98da937 + 54ca9a6 commit 5764eeb

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Helper/Aperture.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function executeAuthRequest($service_url, $method = 'GET', $payload = nul
191191
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);
192192
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
193193
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
194-
curl_setopt($ch, CURLOPT_USERAGENT, 'section.io-Magento-2-Extension/103.0.5');
194+
curl_setopt($ch, CURLOPT_USERAGENT, 'section.io-Magento-2-Extension/104.0.5');
195195

196196
if ($username = $settingsFactory->getData('user_name')) {
197197
$credentials = ($username . ':' . $this->encryptor->decrypt($settingsFactory->getData('password')));

Helper/Data.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,10 @@ public function getCorrectVCL($pageCacheConfig, $major_release)
635635
{
636636
if ($major_release == "4") {
637637
return $pageCacheConfig->getVclFile(\Magento\PageCache\Model\Config::VARNISH_4_CONFIGURATION_PATH);
638-
} else {
638+
} elseif ($major_release == "5") {
639639
return $pageCacheConfig->getVclFile(\Magento\PageCache\Model\Config::VARNISH_5_CONFIGURATION_PATH);
640+
} else {
641+
return $pageCacheConfig->getVclFile(\Magento\PageCache\Model\Config::VARNISH_6_CONFIGURATION_PATH);
640642
}
641643
}
642644
}

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"name": "sectionio/metrics",
3-
"description": "Improve site metrics for your Section.io Magento environment.",
3+
"description": "Improve website performance metrics for the Section.io Magento environment.",
44
"type": "magento2-module",
5-
"version": "103.0.5",
5+
"version": "104.0.5",
66
"license": [
77
"OSL-3.0",
88
"AFL-3.0"
99
],
1010
"require": {
11-
"php": "~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0",
12-
"magento/framework": "~100.0 || ~101.0 || ~102.0|| ~103.0"
11+
"php": "~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0",
12+
"magento/framework": "~102.0.3|| ~103.0|| ~104.0",
13+
"magento/module-page-cache": "~100.3.3"
1314
},
1415
"autoload": {
1516
"files": [ "registration.php" ],

0 commit comments

Comments
 (0)