Feedback: - add a unit test for this method to show that it really closes #7298 and that it validates email addresses properly
@diosmosis I've renamed test methods, and changed test parent class to
PHPUnit_Framework_TestCase. Thanks for that review!
DI. Now it's ready to merge?
It was a wrong old test method
UsersManagerTest::testAddUserWrongEmail() that asserted that
email@example.com is invalid, but regarding RFC and new email validator(and http://isemail.info)
firstname.lastname@example.org is valid.
array('mx' => false, 'deep' => false) are default settings for
Zend_Validate_EmailAddress so I think we can just forget about it.