1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-07-30 20:20:11 +02:00

added build on macos

This commit is contained in:
Ne-Lexa
2021-02-23 15:54:47 +03:00
parent 620065ac5b
commit a85288d34b
2 changed files with 20 additions and 11 deletions

View File

@@ -26,8 +26,6 @@ abstract class ZipTestCase extends TestCase
/**
* Before test.
*
* @noinspection PhpMissingParentCallCommonInspection
*/
protected function setUp(): void
{
@@ -48,11 +46,11 @@ abstract class ZipTestCase extends TestCase
{
parent::tearDown();
if ($this->outputFilename !== null && file_exists($this->outputFilename)) {
if (file_exists($this->outputFilename)) {
unlink($this->outputFilename);
}
if ($this->outputDirname !== null && is_dir($this->outputDirname)) {
if (is_dir($this->outputDirname)) {
FilesUtil::removeDir($this->outputDirname);
}
}