From 3c4374b97e3f60cd5c448ea6efbb6309a8fb83f1 Mon Sep 17 00:00:00 2001 From: Matthias Van Woensel <3532563+matthiaz@users.noreply.github.com> Date: Tue, 21 Apr 2026 14:35:31 +0200 Subject: [PATCH 1/2] fix: Clarify why certain functions are not available for upsun fixed --- src/Command/Resources/Build/BuildResourcesGetCommand.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Command/Resources/Build/BuildResourcesGetCommand.php b/src/Command/Resources/Build/BuildResourcesGetCommand.php index 512a83871..fe81e9ee8 100644 --- a/src/Command/Resources/Build/BuildResourcesGetCommand.php +++ b/src/Command/Resources/Build/BuildResourcesGetCommand.php @@ -31,7 +31,14 @@ protected function execute(InputInterface $input, OutputInterface $output) { $this->validateInput($input); if (!$this->api()->supportsSizingApi($this->getSelectedProject())) { - $this->stdErr->writeln(sprintf('The flexible resources API is not enabled for the project %s.', $this->api()->getProjectLabel($this->getSelectedProject(), 'comment'))); + $this->stdErr->writeln( + sprintf( + 'The flexible resources API is not enabled for the project %s.\n + The function you attempted to use is not available on upsun fixed (platformsh).\n + Please refer to the Upsun fixed (platformsh) documentation: https://fixed.docs.upsun.com/ + ', $this->api()->getProjectLabel($this->getSelectedProject(), 'comment') + ) + ); return 1; } From 8b3294e65c4fb6b006ebbac740b556ca2100b844 Mon Sep 17 00:00:00 2001 From: Matthias Van Woensel <3532563+matthiaz@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:46:53 +0200 Subject: [PATCH 2/2] Update error message for unsupported API usage --- src/Command/Resources/Build/BuildResourcesGetCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/Resources/Build/BuildResourcesGetCommand.php b/src/Command/Resources/Build/BuildResourcesGetCommand.php index fe81e9ee8..c427cb5e7 100644 --- a/src/Command/Resources/Build/BuildResourcesGetCommand.php +++ b/src/Command/Resources/Build/BuildResourcesGetCommand.php @@ -34,8 +34,8 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->stdErr->writeln( sprintf( 'The flexible resources API is not enabled for the project %s.\n - The function you attempted to use is not available on upsun fixed (platformsh).\n - Please refer to the Upsun fixed (platformsh) documentation: https://fixed.docs.upsun.com/ + The function you attempted to use is not available on fixed plans.\n + Please refer to the Fixed documentation: https://fixed.docs.upsun.com/ ', $this->api()->getProjectLabel($this->getSelectedProject(), 'comment') ) );