mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
use statement
This commit is contained in:
parent
a41370b021
commit
5763685e69
1 changed files with 3 additions and 2 deletions
|
@ -12,6 +12,7 @@
|
||||||
namespace Composer\Test\Autoload;
|
namespace Composer\Test\Autoload;
|
||||||
|
|
||||||
use Composer\Autoload\ClassMapGenerator;
|
use Composer\Autoload\ClassMapGenerator;
|
||||||
|
use Symfony\Component\Finder\Finder;
|
||||||
|
|
||||||
class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
|
class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
@ -82,7 +83,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->markTestSkipped('Finder component is not available');
|
$this->markTestSkipped('Finder component is not available');
|
||||||
}
|
}
|
||||||
|
|
||||||
$finder = new \Symfony\Component\Finder\Finder();
|
$finder = new Finder();
|
||||||
$finder->files()->in(__DIR__ . '/Fixtures/beta/NamespaceCollision');
|
$finder->files()->in(__DIR__ . '/Fixtures/beta/NamespaceCollision');
|
||||||
|
|
||||||
$this->assertEqualsNormalized(array(
|
$this->assertEqualsNormalized(array(
|
||||||
|
@ -113,7 +114,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
|
||||||
$this->markTestSkipped('Finder component is not available');
|
$this->markTestSkipped('Finder component is not available');
|
||||||
}
|
}
|
||||||
|
|
||||||
$finder = new \Symfony\Component\Finder\Finder();
|
$finder = new Finder();
|
||||||
$finder->files()->in(__DIR__ . '/Fixtures/Ambiguous');
|
$finder->files()->in(__DIR__ . '/Fixtures/Ambiguous');
|
||||||
|
|
||||||
ClassMapGenerator::createMap($finder);
|
ClassMapGenerator::createMap($finder);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue