class AllStubsDataProviderTest extends TestCase (View source)

Methods

Details

testItReturnsArrayOfStubFiles()

No description

testItReturnsNotEmptyArrayOfStubFiles()

No description

testItReturnsOnlyPhpFiles()

No description

testItReturnsValidFilePaths()

No description

testItExcludesVendorDirectory()

No description

testItExcludesTestsDirectory()

No description

testItExcludesGitDirectory()

No description

testItExcludesIdeaDirectory()

No description

testItExcludesPhpStormStubsMapFile()

No description

testItExcludesPhpStormMetaFiles()

No description

testGetStubFileContentReturnsStringForValidFile()

No description

testGetStubFileContentWorksWithRelativePath()

No description

testGetStubFileContentThrowsExceptionForNonExistentFile()

No description

testGetStubFileContentThrowsExceptionForRelativeNonExistentFile()

No description

testGetStubsRootPathReturnsString()

No description

testConstructorWithCustomPath()

No description

testConstructorWithoutPathSetsDefaultPath()

No description

testGetAllStubFilesReturnsAtLeastOneStubPerExtension()

No description

testIsAbsolutePathRecognizesAbsolutePaths(string $path, bool $expected)

No description

Parameters

string $path
bool $expected

static array absolutePathProvider()

No description

Return Value

array

testShouldExcludeNormalizesWindowsSeparators()

No description

testItRecursivelyDiscoversNestedStubsAndPrunesExcludedDirectories()

No description

testGetStubFileContentDoesNotPrependRootToWindowsAbsolutePaths()

No description