From 5aed6bd6a3fa6d974ca8e9be01921896a863532e Mon Sep 17 00:00:00 2001 From: jrenaudo Date: Thu, 15 Aug 2024 17:27:54 +0200 Subject: [PATCH] Fix the build --- tests/ZipArchiverTest.php | 4 ++-- tests/ZipArchiverTest/TypicalArchive/src/myFile.php | 4 +++- tests/ZipArchiverTest/TypicalArchive/src/myOtherFile.php | 4 +++- tests/ZipArchiverTest/TypicalArchive/src/tests/myFileTest.php | 3 ++- .../TypicalArchive/src/tests/myOtherFileTest.php | 4 +++- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/tests/ZipArchiverTest.php b/tests/ZipArchiverTest.php index 2b93e3f..d695bd9 100644 --- a/tests/ZipArchiverTest.php +++ b/tests/ZipArchiverTest.php @@ -39,7 +39,7 @@ public function testArchiveDirectory(string $directory, array $expectedResult, s $this->assertArchiveContainsFiles($this->generationPath, $expectedResult); } - public function zipArchiverProvider() { + public static function zipArchiverProvider() { return [ [ __DIR__ . '/ZipArchiverTest/TypicalArchive', @@ -103,7 +103,7 @@ public function testComposerArchiveDirectory(string $directory, array $expectedR $this->assertComposerJsonVersion($this->generationPath, $subdirectory, $version); } - public function composerArchiverProvider() { + public static function composerArchiverProvider() { return [ [ __DIR__ . '/ZipArchiverTest/ComposerJsonArchive', diff --git a/tests/ZipArchiverTest/TypicalArchive/src/myFile.php b/tests/ZipArchiverTest/TypicalArchive/src/myFile.php index 9f8d26d..55e2834 100644 --- a/tests/ZipArchiverTest/TypicalArchive/src/myFile.php +++ b/tests/ZipArchiverTest/TypicalArchive/src/myFile.php @@ -1,4 +1,6 @@