1 # Changes in PHPUnit 4.2
3 All notable changes of the PHPUnit 4.2 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
5 ## [4.2.5] - 2014-09-06
7 New release of PHPUnit as PHP Archive (PHAR) with updated dependencies
9 ## [4.2.4] - 2014-08-31
13 * Fixed [#1413](https://github.com/sebastianbergmann/phpunit/issues/1413): `assertCount()` hangs in infinite loop on HHVM
15 ## [4.2.3] - 2014-08-28
19 * Fixed [#1403](https://github.com/sebastianbergmann/phpunit/issues/1403): `phpunit --self-update` does not work
21 ## [4.2.2] - 2014-08-18
25 * Fixed [#1399](https://github.com/sebastianbergmann/phpunit/issues/1399): `enforceTimeLimit` configuration option is not handled
27 ## [4.2.1] - 2014-08-17
31 * Fixed [#1380](https://github.com/sebastianbergmann/phpunit/issues/1380): `assertMatch()` returns `Unexpected end tag : hr`
32 * Fixed [#1390](https://github.com/sebastianbergmann/phpunit/issues/1390): Licensing issue with third-party components bundled in PHAR distribution
34 ## [4.2.0] - 2014-08-08
38 * Tests annotated with `@todo` will now be reported as risky when the `--disallow-todo-tests` option is used or `beStrictAboutTodoAnnotatedTests=true` is set in the configuration file
39 * The `atLeast()` and `atMost()` invocation count matchers were added
43 * `trigger_error(__METHOD__ . ' is deprecated', E_USER_DEPRECATED);` is used now to indicate that a PHPUnit API method is deprecated; the old "system" for deprecating methods has been removed
44 * The PHP Archive (PHAR) distribution of PHPUnit can now be used as a library; `include()`ing or `require()`ing it will not execute the CLI test runner
48 * The `assertTag()` and `assertSelect*()` assertion methods have been deprecated in favor of the [phpunit-dom-assertions](https://github.com/phpunit/phpunit-dom-assertions) extension; these methods will be removed in PHPUnit 5.0
50 [4.2.5]: https://github.com/sebastianbergmann/phpunit/compare/4.2.4...4.2.5
51 [4.2.4]: https://github.com/sebastianbergmann/phpunit/compare/4.2.3...4.2.4
52 [4.2.3]: https://github.com/sebastianbergmann/phpunit/compare/4.2.2...4.2.3
53 [4.2.2]: https://github.com/sebastianbergmann/phpunit/compare/4.2.1...4.2.2
54 [4.2.1]: https://github.com/sebastianbergmann/phpunit/compare/4.2.0...4.2.1
55 [4.2.0]: https://github.com/sebastianbergmann/phpunit/compare/4.1...4.2.0