StubPropertyParserTest
class StubPropertyParserTest extends TestCase (View source)
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Mirrors ReflectionProperty::hasDefaultValue(): an untyped property always has a default (implicit null) even with no initializer, a typed one only when initialized.
No description
No description
No description
No description
No description
Details
protected void
setUp()
No description
testItReturnsCorrectInstance()
No description
testItCanParsePropertyName()
No description
testItCanParsePublicVisibility()
No description
testItCanParseProtectedVisibility()
No description
testItCanParsePrivateVisibility()
No description
testItCanParseStaticModifier()
No description
testItParsesNonStaticByDefault()
No description
testItCanParseReadonlyModifier()
No description
testItParsesNonReadonlyByDefault()
No description
testItCanParseTypeHint()
No description
testItParsesPropertyWithoutType()
No description
testItCanParseStaticReadonlyProperty()
No description
testItParsesAllPropertiesFromClass()
No description
testItParsesVisibilityCorrectly()
No description
testItCanParseLanguageLevelTypeAware()
No description
testPropertyWithoutLanguageLevelTypeAware()
No description
testLanguageLevelTypeAwareWithMultipleVersions()
No description
testItParsesHasDefaultValueMatchingReflectionSemantics(string $propertyName, bool $expected)
Mirrors ReflectionProperty::hasDefaultValue(): an untyped property always has a default (implicit null) even with no initializer, a typed one only when initialized.
static array
hasDefaultValueProvider()
No description
testItEvaluatesDefaultValues(string $propertyName, mixed $expected)
No description
static array
defaultValueProvider()
No description
testItEvaluatesArrayDefaultValue()
No description
testTypedUninitializedPropertyHasNullValueAndNoDefault()
No description