Skip to content

Commit

Permalink
Merge pull request #12 from voku/analysis-XpZeJo
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
voku authored Nov 10, 2018
2 parents 8918c61 + 1080b1a commit 4536292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BounceMailHandler/phpmailer-bmh_rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ function bmhDSNRules($dsn_msg, $dsn_report, $debug_mode = false)
* sample:
* Diagnostic-Code: SMTP; 554 Please visit http:// antispam.domain.com/denyip.php?IP=111.111.111.000 (#5.7.1)
*/
elseif (false !== stripos($diag_code, "denyip")) {
elseif (false !== stripos($diag_code, 'denyip')) {
$result['rule_cat'] = 'antispam';
$result['rule_no'] = '0144';
} /* rule: antispam, deny ip
Expand Down Expand Up @@ -1277,7 +1277,7 @@ function bmhDSNRules($dsn_msg, $dsn_report, $debug_mode = false)
* sample:
* Diagnostic-Code: SMTP; 553 5.7.1 <[email protected]>... SpamTrap=reject mode, dsn=5.7.1, Message blocked by BOX Solutions (www.domain.com) SpamTrap Technology, please contact the domain.com site manager for help: (ctlusr8012).
*/
elseif (false !== stripos($diag_code, "SpamTrap")) {
elseif (false !== stripos($diag_code, 'SpamTrap')) {
$result['rule_cat'] = 'antispam';
$result['rule_no'] = '0200';
} /* rule: antispam, mailfrom mismatch
Expand Down

0 comments on commit 4536292

Please sign in to comment.