From 43ad3f5b0bce80dfbb46c8bc66b94caeb672400f Mon Sep 17 00:00:00 2001 From: Juan Basso Date: Wed, 15 Feb 2017 14:34:38 -0500 Subject: [PATCH] Dropping PHP 5.5 and updating readme --- .travis.yml | 1 - README.md | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c31bf08..64fdff9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ sudo: false language: php php: - - 5.5 - 5.6 - 7.0 diff --git a/README.md b/README.md index c1d3359..756a723 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ Mongounit is a PHPUnit extension for test cases that utilize MongoDB as their da ## Requirements -* PHP 5.5+ +* PHP 5.6+ * PHPUnit 4.0+ -* PECL mongo 1.3+ +* PECL mongodb 1.2+ ## Testing @@ -29,7 +29,7 @@ class MyMongoTestCase extends \PHPUnit_Framework_TestCase { */ public function getMongoConnection() { // Add your credentials here - return new \MongoClient(); + return new \MongoDB\Client(); } /** @@ -60,4 +60,4 @@ class MyMongoTestCase extends \PHPUnit_Framework_TestCase { ## Note about PHP Versions -PHP 5.3 and 5.4 are no longer actively supported. If you are using these version, stick to v1.2.0 of mongounit or below, however it is recommended to stop using these versions of PHP. \ No newline at end of file +PHP 5.5 and below are no longer actively supported. If you are using these version, stick with previous versions of mongounit, however it is recommended to stop using these versions of PHP.