Skip to content

Commit

Permalink
Add suppress warning for cyclomatic complexity threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagociu committed Oct 24, 2017
1 parent ae9f205 commit f6121da
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public function asHtml()
*
* @param \Magento\Framework\Model\AbstractModel $model
* @return bool
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*/
public function validate(\Magento\Framework\Model\AbstractModel $model)
{
Expand Down

0 comments on commit f6121da

Please sign in to comment.