DeprecationComparatorTest
class DeprecationComparatorTest extends TestCase (View source)
Methods
static array
deprecatedInProvider()
No description
void
testItResolvesDeprecationAtAVersion(bool $isDeprecated, string|null $deprecatedSince, string $phpVersion, bool $expected)
No description
void
testItTreatsAnElementWithoutStubMetadataAsDeprecatedEverywhere()
Reflection-side elements carry no stub metadata, so their flag has to be taken verbatim.
void
testItResolvesParameterDeprecation()
No description
void
testItReportsAMismatchWhenTheStubDeprecationStartsLater()
No description
void
testItReportsNoMismatchWhenOnlyTheStubIsDeprecated()
No description
Details
static array
deprecatedInProvider()
No description
void
testItResolvesDeprecationAtAVersion(bool $isDeprecated, string|null $deprecatedSince, string $phpVersion, bool $expected)
No description
void
testItTreatsAnElementWithoutStubMetadataAsDeprecatedEverywhere()
Reflection-side elements carry no stub metadata, so their flag has to be taken verbatim.
void
testItResolvesParameterDeprecation()
No description
void
testItReportsAMismatchWhenTheStubDeprecationStartsLater()
No description
void
testItReportsNoMismatchWhenOnlyTheStubIsDeprecated()
No description