PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.91
WindPress – Tailwind CSS integration for WordPress v3.2.91
3.2.91 3.2.92 3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 All 146 releases
windpress / vendor / symfony / deprecation-contracts / function.php

function.php in WindPress – Tailwind CSS integration for WordPress 3.2.91, at vendor/symfony/deprecation-contracts/function.php

29 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WindPressDeps;
4
5 /*
6 * This file is part of the Symfony package.
7 *
8 * (c) Fabien Potencier <[email protected]>
9 *
10 * For the full copyright and license information, please view the LICENSE
11 * file that was distributed with this source code.
12 */
13 if (!\function_exists('WindPressDeps\trigger_deprecation')) {
14 /**
15 * Triggers a silenced deprecation notice.
16 *
17 * @param string $package The name of the Composer package that is triggering the deprecation
18 * @param string $version The version of the package that introduced the deprecation
19 * @param string $message The message of the deprecation
20 * @param mixed ...$args Values to insert in the message using printf() formatting
21 *
22 * @author Nicolas Grekas <[email protected]>
23 */
24 function trigger_deprecation(string $package, string $version, string $message, ...$args): void
25 {
26 @\trigger_error(($package || $version ? "Since {$package} {$version}: " : '') . ($args ? \vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
27 }
28 }
29