xiang a940c4d62d update 6 years ago
..
build a940c4d62d update 6 years ago
src a940c4d62d update 6 years ago
tests a940c4d62d update 6 years ago
.gitattributes a940c4d62d update 6 years ago
.gitignore a940c4d62d update 6 years ago
.php_cs a940c4d62d update 6 years ago
.travis.yml a940c4d62d update 6 years ago
CONTRIBUTING.md a940c4d62d update 6 years ago
LICENSE a940c4d62d update 6 years ago
README.md a940c4d62d update 6 years ago
build.xml a940c4d62d update 6 years ago
composer.json a940c4d62d update 6 years ago
phpunit.xml a940c4d62d update 6 years ago
phpunit.xml.dist a940c4d62d update 6 years ago

README.md

Build Status Latest Stable Version

PHPUnit_MockObject

PHPUnit_MockObject is the default mock object library for PHPUnit.

Requirements

  • PHP 5.3.3 is required but using the latest version of PHP is highly recommended

Installation

To add PHPUnit_MockObject as a local, per-project dependency to your project, simply add a dependency on phpunit/phpunit-mock-objects to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on PHPUnit_MockObject 2.3:

{
    "require": {
        "phpunit/phpunit-mock-objects": "2.3.*"
    }
}