Skip to content

Commit b7469ba

Browse files
Merge branch '4.6'
2 parents b2f9276 + 77e333d commit b7469ba

File tree

7 files changed

+267
-0
lines changed

7 files changed

+267
-0
lines changed

ChangeLog-4.0.md

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
# Changes in PHPUnit 4.0
2+
3+
## PHPUnit 4.0.20
4+
5+
* Fixed [#1242](https://github.com/sebastianbergmann/phpunit/issues/1242): `--self-update` uses OpenSSL API that is deprecated in PHP 5.6
6+
7+
## PHPUnit 4.0.19
8+
9+
* Fixed [#1193](https://github.com/sebastianbergmann/phpunit/issues/1193): Process isolation does not work correctly when PHPUnit is used from PHAR
10+
* Fixed a BC break related to comparing `DOMNode` objects that was introduced in PHPUnit 4.0.18
11+
12+
## PHPUnit 4.0.18
13+
14+
* Fixed [#1218](https://github.com/sebastianbergmann/phpunit/issues/1218): `--self-update` destroys symlink
15+
16+
## PHPUnit 4.0.17
17+
18+
* [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)
19+
20+
## PHPUnit 4.0.16
21+
22+
* [Fixed handling of the `--report-useless-tests`, `--strict-coverage`, `--disallow-test-output`, and `--enforce-time-limit` options](https://github.com/sebastianbergmann/phpunit/commit/38baa9670711adedfe44ef24a33b568f61f3f045)
23+
24+
## PHPUnit 4.0.15
25+
26+
* New release of PHPUnit as PHAR and PEAR package with updated dependencies
27+
28+
## PHPUnit 4.0.14
29+
30+
* New release of PHPUnit as PHAR and PEAR package with updated dependencies
31+
32+
## PHPUnit 4.0.13
33+
34+
* New release of PHPUnit as PHAR and PEAR package with updated dependencies
35+
36+
## PHPUnit 4.0.12
37+
38+
* [Use blacklist from PHP_CodeCoverage](https://github.com/sebastianbergmann/phpunit/commit/16152ba4b8d0104ce34f60cb71b2b982ba84c898)
39+
40+
## PHPUnit 4.0.11
41+
42+
* [Fixed unintended autoloader invokation triggered by the `@beforeClass` and `@afterClass` annotations](https://github.com/sebastianbergmann/phpunit/commit/f12e10fddc3ccbddb652a04d9036aeb5a6d54bff)
43+
44+
## PHPUnit 4.0.10
45+
46+
* 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))
47+
48+
## PHPUnit 4.0.9
49+
50+
* The "No code coverage will be generated." message was displayed even when code coverage reporting was not requested
51+
* Optimized the search for the `@before`, `@after`, `@beforeClass` and `@afterClass` annotations
52+
* Optimized the usage of `SebastianBergmann\Environment\Runtime::canCollectCodeCoverage()`
53+
54+
## PHPUnit 4.0.8
55+
56+
* Fixed [#1186](https://github.com/sebastianbergmann/phpunit/issues/1186): `@before` and `@after` methods are not called in `@dataProvider` methods
57+
58+
## PHPUnit 4.0.7
59+
60+
* Removed dependency on `phpunit/dbunit` in `composer.json` that was unintentionally added in PHPUnit 4.0.6
61+
62+
## PHPUnit 4.0.6
63+
64+
* New release of PHPUnit as PHAR and PEAR package with updated dependencies
65+
66+
## PHPUnit 4.0.5
67+
68+
* New release of PHPUnit as PHAR and PEAR package with updated dependencies
69+
70+
## PHPUnit 4.0.4
71+
72+
* Fixed stacktrace filtering when PHPUnit is used from a PHAR
73+
74+
## PHPUnit 4.0.3
75+
76+
* New release of PHPUnit as PHAR and PEAR package with updated dependencies
77+
78+
## PHPUnit 4.0.2
79+
80+
* Fixed an issue related to displaying PHPUnit's version number
81+
82+
## PHPUnit 4.0.1
83+
84+
* Fixed collection of code coverage data for tests that use a data provider
85+
86+
## PHPUnit 4.0.0
87+
88+
* Implemented #382: Added the `$options` parameter to `PHPUnit_Framework_TestCase::getMockFromWsdl()` for configuring the `SoapClient`
89+
* Implemented #628: Added `PHPUnit_Framework_Assert::countOf(), a shortcut to get a `PHPUnit_Framework_Constraint_Count` instance
90+
* Implemented #711: `coverage-text` now has an XML `showOnlySummary` option
91+
* Implemented #719: The `--stderr` switch now respects `--colors` and `--debug`
92+
* Implemented #746: Allow identity checking for non-object types in all asserts that depend on `TraversableContains`
93+
* Implemented #758: Show a proper stack trace when @expectedException fails due to a unexpected exception being thrown
94+
* Implemented #773: Recursive and repeated arrays are more gracefully when comparison differences are exported
95+
* Implemented #813: Added `@before`, `@after`, `@beforeClass` and `@afterClass` annotations
96+
* Implemented #834: Added the `@requires OS` annotation
97+
* Implemented #835: Printers that extend `PHPUnit_TextUI_ResultPrinter` should have similar construction
98+
* Implemented #838: Added a base test listener
99+
* Implemented #859: Added PHP label validation to attribute assertions
100+
* Implemented #869: Added support for the adjacent sibling selector (+) to `PHPUnit_Util_XML::findNodes()`
101+
* Implemented #871: Add Comparator for DateTime objects
102+
* Implemented #877: Added new HTML5 tags to `PHPUnit_Util_XML::findNodes()`
103+
* Added `--coverage-crap4j` switch to generate code coverage report in Crap4J XML format
104+
* `assertCount()`, `assertNotCount()`, `assertSameSize()`, and `assertNotSameSize()` now support all objects that implement the `Traversable` interface
105+
* 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
106+
* All relative paths in a configuration file are now resolved relative to that configuration file
107+
* Fixed #240: XML strings are escaped by removing invalid characters
108+
* Fixed #261: `setUp()` and `setUpBeforeClass()` are run before filters are applied
109+
* Fixed #541: Excluded groups are counted towards total number of tests being executed
110+
* Fixed #789: PHP INI settings would not be passed to child processes
111+
* Fixed #806: Array references are now properly displayed in error output
112+
* Fixed #808: Resources are now reported as `resource(13) of type (stream)` instead of `NULL`
113+
* Fixed #873: PHPUnit suppresses exceptions thrown outside of test case function
114+
* Fixed: `phpt` test cases now use the correct php binary when executed through wrapper scripts
115+

ChangeLog-4.1.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Changes in PHPUnit 4.1
2+
3+
## PHPUnit 4.1.6
4+
5+
* Fixed [#1380](https://github.com/sebastianbergmann/phpunit/issues/1380): `assertMatch()` returns `Unexpected end tag : hr`
6+
* Fixed [#1390](https://github.com/sebastianbergmann/phpunit/issues/1390): Licensing issue with third-party components bundled in PHAR distribution
7+
8+
## PHPUnit 4.1.5
9+
10+
* Implemented [#1330](https://github.com/sebastianbergmann/phpunit/issues/1330): Allow non-ambiguous shortened long options
11+
* Fixed [#529](https://github.com/sebastianbergmann/phpunit/issues/529): Tests missed in execution when another test extends from it
12+
* Fixed [#1149](https://github.com/sebastianbergmann/phpunit/issues/1149): Test swallows output buffer when run in a separate process
13+
* Fixed [#1336](https://github.com/sebastianbergmann/phpunit/issues/1336): Problem in process isolation with global variables that contain an object which contains a string which contains multiple backslashes
14+
* Fixed [#1337](https://github.com/sebastianbergmann/phpunit/issues/1337): Data Provider with `\` at the end of the name breaks with process isolation
15+
* Fixed [#1345](https://github.com/sebastianbergmann/phpunit/issues/1345): Process isolation blocks infinitely upon fatal error in child process
16+
* Fixed [#1354](https://github.com/sebastianbergmann/phpunit/issues/1354): PHPUnit test suite fails on Windows
17+
* Fixed [#1369](https://github.com/sebastianbergmann/phpunit/issues/1369): Performance of `TestSuite::addTestFile()` and missing documentation
18+
* Fixed [#1374](https://github.com/sebastianbergmann/phpunit/issues/1374): `tearDown()` is called despite unmet requirements
19+
20+
## PHPUnit 4.1.4
21+
22+
* Fixed [#1265](https://github.com/sebastianbergmann/phpunit/issues/1265): `PHPUnit_Runner_StandardTestSuiteLoader` could not be configured as loader
23+
* Fixed [#1311](https://github.com/sebastianbergmann/phpunit/issues/1311): Incomplete XML Schema for PHPUnit XML configuration file
24+
* Fixed [#1314](https://github.com/sebastianbergmann/phpunit/issues/1314): Bug in configuration parser
25+
26+
## PHPUnit 4.1.3
27+
28+
* New release of PHPUnit as PHP Archive (PHAR) with updated dependencies
29+
30+
## PHPUnit 4.1.2
31+
32+
* New release of PHPUnit as PHP Archive (PHAR) with updated dependencies
33+
34+
## PHPUnit 4.1.1
35+
36+
* Added `--selfupdate` alias for `--self-update`
37+
* Fixed the constructor argument for `SebastianBergmann\Version`
38+
* Improved the fix for [#1133](https://github.com/sebastianbergmann/phpunit/issues/1133)
39+
40+
## PHPUnit 4.1.0
41+
42+
* The code to compare PHP values for equality (in `assertEquals()`, for instance) has been factored out into a [separate component](https://github.com/sebastianbergmann/comparator)
43+
* [The mock object generator is now created lazily](https://github.com/sebastianbergmann/phpunit/pull/1165)
44+

ChangeLog-4.2.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Changes in PHPUnit 4.2
2+
3+
## PHPUnit 4.2.5
4+
5+
* New release of PHPUnit as PHP Archive (PHAR) with updated dependencies
6+
7+
## PHPUnit 4.2.4
8+
9+
* Fixed [#1413](https://github.com/sebastianbergmann/phpunit/issues/1413): `assertCount()` hangs in infinite loop on HHVM
10+
11+
## PHPUnit 4.2.3
12+
13+
* Fixed [#1403](https://github.com/sebastianbergmann/phpunit/issues/1403): `phpunit --self-update` does not work
14+
15+
## PHPUnit 4.2.2
16+
17+
* Fixed [#1399](https://github.com/sebastianbergmann/phpunit/issues/1399): `enforceTimeLimit` configuration option is not handled
18+
19+
## PHPUnit 4.2.1
20+
21+
* Fixed [#1380](https://github.com/sebastianbergmann/phpunit/issues/1380): `assertMatch()` returns `Unexpected end tag : hr`
22+
* Fixed [#1390](https://github.com/sebastianbergmann/phpunit/issues/1390): Licensing issue with third-party components bundled in PHAR distribution
23+
24+
## PHPUnit 4.2.0
25+
26+
* 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
27+
* The `atLeast()` and `atMost()` invocation count matchers were added
28+
* 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
29+
* `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
30+
* 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
31+

ChangeLog-4.3.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Changes in PHPUnit 4.3
2+
3+
## PHPUnit 4.3.5
4+
5+
* Merged [#1484](https://github.com/sebastianbergmann/phpunit/issues/1484): Removed `lazymap` from blacklist as it is not longer used
6+
* Merged [#1489](https://github.com/sebastianbergmann/phpunit/issues/1489): Do not send output from tests in process isolation when testing output
7+
8+
## PHPUnit 4.3.4
9+
10+
* Fixed [#1428](https://github.com/sebastianbergmann/phpunit/issues/1428): Issue with Composer dependencies
11+
* Fixed [#1447](https://github.com/sebastianbergmann/phpunit/issues/1447): PHPT tests treat line endings inconsistently
12+
13+
## PHPUnit 4.3.3
14+
15+
* Fixed [#1471](https://github.com/sebastianbergmann/phpunit/issues/1471): Output made while test is running is printed although `expectOutputString()` is used when an assertion fails
16+
17+
## PHPUnit 4.3.2
18+
19+
* Fixed [#1468](https://github.com/sebastianbergmann/phpunit/issues/1468): Incomplete and `@todo` annotated tests are counted twice
20+
21+
## PHPUnit 4.3.1
22+
23+
* New release of PHPUnit as PHP Archive (PHAR) with updated dependencies
24+
25+
## PHPUnit 4.3.0
26+
27+
* Merged [#1358](https://github.com/sebastianbergmann/phpunit/issues/1358): Implement `@expectedExceptionMessageRegExp` annotation
28+
* Merged [#1360](https://github.com/sebastianbergmann/phpunit/issues/1360): Allow a test to identify whether it runs in isolation
29+
* Fixed [#1216](https://github.com/sebastianbergmann/phpunit/issues/1216): Bootstrap does not have global variables set when `--bootstrap` is specified on commandline
30+
* Fixed [#1351](https://github.com/sebastianbergmann/phpunit/issues/1351): `TestResult` object contains serialized test class upon test failure/exception in process isolation
31+
* Fixed [#1437](https://github.com/sebastianbergmann/phpunit/issues/1437): Risky test messages mask failures
32+

ChangeLog-4.4.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Changes in PHPUnit 4.4
2+
3+
## PHPUnit 4.4.5
4+
5+
* Fixed [#1592](https://github.com/sebastianbergmann/phpunit/issues/1592): Incorrect dependency information
6+
7+
## PHPUnit 4.4.4
8+
9+
* Fixed [#1587](https://github.com/sebastianbergmann/phpunit/issues/1587): Class `SebastianBergmann\Exporter\Context` not found
10+
11+
## PHPUnit 4.4.3
12+
13+
* New PHAR release due to updated dependencies
14+
15+
## PHPUnit 4.4.2
16+
17+
* Merged [#1567](https://github.com/sebastianbergmann/phpunit/issues/1567): `coverage-crap4j` missing in XSD for PHPUnit XML configuration
18+
* Merged [#1573](https://github.com/sebastianbergmann/phpunit/issues/1573): Updates for the XSD for PHPUnit XML configuration
19+
* Fixed [#1570](https://github.com/sebastianbergmann/phpunit/issues/1570): Test that prints output is marked as failure and not as risky when `--disallow-test-output` is used
20+
* Fixed `--stderr` with `--tap` or `--testdox` options
21+
22+
## PHPUnit 4.4.1
23+
24+
* Merged [#1528](https://github.com/sebastianbergmann/phpunit/issues/1528): Add `expectedCount()` to `toString()` return value
25+
26+
## PHPUnit 4.4.0
27+
28+
* Merged [#1371](https://github.com/sebastianbergmann/phpunit/issues/1371): Implement `assertArraySubset()` assertion
29+
* Merged [#1427](https://github.com/sebastianbergmann/phpunit/issues/1427): Improve failure output for tests when provided data is binary
30+
* Merged [#1439](https://github.com/sebastianbergmann/phpunit/issues/1439): Add support for `double` to `assertInternalType()`
31+
* Merged [#1458](https://github.com/sebastianbergmann/phpunit/issues/1458): Only enable colors when PHPUnit is run on a console (and output is not sent to a file)
32+

ChangeLog-4.5.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changes in PHPUnit 4.5
2+
3+
## PHPUnit 4.5.0
4+
5+
* Added out-of-the-box support for [Prophecy](https://github.com/phpspec/prophecy)
6+
* Implemented [#137](https://github.com/sebastianbergmann/phpunit/issues/137): Add support for variable number of tests shown per line in default result printer
7+
* Merged [#1478](https://github.com/sebastianbergmann/phpunit/issues/1478): Improve the performance of `PHPUnit_Framework_Constraint_IsEqual` (which is used by `assertEquals()`, for instance) for the most common case
8+
* Fixed [#1474](https://github.com/sebastianbergmann/phpunit/issues/1474): Allow the registration of custom comparators for `assertEquals()` et al. (again)
9+

ChangeLog-4.6.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Changes in PHPUnit 4.6
2+
3+
## PHPUnit 4.6.0
4+

0 commit comments

Comments
 (0)