From a5c88392080b69ac7d969e50bd4a61a89be4893a Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Thu, 25 Sep 2025 21:46:12 +0100 Subject: [PATCH 1/2] Update test ext for PHP 8.5 API update --- features/install-extensions.feature | 4 ++-- test/integration/Command/DownloadCommandTest.php | 2 +- .../DependencyResolver/ResolveDependencyWithComposerTest.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features/install-extensions.feature b/features/install-extensions.feature index 667ce5db..e44d2339 100644 --- a/features/install-extensions.feature +++ b/features/install-extensions.feature @@ -10,8 +10,8 @@ Feature: Extensions can be installed with PIE Examples: | constraint | version | - | 2.0.3 | 2.0.3 | - | ^2.0 | 2.0.3 | + | 2.0.4 | 2.0.4 | + | ^2.0 | 2.0.4 | @non-windows Example: An in-development version can be downloaded on non-Windows systems diff --git a/test/integration/Command/DownloadCommandTest.php b/test/integration/Command/DownloadCommandTest.php index 0b75e8e1..ca9d1f3c 100644 --- a/test/integration/Command/DownloadCommandTest.php +++ b/test/integration/Command/DownloadCommandTest.php @@ -24,7 +24,7 @@ #[CoversClass(DownloadCommand::class)] class DownloadCommandTest extends TestCase { - private const TEST_PACKAGE_LATEST = '2.0.3'; + private const TEST_PACKAGE_LATEST = '2.0.4'; private const TEST_PACKAGE = 'asgrim/example-pie-extension'; private CommandTester $commandTester; diff --git a/test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php b/test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php index df5c7c82..5567fe02 100644 --- a/test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php +++ b/test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php @@ -26,7 +26,7 @@ #[CoversClass(ResolveDependencyWithComposer::class)] final class ResolveDependencyWithComposerTest extends TestCase { - private const TEST_PACKAGE_LATEST = '2.0.3'; + private const TEST_PACKAGE_LATEST = '2.0.4'; private const DOWNLOAD_URL_ANY = 'https://api.github.com/repos/asgrim/example-pie-extension/zipball/%s'; private const DOWNLOAD_URL_1_0_1_ALPHA_3 = 'https://api.github.com/repos/asgrim/example-pie-extension/zipball/115f8f8e01ee098a18ec2f47af4852be51ebece7'; private const DOWNLOAD_URL_1_0_1 = 'https://api.github.com/repos/asgrim/example-pie-extension/zipball/769f906413d6d1e12152f6d34134cbcd347ca253'; From 2344c04dda71b1361d722f4a587143b4270f4dce Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Mon, 29 Sep 2025 11:18:29 +0100 Subject: [PATCH 2/2] Bump to use 2.0.5 of test package --- features/install-extensions.feature | 4 ++-- test/integration/Command/DownloadCommandTest.php | 2 +- .../DependencyResolver/ResolveDependencyWithComposerTest.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features/install-extensions.feature b/features/install-extensions.feature index e44d2339..35076040 100644 --- a/features/install-extensions.feature +++ b/features/install-extensions.feature @@ -10,8 +10,8 @@ Feature: Extensions can be installed with PIE Examples: | constraint | version | - | 2.0.4 | 2.0.4 | - | ^2.0 | 2.0.4 | + | 2.0.5 | 2.0.5 | + | ^2.0 | 2.0.5 | @non-windows Example: An in-development version can be downloaded on non-Windows systems diff --git a/test/integration/Command/DownloadCommandTest.php b/test/integration/Command/DownloadCommandTest.php index ca9d1f3c..8f0116da 100644 --- a/test/integration/Command/DownloadCommandTest.php +++ b/test/integration/Command/DownloadCommandTest.php @@ -24,7 +24,7 @@ #[CoversClass(DownloadCommand::class)] class DownloadCommandTest extends TestCase { - private const TEST_PACKAGE_LATEST = '2.0.4'; + private const TEST_PACKAGE_LATEST = '2.0.5'; private const TEST_PACKAGE = 'asgrim/example-pie-extension'; private CommandTester $commandTester; diff --git a/test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php b/test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php index 5567fe02..4c03c8c9 100644 --- a/test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php +++ b/test/integration/DependencyResolver/ResolveDependencyWithComposerTest.php @@ -26,7 +26,7 @@ #[CoversClass(ResolveDependencyWithComposer::class)] final class ResolveDependencyWithComposerTest extends TestCase { - private const TEST_PACKAGE_LATEST = '2.0.4'; + private const TEST_PACKAGE_LATEST = '2.0.5'; private const DOWNLOAD_URL_ANY = 'https://api.github.com/repos/asgrim/example-pie-extension/zipball/%s'; private const DOWNLOAD_URL_1_0_1_ALPHA_3 = 'https://api.github.com/repos/asgrim/example-pie-extension/zipball/115f8f8e01ee098a18ec2f47af4852be51ebece7'; private const DOWNLOAD_URL_1_0_1 = 'https://api.github.com/repos/asgrim/example-pie-extension/zipball/769f906413d6d1e12152f6d34134cbcd347ca253';