Version 7.5.1 - 2018-12-12
Fixed
DataProviderTestSuite::usesDataProvider()
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
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2018-e40f3a24d4
Please log in to add feedback.
This update has been submitted for testing by remi.
This update has obsoleted phpunit7-7.5.0-1.fc28, and has inherited its bugs and notes.
This update has been pushed to testing.
This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for batched by remi.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.