summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xAuth.php5
-rw-r--r--composer.json4
2 files changed, 4 insertions, 5 deletions
diff --git a/Auth.php b/Auth.php
index 639a44b..d58c0ea 100755
--- a/Auth.php
+++ b/Auth.php
@@ -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\\": "/"