Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit aa49eb9

Browse files
committed
Preparing for 1.0.0 release.
1 parent ab25207 commit aa49eb9

File tree

2 files changed

+37
-9
lines changed

2 files changed

+37
-9
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Phony changelog
22

3+
## 1.0.0 (2017-04-24)
4+
5+
- **[BC BREAK]** Third-party test framework integrations have been moved to
6+
separate Composer packages ([#216]).
7+
- **[BC BREAK]** Dropped support for Counterpart, Mockery, Phake, and Prophecy
8+
matchers ([#216]).
9+
10+
[#216]: https://github.com/eloquent/phony/issues/216
11+
12+
### Migrating to 1.x
13+
14+
No code changes should be required, but in some cases, the Composer package name
15+
and version constraint will need to be updated:
16+
17+
- If you're using Phony under **PHPUnit**:
18+
- Change the Composer package from `eloquent/phony` to
19+
`eloquent/phony-phpunit`.
20+
- Pick the appropriate version constraint for the version of PHPUnit you
21+
intend to use. See the [eloquent/phony-phpunit repository] for more
22+
information.
23+
- If you're using Phony under **Peridot**:
24+
- If you were using `eloquent/peridot-phony`, change the Composer package to
25+
`eloquent/phony-peridot`.
26+
- If you were using `eloquent/phony`, no changes are required, but consider
27+
trying `eloquent/phony-peridot` for the added auto-wired mock support. See
28+
the [eloquent/phony-peridot repository] for more information.
29+
- If you're using Phony under **SimpleTest**, change the Composer package from
30+
`eloquent/phony` to `eloquent/phony-simpletest`.
31+
- If you're using Phony under **Pho**, change the Composer package from
32+
`eloquent/phony` to `eloquent/phony-pho`.
33+
- For other frameworks, or standalone use, no changes are required.
34+
35+
[eloquent/phony-peridot repository]: https://github.com/eloquent/phony-peridot
36+
[eloquent/phony-phpunit repository]: https://github.com/eloquent/phony-phpunit
37+
338
## 0.14.7 (2017-04-22)
439

540
- **[FIXED]** The "last error" state is now cleared when using the feature

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,28 +91,21 @@ integrations seamless and intuitive:
9191
- Tight integration with [PHPUnit][phpunit integration],
9292
[Pho][pho integration] and [SimpleTest][simpletest integration]
9393
- [Can be used standalone, too]
94-
- Supports matchers from [Counterpart][counterpart matchers],
95-
[Hamcrest][hamcrest matchers], [PHPUnit][phpunit matchers],
96-
[SimpleTest][simpletest matchers], and even other mocking frameworks like
97-
[Phake][phake matchers], [Prophecy][prophecy matchers], and
98-
[Mockery][mockery matchers]
94+
- Supports matchers from [Hamcrest][hamcrest matchers],
95+
[PHPUnit][phpunit matchers], and [SimpleTest][simpletest matchers].
9996

10097
Interested in better integration with other test frameworks? So are we! Just
10198
open a [GitHub issue] if there's something we can do.
10299

103100
[can be used standalone, too]: http://eloquent-software.com/phony/latest/#standalone-usage
104101
[choosing the correct namespace to import]: http://eloquent-software.com/phony/latest/#integration-with-test-frameworks
105-
[counterpart matchers]: http://eloquent-software.com/phony/latest/#counterpart-matchers
106102
[hamcrest matchers]: http://eloquent-software.com/phony/latest/#hamcrest-matchers
107103
[integrates seamlessly with other testing libraries and tools]: http://eloquent-software.com/phony/latest/#integration-with-test-frameworks
108-
[mockery matchers]: http://eloquent-software.com/phony/latest/#mockery-matchers
109104
[most test frameworks need no special treatment]: http://eloquent-software.com/phony/latest/#integration-with-test-frameworks
110105
[no configuration or bootstrap code necessary]: http://eloquent-software.com/phony/latest/#integration-with-test-frameworks
111-
[phake matchers]: http://eloquent-software.com/phony/latest/#phake-matchers
112106
[pho integration]: http://eloquent-software.com/phony/latest/#pho-usage
113107
[phpunit integration]: http://eloquent-software.com/phony/latest/#phpunit-usage
114108
[phpunit matchers]: http://eloquent-software.com/phony/latest/#phpunit-constraints
115-
[prophecy matchers]: http://eloquent-software.com/phony/latest/#prophecy-argument-tokens
116109
[simpletest integration]: http://eloquent-software.com/phony/latest/#simpletest-usage
117110
[simpletest matchers]: http://eloquent-software.com/phony/latest/#simpletest-expectations
118111

0 commit comments

Comments
 (0)