Added details++; Vendor updates

This commit is contained in:
2017-09-24 18:42:53 +02:00
parent 848c9b1222
commit 783985b7ec
53 changed files with 761 additions and 447 deletions

View File

@@ -7,6 +7,8 @@ php:
- 7.0snapshot
- 7.1
- 7.1snapshot
- 7.2
- 7.2snapshot
- master
env:

View File

@@ -2,6 +2,12 @@
All notable changes of the PHPUnit 5.7 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
## [5.7.22] - 2017-09-24
### Fixed
* Fixed [#2769](https://github.com/sebastianbergmann/phpunit/issues/2769): Usage of `setUseErrorHandler()` produces `Undefined variable` error
## [5.7.21] - 2017-06-21
### Added
@@ -171,6 +177,7 @@ All notable changes of the PHPUnit 5.7 release series are documented in this fil
* The `--tap` and `--log-tap` commandline options have been deprecated
* The `--self-update` and `--self-upgrade` commandline options have been deprecated (PHAR binary only)
[5.7.22]: https://github.com/sebastianbergmann/phpunit/compare/5.7.21...5.7.22
[5.7.21]: https://github.com/sebastianbergmann/phpunit/compare/5.7.20...5.7.21
[5.7.20]: https://github.com/sebastianbergmann/phpunit/compare/5.7.19...5.7.20
[5.7.19]: https://github.com/sebastianbergmann/phpunit/compare/5.7.18...5.7.19

View File

@@ -2,6 +2,12 @@
All notable changes of the PHPUnit 6.3 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
## [6.3.1] - 2017-09-24
### Fixed
* Fixed [#2769](https://github.com/sebastianbergmann/phpunit/issues/2769): Usage of `setUseErrorHandler()` produces `Undefined variable` error
## [6.3.0] - 2017-08-04
### Added
@@ -13,5 +19,6 @@ All notable changes of the PHPUnit 6.3 release series are documented in this fil
* 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)
[6.3.1]: https://github.com/sebastianbergmann/phpunit/compare/6.3.0...6.3.1
[6.3.0]: https://github.com/sebastianbergmann/phpunit/compare/6.2...6.3.0

View File

@@ -4,7 +4,7 @@ PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of
[![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.0-8892BF.svg?style=flat-square)](https://php.net/)
[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/master.svg?style=flat-square)](https://phpunit.de/build-status.html)
[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/6.3.svg?style=flat-square)](https://phpunit.de/build-status.html)
## Installation

View File

@@ -9,8 +9,6 @@
*/
namespace PHPUnit\Framework\Constraint;
use numeric;
/**
* Constraint that asserts that the value it is evaluated for is greater
* than a given value.
@@ -18,16 +16,17 @@ use numeric;
class GreaterThan extends Constraint
{
/**
* @var numeric
* @var int|float
*/
protected $value;
/**
* @param numeric $value
* @param int|float $value
*/
public function __construct($value)
{
parent::__construct();
$this->value = $value;
}

View File

@@ -9,8 +9,6 @@
*/
namespace PHPUnit\Framework\Constraint;
use numeric;
/**
* Constraint that asserts that the value it is evaluated for is less than
* a given value.
@@ -18,16 +16,17 @@ use numeric;
class LessThan extends Constraint
{
/**
* @var numeric
* @var int|float
*/
protected $value;
/**
* @param numeric $value
* @param int|float $value
*/
public function __construct($value)
{
parent::__construct();
$this->value = $value;
}

View File

@@ -883,7 +883,7 @@ abstract class TestCase extends Assert implements Test, SelfDescribing
$result->run($this);
}
if ($this->useErrorHandler !== null) {
if (isset($oldErrorHandlerSetting)) {
$result->convertErrorsToExceptions($oldErrorHandlerSetting);
}

View File

@@ -32,7 +32,7 @@ class Version
}
if (self::$version === null) {
$version = new VersionId('6.3.0', \dirname(\dirname(__DIR__)));
$version = new VersionId('6.3.1', \dirname(\dirname(__DIR__)));
self::$version = $version->getVersion();
}

View File

@@ -19,7 +19,7 @@ PHPUnit %s by Sebastian Bergmann and contributors.
##teamcity[testStarted name='testPrintingChildException' locationHint='php_qn://%s%etests%e_files%eExceptionStackTest.php::\ExceptionStackTest::testPrintingChildException' flowId='%d']
##teamcity[testFailed name='testPrintingChildException' message='Child exception|nmessage|nFailed asserting that two arrays are equal.|n--- Expected|n+++ Actual|n@@ @@|n Array (|n- 0 => 1|n+ 0 => 2|n' details=' %s/ExceptionStackTest.php:14|n |n Caused by|n message|n Failed asserting that two arrays are equal.|n --- Expected|n +++ Actual|n @@ @@|n Array (|n - 0 => 1|n + 0 => 2|n |n %s/ExceptionStackTest.php:10|n ' flowId='%d']
##teamcity[testFailed name='testPrintingChildException' message='Child exception|nmessage|nFailed asserting that two arrays are equal.|n--- Expected|n+++ Actual|n@@ @@|n Array (|n- 0 => 1|n+ 0 => 2|n' details=' %s%eExceptionStackTest.php:14|n |n Caused by|n message|n Failed asserting that two arrays are equal.|n --- Expected|n +++ Actual|n @@ @@|n Array (|n - 0 => 1|n + 0 => 2|n |n %s%eExceptionStackTest.php:10|n ' flowId='%d']
##teamcity[testFinished name='testPrintingChildException' duration='%d' flowId='%d']