Skip to content

Commit ba9509b

Browse files
committed
AC-13535: Minimum and maximum value validation does not work for DOB attribute on Storefront
1 parent 92ca347 commit ba9509b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/code/Magento/Customer/Plugin/ValidateDobOnSave.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function __construct(
4646
* @return mixed
4747
* @throws InputException
4848
* @throws \Magento\Framework\Exception\LocalizedException
49+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
4950
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5051
*/
5152
public function aroundSave(

dev/tests/integration/testsuite/Magento/Customer/Plugin/ValidateDobOnSaveDataTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* @magentoAppArea frontend
2525
* @magentoAppIsolation enabled
2626
* @magentoDbIsolation enabled
27+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2728
*/
2829
class ValidateDobOnSaveDataTest extends TestCase
2930
{

0 commit comments

Comments
 (0)