Skip to content

Commit e6e7085

Browse files
Merge branch '6.3'
2 parents 400316a + b637ce3 commit e6e7085

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

ChangeLog-5.7.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes of the PHPUnit 5.7 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44

5+
## [5.7.22] - 2017-MM-DD
6+
7+
### Fixed
8+
9+
* Fixed [#2769](https://github.com/sebastianbergmann/phpunit/issues/2769): Usage of `setUseErrorHandler()` produces `Undefined variable` error
10+
511
## [5.7.21] - 2017-06-21
612

713
### Added
@@ -171,6 +177,7 @@ All notable changes of the PHPUnit 5.7 release series are documented in this fil
171177
* The `--tap` and `--log-tap` commandline options have been deprecated
172178
* The `--self-update` and `--self-upgrade` commandline options have been deprecated (PHAR binary only)
173179

180+
[5.7.22]: https://github.com/sebastianbergmann/phpunit/compare/5.7.21...5.7.22
174181
[5.7.21]: https://github.com/sebastianbergmann/phpunit/compare/5.7.20...5.7.21
175182
[5.7.20]: https://github.com/sebastianbergmann/phpunit/compare/5.7.19...5.7.20
176183
[5.7.19]: https://github.com/sebastianbergmann/phpunit/compare/5.7.18...5.7.19

ChangeLog-6.3.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes of the PHPUnit 6.3 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44

5+
## [6.3.1] - 2017-MM-DD
6+
7+
### Fixed
8+
9+
* Fixed [#2769](https://github.com/sebastianbergmann/phpunit/issues/2769): Usage of `setUseErrorHandler()` produces `Undefined variable` error
10+
511
## [6.3.0] - 2017-08-04
612

713
### Added
@@ -13,5 +19,6 @@ All notable changes of the PHPUnit 6.3 release series are documented in this fil
1319

1420
* Implemented [#2751](https://github.com/sebastianbergmann/phpunit/pull/2751): Use `fopen()` instead of `is_readable()` to check if a file is readable (workaround for Windows and network shares)
1521

22+
[6.3.1]: https://github.com/sebastianbergmann/phpunit/compare/6.3.0...6.3.1
1623
[6.3.0]: https://github.com/sebastianbergmann/phpunit/compare/6.2...6.3.0
1724

src/Framework/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ public function run(TestResult $result = null)
890890
$result->run($this);
891891
}
892892

893-
if ($this->useErrorHandler !== null) {
893+
if (isset($oldErrorHandlerSetting)) {
894894
$result->convertErrorsToExceptions($oldErrorHandlerSetting);
895895
}
896896

0 commit comments

Comments
 (0)