Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Eliminate usage of Zend_Config from Magento 2 Open Source #71 #103

Merged
merged 1 commit into from
Apr 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class KeyLength extends \Zend_Validate_StringLength
* Default encoding is set to utf-8 if none provided
* New option name added to allow adding key name in validation error messages
*
* @param integer|array|\Zend_Config $options
* @inheritdoc
*/
public function __construct($options = [])
{
Expand Down
4 changes: 1 addition & 3 deletions lib/internal/Magento/Framework/Validator/EmailAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
*/
namespace Magento\Framework\Validator;

use Zend_Config;

class EmailAddress extends \Zend_Validate_EmailAddress implements \Magento\Framework\Validator\ValidatorInterface
{
/**
Expand All @@ -21,7 +19,7 @@ class EmailAddress extends \Zend_Validate_EmailAddress implements \Magento\Frame
* 'mx' => If MX check should be enabled, boolean
* 'deep' => If a deep MX check should be done, boolean
*
* @param array|string|Zend_Config $options OPTIONAL
* @inheritdoc
*/
public function __construct($options = [])
{
Expand Down