plugin updates

This commit is contained in:
Tony Volpe
2024-07-18 20:40:50 +00:00
parent 1cbeccbe26
commit f13cad0e36
314 changed files with 45107 additions and 30963 deletions

View File

@@ -1,7 +1,5 @@
<?php
namespace WPMailSMTP\Vendor;
/*
* This file is part of the Symfony package.
*
@@ -10,7 +8,8 @@ namespace WPMailSMTP\Vendor;
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if (!\function_exists('WPMailSMTP\\Vendor\\trigger_deprecation')) {
if (!function_exists('trigger_deprecation')) {
/**
* Triggers a silenced deprecation notice.
*
@@ -21,8 +20,8 @@ if (!\function_exists('WPMailSMTP\\Vendor\\trigger_deprecation')) {
*
* @author Nicolas Grekas <p@tchwork.com>
*/
function trigger_deprecation(string $package, string $version, string $message, ...$args) : void
function trigger_deprecation(string $package, string $version, string $message, ...$args): void
{
@\trigger_error(($package || $version ? "Since {$package} {$version}: " : '') . ($args ? \vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
@trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
}
}