diff --git a/composer.json b/composer.json index c842ea2a12..483e6b2166 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "ezyang/htmlpurifier": "^4.13", "henrique-borba/php-sieve-manager": "^1.0.0", "bacon/bacon-qr-code": "^1.0.3 || ^2.0.0", - "php": ">=5.6", + "php": ">=7.3", "ext-mbstring": "*", "ext-json": "*", "ext-curl": "*", @@ -53,6 +53,9 @@ "ext-imagick":"To use 2fa, this needs to be installed for the QR code display" }, "config": { + "platform": { + "php": "7.3" + }, "optimize-autoloader": true, "allow-plugins": { "endroid/installer": false diff --git a/composer.lock b/composer.lock index 7e0453e9c7..880ed15db3 100755 --- a/composer.lock +++ b/composer.lock @@ -914,20 +914,20 @@ }, { "name": "psr/container", - "version": "2.0.2", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/php-fig/container/zipball/2ae37329ee82f91efadc282cc2d527fd6065a5ef", + "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=7.2.0" }, "type": "library", "extra": { @@ -961,9 +961,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "source": "https://github.com/php-fig/container/tree/2.0.1" }, - "time": "2021-11-05T16:47:00+00:00" + "time": "2021-03-24T13:40:57+00:00" }, { "name": "psr/event-dispatcher", @@ -1818,30 +1818,30 @@ "packages-dev": [ { "name": "doctrine/instantiator", - "version": "2.0.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", - "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^11", + "doctrine/coding-standard": "^9 || ^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^1.2", - "phpstan/phpstan": "^1.9.4", - "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^5.4" + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.30 || ^5.4" }, "type": "library", "autoload": { @@ -1868,7 +1868,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" }, "funding": [ { @@ -1884,7 +1884,7 @@ "type": "tidelift" } ], - "time": "2022-12-30T00:23:10+00:00" + "time": "2022-12-30T00:15:36+00:00" }, { "name": "myclabs/deep-copy", @@ -3555,7 +3555,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=5.6", + "php": ">=7.3", "ext-mbstring": "*", "ext-json": "*", "ext-curl": "*", @@ -3566,5 +3566,8 @@ "composer": "^2.0.0" }, "platform-dev": [], + "platform-overrides": { + "php": "7.3" + }, "plugin-api-version": "2.3.0" } diff --git a/modules/imap/output_modules.php b/modules/imap/output_modules.php index 6a8d9bbaab..225847561f 100644 --- a/modules/imap/output_modules.php +++ b/modules/imap/output_modules.php @@ -281,7 +281,7 @@ protected function output() { } elseif ($fld == 'reply-to') { $from = addr_parse($headers['From']); - + $replyEmails = array_map(function ($addr) { return $addr['email']; }, process_address_fld($headers['Reply-To'])); @@ -289,7 +289,7 @@ protected function output() { if (count($replyEmails) === 1 && ($replyEmails[0] === $from['email'])) { $txt .= ''.$this->html_safe($name).''.$this->html_safe($value).''; } else { - $txt .= ''.$this->trans($name).'<'.$this->html_safe(join(',', $replyEmails)).'>'; + $txt .= ''.$this->trans($name).''.$this->html_safe(join(',', $replyEmails)).''; } } else {