class CoreStubsDataProviderTest extends TestCase (View source)

Methods

testItReturnsOnlyCoreStubs()

No description

testItReturnsOnlyPeclStubs()

No description

testItCanReadStubFileContent()

No description

static array
separatorStyleProvider()

No description

testItDerivesTopLevelDirectoryRegardlessOfSeparatorStyle(string $root, array $files)

No description

__construct(string $root, array $files)

No description

array
getAllStubFiles()

No description

string
getStubFileContent(string $path)

No description

string
getStubsRootPath()

No description

Details

testItReturnsOnlyCoreStubs()

No description

testItReturnsOnlyBundledStubs()

No description

testItReturnsOnlyExternalStubs()

No description

testItReturnsOnlyPeclStubs()

No description

testItReturnsMultipleCategories()

No description

testItExcludesVendorAndTestDirectories()

No description

testItExcludesPhpStormStubsMap()

No description

testItExcludesPhpStormMetaFiles()

No description

testItCanReadStubFileContent()

No description

testItThrowsExceptionForNonexistentFile()

No description

testItCachesStubFilesForPerformance()

No description

testItReturnsConfiguredCategories()

No description

testCoreAndBundledHaveMoreFilesThanCoreAlone()

No description

testItIncludesExpectedCoreDirectories()

No description

testItIncludesExpectedBundledDirectories()

No description

testItIncludesExpectedExternalDirectories()

No description

static array separatorStyleProvider()

No description

Return Value

array

[root, files] for a fake inner provider.

testItDerivesTopLevelDirectoryRegardlessOfSeparatorStyle(string $root, array $files)

No description

Parameters

string $root
array $files

__construct(string $root, array $files)

No description

Parameters

string $root
array $files

array getAllStubFiles()

No description

Return Value

array

string getStubFileContent(string $path)

No description

Parameters

string $path

Return Value

string

string getStubsRootPath()

No description

Return Value

string