From c8cf4b9db28975be5927a2432df365c4ba25e603 Mon Sep 17 00:00:00 2001 From: d11wtq Date: Wed, 1 Apr 2009 16:09:57 +1100 Subject: [PATCH] Fixed some issues with 5.3.0RC1, but there are still some failing tests, albeit not too worrying. --- lib/classes/Swift/Transport/EsmtpTransport.php | 2 +- test-suite/config.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/classes/Swift/Transport/EsmtpTransport.php b/lib/classes/Swift/Transport/EsmtpTransport.php index 227ffa6d0..8d264ad64 100644 --- a/lib/classes/Swift/Transport/EsmtpTransport.php +++ b/lib/classes/Swift/Transport/EsmtpTransport.php @@ -210,7 +210,7 @@ public function executeCommand($command, $codes = array(), &$failures = null) // -- Mixin invocation code /** Mixin handling method for ESMTP handlers */ - private function __call($method, $args) + public function __call($method, $args) { foreach ($this->_handlers as $handler) { diff --git a/test-suite/config.php b/test-suite/config.php index 2eb0c2844..20d0ebc7a 100644 --- a/test-suite/config.php +++ b/test-suite/config.php @@ -3,6 +3,11 @@ //Error reporting settings error_reporting(E_ALL | E_STRICT); ini_set('display_errors', true); +if (defined('E_DEPRECATED')) +{ + error_reporting(error_reporting() | E_DEPRECATED); +} + //E_STRICT compliance -- If you change this timezone some tests may fail - // This only affects the tests, you need to ensure PHP is correctly set up in // your own code