|
|
|
@ -1084,6 +1084,7 @@ EOF;
|
|
|
|
|
'psr-4' => array('Acme\Foo\\' => '../path/../src-psr4'),
|
|
|
|
|
'classmap' => array('../classmap'),
|
|
|
|
|
'files' => array('../test.php'),
|
|
|
|
|
'exclude-from-classmap' => array('./../classmap/excluded'),
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
$this->repository->expects($this->once())
|
|
|
|
@ -1091,9 +1092,10 @@ EOF;
|
|
|
|
|
->will($this->returnValue(array()));
|
|
|
|
|
|
|
|
|
|
$this->fs->ensureDirectoryExists($this->workingDir.'/src/Foo');
|
|
|
|
|
$this->fs->ensureDirectoryExists($this->workingDir.'/classmap');
|
|
|
|
|
$this->fs->ensureDirectoryExists($this->workingDir.'/classmap/excluded');
|
|
|
|
|
file_put_contents($this->workingDir.'/src/Foo/Bar.php', '<?php namespace Foo; class Bar {}');
|
|
|
|
|
file_put_contents($this->workingDir.'/classmap/classes.php', '<?php namespace Foo; class Foo {}');
|
|
|
|
|
file_put_contents($this->workingDir.'/classmap/excluded/classes.php', '<?php namespace Foo; class Boo {}');
|
|
|
|
|
file_put_contents($this->workingDir.'/test.php', '<?php class Foo {}');
|
|
|
|
|
|
|
|
|
|
$this->generator->dump($this->config, $this->repository, $package, $this->im, 'composer', true, '_14');
|
|
|
|
|