Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / ChangeLog-4.8.md
1 # Changes in PHPUnit 4.8
2
3 All notable changes of the PHPUnit 4.8 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
4
5 ## [4.8.36] - 2017-06-21
6
7 ### Added
8
9 * Added `PHPUnit\Framework\AssertionFailedError`, `PHPUnit\Framework\Test`, and `PHPUnit\Framework\TestSuite` to the forward compatibility layer for PHPUnit 6
10
11 ## [4.8.35] - 2017-02-06
12
13 ### Added
14
15 * Backported the forward compatibility layer for PHPUnit 6 from PHPUnit 5 so that `PHPUnit\Framework\TestCase` can be used instead of `PHPUnit_Framework_TestCase`
16
17 ## [4.8.34] - 2017-01-26
18
19 * Fixed [#2447](https://github.com/sebastianbergmann/phpunit/issues/2447): Reverted backwards incompatible change to handling of boolean environment variable values specified in XML
20
21 ## [4.8.33] - 2017-01-25
22
23 ### Fixed
24
25 * Fixed [#1983](https://github.com/sebastianbergmann/phpunit/pull/1983): Tests with `@expectedException` annotation cannot be skipped
26 * Fixed [#2275](https://github.com/sebastianbergmann/phpunit/pull/2275): Invalid UTF-8 characters can lead to missing output
27 * Fixed [#2331](https://github.com/sebastianbergmann/phpunit/issues/2331): Boolean environment variable values specified in XML get mangled
28 * Fixed [#2392](https://github.com/sebastianbergmann/phpunit/issues/2392): Empty (but valid) data provider should skip the test
29 * Fixed [#2431](https://github.com/sebastianbergmann/phpunit/issues/2431): `assertArraySubset()` does not support `ArrayAccess`
30
31 ## [4.8.32] - 2017-01-22
32
33 ### Fixed
34
35 * Fixed [#2428](https://github.com/sebastianbergmann/phpunit/pull/2428): Nested arrays specificied in XML configuration file are not handled correctly
36
37 ## [4.8.31] - 2016-12-09
38
39 ### Fixed
40
41 * Fixed [#2384](https://github.com/sebastianbergmann/phpunit/pull/2384): Handle `PHPUnit_Framework_Exception` correctly when expecting exceptions
42
43 ## [4.8.30] - 2016-12-02
44
45 ### Fixed
46
47 * Fixed [#2367](https://github.com/sebastianbergmann/phpunit/pull/2367): Bug in `PHPUnit_Util_Test::parseAnnotationContent()`
48 * Fixed [#2375](https://github.com/sebastianbergmann/phpunit/issues/2375): Invalid regular expression for `--filter` causes PHP warning
49
50 ## [4.8.29] - 2016-11-20
51
52 ### Changed
53
54 * Bumped the required version of `sebastian/comparator`
55
56 ## [4.8.28] - 2016-11-14
57
58 ### Fixed
59
60 * Improved the fix for [#1955](https://github.com/sebastianbergmann/phpunit/issues/1955): Process isolation fails when running tests with `phpdbg -qrr`
61
62 ## [4.8.27] - 2016-07-21
63
64 ### Fixed
65
66 * Fixed [#1968](https://github.com/sebastianbergmann/phpunit/issues/1968): Invalid data sets are not handled correctly for `@testWith` annotation
67
68 ## [4.8.26] - 2016-05-17
69
70 ### Fixed
71
72 * Fixed [phpunit-mock-objects/#301](https://github.com/sebastianbergmann/phpunit-mock-objects/issues/301): `PHPUnit_Framework_MockObject_MockBuilder::getMock()` calls `PHPUnit_Framework_TestCase::getMock()` with more arguments than accepted
73
74 ## [4.8.25] - 2016-05-10
75
76 ### Fixed
77
78 * Fixed [#2112](https://github.com/sebastianbergmann/phpunit/issues/2112): Output is html entity encoded when ran through `phpdbg`
79 * Fixed [#2158](https://github.com/sebastianbergmann/phpunit/issues/2158): Failure to run tests in separate processes if a file included into main process contains constant definition
80
81 ## [4.8.24] - 2016-03-14
82
83 ### Fixed
84
85 * Fixed [#1959](https://github.com/sebastianbergmann/phpunit/issues/1959): Prophecy errors are not handled correctly
86 * Fixed [#2039](https://github.com/sebastianbergmann/phpunit/issues/2039): TestDox does not handle snake_case test methods properly
87 * Fixed [#2109](https://github.com/sebastianbergmann/phpunit/issues/2109): Process isolation leaks global variable
88
89 ## [4.8.23] - 2016-02-11
90
91 ### Fixed
92
93 * Fixed [#2072](https://github.com/sebastianbergmann/phpunit/issues/2072): Paths in XML configuration file were not handled correctly when they have whitespace around them
94
95 ## [4.8.22] - 2016-02-02
96
97 ### Fixed
98
99 * Fixed [#2050](https://github.com/sebastianbergmann/phpunit/issues/2050): `PHPUnit_Util_XML::load()` raises exception with empty message when XML string is empty
100 * Fixed a bug in `PHPUnit_Runner_Version::series()`
101
102 ## [4.8.21] - 2015-12-12
103
104 ### Changed
105
106 * Reverted the changes introduced in PHPUnit 4.8.20 as the only thing the new version constraint in `composer.json` achieved was locking PHP 7 users to PHPUnit 4.8.19
107
108 ## [4.8.20] - 2015-12-10
109
110 ### Changed
111
112 * Changed PHP version constraint in `composer.json` to prevent installing PHPUnit 4.8 on PHP 7
113 * `phpunit.phar` will now refuse to work on PHP 7
114
115 ## [4.8.19] - 2015-11-30
116
117 ### Fixed
118
119 * Fixed [#1955](https://github.com/sebastianbergmann/phpunit/issues/1955): Process isolation fails when running tests with `phpdbg -qrr`
120
121 ## [4.8.18] - 2015-11-11
122
123 ### Changed
124
125 * DbUnit 1.4 is bundled again in the PHAR distribution
126
127 ## [4.8.17] - 2015-11-10
128
129 ### Fixed
130
131 * Fixed [#1935](https://github.com/sebastianbergmann/phpunit/issues/1935): `PHP_CodeCoverage_Exception` not handled properly
132 * Fixed [#1948](https://github.com/sebastianbergmann/phpunit/issues/1948): Unable to use PHAR due to unsupported signature error
133
134 ### Changed
135
136 * DbUnit >= 2.0.2 is now bundled in the PHAR distribution
137
138 ## [4.8.16] - 2015-10-23
139
140 ### Added
141
142 * Implemented [#1925](https://github.com/sebastianbergmann/phpunit/issues/1925): Provide a library-only PHAR
143
144 ## [4.8.15] - 2015-10-22
145
146 ### Fixed
147
148 * The backup of global state is now properly restored when changes to global state are disallowed
149 * The `__PHPUNIT_PHAR__` constant is now properly set when the PHPUnit PHAR is used as a library
150
151 ## [4.8.14] - 2015-10-17
152
153 ### Fixed
154
155 * Fixed [#1892](https://github.com/sebastianbergmann/phpunit/issues/1892): `--coverage-text` does not honor color settings
156
157 ## [4.8.13] - 2015-10-14
158
159 ### Added
160
161 * Added the `--self-upgrade` commandline switch for upgrading a PHPUnit PHAR to the latest version
162
163 ### Changed
164
165 * The `--self-update` commandline switch now updates a PHPUnit PHAR to the latest version within the same release series
166
167 ## [4.8.12] - 2015-10-12
168
169 ### Changed
170
171 * Merged [#1893](https://github.com/sebastianbergmann/phpunit/issues/1893): Removed workaround for phpab bug
172
173 ## [4.8.11] - 2015-10-07
174
175 ### Fixed
176
177 * Merged [#1885](https://github.com/sebastianbergmann/phpunit/issues/1885): Fixed handling of PHP configuration settings for process isolation
178 * Fixed [#1857](https://github.com/sebastianbergmann/phpunit/issues/1857): `@covers` and `@uses` should only take a single word
179 * Fixed [#1879](https://github.com/sebastianbergmann/phpunit/issues/1879): `assertEqualXMLStructure()` cannot compare nodes with an ID
180 * Fixed [#1898](https://github.com/sebastianbergmann/phpunit/issues/1898): `@covers` and `@uses` cannot be used for namespaced functions
181 * Fixed [#1901](https://github.com/sebastianbergmann/phpunit/issues/1901): `--self-update` updates to PHPUnit 5, even on PHP < 5.6
182
183 ## [4.8.10] - 2015-10-01
184
185 ### Fixed
186
187 * Merged [#1884](https://github.com/sebastianbergmann/phpunit/issues/1884): Avoid passing `Error` to `onNotSuccessfulTest()` on PHP 7
188
189 ## [4.8.9] - 2015-09-20
190
191 ### Fixed
192
193 * Fixed regression introduced in PHPUnit 4.8.8
194
195 ## [4.8.8] - 2015-09-19
196
197 ### Fixed
198
199 * Fixed [#1860](https://github.com/sebastianbergmann/phpunit/issues/1860): Not well-formed XML strings are always considered equal by `PHPUnit_Framework_Assert::assertXmlStringEqualsXmlString()`
200
201 ## [4.8.7] - 2015-09-14
202
203 New PHAR release due to updated dependencies
204
205 ## [4.8.6] - 2015-08-24
206
207 ### Fixed
208
209 * Fixed [#1835](https://github.com/sebastianbergmann/phpunit/issues/1835): Skipped test reported as errored since PHPUnit 4.7.4
210
211 ## [4.8.5] - 2015-08-19
212
213 ### Fixed
214
215 * Fixed [#1831](https://github.com/sebastianbergmann/phpunit/issues/1831): PHAR manifest is missing
216
217 ## [4.8.4] - 2015-08-15
218
219 ### Fixed
220
221 * Fixed [#1823](https://github.com/sebastianbergmann/phpunit/issues/1823): Columns attribute in XML configuration file is ignored
222
223 ## [4.8.3] - 2015-08-10
224
225 ### Changed
226
227 * PHPUnit now exits early during bootstrap when an unsupported version of PHP is used
228
229 ## [4.8.2] - 2015-08-07
230
231 ### Fixed
232
233 * Fixed [#1816](https://github.com/sebastianbergmann/phpunit/issues/1816): PHPUnit 4.8.1 shows "4.8.0" as version number
234
235 ## [4.8.1] - 2015-08-07
236
237 ### Fixed
238
239 * Fixed [#1815](https://github.com/sebastianbergmann/phpunit/issues/1815): `phpunit --self-update` does not work in PHPUnit 4.8.0
240
241 ## [4.8.0] - 2015-08-07
242
243 ### Added
244
245 * Added `--check-version` commandline switch to check whether the current version of PHPUnit is used (PHAR only)
246 * Added `--no-coverage` commandline switch to ignore code coverage configuration from the configuration file
247 * Implemented [#1663](https://github.com/sebastianbergmann/phpunit/issues/1663): The Crap4J report's threshold is now configurable
248 * Merged [#1728](https://github.com/sebastianbergmann/phpunit/issues/1728): Implemented the `@testWith` annotation as "syntactic sugar" for data providers
249 * Merged [#1739](https://github.com/sebastianbergmann/phpunit/issues/1739): Added support to the commandline test runner for using options after arguments
250
251 ### Changed
252
253 * Made the argument check of `assertContains()` and `assertNotContains()` more strict to prevent undefined behavior such as [#1808](https://github.com/sebastianbergmann/phpunit/issues/1808)
254 * Changed the name of the default group from `__nogroup__` to `default`
255
256 [4.8.36]: https://github.com/sebastianbergmann/phpunit/compare/4.8.35...4.8.36
257 [4.8.35]: https://github.com/sebastianbergmann/phpunit/compare/4.8.34...4.8.35
258 [4.8.34]: https://github.com/sebastianbergmann/phpunit/compare/4.8.33...4.8.34
259 [4.8.33]: https://github.com/sebastianbergmann/phpunit/compare/4.8.32...4.8.33
260 [4.8.32]: https://github.com/sebastianbergmann/phpunit/compare/4.8.31...4.8.32
261 [4.8.31]: https://github.com/sebastianbergmann/phpunit/compare/4.8.30...4.8.31
262 [4.8.30]: https://github.com/sebastianbergmann/phpunit/compare/4.8.29...4.8.30
263 [4.8.29]: https://github.com/sebastianbergmann/phpunit/compare/4.8.28...4.8.29
264 [4.8.28]: https://github.com/sebastianbergmann/phpunit/compare/4.8.27...4.8.28
265 [4.8.27]: https://github.com/sebastianbergmann/phpunit/compare/4.8.26...4.8.27
266 [4.8.26]: https://github.com/sebastianbergmann/phpunit/compare/4.8.25...4.8.26
267 [4.8.25]: https://github.com/sebastianbergmann/phpunit/compare/4.8.24...4.8.25
268 [4.8.24]: https://github.com/sebastianbergmann/phpunit/compare/4.8.23...4.8.24
269 [4.8.23]: https://github.com/sebastianbergmann/phpunit/compare/4.8.22...4.8.23
270 [4.8.22]: https://github.com/sebastianbergmann/phpunit/compare/4.8.21...4.8.22
271 [4.8.21]: https://github.com/sebastianbergmann/phpunit/compare/4.8.20...4.8.21
272 [4.8.20]: https://github.com/sebastianbergmann/phpunit/compare/4.8.19...4.8.20
273 [4.8.19]: https://github.com/sebastianbergmann/phpunit/compare/4.8.18...4.8.19
274 [4.8.18]: https://github.com/sebastianbergmann/phpunit/compare/4.8.17...4.8.18
275 [4.8.17]: https://github.com/sebastianbergmann/phpunit/compare/4.8.16...4.8.17
276 [4.8.16]: https://github.com/sebastianbergmann/phpunit/compare/4.8.15...4.8.16
277 [4.8.15]: https://github.com/sebastianbergmann/phpunit/compare/4.8.14...4.8.15
278 [4.8.14]: https://github.com/sebastianbergmann/phpunit/compare/4.8.13...4.8.14
279 [4.8.13]: https://github.com/sebastianbergmann/phpunit/compare/4.8.12...4.8.13
280 [4.8.12]: https://github.com/sebastianbergmann/phpunit/compare/4.8.11...4.8.12
281 [4.8.11]: https://github.com/sebastianbergmann/phpunit/compare/4.8.10...4.8.11
282 [4.8.10]: https://github.com/sebastianbergmann/phpunit/compare/4.8.9...4.8.10
283 [4.8.9]: https://github.com/sebastianbergmann/phpunit/compare/4.8.8...4.8.9
284 [4.8.8]: https://github.com/sebastianbergmann/phpunit/compare/4.8.7...4.8.8
285 [4.8.7]: https://github.com/sebastianbergmann/phpunit/compare/4.8.6...4.8.7
286 [4.8.6]: https://github.com/sebastianbergmann/phpunit/compare/4.8.5...4.8.6
287 [4.8.5]: https://github.com/sebastianbergmann/phpunit/compare/4.8.4...4.8.5
288 [4.8.4]: https://github.com/sebastianbergmann/phpunit/compare/4.8.3...4.8.4
289 [4.8.3]: https://github.com/sebastianbergmann/phpunit/compare/4.8.2...4.8.3
290 [4.8.2]: https://github.com/sebastianbergmann/phpunit/compare/4.8.1...4.8.2
291 [4.8.1]: https://github.com/sebastianbergmann/phpunit/compare/4.8.0...4.8.1
292 [4.8.0]: https://github.com/sebastianbergmann/phpunit/compare/4.7...4.8.0
293