Fix warning

This commit is contained in:
Laurent Destailleur 2022-12-30 13:41:12 +01:00
parent cdb9aa5ba0
commit b4e76da867
2 changed files with 2 additions and 2 deletions

View File

@ -1518,7 +1518,7 @@ class EmailCollector extends CommonObject
$trackidfoundintorecipientid = 0;
$reg = array();
// See also later list of all supported tags...
if (preg_match('/\+(thi|ctc|use|mem|sub|proj|tas|con|tic|job|pro|ord|inv|spro|sor|sin|leav|stockinv|job|surv|salary)([0-9]+)@/', $emailto, $reg)) {
if (preg_match('/\+(thi|ctc|use|mem|sub|proj|tas|con|tic|pro|ord|inv|spro|sor|sin|leav|stockinv|job|surv|salary)([0-9]+)@/', $emailto, $reg)) {
$trackidfoundintorecipienttype = $reg[1];
$trackidfoundintorecipientid = $reg[2];
} elseif (preg_match('/\+emailing-(\w+)@/', $emailto, $reg)) { // Can be 'emailing-test' or 'emailing-IdMailing-IdRecipient'

View File

@ -1,6 +1,6 @@
version: "1.0"
linter: jetbrains/qodana-php:2022.3-eap
failThreshold: 0
failThreshold: 20000
profile:
name: qodana.recommended
exclude: