Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / ChangeLog-4.0.md
1 # Changes in PHPUnit 4.0
2
3 All notable changes of the PHPUnit 4.0 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
4
5 ## [4.0.20] - 2014-05-02
6
7 ### Fixed
8
9 * Fixed [#1242](https://github.com/sebastianbergmann/phpunit/issues/1242): `--self-update` uses OpenSSL API that is deprecated in PHP 5.6
10
11 ## [4.0.19] - 2014-04-30
12
13 ### Fixed
14
15 * Fixed [#1193](https://github.com/sebastianbergmann/phpunit/issues/1193): Process isolation does not work correctly when PHPUnit is used from PHAR
16 * Fixed a BC break related to comparing `DOMNode` objects that was introduced in PHPUnit 4.0.18
17
18 ## [4.0.18] - 2014-04-29
19
20 ### Fixed
21
22 * Fixed [#1218](https://github.com/sebastianbergmann/phpunit/issues/1218): `--self-update` destroys symlink
23
24 ## [4.0.17] - 2014-04-21
25
26 ### Changed
27
28 * [Display a message that the PEAR installation method is no longer supported when PHPUnit was installed using the PEAR Installer](https://github.com/sebastianbergmann/phpunit/commit/70b02c6be0176ab8ad3d3c9ec97480556c5dd63b)
29
30 ## [4.0.16] - 2014-04-20
31
32 ### Fixed
33
34 * [Fixed handling of the `--report-useless-tests`, `--strict-coverage`, `--disallow-test-output`, and `--enforce-time-limit` options](https://github.com/sebastianbergmann/phpunit/commit/38baa9670711adedfe44ef24a33b568f61f3f045)
35
36 ## [4.0.15] - 2014-04-16
37
38 New release of PHPUnit as PHAR and PEAR package with updated dependencies
39
40 ## [4.0.14] - 2014-03-28
41
42 New release of PHPUnit as PHAR and PEAR package with updated dependencies
43
44 ## [4.0.13] - 2014-03-26
45
46 New release of PHPUnit as PHAR and PEAR package with updated dependencies
47
48 ## [4.0.12] - 2014-03-20
49
50 ### Changed
51
52 * [Use blacklist from PHP_CodeCoverage](https://github.com/sebastianbergmann/phpunit/commit/16152ba4b8d0104ce34f60cb71b2b982ba84c898)
53
54 ## [4.0.11] - 2014-03-18
55
56 ### Fixed
57
58 * [Fixed unintended autoloader invokation triggered by the `@beforeClass` and `@afterClass` annotations](https://github.com/sebastianbergmann/phpunit/commit/f12e10fddc3ccbddb652a04d9036aeb5a6d54bff)
59
60 ## [4.0.10] - 2014-03-18
61
62 New release of PHPUnit as PHAR and PEAR package with updated dependencies (most notably a [fix](https://github.com/sebastianbergmann/phpunit-mock-objects/commit/c5e6274b8f2bf983cf883bb375cf44f99aff200e) in the mock object generator that caused a [performance regression](https://github.com/sebastianbergmann/phpunit/issues/1187))
63
64 ## [4.0.9] - 2014-03-17
65
66 ### Changed
67
68 * Optimized the search for the `@before`, `@after`, `@beforeClass` and `@afterClass` annotations
69 * Optimized the usage of `SebastianBergmann\Environment\Runtime::canCollectCodeCoverage()`
70
71 ### Fixed
72
73 * The "No code coverage will be generated." message was displayed even when code coverage reporting was not requested
74
75 ## [4.0.8] - 2014-03-17
76
77 ### Fixed
78
79 * Fixed [#1186](https://github.com/sebastianbergmann/phpunit/issues/1186): `@before` and `@after` methods are not called in `@dataProvider` methods
80
81 ## [4.0.7] - 2014-03-12
82
83 ### Fixed
84
85 * Removed dependency on `phpunit/dbunit` in `composer.json` that was unintentionally added in PHPUnit 4.0.6
86
87 ## [4.0.6] - 2014-03-11
88
89 New release of PHPUnit as PHAR and PEAR package with updated dependencies
90
91 ## [4.0.5] - 2014-03-10
92
93 New release of PHPUnit as PHAR and PEAR package with updated dependencies
94
95 ## [4.0.4] - 2014-03-08
96
97 ### Fixed
98
99 * Fixed stacktrace filtering when PHPUnit is used from a PHAR
100
101 ## [4.0.3] - 2014-03-07
102
103 New release of PHPUnit as PHAR and PEAR package with updated dependencies
104
105 ## [4.0.2] - 2014-03-07
106
107 ### Fixed
108
109 * Fixed an issue related to displaying PHPUnit's version number
110
111 ## [4.0.1] - 2014-03-07
112
113 ### Fixed
114
115 * Fixed collection of code coverage data for tests that use a data provider
116
117 ## [4.0.0] - 2014-03-07
118
119 ### Added
120
121 * Implemented #382: Added the `$options` parameter to `PHPUnit_Framework_TestCase::getMockFromWsdl()` for configuring the `SoapClient`
122 * Implemented #628: Added `PHPUnit_Framework_Assert::countOf(), a shortcut to get a `PHPUnit_Framework_Constraint_Count` instance
123 * Implemented #711: `coverage-text` now has an XML `showOnlySummary` option
124 * Implemented #719: The `--stderr` switch now respects `--colors` and `--debug`
125 * Implemented #746: Allow identity checking for non-object types in all asserts that depend on `TraversableContains`
126 * Implemented #758: Show a proper stack trace when @expectedException fails due to a unexpected exception being thrown
127 * Implemented #773: Recursive and repeated arrays are more gracefully when comparison differences are exported
128 * Implemented #813: Added `@before`, `@after`, `@beforeClass` and `@afterClass` annotations
129 * Implemented #834: Added the `@requires OS` annotation
130 * Implemented #835: Printers that extend `PHPUnit_TextUI_ResultPrinter` should have similar construction
131 * Implemented #838: Added a base test listener
132 * Implemented #859: Added PHP label validation to attribute assertions
133 * Implemented #869: Added support for the adjacent sibling selector (+) to `PHPUnit_Util_XML::findNodes()`
134 * Implemented #871: Add Comparator for DateTime objects
135 * Implemented #877: Added new HTML5 tags to `PHPUnit_Util_XML::findNodes()`
136 * Added `--coverage-crap4j` switch to generate code coverage report in Crap4J XML format
137 * `assertCount()`, `assertNotCount()`, `assertSameSize()`, and `assertNotSameSize()` now support all objects that implement the `Traversable` interface
138
139 ### Changed
140
141 * A test will now fail in strict mode when it uses the `@covers` annotation and code that is not expected to be covered is executed
142 * All relative paths in a configuration file are now resolved relative to that configuration file
143
144 ### Fixed
145
146 * Fixed #240: XML strings are escaped by removing invalid characters
147 * Fixed #261: `setUp()` and `setUpBeforeClass()` are run before filters are applied
148 * Fixed #541: Excluded groups are counted towards total number of tests being executed
149 * Fixed #789: PHP INI settings would not be passed to child processes
150 * Fixed #806: Array references are now properly displayed in error output
151 * Fixed #808: Resources are now reported as `resource(13) of type (stream)` instead of `NULL`
152 * Fixed #873: PHPUnit suppresses exceptions thrown outside of test case function
153 * Fixed: `phpt` test cases now use the correct php binary when executed through wrapper scripts
154
155 [4.0.20]: https://github.com/sebastianbergmann/phpunit/compare/4.0.19...4.0.20
156 [4.0.19]: https://github.com/sebastianbergmann/phpunit/compare/4.0.18...4.0.19
157 [4.0.18]: https://github.com/sebastianbergmann/phpunit/compare/4.0.17...4.0.18
158 [4.0.17]: https://github.com/sebastianbergmann/phpunit/compare/4.0.16...4.0.17
159 [4.0.16]: https://github.com/sebastianbergmann/phpunit/compare/4.0.15...4.0.16
160 [4.0.15]: https://github.com/sebastianbergmann/phpunit/compare/4.0.14...4.0.15
161 [4.0.14]: https://github.com/sebastianbergmann/phpunit/compare/4.0.13...4.0.14
162 [4.0.13]: https://github.com/sebastianbergmann/phpunit/compare/4.0.12...4.0.13
163 [4.0.12]: https://github.com/sebastianbergmann/phpunit/compare/4.0.11...4.0.12
164 [4.0.11]: https://github.com/sebastianbergmann/phpunit/compare/4.0.10...4.0.11
165 [4.0.10]: https://github.com/sebastianbergmann/phpunit/compare/4.0.9...4.0.10
166 [4.0.9]: https://github.com/sebastianbergmann/phpunit/compare/4.0.8...4.0.9
167 [4.0.8]: https://github.com/sebastianbergmann/phpunit/compare/4.0.7...4.0.8
168 [4.0.7]: https://github.com/sebastianbergmann/phpunit/compare/4.0.6...4.0.7
169 [4.0.6]: https://github.com/sebastianbergmann/phpunit/compare/4.0.5...4.0.6
170 [4.0.5]: https://github.com/sebastianbergmann/phpunit/compare/4.0.4...4.0.5
171 [4.0.4]: https://github.com/sebastianbergmann/phpunit/compare/4.0.3...4.0.4
172 [4.0.3]: https://github.com/sebastianbergmann/phpunit/compare/4.0.2...4.0.3
173 [4.0.2]: https://github.com/sebastianbergmann/phpunit/compare/4.0.1...4.0.2
174 [4.0.1]: https://github.com/sebastianbergmann/phpunit/compare/4.0.0...4.0.1
175 [4.0.0]: https://github.com/sebastianbergmann/phpunit/compare/3.7...4.0.0
176