Skip to content

Commit cf28c0a

Browse files
committed
AC-11004: Exception on Storefront when Admin adds CustomerCustomAttribute block via CMS Page Content
1 parent 919a6aa commit cf28c0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Cms/Model/Validator/DirectiveValidator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ class DirectiveValidator
1414
*
1515
* @param string $html
1616
* @return bool
17+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
18+
* @SuppressWarnings(PHPMD.NPathComplexity)
1719
*/
1820
public function isValid(string $html): bool
1921
{

0 commit comments

Comments
 (0)