|
file-fetcher
|
@coversDefaultClass \phpDocumentor\Reflection\TypeResolver
Additional Inherited Members | |
Static Public Member Functions inherited from PHPUnit\Framework\TestCase | |
| static | any () |
| static | never () |
| static | atLeast (int $requiredInvocations) |
| static | atLeastOnce () |
| static | once () |
| static | exactly (int $count) |
| static | atMost (int $allowedInvocations) |
| static | at (int $index) |
| static | returnValue ($value) |
| static | returnValueMap (array $valueMap) |
| static | returnArgument (int $argumentIndex) |
| static | returnCallback ($callback) |
| static | returnSelf () |
| static | throwException (\Throwable $exception) |
| static | onConsecutiveCalls (... $args) |
| static | setUpBeforeClass () |
| static | tearDownAfterClass () |
Static Public Member Functions inherited from PHPUnit\Framework\Assert | |
| static | assertArrayHasKey ($key, $array, string $message='') |
| static | assertArraySubset ($subset, $array, bool $checkForObjectIdentity=false, string $message='') |
| static | assertArrayNotHasKey ($key, $array, string $message='') |
| static | assertContains ($needle, $haystack, string $message='', bool $ignoreCase=false, bool $checkForObjectIdentity=true, bool $checkForNonObjectIdentity=false) |
| static | assertContainsEquals ($needle, iterable $haystack, string $message='') |
| static | assertAttributeContains ($needle, string $haystackAttributeName, $haystackClassOrObject, string $message='', bool $ignoreCase=false, bool $checkForObjectIdentity=true, bool $checkForNonObjectIdentity=false) |
| static | assertNotContains ($needle, $haystack, string $message='', bool $ignoreCase=false, bool $checkForObjectIdentity=true, bool $checkForNonObjectIdentity=false) |
| static | assertNotContainsEquals ($needle, iterable $haystack, string $message='') |
| static | assertAttributeNotContains ($needle, string $haystackAttributeName, $haystackClassOrObject, string $message='', bool $ignoreCase=false, bool $checkForObjectIdentity=true, bool $checkForNonObjectIdentity=false) |
| static | assertContainsOnly (string $type, iterable $haystack, ?bool $isNativeType=null, string $message='') |
| static | assertContainsOnlyInstancesOf (string $className, iterable $haystack, string $message='') |
| static | assertAttributeContainsOnly (string $type, string $haystackAttributeName, $haystackClassOrObject, ?bool $isNativeType=null, string $message='') |
| static | assertNotContainsOnly (string $type, iterable $haystack, ?bool $isNativeType=null, string $message='') |
| static | assertAttributeNotContainsOnly (string $type, string $haystackAttributeName, $haystackClassOrObject, ?bool $isNativeType=null, string $message='') |
| static | assertCount (int $expectedCount, $haystack, string $message='') |
| static | assertAttributeCount (int $expectedCount, string $haystackAttributeName, $haystackClassOrObject, string $message='') |
| static | assertNotCount (int $expectedCount, $haystack, string $message='') |
| static | assertAttributeNotCount (int $expectedCount, string $haystackAttributeName, $haystackClassOrObject, string $message='') |
| static | assertEquals ($expected, $actual, string $message='', float $delta=0.0, int $maxDepth=10, bool $canonicalize=false, bool $ignoreCase=false) |
| static | assertEqualsCanonicalizing ($expected, $actual, string $message='') |
| static | assertEqualsIgnoringCase ($expected, $actual, string $message='') |
| static | assertEqualsWithDelta ($expected, $actual, float $delta, string $message='') |
| static | assertAttributeEquals ($expected, string $actualAttributeName, $actualClassOrObject, string $message='', float $delta=0.0, int $maxDepth=10, bool $canonicalize=false, bool $ignoreCase=false) |
| static | assertNotEquals ($expected, $actual, string $message='', $delta=0.0, $maxDepth=10, $canonicalize=false, $ignoreCase=false) |
| static | assertNotEqualsCanonicalizing ($expected, $actual, string $message='') |
| static | assertNotEqualsIgnoringCase ($expected, $actual, string $message='') |
| static | assertNotEqualsWithDelta ($expected, $actual, float $delta, string $message='') |
| static | assertAttributeNotEquals ($expected, string $actualAttributeName, $actualClassOrObject, string $message='', float $delta=0.0, int $maxDepth=10, bool $canonicalize=false, bool $ignoreCase=false) |
| static | assertEmpty ($actual, string $message='') |
| static | assertAttributeEmpty (string $haystackAttributeName, $haystackClassOrObject, string $message='') |
| static | assertNotEmpty ($actual, string $message='') |
| static | assertAttributeNotEmpty (string $haystackAttributeName, $haystackClassOrObject, string $message='') |
| static | assertGreaterThan ($expected, $actual, string $message='') |
| static | assertAttributeGreaterThan ($expected, string $actualAttributeName, $actualClassOrObject, string $message='') |
| static | assertGreaterThanOrEqual ($expected, $actual, string $message='') |
| static | assertAttributeGreaterThanOrEqual ($expected, string $actualAttributeName, $actualClassOrObject, string $message='') |
| static | assertLessThan ($expected, $actual, string $message='') |
| static | assertAttributeLessThan ($expected, string $actualAttributeName, $actualClassOrObject, string $message='') |
| static | assertLessThanOrEqual ($expected, $actual, string $message='') |
| static | assertAttributeLessThanOrEqual ($expected, string $actualAttributeName, $actualClassOrObject, string $message='') |
| static | assertFileEquals (string $expected, string $actual, string $message='', bool $canonicalize=false, bool $ignoreCase=false) |
| static | assertFileEqualsCanonicalizing (string $expected, string $actual, string $message='') |
| static | assertFileEqualsIgnoringCase (string $expected, string $actual, string $message='') |
| static | assertFileNotEquals (string $expected, string $actual, string $message='', bool $canonicalize=false, bool $ignoreCase=false) |
| static | assertFileNotEqualsCanonicalizing (string $expected, string $actual, string $message='') |
| static | assertFileNotEqualsIgnoringCase (string $expected, string $actual, string $message='') |
| static | assertStringEqualsFile (string $expectedFile, string $actualString, string $message='', bool $canonicalize=false, bool $ignoreCase=false) |
| static | assertStringEqualsFileCanonicalizing (string $expectedFile, string $actualString, string $message='') |
| static | assertStringEqualsFileIgnoringCase (string $expectedFile, string $actualString, string $message='') |
| static | assertStringNotEqualsFile (string $expectedFile, string $actualString, string $message='', bool $canonicalize=false, bool $ignoreCase=false) |
| static | assertStringNotEqualsFileCanonicalizing (string $expectedFile, string $actualString, string $message='') |
| static | assertStringNotEqualsFileIgnoringCase (string $expectedFile, string $actualString, string $message='') |
| static | assertIsReadable (string $filename, string $message='') |
| static | assertNotIsReadable (string $filename, string $message='') |
| static | assertIsWritable (string $filename, string $message='') |
| static | assertNotIsWritable (string $filename, string $message='') |
| static | assertDirectoryExists (string $directory, string $message='') |
| static | assertDirectoryNotExists (string $directory, string $message='') |
| static | assertDirectoryIsReadable (string $directory, string $message='') |
| static | assertDirectoryNotIsReadable (string $directory, string $message='') |
| static | assertDirectoryIsWritable (string $directory, string $message='') |
| static | assertDirectoryNotIsWritable (string $directory, string $message='') |
| static | assertFileExists (string $filename, string $message='') |
| static | assertFileNotExists (string $filename, string $message='') |
| static | assertFileIsReadable (string $file, string $message='') |
| static | assertFileNotIsReadable (string $file, string $message='') |
| static | assertFileIsWritable (string $file, string $message='') |
| static | assertFileNotIsWritable (string $file, string $message='') |
| static | assertTrue ($condition, string $message='') |
| static | assertNotTrue ($condition, string $message='') |
| static | assertFalse ($condition, string $message='') |
| static | assertNotFalse ($condition, string $message='') |
| static | assertNull ($actual, string $message='') |
| static | assertNotNull ($actual, string $message='') |
| static | assertFinite ($actual, string $message='') |
| static | assertInfinite ($actual, string $message='') |
| static | assertNan ($actual, string $message='') |
| static | assertClassHasAttribute (string $attributeName, string $className, string $message='') |
| static | assertClassNotHasAttribute (string $attributeName, string $className, string $message='') |
| static | assertClassHasStaticAttribute (string $attributeName, string $className, string $message='') |
| static | assertClassNotHasStaticAttribute (string $attributeName, string $className, string $message='') |
| static | assertObjectHasAttribute (string $attributeName, $object, string $message='') |
| static | assertObjectNotHasAttribute (string $attributeName, $object, string $message='') |
| static | assertSame ($expected, $actual, string $message='') |
| static | assertAttributeSame ($expected, string $actualAttributeName, $actualClassOrObject, string $message='') |
| static | assertNotSame ($expected, $actual, string $message='') |
| static | assertAttributeNotSame ($expected, string $actualAttributeName, $actualClassOrObject, string $message='') |
| static | assertInstanceOf (string $expected, $actual, string $message='') |
| static | assertAttributeInstanceOf (string $expected, string $attributeName, $classOrObject, string $message='') |
| static | assertNotInstanceOf (string $expected, $actual, string $message='') |
| static | assertAttributeNotInstanceOf (string $expected, string $attributeName, $classOrObject, string $message='') |
| static | assertInternalType (string $expected, $actual, string $message='') |
| static | assertAttributeInternalType (string $expected, string $attributeName, $classOrObject, string $message='') |
| static | assertIsArray ($actual, string $message='') |
| static | assertIsBool ($actual, string $message='') |
| static | assertIsFloat ($actual, string $message='') |
| static | assertIsInt ($actual, string $message='') |
| static | assertIsNumeric ($actual, string $message='') |
| static | assertIsObject ($actual, string $message='') |
| static | assertIsResource ($actual, string $message='') |
| static | assertIsString ($actual, string $message='') |
| static | assertIsScalar ($actual, string $message='') |
| static | assertIsCallable ($actual, string $message='') |
| static | assertIsIterable ($actual, string $message='') |
| static | assertNotInternalType (string $expected, $actual, string $message='') |
| static | assertIsNotArray ($actual, string $message='') |
| static | assertIsNotBool ($actual, string $message='') |
| static | assertIsNotFloat ($actual, string $message='') |
| static | assertIsNotInt ($actual, string $message='') |
| static | assertIsNotNumeric ($actual, string $message='') |
| static | assertIsNotObject ($actual, string $message='') |
| static | assertIsNotResource ($actual, string $message='') |
| static | assertIsNotString ($actual, string $message='') |
| static | assertIsNotScalar ($actual, string $message='') |
| static | assertIsNotCallable ($actual, string $message='') |
| static | assertIsNotIterable ($actual, string $message='') |
| static | assertAttributeNotInternalType (string $expected, string $attributeName, $classOrObject, string $message='') |
| static | assertRegExp (string $pattern, string $string, string $message='') |
| static | assertNotRegExp (string $pattern, string $string, string $message='') |
| static | assertSameSize ($expected, $actual, string $message='') |
| static | assertNotSameSize ($expected, $actual, string $message='') |
| static | assertStringMatchesFormat (string $format, string $string, string $message='') |
| static | assertStringNotMatchesFormat (string $format, string $string, string $message='') |
| static | assertStringMatchesFormatFile (string $formatFile, string $string, string $message='') |
| static | assertStringNotMatchesFormatFile (string $formatFile, string $string, string $message='') |
| static | assertStringStartsWith (string $prefix, string $string, string $message='') |
| static | assertStringStartsNotWith ($prefix, $string, string $message='') |
| static | assertStringContainsString (string $needle, string $haystack, string $message='') |
| static | assertStringContainsStringIgnoringCase (string $needle, string $haystack, string $message='') |
| static | assertStringNotContainsString (string $needle, string $haystack, string $message='') |
| static | assertStringNotContainsStringIgnoringCase (string $needle, string $haystack, string $message='') |
| static | assertStringEndsWith (string $suffix, string $string, string $message='') |
| static | assertStringEndsNotWith (string $suffix, string $string, string $message='') |
| static | assertXmlFileEqualsXmlFile (string $expectedFile, string $actualFile, string $message='') |
| static | assertXmlFileNotEqualsXmlFile (string $expectedFile, string $actualFile, string $message='') |
| static | assertXmlStringEqualsXmlFile (string $expectedFile, $actualXml, string $message='') |
| static | assertXmlStringNotEqualsXmlFile (string $expectedFile, $actualXml, string $message='') |
| static | assertXmlStringEqualsXmlString ($expectedXml, $actualXml, string $message='') |
| static | assertXmlStringNotEqualsXmlString ($expectedXml, $actualXml, string $message='') |
| static | assertEqualXMLStructure (DOMElement $expectedElement, DOMElement $actualElement, bool $checkAttributes=false, string $message='') |
| static | assertThat ($value, Constraint $constraint, string $message='') |
| static | assertJson (string $actualJson, string $message='') |
| static | assertJsonStringEqualsJsonString (string $expectedJson, string $actualJson, string $message='') |
| static | assertJsonStringNotEqualsJsonString ($expectedJson, $actualJson, string $message='') |
| static | assertJsonStringEqualsJsonFile (string $expectedFile, string $actualJson, string $message='') |
| static | assertJsonStringNotEqualsJsonFile (string $expectedFile, string $actualJson, string $message='') |
| static | assertJsonFileEqualsJsonFile (string $expectedFile, string $actualFile, string $message='') |
| static | assertJsonFileNotEqualsJsonFile (string $expectedFile, string $actualFile, string $message='') |
| static | logicalAnd () |
| static | logicalOr () |
| static | logicalNot (Constraint $constraint) |
| static | logicalXor () |
| static | anything () |
| static | isTrue () |
| static | callback (callable $callback) |
| static | isFalse () |
| static | isJson () |
| static | isNull () |
| static | isFinite () |
| static | isInfinite () |
| static | isNan () |
| static | attribute (Constraint $constraint, string $attributeName) |
| static | contains ($value, bool $checkForObjectIdentity=true, bool $checkForNonObjectIdentity=false) |
| static | containsEqual ($value) |
| static | containsIdentical ($value) |
| static | containsOnly (string $type) |
| static | containsOnlyInstancesOf (string $className) |
| static | arrayHasKey ($key) |
| static | equalTo ($value, float $delta=0.0, int $maxDepth=10, bool $canonicalize=false, bool $ignoreCase=false) |
| static | attributeEqualTo (string $attributeName, $value, float $delta=0.0, int $maxDepth=10, bool $canonicalize=false, bool $ignoreCase=false) |
| static | isEmpty () |
| static | isWritable () |
| static | isReadable () |
| static | directoryExists () |
| static | fileExists () |
| static | greaterThan ($value) |
| static | greaterThanOrEqual ($value) |
| static | classHasAttribute (string $attributeName) |
| static | classHasStaticAttribute (string $attributeName) |
| static | objectHasAttribute ($attributeName) |
| static | identicalTo ($value) |
| static | isInstanceOf (string $className) |
| static | isType (string $type) |
| static | lessThan ($value) |
| static | lessThanOrEqual ($value) |
| static | matchesRegularExpression (string $pattern) |
| static | matches (string $string) |
| static | stringStartsWith ($prefix) |
| static | stringContains (string $string, bool $case=true) |
| static | stringEndsWith (string $suffix) |
| static | countOf (int $count) |
| static | fail (string $message='') |
| static | readAttribute ($classOrObject, string $attributeName) |
| static | getStaticAttribute (string $className, string $attributeName) |
| static | getObjectAttribute ($object, string $attributeName) |
| static | markTestIncomplete (string $message='') |
| static | markTestSkipped (string $message='') |
| static | getCount () |
| static | resetCount () |
Protected Member Functions inherited from PHPUnit\Framework\TestCase | |
| setUp () | |
| tearDown () | |
| runTest () | |
| iniSet (string $varName, string $newValue) | |
| setLocale (... $args) | |
| createStub (string $originalClassName) | |
| createMock ($originalClassName) | |
| createConfiguredMock ($originalClassName, array $configuration) | |
| createPartialMock ($originalClassName, array $methods) | |
| createTestProxy (string $originalClassName, array $constructorArguments=[]) | |
| getMockClass ($originalClassName, $methods=[], array $arguments=[], $mockClassName='', $callOriginalConstructor=false, $callOriginalClone=true, $callAutoload=true, $cloneArguments=false) | |
| getMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[], $cloneArguments=false) | |
| getMockFromWsdl ($wsdlFile, $originalClassName='', $mockClassName='', array $methods=[], $callOriginalConstructor=true, array $options=[]) | |
| getMockForTrait ($traitName, array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[], $cloneArguments=false) | |
| getObjectForTrait ($traitName, array $arguments=[], $traitClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true) | |
| prophesize ($classOrInterface=null) | |
| createResult () | |
| assertPreConditions () | |
| assertPostConditions () | |
| onNotSuccessfulTest (\Throwable $t) | |
Protected Attributes inherited from PHPUnit\Framework\TestCase | |
| $backupGlobals | |
| $backupGlobalsBlacklist = [] | |
| $backupStaticAttributes | |
| $backupStaticAttributesBlacklist = [] | |
| $runTestInSeparateProcess | |
| $preserveGlobalState = true | |
| phpDocumentor\Reflection\TypeResolverTest::provideClassStrings | ( | ) |
Returns a list of class string types and whether they throw an exception.
| phpDocumentor\Reflection\TypeResolverTest::provideFqcn | ( | ) |
Provides a list of FQSENs to test the resolution patterns with.
| phpDocumentor\Reflection\TypeResolverTest::provideKeywords | ( | ) |
Returns a list of keywords and expected classes that are created from them.
| phpDocumentor\Reflection\TypeResolverTest::testAddingAKeyword | ( | ) |
@uses \phpDocumentor\Reflection\TypeResolver::resolve @uses \phpDocumentor\Reflection\TypeResolver::<private> @uses \phpDocumentor\Reflection\Types\Context
@covers __construct @covers ::addKeyword
| phpDocumentor\Reflection\TypeResolverTest::testAddingAKeywordFailsIfTypeClassDoesNotExist | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context
@covers __construct @covers ::addKeyword
| phpDocumentor\Reflection\TypeResolverTest::testAddingAKeywordFailsIfTypeClassDoesNotImplementTypeInterface | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context
@covers __construct @covers ::addKeyword
| phpDocumentor\Reflection\TypeResolverTest::testArrayKeyValueSpecification | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context
@covers __construct @covers ::resolve
| phpDocumentor\Reflection\TypeResolverTest::testExceptionIsThrownIfTypeIsEmpty | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context
@covers __construct @covers ::resolve
| phpDocumentor\Reflection\TypeResolverTest::testResolvingAmpersandCompoundTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\String_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingArrayExpressionObjectsTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingArrayExpressionOrCompoundTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingArrayExpressionSimpleTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingArrayOfArrayExpressionTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingClassStrings | ( | string | $classString, |
| bool | $throwsException | ||
| ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Types\String_
@covers __construct @covers ::resolve @covers ::<private>
@dataProvider provideClassStrings
| phpDocumentor\Reflection\TypeResolverTest::testResolvingCompoundTypedArrayTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingCompoundTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\String_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingCompoundTypesWithTwoArrays | ( | ) |
This test asserts that the parameter order is correct.
When you pass two arrays separated by the compound operator (i.e. 'integer[]|string[]') then we always split the expression in its compound parts and then we parse the types with the array operators. If we were to switch the order around then 'integer[]|string[]' would read as an array of string or integer array; which is something other than what we intend.
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\Integer @uses \phpDocumentor\Reflection\Types\String_
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingFQSENs | ( | string | $fqsen | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
@dataProvider provideFqcn
| phpDocumentor\Reflection\TypeResolverTest::testResolvingIterableExpressionSimpleTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\Iterable_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingKeywords | ( | string | $keyword, |
| string | $expectedClass | ||
| ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\Object_
@covers __construct @covers ::resolve @covers ::<private>
@dataProvider provideKeywords
| phpDocumentor\Reflection\TypeResolverTest::testResolvingMixedCompoundTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\String_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingNestedTypedArrays | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\String_
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingNullableCompoundTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\String_ @uses \phpDocumentor\Reflection\Types\Nullable @uses \phpDocumentor\Reflection\Types\Null_ @uses \phpDocumentor\Reflection\Types\Boolean @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingNullableTypes | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Nullable @uses \phpDocumentor\Reflection\Types\String_
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingRelativeQSENsBasedOnNamespace | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingRelativeQSENsBasedOnNamespaceAlias | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testResolvingTypedArrays | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\String_
@covers __construct @covers ::resolve @covers ::<private>
| phpDocumentor\Reflection\TypeResolverTest::testReturnEmptyCompoundOnAnUnclosedArrayExpressionType | ( | ) |
@uses \phpDocumentor\Reflection\Types\Context @uses \phpDocumentor\Reflection\Types\Compound @uses \phpDocumentor\Reflection\Types\Array_ @uses \phpDocumentor\Reflection\Types\Object_ @uses \phpDocumentor\Reflection\Fqsen @uses \phpDocumentor\Reflection\FqsenResolver
@covers __construct @covers ::resolve @covers ::<private>
1.8.17