mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Update PHPUnit to 8.5
This commit is contained in:
parent
d2ede370be
commit
2a771dfb2d
58 changed files with 1385 additions and 749 deletions
|
@ -31,14 +31,14 @@ class AllFunctionalTest extends TestCase
|
|||
*/
|
||||
private static $pharPath;
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->oldcwd = getcwd();
|
||||
|
||||
chdir(__DIR__.'/Fixtures/functional');
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
public function tearDown(): void
|
||||
{
|
||||
if ($this->oldcwd) {
|
||||
chdir($this->oldcwd);
|
||||
|
@ -51,12 +51,12 @@ class AllFunctionalTest extends TestCase
|
|||
}
|
||||
}
|
||||
|
||||
public static function setUpBeforeClass()
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
self::$pharPath = self::getUniqueTmpDirectory() . '/composer.phar';
|
||||
}
|
||||
|
||||
public static function tearDownAfterClass()
|
||||
public static function tearDownAfterClass(): void
|
||||
{
|
||||
$fs = new Filesystem;
|
||||
$fs->removeDirectory(dirname(self::$pharPath));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue