PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
← All changes | includes/sdk/google/symfony/deprecation-contracts/function.php +3 -3 1.1.0 → 1.4.2 View file →
@@ -1,7 +1,7 @@
1 1 <?php
2 2
3 -namespace Dudlewebs\WPMCS;
3 +namespace Dudlewebs\WPMCS\GCP;
4 4
5 5 /*
6 6 * This file is part of the Symfony package.
7 7 *
@@ -9,9 +9,9 @@
9 9 *
10 10 * For the full copyright and license information, please view the LICENSE
11 11 * file that was distributed with this source code.
12 12 */
13 -if (!\function_exists('Dudlewebs\WPMCS\trigger_deprecation')) {
13 +if (!\function_exists('Dudlewebs\\WPMCS\\GCP\\trigger_deprecation')) {
14 14 /**
15 15 * Triggers a silenced deprecation notice.
16 16 *
17 17 * @param string $package The name of the Composer package that is triggering the deprecation
@@ -20,9 +20,9 @@
20 20 * @param mixed ...$args Values to insert in the message using printf() formatting
21 21 *
22 22 * @author Nicolas Grekas <[email protected]>
23 23 */
24 - function trigger_deprecation(string $package, string $version, string $message, ...$args): void
24 + function trigger_deprecation(string $package, string $version, string $message, mixed ...$args) : void
25 25 {
26 26 @\trigger_error(($package || $version ? "Since {$package} {$version}: " : '') . ($args ? \vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
27 27 }
28 28 }