Skip to content

Commit 5fc9537

Browse files
committed
MAGE-1377 Suppress invalid Codacy escaping complaint
1 parent 60e3d5e commit 5fc9537

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Model/Backend/QueueCron.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public function beforeSave()
3939
'Cron expression "%s" is not valid.',
4040
htmlspecialchars($safeValue, ENT_QUOTES, 'UTF-8')
4141
);
42+
// Content is already escaped at this point
43+
// phpcs:ignore
4244
throw new InvalidCronException($msg);
4345
}
4446

0 commit comments

Comments
 (0)