Plugin Directory

Changeset 2761217


Ignore:
Timestamp:
07/25/2022 02:14:55 PM (4 years ago)
Author:
leocolomb
Message:

Update to version 4.1.1 from GitHub

Location:
wp-algolia
Files:
28 added
2 deleted
46 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-algolia/tags/4.1.1/src/class-algolia-api.php

    r2174145 r2761217  
    77class Algolia_API
    88{
    9 
    109    /**
    1110     * @var Client
  • wp-algolia/tags/4.1.1/src/class-algolia-compatibility.php

    r2100083 r2761217  
    33class Algolia_Compatibility
    44{
    5 
    65    private $current_language;
    76
  • wp-algolia/tags/4.1.1/src/class-algolia-helper.php

    r2174145 r2761217  
    33class Algolia_Helper
    44{
    5 
    65    const NAME = 'algolia';
    76
  • wp-algolia/tags/4.1.1/src/class-algolia-search.php

    r2463817 r2761217  
    33class Algolia_Search
    44{
    5 
    65    /**
    76     * @var int
  • wp-algolia/tags/4.1.1/src/class-algolia-settings.php

    r2100083 r2761217  
    33class Algolia_Settings
    44{
    5 
    65    /**
    76     * Algolia_Settings constructor.
  • wp-algolia/tags/4.1.1/src/class-algolia-utils.php

    r2101126 r2761217  
    33class Algolia_Utils
    44{
    5 
    65    /**
    76     * Retrieve term parents with separator.
  • wp-algolia/tags/4.1.1/src/indices/class-algolia-index-replica.php

    r2101126 r2761217  
    33class Algolia_Index_Replica
    44{
    5 
    65    const ORDER_ASC  = 'asc';
    76    const ORDER_DESC = 'desc';
  • wp-algolia/tags/4.1.1/src/indices/class-algolia-index.php

    r2101126 r2761217  
    77abstract class Algolia_Index
    88{
    9 
    109    /**
    1110     * @var Client
  • wp-algolia/tags/4.1.1/src/indices/class-algolia-terms-index.php

    r2101126 r2761217  
    33final class Algolia_Terms_Index extends Algolia_Index
    44{
    5 
    65    /**
    76     * @var string
  • wp-algolia/tags/4.1.1/src/indices/class-algolia-users-index.php

    r2101126 r2761217  
    33final class Algolia_Users_Index extends Algolia_Index
    44{
    5 
    65    /**
    76     * @var string
  • wp-algolia/tags/4.1.1/src/watchers/class-algolia-changes-watcher.php

    r2100083 r2761217  
    33interface Algolia_Changes_Watcher
    44{
    5 
    65    public function watch();
    76}
  • wp-algolia/tags/4.1.1/src/watchers/class-algolia-post-changes-watcher.php

    r2101126 r2761217  
    55class Algolia_Post_Changes_Watcher implements Algolia_Changes_Watcher
    66{
    7 
    87    /**
    98     * @var Algolia_Index
  • wp-algolia/tags/4.1.1/src/watchers/class-algolia-term-changes-watcher.php

    r2101126 r2761217  
    55class Algolia_Term_Changes_Watcher implements Algolia_Changes_Watcher
    66{
    7 
    87    /**
    98     * @var Algolia_Index
  • wp-algolia/tags/4.1.1/src/watchers/class-algolia-user-changes-watcher.php

    r2101126 r2761217  
    55class Algolia_User_Changes_Watcher implements Algolia_Changes_Watcher
    66{
    7 
    87    /**
    98     * @var Algolia_Index
  • wp-algolia/tags/4.1.1/vendor/autoload.php

    r2761214 r2761217  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInite75702fa02b0fd9eb3c62f789e485591::getLoader();
     7return ComposerAutoloaderInit6d07786c0230557f56547e37969ccc30::getLoader();
  • wp-algolia/tags/4.1.1/vendor/composer/autoload_classmap.php

    r2761214 r2761217  
    197197    'Psr\\Http\\Message\\UriFactoryInterface' => $vendorDir . '/psr/http-factory/src/UriFactoryInterface.php',
    198198    'Psr\\Http\\Message\\UriInterface' => $vendorDir . '/psr/http-message/src/UriInterface.php',
    199     'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/src/AbstractLogger.php',
    200     'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/src/InvalidArgumentException.php',
    201     'Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/src/LogLevel.php',
    202     'Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/src/LoggerAwareInterface.php',
    203     'Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/src/LoggerAwareTrait.php',
    204     'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/src/LoggerInterface.php',
    205     'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/src/LoggerTrait.php',
    206     'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/src/NullLogger.php',
     199    'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/Psr/Log/AbstractLogger.php',
     200    'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/Psr/Log/InvalidArgumentException.php',
     201    'Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/Psr/Log/LogLevel.php',
     202    'Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerAwareInterface.php',
     203    'Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerAwareTrait.php',
     204    'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerInterface.php',
     205    'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerTrait.php',
     206    'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/Psr/Log/NullLogger.php',
     207    'Psr\\Log\\Test\\DummyTest' => $vendorDir . '/psr/log/Psr/Log/Test/DummyTest.php',
     208    'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
     209    'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
    207210    'Psr\\SimpleCache\\CacheException' => $vendorDir . '/psr/simple-cache/src/CacheException.php',
    208211    'Psr\\SimpleCache\\CacheInterface' => $vendorDir . '/psr/simple-cache/src/CacheInterface.php',
  • wp-algolia/tags/4.1.1/vendor/composer/autoload_psr4.php

    r2761214 r2761217  
    88return array(
    99    'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
    10     'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
     10    'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
    1111    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'),
    1212    'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
  • wp-algolia/tags/4.1.1/vendor/composer/autoload_real.php

    r2761214 r2761217  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInite75702fa02b0fd9eb3c62f789e485591
     5class ComposerAutoloaderInit6d07786c0230557f56547e37969ccc30
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInite75702fa02b0fd9eb3c62f789e485591', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit6d07786c0230557f56547e37969ccc30', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInite75702fa02b0fd9eb3c62f789e485591', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit6d07786c0230557f56547e37969ccc30', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit6d07786c0230557f56547e37969ccc30::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5252
    5353        if ($useStaticLoader) {
    54             $includeFiles = Composer\Autoload\ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::$files;
     54            $includeFiles = Composer\Autoload\ComposerStaticInit6d07786c0230557f56547e37969ccc30::$files;
    5555        } else {
    5656            $includeFiles = require __DIR__ . '/autoload_files.php';
    5757        }
    5858        foreach ($includeFiles as $fileIdentifier => $file) {
    59             composerRequiree75702fa02b0fd9eb3c62f789e485591($fileIdentifier, $file);
     59            composerRequire6d07786c0230557f56547e37969ccc30($fileIdentifier, $file);
    6060        }
    6161
     
    6464}
    6565
    66 function composerRequiree75702fa02b0fd9eb3c62f789e485591($fileIdentifier, $file)
     66function composerRequire6d07786c0230557f56547e37969ccc30($fileIdentifier, $file)
    6767{
    6868    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • wp-algolia/tags/4.1.1/vendor/composer/autoload_static.php

    r2761214 r2761217  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInite75702fa02b0fd9eb3c62f789e485591
     7class ComposerStaticInit6d07786c0230557f56547e37969ccc30
    88{
    99    public static $files = array (
     
    4343        'Psr\\Log\\' =>
    4444        array (
    45             0 => __DIR__ . '/..' . '/psr/log/src',
     45            0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
    4646        ),
    4747        'Psr\\Http\\Message\\' =>
     
    263263        'Psr\\Http\\Message\\UriFactoryInterface' => __DIR__ . '/..' . '/psr/http-factory/src/UriFactoryInterface.php',
    264264        'Psr\\Http\\Message\\UriInterface' => __DIR__ . '/..' . '/psr/http-message/src/UriInterface.php',
    265         'Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/src/AbstractLogger.php',
    266         'Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/src/InvalidArgumentException.php',
    267         'Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/src/LogLevel.php',
    268         'Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareInterface.php',
    269         'Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareTrait.php',
    270         'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerInterface.php',
    271         'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerTrait.php',
    272         'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/src/NullLogger.php',
     265        'Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/AbstractLogger.php',
     266        'Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/Psr/Log/InvalidArgumentException.php',
     267        'Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/Psr/Log/LogLevel.php',
     268        'Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerAwareInterface.php',
     269        'Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerAwareTrait.php',
     270        'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerInterface.php',
     271        'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerTrait.php',
     272        'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/NullLogger.php',
     273        'Psr\\Log\\Test\\DummyTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/DummyTest.php',
     274        'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
     275        'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
    273276        'Psr\\SimpleCache\\CacheException' => __DIR__ . '/..' . '/psr/simple-cache/src/CacheException.php',
    274277        'Psr\\SimpleCache\\CacheInterface' => __DIR__ . '/..' . '/psr/simple-cache/src/CacheInterface.php',
     
    279282    {
    280283        return \Closure::bind(function () use ($loader) {
    281             $loader->prefixLengthsPsr4 = ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::$prefixLengthsPsr4;
    282             $loader->prefixDirsPsr4 = ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::$prefixDirsPsr4;
    283             $loader->classMap = ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::$classMap;
     284            $loader->prefixLengthsPsr4 = ComposerStaticInit6d07786c0230557f56547e37969ccc30::$prefixLengthsPsr4;
     285            $loader->prefixDirsPsr4 = ComposerStaticInit6d07786c0230557f56547e37969ccc30::$prefixDirsPsr4;
     286            $loader->classMap = ComposerStaticInit6d07786c0230557f56547e37969ccc30::$classMap;
    284287
    285288        }, null, ClassLoader::class);
  • wp-algolia/tags/4.1.1/vendor/composer/installed.json

    r2761214 r2761217  
    573573    {
    574574        "name": "psr/log",
    575         "version": "3.0.0",
    576         "version_normalized": "3.0.0.0",
     575        "version": "1.1.4",
     576        "version_normalized": "1.1.4.0",
    577577        "source": {
    578578            "type": "git",
    579579            "url": "https://github.com/php-fig/log.git",
    580             "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
    581         },
    582         "dist": {
    583             "type": "zip",
    584             "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
    585             "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",
    586             "shasum": ""
    587         },
    588         "require": {
    589             "php": ">=8.0.0"
    590         },
    591         "time": "2021-07-14T16:46:02+00:00",
    592         "type": "library",
    593         "extra": {
    594             "branch-alias": {
    595                 "dev-master": "3.x-dev"
    596             }
    597         },
    598         "installation-source": "dist",
    599         "autoload": {
    600             "psr-4": {
    601                 "Psr\\Log\\": "src"
     580            "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
     581        },
     582        "dist": {
     583            "type": "zip",
     584            "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
     585            "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
     586            "shasum": ""
     587        },
     588        "require": {
     589            "php": ">=5.3.0"
     590        },
     591        "time": "2021-05-03T11:20:27+00:00",
     592        "type": "library",
     593        "extra": {
     594            "branch-alias": {
     595                "dev-master": "1.1.x-dev"
     596            }
     597        },
     598        "installation-source": "dist",
     599        "autoload": {
     600            "psr-4": {
     601                "Psr\\Log\\": "Psr/Log/"
    602602            }
    603603        },
     
    620620        ],
    621621        "support": {
    622             "source": "https://github.com/php-fig/log/tree/3.0.0"
     622            "source": "https://github.com/php-fig/log/tree/1.1.4"
    623623        }
    624624    },
    625625    {
    626626        "name": "psr/simple-cache",
    627         "version": "3.0.0",
    628         "version_normalized": "3.0.0.0",
     627        "version": "1.0.1",
     628        "version_normalized": "1.0.1.0",
    629629        "source": {
    630630            "type": "git",
    631631            "url": "https://github.com/php-fig/simple-cache.git",
    632             "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865"
    633         },
    634         "dist": {
    635             "type": "zip",
    636             "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865",
    637             "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865",
    638             "shasum": ""
    639         },
    640         "require": {
    641             "php": ">=8.0.0"
    642         },
    643         "time": "2021-10-29T13:26:27+00:00",
    644         "type": "library",
    645         "extra": {
    646             "branch-alias": {
    647                 "dev-master": "3.0.x-dev"
     632            "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b"
     633        },
     634        "dist": {
     635            "type": "zip",
     636            "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
     637            "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
     638            "shasum": ""
     639        },
     640        "require": {
     641            "php": ">=5.3.0"
     642        },
     643        "time": "2017-10-23T01:57:42+00:00",
     644        "type": "library",
     645        "extra": {
     646            "branch-alias": {
     647                "dev-master": "1.0.x-dev"
    648648            }
    649649        },
     
    661661            {
    662662                "name": "PHP-FIG",
    663                 "homepage": "https://www.php-fig.org/"
     663                "homepage": "http://www.php-fig.org/"
    664664            }
    665665        ],
     
    673673        ],
    674674        "support": {
    675             "source": "https://github.com/php-fig/simple-cache/tree/3.0.0"
     675            "source": "https://github.com/php-fig/simple-cache/tree/master"
    676676        }
    677677    },
     
    724724    {
    725725        "name": "symfony/deprecation-contracts",
    726         "version": "v3.1.1",
    727         "version_normalized": "3.1.1.0",
     726        "version": "v2.5.2",
     727        "version_normalized": "2.5.2.0",
    728728        "source": {
    729729            "type": "git",
    730730            "url": "https://github.com/symfony/deprecation-contracts.git",
    731             "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918"
    732         },
    733         "dist": {
    734             "type": "zip",
    735             "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918",
    736             "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918",
    737             "shasum": ""
    738         },
    739         "require": {
    740             "php": ">=8.1"
    741         },
    742         "time": "2022-02-25T11:15:52+00:00",
    743         "type": "library",
    744         "extra": {
    745             "branch-alias": {
    746                 "dev-main": "3.1-dev"
     731            "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66"
     732        },
     733        "dist": {
     734            "type": "zip",
     735            "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
     736            "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
     737            "shasum": ""
     738        },
     739        "require": {
     740            "php": ">=7.1"
     741        },
     742        "time": "2022-01-02T09:53:40+00:00",
     743        "type": "library",
     744        "extra": {
     745            "branch-alias": {
     746                "dev-main": "2.5-dev"
    747747            },
    748748            "thanks": {
     
    774774        "homepage": "https://symfony.com",
    775775        "support": {
    776             "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1"
     776            "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2"
    777777        },
    778778        "funding": [
  • wp-algolia/tags/4.1.1/vendor/psr/simple-cache/src/CacheException.php

    r2761214 r2761217  
    66 * Interface used for all types of exceptions thrown by the implementing library.
    77 */
    8 interface CacheException extends \Throwable
     8interface CacheException
    99{
    1010}
  • wp-algolia/tags/4.1.1/vendor/psr/simple-cache/src/CacheInterface.php

    r2761214 r2761217  
    1616     *   MUST be thrown if the $key string is not a legal value.
    1717     */
    18     public function get(string $key, mixed $default = null): mixed;
     18    public function get($key, $default = null);
    1919
    2020    /**
     
    3232     *   MUST be thrown if the $key string is not a legal value.
    3333     */
    34     public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool;
     34    public function set($key, $value, $ttl = null);
    3535
    3636    /**
     
    4444     *   MUST be thrown if the $key string is not a legal value.
    4545     */
    46     public function delete(string $key): bool;
     46    public function delete($key);
    4747
    4848    /**
     
    5151     * @return bool True on success and false on failure.
    5252     */
    53     public function clear(): bool;
     53    public function clear();
    5454
    5555    /**
    5656     * Obtains multiple cache items by their unique keys.
    5757     *
    58      * @param iterable<string> $keys    A list of keys that can be obtained in a single operation.
    59      * @param mixed            $default Default value to return for keys that do not exist.
     58     * @param iterable $keys    A list of keys that can obtained in a single operation.
     59     * @param mixed    $default Default value to return for keys that do not exist.
    6060     *
    61      * @return iterable<string, mixed> A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value.
     61     * @return iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value.
    6262     *
    6363     * @throws \Psr\SimpleCache\InvalidArgumentException
     
    6565     *   or if any of the $keys are not a legal value.
    6666     */
    67     public function getMultiple(iterable $keys, mixed $default = null): iterable;
     67    public function getMultiple($keys, $default = null);
    6868
    6969    /**
     
    8181     *   or if any of the $values are not a legal value.
    8282     */
    83     public function setMultiple(iterable $values, null|int|\DateInterval $ttl = null): bool;
     83    public function setMultiple($values, $ttl = null);
    8484
    8585    /**
    8686     * Deletes multiple cache items in a single operation.
    8787     *
    88      * @param iterable<string> $keys A list of string-based keys to be deleted.
     88     * @param iterable $keys A list of string-based keys to be deleted.
    8989     *
    9090     * @return bool True if the items were successfully removed. False if there was an error.
     
    9494     *   or if any of the $keys are not a legal value.
    9595     */
    96     public function deleteMultiple(iterable $keys): bool;
     96    public function deleteMultiple($keys);
    9797
    9898    /**
     
    111111     *   MUST be thrown if the $key string is not a legal value.
    112112     */
    113     public function has(string $key): bool;
     113    public function has($key);
    114114}
  • wp-algolia/tags/4.1.1/vendor/symfony/deprecation-contracts/function.php

    r2761214 r2761217  
    2121     * @author Nicolas Grekas <p@tchwork.com>
    2222     */
    23     function trigger_deprecation(string $package, string $version, string $message, mixed ...$args): void
     23    function trigger_deprecation(string $package, string $version, string $message, ...$args): void
    2424    {
    2525        @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
  • wp-algolia/trunk/src/class-algolia-api.php

    r2174145 r2761217  
    77class Algolia_API
    88{
    9 
    109    /**
    1110     * @var Client
  • wp-algolia/trunk/src/class-algolia-compatibility.php

    r2100083 r2761217  
    33class Algolia_Compatibility
    44{
    5 
    65    private $current_language;
    76
  • wp-algolia/trunk/src/class-algolia-helper.php

    r2174145 r2761217  
    33class Algolia_Helper
    44{
    5 
    65    const NAME = 'algolia';
    76
  • wp-algolia/trunk/src/class-algolia-search.php

    r2463817 r2761217  
    33class Algolia_Search
    44{
    5 
    65    /**
    76     * @var int
  • wp-algolia/trunk/src/class-algolia-settings.php

    r2100083 r2761217  
    33class Algolia_Settings
    44{
    5 
    65    /**
    76     * Algolia_Settings constructor.
  • wp-algolia/trunk/src/class-algolia-utils.php

    r2101126 r2761217  
    33class Algolia_Utils
    44{
    5 
    65    /**
    76     * Retrieve term parents with separator.
  • wp-algolia/trunk/src/indices/class-algolia-index-replica.php

    r2101126 r2761217  
    33class Algolia_Index_Replica
    44{
    5 
    65    const ORDER_ASC  = 'asc';
    76    const ORDER_DESC = 'desc';
  • wp-algolia/trunk/src/indices/class-algolia-index.php

    r2101126 r2761217  
    77abstract class Algolia_Index
    88{
    9 
    109    /**
    1110     * @var Client
  • wp-algolia/trunk/src/indices/class-algolia-terms-index.php

    r2101126 r2761217  
    33final class Algolia_Terms_Index extends Algolia_Index
    44{
    5 
    65    /**
    76     * @var string
  • wp-algolia/trunk/src/indices/class-algolia-users-index.php

    r2101126 r2761217  
    33final class Algolia_Users_Index extends Algolia_Index
    44{
    5 
    65    /**
    76     * @var string
  • wp-algolia/trunk/src/watchers/class-algolia-changes-watcher.php

    r2100083 r2761217  
    33interface Algolia_Changes_Watcher
    44{
    5 
    65    public function watch();
    76}
  • wp-algolia/trunk/src/watchers/class-algolia-post-changes-watcher.php

    r2101126 r2761217  
    55class Algolia_Post_Changes_Watcher implements Algolia_Changes_Watcher
    66{
    7 
    87    /**
    98     * @var Algolia_Index
  • wp-algolia/trunk/src/watchers/class-algolia-term-changes-watcher.php

    r2101126 r2761217  
    55class Algolia_Term_Changes_Watcher implements Algolia_Changes_Watcher
    66{
    7 
    87    /**
    98     * @var Algolia_Index
  • wp-algolia/trunk/src/watchers/class-algolia-user-changes-watcher.php

    r2101126 r2761217  
    55class Algolia_User_Changes_Watcher implements Algolia_Changes_Watcher
    66{
    7 
    87    /**
    98     * @var Algolia_Index
  • wp-algolia/trunk/vendor/autoload.php

    r2761214 r2761217  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInite75702fa02b0fd9eb3c62f789e485591::getLoader();
     7return ComposerAutoloaderInit6d07786c0230557f56547e37969ccc30::getLoader();
  • wp-algolia/trunk/vendor/composer/autoload_classmap.php

    r2761214 r2761217  
    197197    'Psr\\Http\\Message\\UriFactoryInterface' => $vendorDir . '/psr/http-factory/src/UriFactoryInterface.php',
    198198    'Psr\\Http\\Message\\UriInterface' => $vendorDir . '/psr/http-message/src/UriInterface.php',
    199     'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/src/AbstractLogger.php',
    200     'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/src/InvalidArgumentException.php',
    201     'Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/src/LogLevel.php',
    202     'Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/src/LoggerAwareInterface.php',
    203     'Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/src/LoggerAwareTrait.php',
    204     'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/src/LoggerInterface.php',
    205     'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/src/LoggerTrait.php',
    206     'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/src/NullLogger.php',
     199    'Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/Psr/Log/AbstractLogger.php',
     200    'Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/Psr/Log/InvalidArgumentException.php',
     201    'Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/Psr/Log/LogLevel.php',
     202    'Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerAwareInterface.php',
     203    'Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerAwareTrait.php',
     204    'Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/Psr/Log/LoggerInterface.php',
     205    'Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/Psr/Log/LoggerTrait.php',
     206    'Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/Psr/Log/NullLogger.php',
     207    'Psr\\Log\\Test\\DummyTest' => $vendorDir . '/psr/log/Psr/Log/Test/DummyTest.php',
     208    'Psr\\Log\\Test\\LoggerInterfaceTest' => $vendorDir . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
     209    'Psr\\Log\\Test\\TestLogger' => $vendorDir . '/psr/log/Psr/Log/Test/TestLogger.php',
    207210    'Psr\\SimpleCache\\CacheException' => $vendorDir . '/psr/simple-cache/src/CacheException.php',
    208211    'Psr\\SimpleCache\\CacheInterface' => $vendorDir . '/psr/simple-cache/src/CacheInterface.php',
  • wp-algolia/trunk/vendor/composer/autoload_psr4.php

    r2761214 r2761217  
    88return array(
    99    'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
    10     'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
     10    'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
    1111    'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src', $vendorDir . '/psr/http-factory/src'),
    1212    'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'),
  • wp-algolia/trunk/vendor/composer/autoload_real.php

    r2761214 r2761217  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInite75702fa02b0fd9eb3c62f789e485591
     5class ComposerAutoloaderInit6d07786c0230557f56547e37969ccc30
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInite75702fa02b0fd9eb3c62f789e485591', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit6d07786c0230557f56547e37969ccc30', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInite75702fa02b0fd9eb3c62f789e485591', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit6d07786c0230557f56547e37969ccc30', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit6d07786c0230557f56547e37969ccc30::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5252
    5353        if ($useStaticLoader) {
    54             $includeFiles = Composer\Autoload\ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::$files;
     54            $includeFiles = Composer\Autoload\ComposerStaticInit6d07786c0230557f56547e37969ccc30::$files;
    5555        } else {
    5656            $includeFiles = require __DIR__ . '/autoload_files.php';
    5757        }
    5858        foreach ($includeFiles as $fileIdentifier => $file) {
    59             composerRequiree75702fa02b0fd9eb3c62f789e485591($fileIdentifier, $file);
     59            composerRequire6d07786c0230557f56547e37969ccc30($fileIdentifier, $file);
    6060        }
    6161
     
    6464}
    6565
    66 function composerRequiree75702fa02b0fd9eb3c62f789e485591($fileIdentifier, $file)
     66function composerRequire6d07786c0230557f56547e37969ccc30($fileIdentifier, $file)
    6767{
    6868    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • wp-algolia/trunk/vendor/composer/autoload_static.php

    r2761214 r2761217  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInite75702fa02b0fd9eb3c62f789e485591
     7class ComposerStaticInit6d07786c0230557f56547e37969ccc30
    88{
    99    public static $files = array (
     
    4343        'Psr\\Log\\' =>
    4444        array (
    45             0 => __DIR__ . '/..' . '/psr/log/src',
     45            0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
    4646        ),
    4747        'Psr\\Http\\Message\\' =>
     
    263263        'Psr\\Http\\Message\\UriFactoryInterface' => __DIR__ . '/..' . '/psr/http-factory/src/UriFactoryInterface.php',
    264264        'Psr\\Http\\Message\\UriInterface' => __DIR__ . '/..' . '/psr/http-message/src/UriInterface.php',
    265         'Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/src/AbstractLogger.php',
    266         'Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/src/InvalidArgumentException.php',
    267         'Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/src/LogLevel.php',
    268         'Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareInterface.php',
    269         'Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareTrait.php',
    270         'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerInterface.php',
    271         'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerTrait.php',
    272         'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/src/NullLogger.php',
     265        'Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/AbstractLogger.php',
     266        'Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/Psr/Log/InvalidArgumentException.php',
     267        'Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/Psr/Log/LogLevel.php',
     268        'Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerAwareInterface.php',
     269        'Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerAwareTrait.php',
     270        'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerInterface.php',
     271        'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerTrait.php',
     272        'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/NullLogger.php',
     273        'Psr\\Log\\Test\\DummyTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/DummyTest.php',
     274        'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
     275        'Psr\\Log\\Test\\TestLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/TestLogger.php',
    273276        'Psr\\SimpleCache\\CacheException' => __DIR__ . '/..' . '/psr/simple-cache/src/CacheException.php',
    274277        'Psr\\SimpleCache\\CacheInterface' => __DIR__ . '/..' . '/psr/simple-cache/src/CacheInterface.php',
     
    279282    {
    280283        return \Closure::bind(function () use ($loader) {
    281             $loader->prefixLengthsPsr4 = ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::$prefixLengthsPsr4;
    282             $loader->prefixDirsPsr4 = ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::$prefixDirsPsr4;
    283             $loader->classMap = ComposerStaticInite75702fa02b0fd9eb3c62f789e485591::$classMap;
     284            $loader->prefixLengthsPsr4 = ComposerStaticInit6d07786c0230557f56547e37969ccc30::$prefixLengthsPsr4;
     285            $loader->prefixDirsPsr4 = ComposerStaticInit6d07786c0230557f56547e37969ccc30::$prefixDirsPsr4;
     286            $loader->classMap = ComposerStaticInit6d07786c0230557f56547e37969ccc30::$classMap;
    284287
    285288        }, null, ClassLoader::class);
  • wp-algolia/trunk/vendor/composer/installed.json

    r2761214 r2761217  
    573573    {
    574574        "name": "psr/log",
    575         "version": "3.0.0",
    576         "version_normalized": "3.0.0.0",
     575        "version": "1.1.4",
     576        "version_normalized": "1.1.4.0",
    577577        "source": {
    578578            "type": "git",
    579579            "url": "https://github.com/php-fig/log.git",
    580             "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
    581         },
    582         "dist": {
    583             "type": "zip",
    584             "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
    585             "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",
    586             "shasum": ""
    587         },
    588         "require": {
    589             "php": ">=8.0.0"
    590         },
    591         "time": "2021-07-14T16:46:02+00:00",
    592         "type": "library",
    593         "extra": {
    594             "branch-alias": {
    595                 "dev-master": "3.x-dev"
    596             }
    597         },
    598         "installation-source": "dist",
    599         "autoload": {
    600             "psr-4": {
    601                 "Psr\\Log\\": "src"
     580            "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
     581        },
     582        "dist": {
     583            "type": "zip",
     584            "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
     585            "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
     586            "shasum": ""
     587        },
     588        "require": {
     589            "php": ">=5.3.0"
     590        },
     591        "time": "2021-05-03T11:20:27+00:00",
     592        "type": "library",
     593        "extra": {
     594            "branch-alias": {
     595                "dev-master": "1.1.x-dev"
     596            }
     597        },
     598        "installation-source": "dist",
     599        "autoload": {
     600            "psr-4": {
     601                "Psr\\Log\\": "Psr/Log/"
    602602            }
    603603        },
     
    620620        ],
    621621        "support": {
    622             "source": "https://github.com/php-fig/log/tree/3.0.0"
     622            "source": "https://github.com/php-fig/log/tree/1.1.4"
    623623        }
    624624    },
    625625    {
    626626        "name": "psr/simple-cache",
    627         "version": "3.0.0",
    628         "version_normalized": "3.0.0.0",
     627        "version": "1.0.1",
     628        "version_normalized": "1.0.1.0",
    629629        "source": {
    630630            "type": "git",
    631631            "url": "https://github.com/php-fig/simple-cache.git",
    632             "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865"
    633         },
    634         "dist": {
    635             "type": "zip",
    636             "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865",
    637             "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865",
    638             "shasum": ""
    639         },
    640         "require": {
    641             "php": ">=8.0.0"
    642         },
    643         "time": "2021-10-29T13:26:27+00:00",
    644         "type": "library",
    645         "extra": {
    646             "branch-alias": {
    647                 "dev-master": "3.0.x-dev"
     632            "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b"
     633        },
     634        "dist": {
     635            "type": "zip",
     636            "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
     637            "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
     638            "shasum": ""
     639        },
     640        "require": {
     641            "php": ">=5.3.0"
     642        },
     643        "time": "2017-10-23T01:57:42+00:00",
     644        "type": "library",
     645        "extra": {
     646            "branch-alias": {
     647                "dev-master": "1.0.x-dev"
    648648            }
    649649        },
     
    661661            {
    662662                "name": "PHP-FIG",
    663                 "homepage": "https://www.php-fig.org/"
     663                "homepage": "http://www.php-fig.org/"
    664664            }
    665665        ],
     
    673673        ],
    674674        "support": {
    675             "source": "https://github.com/php-fig/simple-cache/tree/3.0.0"
     675            "source": "https://github.com/php-fig/simple-cache/tree/master"
    676676        }
    677677    },
     
    724724    {
    725725        "name": "symfony/deprecation-contracts",
    726         "version": "v3.1.1",
    727         "version_normalized": "3.1.1.0",
     726        "version": "v2.5.2",
     727        "version_normalized": "2.5.2.0",
    728728        "source": {
    729729            "type": "git",
    730730            "url": "https://github.com/symfony/deprecation-contracts.git",
    731             "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918"
    732         },
    733         "dist": {
    734             "type": "zip",
    735             "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918",
    736             "reference": "07f1b9cc2ffee6aaafcf4b710fbc38ff736bd918",
    737             "shasum": ""
    738         },
    739         "require": {
    740             "php": ">=8.1"
    741         },
    742         "time": "2022-02-25T11:15:52+00:00",
    743         "type": "library",
    744         "extra": {
    745             "branch-alias": {
    746                 "dev-main": "3.1-dev"
     731            "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66"
     732        },
     733        "dist": {
     734            "type": "zip",
     735            "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
     736            "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
     737            "shasum": ""
     738        },
     739        "require": {
     740            "php": ">=7.1"
     741        },
     742        "time": "2022-01-02T09:53:40+00:00",
     743        "type": "library",
     744        "extra": {
     745            "branch-alias": {
     746                "dev-main": "2.5-dev"
    747747            },
    748748            "thanks": {
     
    774774        "homepage": "https://symfony.com",
    775775        "support": {
    776             "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1"
     776            "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2"
    777777        },
    778778        "funding": [
  • wp-algolia/trunk/vendor/psr/simple-cache/src/CacheException.php

    r2761214 r2761217  
    66 * Interface used for all types of exceptions thrown by the implementing library.
    77 */
    8 interface CacheException extends \Throwable
     8interface CacheException
    99{
    1010}
  • wp-algolia/trunk/vendor/psr/simple-cache/src/CacheInterface.php

    r2761214 r2761217  
    1616     *   MUST be thrown if the $key string is not a legal value.
    1717     */
    18     public function get(string $key, mixed $default = null): mixed;
     18    public function get($key, $default = null);
    1919
    2020    /**
     
    3232     *   MUST be thrown if the $key string is not a legal value.
    3333     */
    34     public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool;
     34    public function set($key, $value, $ttl = null);
    3535
    3636    /**
     
    4444     *   MUST be thrown if the $key string is not a legal value.
    4545     */
    46     public function delete(string $key): bool;
     46    public function delete($key);
    4747
    4848    /**
     
    5151     * @return bool True on success and false on failure.
    5252     */
    53     public function clear(): bool;
     53    public function clear();
    5454
    5555    /**
    5656     * Obtains multiple cache items by their unique keys.
    5757     *
    58      * @param iterable<string> $keys    A list of keys that can be obtained in a single operation.
    59      * @param mixed            $default Default value to return for keys that do not exist.
     58     * @param iterable $keys    A list of keys that can obtained in a single operation.
     59     * @param mixed    $default Default value to return for keys that do not exist.
    6060     *
    61      * @return iterable<string, mixed> A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value.
     61     * @return iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value.
    6262     *
    6363     * @throws \Psr\SimpleCache\InvalidArgumentException
     
    6565     *   or if any of the $keys are not a legal value.
    6666     */
    67     public function getMultiple(iterable $keys, mixed $default = null): iterable;
     67    public function getMultiple($keys, $default = null);
    6868
    6969    /**
     
    8181     *   or if any of the $values are not a legal value.
    8282     */
    83     public function setMultiple(iterable $values, null|int|\DateInterval $ttl = null): bool;
     83    public function setMultiple($values, $ttl = null);
    8484
    8585    /**
    8686     * Deletes multiple cache items in a single operation.
    8787     *
    88      * @param iterable<string> $keys A list of string-based keys to be deleted.
     88     * @param iterable $keys A list of string-based keys to be deleted.
    8989     *
    9090     * @return bool True if the items were successfully removed. False if there was an error.
     
    9494     *   or if any of the $keys are not a legal value.
    9595     */
    96     public function deleteMultiple(iterable $keys): bool;
     96    public function deleteMultiple($keys);
    9797
    9898    /**
     
    111111     *   MUST be thrown if the $key string is not a legal value.
    112112     */
    113     public function has(string $key): bool;
     113    public function has($key);
    114114}
  • wp-algolia/trunk/vendor/symfony/deprecation-contracts/function.php

    r2761214 r2761217  
    2121     * @author Nicolas Grekas <p@tchwork.com>
    2222     */
    23     function trigger_deprecation(string $package, string $version, string $message, mixed ...$args): void
     23    function trigger_deprecation(string $package, string $version, string $message, ...$args): void
    2424    {
    2525        @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
Note: See TracChangeset for help on using the changeset viewer.