From 10eb23276e331ea0e213a0597da33488b0f45246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Magrez?= Date: Fri, 2 Dec 2022 17:17:21 +0100 Subject: [PATCH] Fix Zend Validate Regex --- CHANGELOG.md | 5 +++++ Controller/Adminhtml/Attribute/Save.php | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3357b1d..4928e6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. +## [1.3.8] - 2022-12-02 +[1.3.8]: https://github.com/Smile-SA/magento2-module-custom-entity/compare/1.3.7...1.3.8 + +- Fix Zend Validate Regex + ## [1.3.7] - 2022-11-21 [1.3.7]: https://github.com/Smile-SA/magento2-module-custom-entity/compare/1.3.6...1.3.7 diff --git a/Controller/Adminhtml/Attribute/Save.php b/Controller/Adminhtml/Attribute/Save.php index 48a50ea..9c51a1c 100644 --- a/Controller/Adminhtml/Attribute/Save.php +++ b/Controller/Adminhtml/Attribute/Save.php @@ -8,7 +8,6 @@ use Magento\Framework\Controller\Result\ForwardFactory; use Magento\Framework\Serialize\Serializer\FormData; use Smile\ScopedEav\ViewModel\Data as DataViewModel; -use Zend\Validator\RegexFactory; /** * Custom entity attribute save controller. @@ -29,7 +28,6 @@ public function __construct( Context $context, DataViewModel $dataViewModel, Builder $attributeBuilder, - RegexFactory $regexFactory, ?FormData $formDataSerializer, ForwardFactory $resultForwardFactory ) { @@ -37,7 +35,6 @@ public function __construct( $context, $dataViewModel, $attributeBuilder, - $regexFactory, $formDataSerializer, $resultForwardFactory );