Skip to content

Commit f6121da

Browse files
committed
Add suppress warning for cyclomatic complexity threshold
1 parent ae9f205 commit f6121da

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/SalesRule/Model/Rule/Condition/Product

1 file changed

+1
-0
lines changed

app/code/Magento/SalesRule/Model/Rule/Condition/Product/Subselect.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public function asHtml()
136136
*
137137
* @param \Magento\Framework\Model\AbstractModel $model
138138
* @return bool
139+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
139140
*/
140141
public function validate(\Magento\Framework\Model\AbstractModel $model)
141142
{

0 commit comments

Comments
 (0)