public function ClassCollectionLoaderTest::testFixNamespaceDeclarations in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/Tests/ClassCollectionLoaderTest.php \Symfony\Component\ClassLoader\Tests\ClassCollectionLoaderTest::testFixNamespaceDeclarations()
@dataProvider getFixNamespaceDeclarationsData
File
- vendor/
symfony/ class-loader/ Tests/ ClassCollectionLoaderTest.php, line 184
Class
Namespace
Symfony\Component\ClassLoader\TestsCode
public function testFixNamespaceDeclarations($source, $expected) {
$this
->assertEquals('<?php ' . $expected, ClassCollectionLoader::fixNamespaceDeclarations('<?php ' . $source));
}