You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wkcrm/vendor/phpunit/phpunit/ChangeLog-4.8.md

12 KiB

Changes in PHPUnit 4.8

All notable changes of the PHPUnit 4.8 release series are documented in this file using the Keep a CHANGELOG principles.

4.8.36 - 2017-06-21

Added

  • Added PHPUnit\Framework\AssertionFailedError, PHPUnit\Framework\Test, and PHPUnit\Framework\TestSuite to the forward compatibility layer for PHPUnit 6

4.8.35 - 2017-02-06

Added

  • Backported the forward compatibility layer for PHPUnit 6 from PHPUnit 5 so that PHPUnit\Framework\TestCase can be used instead of PHPUnit_Framework_TestCase

4.8.34 - 2017-01-26

  • Fixed #2447: Reverted backwards incompatible change to handling of boolean environment variable values specified in XML

4.8.33 - 2017-01-25

Fixed

  • Fixed #1983: Tests with @expectedException annotation cannot be skipped
  • Fixed #2275: Invalid UTF-8 characters can lead to missing output
  • Fixed #2331: Boolean environment variable values specified in XML get mangled
  • Fixed #2392: Empty (but valid) data provider should skip the test
  • Fixed #2431: assertArraySubset() does not support ArrayAccess

4.8.32 - 2017-01-22

Fixed

  • Fixed #2428: Nested arrays specificied in XML configuration file are not handled correctly

4.8.31 - 2016-12-09

Fixed

  • Fixed #2384: Handle PHPUnit_Framework_Exception correctly when expecting exceptions

4.8.30 - 2016-12-02

Fixed

  • Fixed #2367: Bug in PHPUnit_Util_Test::parseAnnotationContent()
  • Fixed #2375: Invalid regular expression for --filter causes PHP warning

4.8.29 - 2016-11-20

Changed

  • Bumped the required version of sebastian/comparator

4.8.28 - 2016-11-14

Fixed

  • Improved the fix for #1955: Process isolation fails when running tests with phpdbg -qrr

4.8.27 - 2016-07-21

Fixed

  • Fixed #1968: Invalid data sets are not handled correctly for @testWith annotation

4.8.26 - 2016-05-17

Fixed

  • Fixed phpunit-mock-objects/#301: PHPUnit_Framework_MockObject_MockBuilder::getMock() calls PHPUnit_Framework_TestCase::getMock() with more arguments than accepted

4.8.25 - 2016-05-10

Fixed

  • Fixed #2112: Output is html entity encoded when ran through phpdbg
  • Fixed #2158: Failure to run tests in separate processes if a file included into main process contains constant definition

4.8.24 - 2016-03-14

Fixed

  • Fixed #1959: Prophecy errors are not handled correctly
  • Fixed #2039: TestDox does not handle snake_case test methods properly
  • Fixed #2109: Process isolation leaks global variable

4.8.23 - 2016-02-11

Fixed

  • Fixed #2072: Paths in XML configuration file were not handled correctly when they have whitespace around them

4.8.22 - 2016-02-02

Fixed

  • Fixed #2050: PHPUnit_Util_XML::load() raises exception with empty message when XML string is empty
  • Fixed a bug in PHPUnit_Runner_Version::series()

4.8.21 - 2015-12-12

Changed

  • 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

4.8.20 - 2015-12-10

Changed

  • Changed PHP version constraint in composer.json to prevent installing PHPUnit 4.8 on PHP 7
  • phpunit.phar will now refuse to work on PHP 7

4.8.19 - 2015-11-30

Fixed

  • Fixed #1955: Process isolation fails when running tests with phpdbg -qrr

4.8.18 - 2015-11-11

Changed

  • DbUnit 1.4 is bundled again in the PHAR distribution

4.8.17 - 2015-11-10

Fixed

  • Fixed #1935: PHP_CodeCoverage_Exception not handled properly
  • Fixed #1948: Unable to use PHAR due to unsupported signature error

Changed

  • DbUnit >= 2.0.2 is now bundled in the PHAR distribution

4.8.16 - 2015-10-23

Added

  • Implemented #1925: Provide a library-only PHAR

4.8.15 - 2015-10-22

Fixed

  • The backup of global state is now properly restored when changes to global state are disallowed
  • The __PHPUNIT_PHAR__ constant is now properly set when the PHPUnit PHAR is used as a library

4.8.14 - 2015-10-17

Fixed

  • Fixed #1892: --coverage-text does not honor color settings

4.8.13 - 2015-10-14

Added

  • Added the --self-upgrade commandline switch for upgrading a PHPUnit PHAR to the latest version

Changed

  • The --self-update commandline switch now updates a PHPUnit PHAR to the latest version within the same release series

4.8.12 - 2015-10-12

Changed

  • Merged #1893: Removed workaround for phpab bug

4.8.11 - 2015-10-07

Fixed

  • Merged #1885: Fixed handling of PHP configuration settings for process isolation
  • Fixed #1857: @covers and @uses should only take a single word
  • Fixed #1879: assertEqualXMLStructure() cannot compare nodes with an ID
  • Fixed #1898: @covers and @uses cannot be used for namespaced functions
  • Fixed #1901: --self-update updates to PHPUnit 5, even on PHP < 5.6

4.8.10 - 2015-10-01

Fixed

  • Merged #1884: Avoid passing Error to onNotSuccessfulTest() on PHP 7

4.8.9 - 2015-09-20

Fixed

  • Fixed regression introduced in PHPUnit 4.8.8

4.8.8 - 2015-09-19

Fixed

  • Fixed #1860: Not well-formed XML strings are always considered equal by PHPUnit_Framework_Assert::assertXmlStringEqualsXmlString()

4.8.7 - 2015-09-14

New PHAR release due to updated dependencies

4.8.6 - 2015-08-24

Fixed

  • Fixed #1835: Skipped test reported as errored since PHPUnit 4.7.4

4.8.5 - 2015-08-19

Fixed

  • Fixed #1831: PHAR manifest is missing

4.8.4 - 2015-08-15

Fixed

  • Fixed #1823: Columns attribute in XML configuration file is ignored

4.8.3 - 2015-08-10

Changed

  • PHPUnit now exits early during bootstrap when an unsupported version of PHP is used

4.8.2 - 2015-08-07

Fixed

  • Fixed #1816: PHPUnit 4.8.1 shows "4.8.0" as version number

4.8.1 - 2015-08-07

Fixed

  • Fixed #1815: phpunit --self-update does not work in PHPUnit 4.8.0

4.8.0 - 2015-08-07

Added

  • Added --check-version commandline switch to check whether the current version of PHPUnit is used (PHAR only)
  • Added --no-coverage commandline switch to ignore code coverage configuration from the configuration file
  • Implemented #1663: The Crap4J report's threshold is now configurable
  • Merged #1728: Implemented the @testWith annotation as "syntactic sugar" for data providers
  • Merged #1739: Added support to the commandline test runner for using options after arguments

Changed

  • Made the argument check of assertContains() and assertNotContains() more strict to prevent undefined behavior such as #1808
  • Changed the name of the default group from __nogroup__ to default