From 8918c6162da97e849aa6ac0429994205e2e4679f Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Fri, 9 Nov 2018 23:02:34 +0100 Subject: [PATCH 1/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81b1c63..c6bc113 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ [![PHP 7 ready](http://php7ready.timesplinter.ch/voku/PHPMailer-BMH/badge.svg)](https://travis-ci.org/voku/PHPMailer-BMH) [![License](https://poser.pugx.org/voku/bounce-mail-handler/license)](https://packagist.org/packages/voku/bounce-mail-handler) -* PHP 5.3+ Support +* PHP 7.0+ Support * Composer & PSR-0 Support * PHPUnit testing via Travis CI (TODO: more tests needed) * PHP-Quality testing via SensioLabsInsight (TODO: more fixes needed) From 1080b1aa595c195608143ff7db036a20888f965b Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Sat, 10 Nov 2018 06:36:31 +0000 Subject: [PATCH 2/3] Apply fixes from StyleCI --- src/BounceMailHandler/phpmailer-bmh_rules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BounceMailHandler/phpmailer-bmh_rules.php b/src/BounceMailHandler/phpmailer-bmh_rules.php index 308eb9f..2ce5b90 100644 --- a/src/BounceMailHandler/phpmailer-bmh_rules.php +++ b/src/BounceMailHandler/phpmailer-bmh_rules.php @@ -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 @@ -1277,7 +1277,7 @@ function bmhDSNRules($dsn_msg, $dsn_report, $debug_mode = false) * sample: * Diagnostic-Code: SMTP; 553 5.7.1 ... 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 From 0301f4de73a51e67fd8f608bbab1f7982e2537fd Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Fri, 23 Nov 2018 02:47:37 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index c6bc113..35d1c56 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,7 @@ [![SensioLabsInsight](https://insight.sensiolabs.com/projects/2161b4c1-5025-4e29-ae22-1f91c3a6657c/mini.png)](https://insight.sensiolabs.com/projects/2161b4c1-5025-4e29-ae22-1f91c3a6657c) [![Latest Stable Version](https://poser.pugx.org/voku/bounce-mail-handler/v/stable)](https://packagist.org/packages/voku/bounce-mail-handler) [![Total Downloads](https://poser.pugx.org/voku/bounce-mail-handler/downloads)](https://packagist.org/packages/voku/bounce-mail-handler) -[![Latest Unstable Version](https://poser.pugx.org/voku/bounce-mail-handler/v/unstable)](https://packagist.org/packages/voku/bounce-mail-handler) -[![PHP 7 ready](http://php7ready.timesplinter.ch/voku/PHPMailer-BMH/badge.svg)](https://travis-ci.org/voku/PHPMailer-BMH) +[![Latest Unstable Version](https://poser.pugx.org/voku/bounce-mail-handler/v/unstable)](https://packagist.org/packages/voku/bounce-mail-handler) [![License](https://poser.pugx.org/voku/bounce-mail-handler/license)](https://packagist.org/packages/voku/bounce-mail-handler) * PHP 7.0+ Support