From 11b6c528af6a0f0d74288b3f37e8e9dfcbe2aaf4 Mon Sep 17 00:00:00 2001 From: Ken Seah Date: Wed, 5 Jul 2017 16:54:08 +1000 Subject: [PATCH 1/2] phpunit compatibility update --- tests/BatchTest.php | 5 +++-- tests/ListsTest.php | 5 +++-- tests/MailChimpTest.php | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/BatchTest.php b/tests/BatchTest.php index abff248..b86a4b9 100644 --- a/tests/BatchTest.php +++ b/tests/BatchTest.php @@ -1,8 +1,9 @@ assertInstanceOf('DrewM\MailChimp\Batch', $Batch); } -} \ No newline at end of file +} diff --git a/tests/ListsTest.php b/tests/ListsTest.php index a3bc6a4..93a8761 100644 --- a/tests/ListsTest.php +++ b/tests/ListsTest.php @@ -1,8 +1,9 @@ assertArrayHasKey('lists', $lists); } -} \ No newline at end of file +} diff --git a/tests/MailChimpTest.php b/tests/MailChimpTest.php index 6a62269..24ca74d 100644 --- a/tests/MailChimpTest.php +++ b/tests/MailChimpTest.php @@ -1,8 +1,9 @@ setExpectedException('\Exception'); + $this->expectException('\Exception'); $MailChimp = new MailChimp('abc'); } From eaf60bddcde6681be95b636aaada7d7846ba885d Mon Sep 17 00:00:00 2001 From: Ken Seah Date: Thu, 20 Jul 2017 14:37:02 +1000 Subject: [PATCH 2/2] updated composer file --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 4087371..00f4441 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "ext-curl": "*" }, "require-dev": { - "phpunit/phpunit": "4.0.*", + "phpunit/phpunit": "6.2.*", "vlucas/phpdotenv": "^2.0" }, "autoload": { @@ -16,7 +16,7 @@ } }, "homepage": "https://github.com/drewm/mailchimp-api", - "authors": [ + "authors": [ { "name": "Drew McLellan", "email": "drew.mclellan@gmail.com",