From b7e8bf00a638f00f57a47f187825d492554f9c81 Mon Sep 17 00:00:00 2001 From: Christoph Massmann Date: Tue, 2 May 2023 08:46:51 +0200 Subject: [PATCH 1/2] fixed "Deprecated Functionality: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated" --- Block/JavascriptSnippet.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Block/JavascriptSnippet.php b/Block/JavascriptSnippet.php index 52aeae5..8920f61 100644 --- a/Block/JavascriptSnippet.php +++ b/Block/JavascriptSnippet.php @@ -20,15 +20,13 @@ class JavascriptSnippet extends Template { /** * Return the JavaScript snippet code without the '), + [''], '', - $this->_scopeConfig->getValue('recolize_recommendation_engine/general/javascript_snippet', \Magento\Store\Model\ScopeInterface::SCOPE_STORE) + (string)$this->_scopeConfig->getValue('recolize_recommendation_engine/general/javascript_snippet', \Magento\Store\Model\ScopeInterface::SCOPE_STORE) ); } } From 0e622d884131f516e05e3ffd0ad3e387d1aaa77b Mon Sep 17 00:00:00 2001 From: Christoph Massmann Date: Tue, 4 Jul 2023 11:42:12 +0200 Subject: [PATCH 2/2] increased version to 1.1.2 --- composer.json | 4 ++-- etc/module.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index dec7a19..24ef888 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "recolize/module-recommendation-engine-magento2", - "description": "The Recolize Recommendation Engine as extension for Magento 2", - "version": "1.1.1", + "description": "The Recolize Recommendation Engine Extension for Magento 2", + "version": "1.1.2", "type": "magento2-module", "keywords": [ "recolize", diff --git a/etc/module.xml b/etc/module.xml index 17b3067..f1864d1 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,6 +1,6 @@ - +