DefaultTypeParserTest
class DefaultTypeParserTest 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
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
phpDocumentor silently drops @param/@return tags whose phpstan/psalm type it cannot resolve. They must instead be recovered verbatim so the documented type is stored (narrowing to a built-in type happens later, at verification time).
No description
No description
No description
No description
Details
protected void
setUp()
No description
testParseTypeFromSignatureOnly()
No description
testParseTypeFromPhpDocOnly()
No description
testParseTypeFromBothSignatureAndPhpDoc()
No description
testParseWithNoTypesReturnsEmptyParsedType()
No description
testParseComplexSignatureTypes()
No description
testParseComplexPhpDocTypes()
No description
testParseReturnsCorrectParsedTypeInstance()
No description
testParsePreservesOriginalTypeStrings()
No description
testParseLanguageLevelTypeAwareWithSingleVersion()
No description
testParseLanguageLevelTypeAwareWithMultipleVersions()
No description
testParseLanguageLevelTypeAwareWithDefaultType()
No description
testParseLanguageLevelTypeAwareWithEmptyDefault()
No description
testParseLanguageLevelTypeAwareWithoutDefault()
No description
testParseLanguageLevelTypeAwareWithFullyQualifiedName()
No description
testParseMultipleLanguageLevelTypeAwareAttributes()
No description
testParseMixedAttributesOnlyProcessesLanguageLevelTypeAware()
No description
testParseLanguageLevelTypeAwareWithEmptyMap()
No description
testParseLanguageLevelTypeAwareVersionsAreStrings()
No description
testParseAllThreeSourcesSimultaneously()
No description
testParseRealWorldExample_CurlResource()
No description
testParseRealWorldExample_GdImageResource()
No description
testParseRealWorldExample_SocketResource()
No description
testParsePropertyWithAllTypeInformation()
No description
testParseMethodReturnTypeWithAllTypeInformation()
No description
testParseWithEmptyAttributesArray()
No description
testParseAttributeWithOnlyDefaultNoMap()
No description
testParseAttributeArgumentsAsNamedParameters()
No description
testParsePreservesComplexTypeStructures()
No description
testRecoversDroppedPhpStanTypesVerbatim()
phpDocumentor silently drops @param/@return tags whose phpstan/psalm type it cannot resolve. They must instead be recovered verbatim so the documented type is stored (narrowing to a built-in type happens later, at verification time).
testRecoveryDoesNotCorruptDescriptionsOrSkipsTypelessParams()
No description
testResolvablePhpDocTypesAreLeftToPhpDocumentor()
No description
testParseHandlesNullValuesGracefully()
No description
testParseDoesNotModifyInputArrays()
No description