From 8c489a99a1d7633c8d4022a3a46ffad16275c7c1 Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Fri, 5 Apr 2024 09:58:59 +0100 Subject: [PATCH] deprecate php 8.0 --- src/BuildProcess/ValidateManifest.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/BuildProcess/ValidateManifest.php b/src/BuildProcess/ValidateManifest.php index 976de69..b7c3774 100644 --- a/src/BuildProcess/ValidateManifest.php +++ b/src/BuildProcess/ValidateManifest.php @@ -42,16 +42,10 @@ protected function warnAboutDeprecations() 'php-7.4:al2', 'php-7.4:imagick', 'php-8.0', + 'php-8.0:al2', ])) { Helpers::warn( - 'The runtimes "php-7.3", "php-7.4", "php-7.4:al2", "php-7.4:imagick", and "php-8.0" are deprecated and will no longer be supported or receiving any updates.' - .' For a full list of supported runtimes, please see: https://docs.vapor.build/1.0/projects/environments.html#runtime' - ); - } - - if (Manifest::runtime($this->environment) === 'php-8.0:al2') { - Helpers::warn( - 'The runtime "php-8.0:al2" is now deprecated and it is no longer possible to deploy new environments using this runtime. Support will be removed for existing runtimes on February 26, 2024.' + 'The runtimes "php-7.3", "php-7.4", "php-7.4:al2", "php-7.4:imagick", "php-8.0", and "php-8.0:al2" are deprecated and will no longer be supported or receiving any updates.' .' For a full list of supported runtimes, please see: https://docs.vapor.build/1.0/projects/environments.html#runtime' ); }