Skip to content

Commit

Permalink
Merge pull request #25 from sirbrillig/update/composer-remove-phpunit
Browse files Browse the repository at this point in the history
Remove phpunit dependency
  • Loading branch information
sirbrillig authored Oct 30, 2017
2 parents 8d954e8 + 4e64066 commit 0ce7e28
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 185 deletions.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ finish_spying();

## PHPUnit Custom Assertions

These are methods available on instances of `\Spies\TestCase`.
These are methods available on instances of `\Spies\TestCase`, which is loaded only if PHPUnit is loaded.

### Constraints for `assertThat()`

Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"keywords": ["phpunit", "mocking", "stubs", "spies", "spy"],
"homepage": "https://github.com/sirbrillig/spies",
"require": {
"php": ">=5.3.0",
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "^5.2",
"antecedent/patchwork": "^2.0.0"
},
"scripts": {
"test": ["phpunit"]
"test": ["vendor/bin/phpunit"]
},
"license": "MIT",
"autoload": {
Expand Down
Loading

0 comments on commit 0ce7e28

Please sign in to comment.