Version 7.5.0 - 2018-12-07
Added
assertEqualsCanonicalizing()
, assertEqualsIgnoringCase()
, assertEqualsWithDelta()
, assertNotEqualsCanonicalizing()
, assertNotEqualsIgnoringCase()
, and assertNotEqualsWithDelta()
as alternatives to using assertEquals()
and assertNotEquals()
with the $delta
, $canonicalize
, or $ignoreCase
parametersassertIsArray()
, assertIsBool()
, assertIsFloat()
, assertIsInt()
, assertIsNumeric()
, assertIsObject()
, assertIsResource()
, assertIsString()
, assertIsScalar()
, assertIsCallable()
, assertIsIterable()
, assertIsNotArray()
, assertIsNotBool()
, assertIsNotFloat()
, assertIsNotInt()
, assertIsNotNumeric()
, assertIsNotObject()
, assertIsNotResource()
, assertIsNotString()
, assertIsNotScalar()
, assertIsNotCallable()
, assertIsNotIterable()
as alternatives to assertInternalType()
and assertNotInternalType()
TestHook
that fires after each test, regardless of resultassertStringContainsString()
, assertStringContainsStringIgnoringCase()
, assertStringNotContainsString()
, and assertStringNotContainsStringIgnoringCase()
Deprecated
assertInternalType()
and assertNotInternalType()
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.assertAttributeContains()
, assertAttributeNotContains()
, assertAttributeContainsOnly()
, assertAttributeNotContainsOnly()
, assertAttributeCount()
, assertAttributeNotCount()
, assertAttributeEquals()
, assertAttributeNotEquals()
, assertAttributeEmpty()
, assertAttributeNotEmpty()
, assertAttributeGreaterThan()
, assertAttributeGreaterThanOrEqual()
, assertAttributeLessThan()
, assertAttributeLessThanOrEqual()
, assertAttributeSame()
, assertAttributeNotSame()
, assertAttributeInstanceOf()
, assertAttributeNotInstanceOf()
, assertAttributeInternalType()
, assertAttributeNotInternalType()
, attributeEqualTo()
, readAttribute()
, getStaticAttribute()
, and getObjectAttribute()
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.$delta
, $maxDepth
, $canonicalize
, and $ignoreCase
of assertEquals()
and assertNotEquals()
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.@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.assertContains()
and assertNotContains()
on string
haystacks is now deprecated. There is no behavioral change in this version of PHPUnit. Using these methods on string
haystacks will trigger a deprecation warning in PHPUnit 8 and in PHPUnit 9 these methods cannot be used on on string
haystacks anymore.$ignoreCase
, $checkForObjectIdentity
, and $checkForNonObjectIdentity
of assertContains()
and assertNotContains()
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.Fixed
Please log in to add feedback.
This update has been submitted for testing by remi.
This update has been pushed to testing.
This update has been obsoleted by phpunit7-7.5.1-1.fc28.