mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fixed issues with PR
This commit is contained in:
parent
0d00338bdb
commit
63ede6c9dd
3 changed files with 11 additions and 10 deletions
|
@ -66,11 +66,11 @@ class ArchiveManagerTest extends ArchiverTest
|
|||
|
||||
$package = $this->setupPackage();
|
||||
|
||||
$fileName = "testArchiveName";
|
||||
$fileName = 'testArchiveName';
|
||||
|
||||
$this->manager->archive($package, 'tar', $this->targetDir, $fileName);
|
||||
|
||||
$target = $this->targetDir . "/" . $fileName . ".tar";
|
||||
$target = $this->targetDir . '/' . $fileName . '.tar';
|
||||
|
||||
$this->assertFileExists($target);
|
||||
|
||||
|
@ -80,8 +80,9 @@ class ArchiveManagerTest extends ArchiverTest
|
|||
unlink($target);
|
||||
}
|
||||
|
||||
public function testNonStringFileName() {
|
||||
$this->setExpectedException("InvalidArgumentException");
|
||||
public function testNonStringFileName()
|
||||
{
|
||||
$this->setExpectedException('InvalidArgumentException');
|
||||
|
||||
$package = $this->setupPackage();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue