File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1- CHANGELOG for 2.0
1+ CHANGELOG
22=================
33
44View diff for a specific commit:
55https://github.com/johnkary/phpunit-speedtrap/commit/XXX where XXX is the commit hash
66
77View diff between two versions:
8- https://github.com/johnkary/phpunit-speedtrap/compare/v1.1.0...v2.0.0
8+ https://github.com/johnkary/phpunit-speedtrap/compare/v2.0.0...v3.0.0
9+
10+ ## 3.0.0 (2018-02-24)
11+
12+ Version 3.0 introduces support for PHPUnit 7.0+ and PHP 7.1+.
13+
14+ Changes may be required if you have extended SpeedTrapListener. See
15+ [ UPGRADE.md] ( UPGRADE.md ) for upgrading your subclass to support 3.0.
16+
17+ * [ PR #41 ] ( https://github.com/johnkary/phpunit-speedtrap/pull/41 ) Make compatible with phpunit 7.x
918
1019## 2.0.0 (2017-12-06)
1120
Original file line number Diff line number Diff line change 1+ UPGRADE FROM 2.x to 3.0
2+ =======================
3+
4+ ### ` JohnKary\PHPUnit\Listener\SpeedTrapListener ` subclasses must ensure method signatures match PHPUnit TestListenerDefaultImplementation
5+
6+ SpeedTrapListener was upgraded to support PHPUnit 7.0, which introduced a
7+ new trait ` TestListenerDefaultImplementation ` containing a few new scalar type
8+ hints and void return hints. SpeedTrapListener subclasses overriding any
9+ of the below methods will require updating the new method signatures:
10+
11+ | Old signature | New signature |
12+ | -------- | --- |
13+ | ` public function endTest(Test $test, $time) ` | ` public function endTest(Test $test, float $time): void `
14+ | ` public function startTestSuite(TestSuite $suite) ` | ` public function startTestSuite(TestSuite $suite): void `
15+ | ` public function endTestSuite(TestSuite $suite) ` | ` public function endTestSuite(TestSuite $suite): void `
16+
17+
118UPGRADE FROM 1.x to 2.0
219=======================
320
You can’t perform that action at this time.
0 commit comments