DnfTypeParsingTest
class DnfTypeParsingTest extends TestCase (View source)
Tests for DNF (Disjunctive Normal Form) type support: int|(Foo&Bar) Also covers pure intersection types, roundtrip serialization, and edge cases.
Methods
void
testUnionTypeAcceptsIntersectionMember()
No description
void
testUnionTypeToStringWithOnlyStandaloneMembers()
No description
void
testUnionTypeToStringWithMultipleIntersectionMembers()
No description
static array
dnfTypeStringProvider()
No description
void
testTypeNodeConverterRoundtrip(string $typeStr, string $expected)
No description
__construct(string $str)
No description
string
toString()
No description
Details
void
testUnionTypeAcceptsIntersectionMember()
No description
void
testUnionTypeToStringWithOnlyStandaloneMembers()
No description
void
testUnionTypeToStringWithMultipleIntersectionMembers()
No description
static array
dnfTypeStringProvider()
No description
void
testTypeNodeConverterRoundtrip(string $typeStr, string $expected)
No description
__construct(string $str)
No description
string
toString()
No description