Skip to content

Commit

Permalink
Dropping PHP 5.5 and updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Feb 15, 2017
1 parent 3dcbade commit 43ad3f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -29,7 +29,7 @@ class MyMongoTestCase extends \PHPUnit_Framework_TestCase {
*/
public function getMongoConnection() {
// Add your credentials here
return new \MongoClient();
return new \MongoDB\Client();
}

/**
Expand Down Expand Up @@ -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.
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.

0 comments on commit 43ad3f5

Please sign in to comment.