Author: Shivam Mathur (shivammathur)
Committer: GitHub (web-flow)
Pusher: shivammathur
Date: 2026-09-23T10:11:56+05:30
Commit: Add PHP 8.7 dependency series support (#7) · php/web-downloads@5b39120 · GitHub
Raw diff: https://github.com/php/web-downloads/commit/5b39120710d353f74dfe19f1f8074bb462846dcc.diff
Add PHP 8.7 dependency series support (#7)
Changed paths:
M config/vs.json
M tests/Console/Command/SeriesInitCommandTest.php
M tests/Console/Command/WinlibsCommandTest.php
Diff:
diff --git a/config/vs.json b/config/vs.json
index 64e6cf5..a4d55aa 100644
--- a/config/vs.json
+++ b/config/vs.json
@@ -1,6 +1,7 @@
{
"dev": [
"8.6",
+ "8.7",
"master"
],
"7.1": "vc14",
@@ -14,5 +15,6 @@
"8.4": "vs17",
"8.5": "vs17",
"8.6": "vs18",
+ "8.7": "vs18",
"master": "vs18"
}
diff --git a/tests/Console/Command/SeriesInitCommandTest.php b/tests/Console/Command/SeriesInitCommandTest.php
index eb0efaa..1f7199a 100644
--- a/tests/Console/Command/SeriesInitCommandTest.php
+++ b/tests/Console/Command/SeriesInitCommandTest.php
@@ -35,6 +35,7 @@ public static function caseProvider(): array
return [
['8.3', 'vs17', 'vs17'],
['8.2', 'vs16', 'vs16'],
+ ['8.7', 'vs18', 'vs18'],
];
}
diff --git a/tests/Console/Command/WinlibsCommandTest.php b/tests/Console/Command/WinlibsCommandTest.php
index a517873..ebcdba7 100644
--- a/tests/Console/Command/WinlibsCommandTest.php
+++ b/tests/Console/Command/WinlibsCommandTest.php
@@ -246,14 +246,19 @@ public static function versionProvider(): array
];
}
- public function testSyncsStableAndStagingSeriesFilesForConfiguredUpcomingSeries(): void
+ public static function upcomingSeriesProvider(): array
+ {
+ return [['8.6'], ['8.7'], ['master']];
+ }
+
+ #[DataProvider('upcomingSeriesProvider')]
+ public function testSyncsStableAndStagingSeriesFilesForConfiguredUpcomingSeries(string $phpVersion): void
{
mkdir($this->winlibsDirectory . '/lib', 0755, true);
$library = 'lib';
$ref = '2.0.0';
- $phpVersion = 'master';
- $vsVersion = 'vs17';
+ $vsVersion = 'vs18';
$arch = 'x64';
file_put_contents($this->winlibsDirectory . '/lib/data.json', json_encode([