Plugin Directory

Changeset 3048935


Ignore:
Timestamp:
03/11/2024 09:24:06 AM (2 years ago)
Author:
audienceplayer
Message:
  • released version 4.6.1
Location:
audienceplayer
Files:
24 edited
1 copied

Legend:

Unmodified
Added
Removed
  • audienceplayer/tags/4.6.1/audienceplayer.php

    r2945999 r3048935  
    99Description: AudiencePlayer integration
    1010Author: AudiencePlayer
    11 Version: 4.6.0
     11Version: 4.6.1
    1212Author URI: https://www.audienceplayer.com
    1313Text Domain: audienceplayer
  • audienceplayer/tags/4.6.1/composer.lock

    r2945999 r3048935  
    6767        {
    6868            "name": "phpstan/phpstan",
    69             "version": "1.10.26",
     69            "version": "1.10.60",
    7070            "source": {
    7171                "type": "git",
    7272                "url": "https://github.com/phpstan/phpstan.git",
    73                 "reference": "5d660cbb7e1b89253a47147ae44044f49832351f"
     73                "reference": "95dcea7d6c628a3f2f56d091d8a0219485a86bbe"
    7474            },
    7575            "dist": {
    7676                "type": "zip",
    77                 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5d660cbb7e1b89253a47147ae44044f49832351f",
    78                 "reference": "5d660cbb7e1b89253a47147ae44044f49832351f",
     77                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/95dcea7d6c628a3f2f56d091d8a0219485a86bbe",
     78                "reference": "95dcea7d6c628a3f2f56d091d8a0219485a86bbe",
    7979                "shasum": ""
    8080            },
     
    125125                }
    126126            ],
    127             "time": "2023-07-19T12:44:37+00:00"
     127            "time": "2024-03-07T13:30:19+00:00"
    128128        }
    129129    ],
     
    139139    },
    140140    "platform-dev": [],
    141     "plugin-api-version": "2.3.0"
     141    "plugin-api-version": "2.6.0"
    142142}
  • audienceplayer/tags/4.6.1/languages/audienceplayer-wordpress-plugin.pot

    r2945999 r3048935  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: 4.6.0\n"
     5"Project-Id-Version: 4.6.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/audienceplayer\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • audienceplayer/tags/4.6.1/readme.txt

    r2945999 r3048935  
    11=== AudiencePlayer ===
    22Contributors: audienceplayer
    3 Stable tag: 4.6.0
    4 Tested up to: 6.2
     3Stable tag: 4.6.1
     4Tested up to: 6.4
    55Requires at least: 5.5
    66Requires PHP: 7.1
  • audienceplayer/tags/4.6.1/src/AudiencePlayer/AudiencePlayerWordpressPlugin/Config/Constants.php

    r2945999 r3048935  
    3939
    4040        // Main plugin version number here and in main plugin file header are automatically overwritten in gulp-build script
    41         PLUGIN_VERSION = '4.6.0',
     41        PLUGIN_VERSION = '4.6.1',
    4242
    4343        // DB migration version number is maintained here
  • audienceplayer/tags/4.6.1/static/html/admin_help_release_notes.html

    r2945999 r3048935  
    22
    33    <h3>Release notes</h3>
     4
     5    <div class="audienceplayer-release-note">
     6        <h5>v4.6.1</h5>
     7        <p class="date">2024-03-11</p>
     8        <p class="content">
     9        <ul>
     10            <li>
     11                When switching subscriptions on the my-account page, the listed subscription price is now the price per
     12                installment instead of the initial price (since the "price per installment" is the actual purchase price
     13                in this case).
     14            </li>
     15        </ul>
     16        </p>
     17    </div>
    418
    519    <div class="audienceplayer-release-note">
  • audienceplayer/tags/4.6.1/templates/audienceplayer-shortcode-user-account.php

    r2916756 r3048935  
    9797
    9898                            // Mark $subscription as current if it matches switchToSubscriptionId,
    99                             // or if not set if it matches current userSubscription->subscription_id
     99                            // or when not set, check if it matches current userSubscription->subscription_id
    100100                            if ($switchToSubscriptionId) {
    101101                                $isSwitchToOrCurrentSubscriptionId = $subscription->id === $switchToSubscriptionId;
     
    136136                                ) .
    137137                                '<div class="title"><h6>' . $subscription->title . '</h6></div>' .
    138                                 '<div class="price">' . $subscription->currency_symbol . ' ' . $subscription->price . '</div>' .
     138                                '<div class="price">' . $subscription->currency_symbol . ' ' . $subscription->price_per_installment . '</div>' .
    139139                                '<div class="time-unit">' . $timeUnitLabel . '</div>' .
    140140                                $description .
  • audienceplayer/tags/4.6.1/vendor/autoload.php

    r2945999 r3048935  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit5d99814258a06599269d7d05fd2f0889::getLoader();
     25return ComposerAutoloaderInit5cfc594734f281b302e98f3d5dfebf3e::getLoader();
  • audienceplayer/tags/4.6.1/vendor/composer/ClassLoader.php

    r2945999 r3048935  
    4646    private static $includeFile;
    4747
    48     /** @var ?string */
     48    /** @var string|null */
    4949    private $vendorDir;
    5050
    5151    // PSR-4
    5252    /**
    53      * @var array[]
    54      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5554     */
    5655    private $prefixLengthsPsr4 = array();
    5756    /**
    58      * @var array[]
    59      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    6058     */
    6159    private $prefixDirsPsr4 = array();
    6260    /**
    63      * @var array[]
    64      * @psalm-var array<string, string>
     61     * @var list<string>
    6562     */
    6663    private $fallbackDirsPsr4 = array();
     
    6865    // PSR-0
    6966    /**
    70      * @var array[]
    71      * @psalm-var array<string, array<string, string[]>>
     67     * List of PSR-0 prefixes
     68     *
     69     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
     70     *
     71     * @var array<string, array<string, list<string>>>
    7272     */
    7373    private $prefixesPsr0 = array();
    7474    /**
    75      * @var array[]
    76      * @psalm-var array<string, string>
     75     * @var list<string>
    7776     */
    7877    private $fallbackDirsPsr0 = array();
     
    8281
    8382    /**
    84      * @var string[]
    85      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8684     */
    8785    private $classMap = array();
     
    9189
    9290    /**
    93      * @var bool[]
    94      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9592     */
    9693    private $missingClasses = array();
    9794
    98     /** @var ?string */
     95    /** @var string|null */
    9996    private $apcuPrefix;
    10097
    10198    /**
    102      * @var self[]
     99     * @var array<string, self>
    103100     */
    104101    private static $registeredLoaders = array();
    105102
    106103    /**
    107      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    108105     */
    109106    public function __construct($vendorDir = null)
     
    114111
    115112    /**
    116      * @return string[]
     113     * @return array<string, list<string>>
    117114     */
    118115    public function getPrefixes()
     
    126123
    127124    /**
    128      * @return array[]
    129      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    130126     */
    131127    public function getPrefixesPsr4()
     
    135131
    136132    /**
    137      * @return array[]
    138      * @psalm-return array<string, string>
     133     * @return list<string>
    139134     */
    140135    public function getFallbackDirs()
     
    144139
    145140    /**
    146      * @return array[]
    147      * @psalm-return array<string, string>
     141     * @return list<string>
    148142     */
    149143    public function getFallbackDirsPsr4()
     
    153147
    154148    /**
    155      * @return string[] Array of classname => path
    156      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    157150     */
    158151    public function getClassMap()
     
    162155
    163156    /**
    164      * @param string[] $classMap Class to filename map
    165      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    166158     *
    167159     * @return void
     
    180172     * appending or prepending to the ones previously set for this prefix.
    181173     *
    182      * @param string          $prefix  The prefix
    183      * @param string[]|string $paths   The PSR-0 root directories
    184      * @param bool            $prepend Whether to prepend the directories
     174     * @param string              $prefix  The prefix
     175     * @param list<string>|string $paths   The PSR-0 root directories
     176     * @param bool                $prepend Whether to prepend the directories
    185177     *
    186178     * @return void
     
    188180    public function add($prefix, $paths, $prepend = false)
    189181    {
     182        $paths = (array) $paths;
    190183        if (!$prefix) {
    191184            if ($prepend) {
    192185                $this->fallbackDirsPsr0 = array_merge(
    193                     (array) $paths,
     186                    $paths,
    194187                    $this->fallbackDirsPsr0
    195188                );
     
    197190                $this->fallbackDirsPsr0 = array_merge(
    198191                    $this->fallbackDirsPsr0,
    199                     (array) $paths
     192                    $paths
    200193                );
    201194            }
     
    206199        $first = $prefix[0];
    207200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    208             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    209202
    210203            return;
     
    212205        if ($prepend) {
    213206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    214                 (array) $paths,
     207                $paths,
    215208                $this->prefixesPsr0[$first][$prefix]
    216209            );
     
    218211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    219212                $this->prefixesPsr0[$first][$prefix],
    220                 (array) $paths
     213                $paths
    221214            );
    222215        }
     
    227220     * appending or prepending to the ones previously set for this namespace.
    228221     *
    229      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    230      * @param string[]|string $paths   The PSR-4 base directories
    231      * @param bool            $prepend Whether to prepend the directories
     222     * @param string              $prefix  The prefix/namespace, with trailing '\\'
     223     * @param list<string>|string $paths   The PSR-4 base directories
     224     * @param bool                $prepend Whether to prepend the directories
    232225     *
    233226     * @throws \InvalidArgumentException
     
    237230    public function addPsr4($prefix, $paths, $prepend = false)
    238231    {
     232        $paths = (array) $paths;
    239233        if (!$prefix) {
    240234            // Register directories for the root namespace.
    241235            if ($prepend) {
    242236                $this->fallbackDirsPsr4 = array_merge(
    243                     (array) $paths,
     237                    $paths,
    244238                    $this->fallbackDirsPsr4
    245239                );
     
    247241                $this->fallbackDirsPsr4 = array_merge(
    248242                    $this->fallbackDirsPsr4,
    249                     (array) $paths
     243                    $paths
    250244                );
    251245            }
     
    257251            }
    258252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    259             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    260254        } elseif ($prepend) {
    261255            // Prepend directories for an already registered namespace.
    262256            $this->prefixDirsPsr4[$prefix] = array_merge(
    263                 (array) $paths,
     257                $paths,
    264258                $this->prefixDirsPsr4[$prefix]
    265259            );
     
    268262            $this->prefixDirsPsr4[$prefix] = array_merge(
    269263                $this->prefixDirsPsr4[$prefix],
    270                 (array) $paths
     264                $paths
    271265            );
    272266        }
     
    277271     * replacing any others previously set for this prefix.
    278272     *
    279      * @param string          $prefix The prefix
    280      * @param string[]|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
    281275     *
    282276     * @return void
     
    295289     * replacing any others previously set for this namespace.
    296290     *
    297      * @param string          $prefix The prefix/namespace, with trailing '\\'
    298      * @param string[]|string $paths  The PSR-4 base directories
     291     * @param string              $prefix The prefix/namespace, with trailing '\\'
     292     * @param list<string>|string $paths  The PSR-4 base directories
    299293     *
    300294     * @throws \InvalidArgumentException
     
    482476
    483477    /**
    484      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    485      *
    486      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    487481     */
    488482    public static function getRegisteredLoaders()
  • audienceplayer/tags/4.6.1/vendor/composer/autoload_real.php

    r2945999 r3048935  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit5d99814258a06599269d7d05fd2f0889
     5class ComposerAutoloaderInit5cfc594734f281b302e98f3d5dfebf3e
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit5d99814258a06599269d7d05fd2f0889', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit5cfc594734f281b302e98f3d5dfebf3e', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit5d99814258a06599269d7d05fd2f0889', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit5cfc594734f281b302e98f3d5dfebf3e', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit5d99814258a06599269d7d05fd2f0889::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • audienceplayer/tags/4.6.1/vendor/composer/autoload_static.php

    r2945999 r3048935  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit5d99814258a06599269d7d05fd2f0889
     7class ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3838    {
    3939        return \Closure::bind(function () use ($loader) {
    40             $loader->prefixLengthsPsr4 = ComposerStaticInit5d99814258a06599269d7d05fd2f0889::$prefixLengthsPsr4;
    41             $loader->prefixDirsPsr4 = ComposerStaticInit5d99814258a06599269d7d05fd2f0889::$prefixDirsPsr4;
    42             $loader->classMap = ComposerStaticInit5d99814258a06599269d7d05fd2f0889::$classMap;
     40            $loader->prefixLengthsPsr4 = ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e::$prefixLengthsPsr4;
     41            $loader->prefixDirsPsr4 = ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e::$prefixDirsPsr4;
     42            $loader->classMap = ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e::$classMap;
    4343
    4444        }, null, ClassLoader::class);
  • audienceplayer/tags/4.6.1/vendor/composer/installed.php

    r2945999 r3048935  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '6e2755029cffcc1fb03bc17cce00e2e88fa54a41',
     6        'reference' => '064b8696ae3ceb5b86b718b42973efeaebc220a3',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-master',
    2424            'version' => 'dev-master',
    25             'reference' => '6e2755029cffcc1fb03bc17cce00e2e88fa54a41',
     25            'reference' => '064b8696ae3ceb5b86b718b42973efeaebc220a3',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
  • audienceplayer/trunk/audienceplayer.php

    r2945999 r3048935  
    99Description: AudiencePlayer integration
    1010Author: AudiencePlayer
    11 Version: 4.6.0
     11Version: 4.6.1
    1212Author URI: https://www.audienceplayer.com
    1313Text Domain: audienceplayer
  • audienceplayer/trunk/composer.lock

    r2945999 r3048935  
    6767        {
    6868            "name": "phpstan/phpstan",
    69             "version": "1.10.26",
     69            "version": "1.10.60",
    7070            "source": {
    7171                "type": "git",
    7272                "url": "https://github.com/phpstan/phpstan.git",
    73                 "reference": "5d660cbb7e1b89253a47147ae44044f49832351f"
     73                "reference": "95dcea7d6c628a3f2f56d091d8a0219485a86bbe"
    7474            },
    7575            "dist": {
    7676                "type": "zip",
    77                 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5d660cbb7e1b89253a47147ae44044f49832351f",
    78                 "reference": "5d660cbb7e1b89253a47147ae44044f49832351f",
     77                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/95dcea7d6c628a3f2f56d091d8a0219485a86bbe",
     78                "reference": "95dcea7d6c628a3f2f56d091d8a0219485a86bbe",
    7979                "shasum": ""
    8080            },
     
    125125                }
    126126            ],
    127             "time": "2023-07-19T12:44:37+00:00"
     127            "time": "2024-03-07T13:30:19+00:00"
    128128        }
    129129    ],
     
    139139    },
    140140    "platform-dev": [],
    141     "plugin-api-version": "2.3.0"
     141    "plugin-api-version": "2.6.0"
    142142}
  • audienceplayer/trunk/languages/audienceplayer-wordpress-plugin.pot

    r2945999 r3048935  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: 4.6.0\n"
     5"Project-Id-Version: 4.6.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/audienceplayer\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • audienceplayer/trunk/readme.txt

    r2945999 r3048935  
    11=== AudiencePlayer ===
    22Contributors: audienceplayer
    3 Stable tag: 4.6.0
    4 Tested up to: 6.2
     3Stable tag: 4.6.1
     4Tested up to: 6.4
    55Requires at least: 5.5
    66Requires PHP: 7.1
  • audienceplayer/trunk/src/AudiencePlayer/AudiencePlayerWordpressPlugin/Config/Constants.php

    r2945999 r3048935  
    3939
    4040        // Main plugin version number here and in main plugin file header are automatically overwritten in gulp-build script
    41         PLUGIN_VERSION = '4.6.0',
     41        PLUGIN_VERSION = '4.6.1',
    4242
    4343        // DB migration version number is maintained here
  • audienceplayer/trunk/static/html/admin_help_release_notes.html

    r2945999 r3048935  
    22
    33    <h3>Release notes</h3>
     4
     5    <div class="audienceplayer-release-note">
     6        <h5>v4.6.1</h5>
     7        <p class="date">2024-03-11</p>
     8        <p class="content">
     9        <ul>
     10            <li>
     11                When switching subscriptions on the my-account page, the listed subscription price is now the price per
     12                installment instead of the initial price (since the "price per installment" is the actual purchase price
     13                in this case).
     14            </li>
     15        </ul>
     16        </p>
     17    </div>
    418
    519    <div class="audienceplayer-release-note">
  • audienceplayer/trunk/templates/audienceplayer-shortcode-user-account.php

    r2916756 r3048935  
    9797
    9898                            // Mark $subscription as current if it matches switchToSubscriptionId,
    99                             // or if not set if it matches current userSubscription->subscription_id
     99                            // or when not set, check if it matches current userSubscription->subscription_id
    100100                            if ($switchToSubscriptionId) {
    101101                                $isSwitchToOrCurrentSubscriptionId = $subscription->id === $switchToSubscriptionId;
     
    136136                                ) .
    137137                                '<div class="title"><h6>' . $subscription->title . '</h6></div>' .
    138                                 '<div class="price">' . $subscription->currency_symbol . ' ' . $subscription->price . '</div>' .
     138                                '<div class="price">' . $subscription->currency_symbol . ' ' . $subscription->price_per_installment . '</div>' .
    139139                                '<div class="time-unit">' . $timeUnitLabel . '</div>' .
    140140                                $description .
  • audienceplayer/trunk/vendor/autoload.php

    r2945999 r3048935  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit5d99814258a06599269d7d05fd2f0889::getLoader();
     25return ComposerAutoloaderInit5cfc594734f281b302e98f3d5dfebf3e::getLoader();
  • audienceplayer/trunk/vendor/composer/ClassLoader.php

    r2945999 r3048935  
    4646    private static $includeFile;
    4747
    48     /** @var ?string */
     48    /** @var string|null */
    4949    private $vendorDir;
    5050
    5151    // PSR-4
    5252    /**
    53      * @var array[]
    54      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5554     */
    5655    private $prefixLengthsPsr4 = array();
    5756    /**
    58      * @var array[]
    59      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    6058     */
    6159    private $prefixDirsPsr4 = array();
    6260    /**
    63      * @var array[]
    64      * @psalm-var array<string, string>
     61     * @var list<string>
    6562     */
    6663    private $fallbackDirsPsr4 = array();
     
    6865    // PSR-0
    6966    /**
    70      * @var array[]
    71      * @psalm-var array<string, array<string, string[]>>
     67     * List of PSR-0 prefixes
     68     *
     69     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
     70     *
     71     * @var array<string, array<string, list<string>>>
    7272     */
    7373    private $prefixesPsr0 = array();
    7474    /**
    75      * @var array[]
    76      * @psalm-var array<string, string>
     75     * @var list<string>
    7776     */
    7877    private $fallbackDirsPsr0 = array();
     
    8281
    8382    /**
    84      * @var string[]
    85      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8684     */
    8785    private $classMap = array();
     
    9189
    9290    /**
    93      * @var bool[]
    94      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9592     */
    9693    private $missingClasses = array();
    9794
    98     /** @var ?string */
     95    /** @var string|null */
    9996    private $apcuPrefix;
    10097
    10198    /**
    102      * @var self[]
     99     * @var array<string, self>
    103100     */
    104101    private static $registeredLoaders = array();
    105102
    106103    /**
    107      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    108105     */
    109106    public function __construct($vendorDir = null)
     
    114111
    115112    /**
    116      * @return string[]
     113     * @return array<string, list<string>>
    117114     */
    118115    public function getPrefixes()
     
    126123
    127124    /**
    128      * @return array[]
    129      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    130126     */
    131127    public function getPrefixesPsr4()
     
    135131
    136132    /**
    137      * @return array[]
    138      * @psalm-return array<string, string>
     133     * @return list<string>
    139134     */
    140135    public function getFallbackDirs()
     
    144139
    145140    /**
    146      * @return array[]
    147      * @psalm-return array<string, string>
     141     * @return list<string>
    148142     */
    149143    public function getFallbackDirsPsr4()
     
    153147
    154148    /**
    155      * @return string[] Array of classname => path
    156      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    157150     */
    158151    public function getClassMap()
     
    162155
    163156    /**
    164      * @param string[] $classMap Class to filename map
    165      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    166158     *
    167159     * @return void
     
    180172     * appending or prepending to the ones previously set for this prefix.
    181173     *
    182      * @param string          $prefix  The prefix
    183      * @param string[]|string $paths   The PSR-0 root directories
    184      * @param bool            $prepend Whether to prepend the directories
     174     * @param string              $prefix  The prefix
     175     * @param list<string>|string $paths   The PSR-0 root directories
     176     * @param bool                $prepend Whether to prepend the directories
    185177     *
    186178     * @return void
     
    188180    public function add($prefix, $paths, $prepend = false)
    189181    {
     182        $paths = (array) $paths;
    190183        if (!$prefix) {
    191184            if ($prepend) {
    192185                $this->fallbackDirsPsr0 = array_merge(
    193                     (array) $paths,
     186                    $paths,
    194187                    $this->fallbackDirsPsr0
    195188                );
     
    197190                $this->fallbackDirsPsr0 = array_merge(
    198191                    $this->fallbackDirsPsr0,
    199                     (array) $paths
     192                    $paths
    200193                );
    201194            }
     
    206199        $first = $prefix[0];
    207200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    208             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    209202
    210203            return;
     
    212205        if ($prepend) {
    213206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    214                 (array) $paths,
     207                $paths,
    215208                $this->prefixesPsr0[$first][$prefix]
    216209            );
     
    218211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    219212                $this->prefixesPsr0[$first][$prefix],
    220                 (array) $paths
     213                $paths
    221214            );
    222215        }
     
    227220     * appending or prepending to the ones previously set for this namespace.
    228221     *
    229      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    230      * @param string[]|string $paths   The PSR-4 base directories
    231      * @param bool            $prepend Whether to prepend the directories
     222     * @param string              $prefix  The prefix/namespace, with trailing '\\'
     223     * @param list<string>|string $paths   The PSR-4 base directories
     224     * @param bool                $prepend Whether to prepend the directories
    232225     *
    233226     * @throws \InvalidArgumentException
     
    237230    public function addPsr4($prefix, $paths, $prepend = false)
    238231    {
     232        $paths = (array) $paths;
    239233        if (!$prefix) {
    240234            // Register directories for the root namespace.
    241235            if ($prepend) {
    242236                $this->fallbackDirsPsr4 = array_merge(
    243                     (array) $paths,
     237                    $paths,
    244238                    $this->fallbackDirsPsr4
    245239                );
     
    247241                $this->fallbackDirsPsr4 = array_merge(
    248242                    $this->fallbackDirsPsr4,
    249                     (array) $paths
     243                    $paths
    250244                );
    251245            }
     
    257251            }
    258252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    259             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    260254        } elseif ($prepend) {
    261255            // Prepend directories for an already registered namespace.
    262256            $this->prefixDirsPsr4[$prefix] = array_merge(
    263                 (array) $paths,
     257                $paths,
    264258                $this->prefixDirsPsr4[$prefix]
    265259            );
     
    268262            $this->prefixDirsPsr4[$prefix] = array_merge(
    269263                $this->prefixDirsPsr4[$prefix],
    270                 (array) $paths
     264                $paths
    271265            );
    272266        }
     
    277271     * replacing any others previously set for this prefix.
    278272     *
    279      * @param string          $prefix The prefix
    280      * @param string[]|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
    281275     *
    282276     * @return void
     
    295289     * replacing any others previously set for this namespace.
    296290     *
    297      * @param string          $prefix The prefix/namespace, with trailing '\\'
    298      * @param string[]|string $paths  The PSR-4 base directories
     291     * @param string              $prefix The prefix/namespace, with trailing '\\'
     292     * @param list<string>|string $paths  The PSR-4 base directories
    299293     *
    300294     * @throws \InvalidArgumentException
     
    482476
    483477    /**
    484      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    485      *
    486      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    487481     */
    488482    public static function getRegisteredLoaders()
  • audienceplayer/trunk/vendor/composer/autoload_real.php

    r2945999 r3048935  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit5d99814258a06599269d7d05fd2f0889
     5class ComposerAutoloaderInit5cfc594734f281b302e98f3d5dfebf3e
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit5d99814258a06599269d7d05fd2f0889', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit5cfc594734f281b302e98f3d5dfebf3e', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit5d99814258a06599269d7d05fd2f0889', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit5cfc594734f281b302e98f3d5dfebf3e', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit5d99814258a06599269d7d05fd2f0889::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • audienceplayer/trunk/vendor/composer/autoload_static.php

    r2945999 r3048935  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit5d99814258a06599269d7d05fd2f0889
     7class ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3838    {
    3939        return \Closure::bind(function () use ($loader) {
    40             $loader->prefixLengthsPsr4 = ComposerStaticInit5d99814258a06599269d7d05fd2f0889::$prefixLengthsPsr4;
    41             $loader->prefixDirsPsr4 = ComposerStaticInit5d99814258a06599269d7d05fd2f0889::$prefixDirsPsr4;
    42             $loader->classMap = ComposerStaticInit5d99814258a06599269d7d05fd2f0889::$classMap;
     40            $loader->prefixLengthsPsr4 = ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e::$prefixLengthsPsr4;
     41            $loader->prefixDirsPsr4 = ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e::$prefixDirsPsr4;
     42            $loader->classMap = ComposerStaticInit5cfc594734f281b302e98f3d5dfebf3e::$classMap;
    4343
    4444        }, null, ClassLoader::class);
  • audienceplayer/trunk/vendor/composer/installed.php

    r2945999 r3048935  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '6e2755029cffcc1fb03bc17cce00e2e88fa54a41',
     6        'reference' => '064b8696ae3ceb5b86b718b42973efeaebc220a3',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-master',
    2424            'version' => 'dev-master',
    25             'reference' => '6e2755029cffcc1fb03bc17cce00e2e88fa54a41',
     25            'reference' => '064b8696ae3ceb5b86b718b42973efeaebc220a3',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.