diff options
-rwxr-xr-x | Auth.php | 5 | ||||
-rw-r--r-- | composer.json | 4 |
2 files changed, 4 insertions, 5 deletions
@@ -751,10 +751,7 @@ class Auth if($sendmail === true) { - // Check configuration for SMTP parameters - - require 'PHPMailer/PHPMailerAutoload.php'; - + // Check configuration for SMTP parameters $mail = new \PHPMailer; if($this->config->smtp) { $mail->isSMTP(); diff --git a/composer.json b/composer.json index a306ed6..e1dd29e 100644 --- a/composer.json +++ b/composer.json @@ -7,9 +7,11 @@ "license": "MIT", "require": { "php": ">=5.4.0", - "ext-mcrypt": "*", "phpmailer/phpmailer": "^5.2" }, + "require-dev": { + "phpunit/phpunit": "4.*" + }, "autoload": { "psr-4": { "PHPAuth\\": "/" |