From c78c7bd40cc27ba89adc199118cc47739cacdeb8 Mon Sep 17 00:00:00 2001 From: Vlad Podorozhnyi Date: Tue, 9 Apr 2024 10:48:15 +0200 Subject: [PATCH] Remove totally unnessesary PHP version ifcondition. I tested it on 8.1 8.2 8.3 - all worked good. --- app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php b/app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php index 29c903d5512..a38842992dc 100644 --- a/app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php +++ b/app/code/Magento/Directory/Test/Unit/Model/CurrencyTest.php @@ -138,16 +138,12 @@ function (array $args) { */ public function getOutputFormatDataProvider(): array { - $ar_DZ = "\u{062C}.\u{0645}.\u{200F}\u{00A0}%s"; - if (version_compare(PHP_VERSION, '8.2', '>=')) { - $ar_DZ = "%s\u{00A0}\u{062C}.\u{0645}.\u{200F}"; - } return [ 'en_US:USD' => ['en_US', 'USD', '$%s'], 'en_US:PLN' => ['en_US', 'PLN', "PLN\u{00A0}%s"], 'en_US:PKR' => ['en_US', 'PKR', "PKR\u{00A0}%s"], 'af_ZA:VND' => ['af_ZA', 'VND', "\u{20AB}%s"], - 'ar_DZ:EGP' => ['ar_DZ', 'EGP', $ar_DZ], + 'ar_DZ:EGP' => ['ar_DZ', 'EGP', "%s\u{00A0}\u{062C}.\u{0645}.\u{200F}"], 'ar_SA:USD' => ['ar_SA', 'USD', "%s\u{00A0}US$"], 'ar_SA:LBP' => ['ar_SA', 'LBP', "%s\u{00A0}\u{0644}.\u{0644}.\u{200F}"], 'fa_IR:USD' => ['fa_IR', 'USD', "\u{200E}$%s"],