All notable changes of the PHPUnit 7.5 release series are documented in this file using the Keep a CHANGELOG principles.
7.5.0 - 2018-12-07
- Implemented #3340: Added
assertEqualsCanonicalizing()
,assertEqualsIgnoringCase()
,assertEqualsWithDelta()
,assertNotEqualsCanonicalizing()
,assertNotEqualsIgnoringCase()
, andassertNotEqualsWithDelta()
as alternatives to usingassertEquals()
andassertNotEquals()
with the$delta
,$canonicalize
, or$ignoreCase
parameters
- The optional parameters
$delta
,$maxDepth
,$canonicalize
, and$ignoreCase
ofassertEquals()
, andassertNotEquals
are now deprecated. There is no behavioral change in this version of PHPUnit. Using these parameters will trigger a deprecation warning in PHPUnit 8 and in PHPUnit 9 these parameters will be removed. - The methods
assertAttributeContains()
,assertAttributeNotContains()
,assertAttributeContainsOnly()
,assertAttributeNotContainsOnly()
,assertAttributeCount()
,assertAttributeNotCount()
,assertAttributeEquals()
,assertAttributeNotEquals()
,assertAttributeEmpty()
,assertAttributeNotEmpty()
,assertAttributeGreaterThan()
,assertAttributeGreaterThanOrEqual()
,assertAttributeLessThan()
,assertAttributeLessThanOrEqual()
,assertAttributeSame()
,assertAttributeNotSame()
,assertAttributeInstanceOf()
,assertAttributeNotInstanceOf()
,assertAttributeInternalType()
,assertAttributeNotInternalType()
,attributeEqualTo()
,readAttribute()
,getStaticAttribute()
, andgetObjectAttribute()
are now deprecated. There is no behavioral change in this version of PHPUnit. Using these methods will trigger a deprecation warning in PHPUnit 8 and in PHPUnit 9 these methods will be removed. - The annotations
@expectedException
,@expectedExceptionCode
,@expectedExceptionMessage
, and@expectedExceptionMessageRegExp
are now deprecated. There is no behavioral change in this version of PHPUnit. Using these annotations will trigger a deprecation warning in PHPUnit 8 and in PHPUnit 9 these annotations will be removed.