1
0
Fork 0

style fixes

pull/2279/head
Karoly Negyesi 2013-09-22 19:41:54 +02:00
parent f4e9c74fee
commit 1a69d0a2a7
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class LibraryInstaller implements InstallerInterface
* @param string $type
* @param Filesystem $filesystem
*/
public function __construct(IOInterface $io, Composer $composer, $type = 'library', $filesystem = null)
public function __construct(IOInterface $io, Composer $composer, $type = 'library', Filesystem $filesystem = null)
{
$this->composer = $composer;
$this->downloadManager = $composer->getDownloadManager();

View File

@ -89,7 +89,8 @@ class PluginInstallerTest extends \PHPUnit_Framework_TestCase
));
}
protected function tearDown() {
protected function tearDown()
{
$filesystem = new Filesystem();
$filesystem->removeDirectory($this->directory);
}