Plugin Directory

Changeset 2925826


Ignore:
Timestamp:
06/14/2023 10:46:03 AM (3 years ago)
Author:
ecomailcz
Message:

Update to version 2.1.3

Location:
ecomail
Files:
30 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ecomail/tags/2.1.3/deps/autoload.php

    r2865205 r2925826  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit3945cc562aa3c9efcc88de30ba8cb8c8::getLoader();
     25return ComposerAutoloaderInit3f23579fad6f1c15c8058e1911a63a7e::getLoader();
  • ecomail/tags/2.1.3/deps/composer/ClassLoader.php

    r2864675 r2925826  
    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()
  • ecomail/tags/2.1.3/deps/composer/InstalledVersions.php

    r2746515 r2925826  
    8888        foreach (self::getInstalled() as $installed) {
    8989            if (isset($installed['versions'][$packageName])) {
    90                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     90                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === \false;
    9191            }
    9292        }
     
    107107    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    108108    {
    109         $constraint = $parser->parseConstraints($constraint);
     109        $constraint = $parser->parseConstraints((string) $constraint);
    110110        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    111111        return $provided->matches($constraint);
     
    286286                    $installed[] = self::$installedByVendor[$vendorDir];
    287287                } elseif (\is_file($vendorDir . '/composer/installed.php')) {
    288                     $installed[] = self::$installedByVendor[$vendorDir] = (require $vendorDir . '/composer/installed.php');
     288                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     289                    $required = (require $vendorDir . '/composer/installed.php');
     290                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    289291                    if (null === self::$installed && \strtr($vendorDir . '/composer', '\\', '/') === \strtr(__DIR__, '\\', '/')) {
    290292                        self::$installed = $installed[\count($installed) - 1];
     
    297299            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    298300            if (\substr(__DIR__, -8, 1) !== 'C') {
    299                 self::$installed = (require __DIR__ . '/installed.php');
     301                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     302                $required = (require __DIR__ . '/installed.php');
     303                self::$installed = $required;
    300304            } else {
    301305                self::$installed = array();
    302306            }
    303307        }
    304         $installed[] = self::$installed;
     308        if (self::$installed !== array()) {
     309            $installed[] = self::$installed;
     310        }
    305311        return $installed;
    306312    }
  • ecomail/tags/2.1.3/deps/composer/autoload_real.php

    r2865205 r2925826  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3945cc562aa3c9efcc88de30ba8cb8c8
     5class ComposerAutoloaderInit3f23579fad6f1c15c8058e1911a63a7e
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit3945cc562aa3c9efcc88de30ba8cb8c8', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit3f23579fad6f1c15c8058e1911a63a7e', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit3945cc562aa3c9efcc88de30ba8cb8c8', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit3f23579fad6f1c15c8058e1911a63a7e', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::getInitializer($loader));
    3131
    3232        $loader->register(true);
    3333
    34         $filesToLoad = \Composer\Autoload\ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::$files;
     34        $filesToLoad = \Composer\Autoload\ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::$files;
    3535        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3636            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • ecomail/tags/2.1.3/deps/composer/autoload_static.php

    r2865205 r2925826  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8
     7class ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e
    88{
    99    public static $files = array (
     
    301301    {
    302302        return \Closure::bind(function () use ($loader) {
    303             $loader->prefixLengthsPsr4 = ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::$prefixLengthsPsr4;
    304             $loader->prefixDirsPsr4 = ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::$prefixDirsPsr4;
    305             $loader->classMap = ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::$classMap;
     303            $loader->prefixLengthsPsr4 = ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::$prefixLengthsPsr4;
     304            $loader->prefixDirsPsr4 = ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::$prefixDirsPsr4;
     305            $loader->classMap = ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::$classMap;
    306306
    307307        }, null, ClassLoader::class);
  • ecomail/tags/2.1.3/deps/composer/installed.php

    r2865205 r2925826  
    33namespace EcomailDeps;
    44
    5 return array('root' => array('name' => '__root__', 'pretty_version' => '2.1.2', 'version' => '2.1.2.0', 'reference' => '3344a4fe69789967ef634695e5f42db4e73bb5f3', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '2.1.2', 'version' => '2.1.2.0', 'reference' => '3344a4fe69789967ef634695e5f42db4e73bb5f3', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'ecomailcz/ecomail' => array('pretty_version' => 'v1.2.5', 'version' => '1.2.5.0', 'reference' => 'c7370229cf94a7129bb6386136da0df59424c9e1', 'type' => 'library', 'install_path' => __DIR__ . '/../ecomailcz/ecomail', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.2.2', 'version' => '1.2.2.0', 'reference' => '47afb7fae28ed29057fdca37e16a84f90cc62fae', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.3', 'version' => '2.3.3.0', 'reference' => 'cd6d9f267d1a3474bdddf1be1da079f01b942786', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '0.5.7', 'version' => '0.5.7.0', 'reference' => '816e826ce0b7fb32098d8cb6de62511ce6021cea', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'wpify/asset' => array('pretty_version' => '1.2.7', 'version' => '1.2.7.0', 'reference' => '6bc587810b33e47a86120cf2897790454d0ade38', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '2.3.5', 'version' => '2.3.5.0', 'reference' => '3118c9c389b023f15d81c3cbe33a7b3a8bc5a492', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '2.1.97', 'version' => '2.1.97.0', 'reference' => '25f3af2a3102dea0db0be35383b1ea94ca7c44ce', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => '__root__', 'pretty_version' => '2.1.3', 'version' => '2.1.3.0', 'reference' => 'f97a0bf013e9d41042169faae1d74fb4e7a882f2', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '2.1.3', 'version' => '2.1.3.0', 'reference' => 'f97a0bf013e9d41042169faae1d74fb4e7a882f2', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'ecomailcz/ecomail' => array('pretty_version' => 'v1.2.5', 'version' => '1.2.5.0', 'reference' => 'c7370229cf94a7129bb6386136da0df59424c9e1', 'type' => 'library', 'install_path' => __DIR__ . '/../ecomailcz/ecomail', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.2.2', 'version' => '1.2.2.0', 'reference' => '47afb7fae28ed29057fdca37e16a84f90cc62fae', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.3', 'version' => '2.3.3.0', 'reference' => 'cd6d9f267d1a3474bdddf1be1da079f01b942786', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '0.5.7', 'version' => '0.5.7.0', 'reference' => '816e826ce0b7fb32098d8cb6de62511ce6021cea', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'wpify/asset' => array('pretty_version' => '1.2.7', 'version' => '1.2.7.0', 'reference' => '6bc587810b33e47a86120cf2897790454d0ade38', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '2.3.5', 'version' => '2.3.5.0', 'reference' => '3118c9c389b023f15d81c3cbe33a7b3a8bc5a492', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '2.1.97', 'version' => '2.1.97.0', 'reference' => '25f3af2a3102dea0db0be35383b1ea94ca7c44ce', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));
  • ecomail/tags/2.1.3/ecomail.php

    r2865205 r2925826  
    33 * Plugin Name:          Ecomail
    44 * Description:          Official Ecomail integration for WordPress and WooCommerce
    5  * Version:              2.1.2
     5 * Version:              2.1.3
    66 * Requires PHP:         7.4.0
    77 * Requires at least:    5.3.0
  • ecomail/tags/2.1.3/readme.txt

    r2865205 r2925826  
    66Tested up to: 6.0
    77Requires PHP: 7.4
    8 Stable tag: 2.1.2
     8Stable tag: 2.1.3
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3939
    4040== Changelog ==
     41= 2.1.3 =
     42* Full size image in cart tracking
     43
    4144= 2.1.2 =
    4245* Add support for subscription on pay for order page
  • ecomail/tags/2.1.3/src/WooCommerce.php

    r2865205 r2925826  
    235235            $products[] = array(
    236236                    'productId'   => $item['product_id'],
    237                     'img_url'     => wp_get_attachment_image_url( $prod->get_image_id() ),
     237                    'img_url'     => wp_get_attachment_image_url( $prod->get_image_id(), 'full' ),
    238238                    'url'         => $prod->get_permalink(),
    239239                    'name'        => $prod->get_name(),
  • ecomail/tags/2.1.3/vendor/autoload.php

    r2865205 r2925826  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit595f71980b6d97cb112c7a39698b0692::getLoader();
     25return ComposerAutoloaderInit8b09f69cc1857dd70671c6010ce5955b::getLoader();
  • ecomail/tags/2.1.3/vendor/composer/ClassLoader.php

    r2864675 r2925826  
    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()
  • ecomail/tags/2.1.3/vendor/composer/InstalledVersions.php

    r2746515 r2925826  
    9999        foreach (self::getInstalled() as $installed) {
    100100            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    102102            }
    103103        }
     
    120120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121121    {
    122         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    123123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124124
     
    329329                    $installed[] = self::$installedByVendor[$vendorDir];
    330330                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
     331                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     332                    $required = require $vendorDir.'/composer/installed.php';
     333                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332334                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333335                        self::$installed = $installed[count($installed) - 1];
     
    341343            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    342344            if (substr(__DIR__, -8, 1) !== 'C') {
    343                 self::$installed = require __DIR__ . '/installed.php';
     345                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     346                $required = require __DIR__ . '/installed.php';
     347                self::$installed = $required;
    344348            } else {
    345349                self::$installed = array();
    346350            }
    347351        }
    348         $installed[] = self::$installed;
     352
     353        if (self::$installed !== array()) {
     354            $installed[] = self::$installed;
     355        }
    349356
    350357        return $installed;
  • ecomail/tags/2.1.3/vendor/composer/autoload_real.php

    r2865205 r2925826  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit595f71980b6d97cb112c7a39698b0692
     5class ComposerAutoloaderInit8b09f69cc1857dd70671c6010ce5955b
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit595f71980b6d97cb112c7a39698b0692', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit8b09f69cc1857dd70671c6010ce5955b', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit595f71980b6d97cb112c7a39698b0692', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit8b09f69cc1857dd70671c6010ce5955b', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit595f71980b6d97cb112c7a39698b0692::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • ecomail/tags/2.1.3/vendor/composer/autoload_static.php

    r2865205 r2925826  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit595f71980b6d97cb112c7a39698b0692
     7class ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4343    {
    4444        return \Closure::bind(function () use ($loader) {
    45             $loader->prefixLengthsPsr4 = ComposerStaticInit595f71980b6d97cb112c7a39698b0692::$prefixLengthsPsr4;
    46             $loader->prefixDirsPsr4 = ComposerStaticInit595f71980b6d97cb112c7a39698b0692::$prefixDirsPsr4;
    47             $loader->classMap = ComposerStaticInit595f71980b6d97cb112c7a39698b0692::$classMap;
     45            $loader->prefixLengthsPsr4 = ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b::$prefixLengthsPsr4;
     46            $loader->prefixDirsPsr4 = ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b::$prefixDirsPsr4;
     47            $loader->classMap = ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b::$classMap;
    4848
    4949        }, null, ClassLoader::class);
  • ecomail/tags/2.1.3/vendor/composer/installed.php

    r2865205 r2925826  
    22    'root' => array(
    33        'name' => 'ecomailcz/ecomail-woocommerce',
    4         'pretty_version' => '2.1.2',
    5         'version' => '2.1.2.0',
    6         'reference' => '3344a4fe69789967ef634695e5f42db4e73bb5f3',
     4        'pretty_version' => '2.1.3',
     5        'version' => '2.1.3.0',
     6        'reference' => 'f97a0bf013e9d41042169faae1d74fb4e7a882f2',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'ecomailcz/ecomail-woocommerce' => array(
    14             'pretty_version' => '2.1.2',
    15             'version' => '2.1.2.0',
    16             'reference' => '3344a4fe69789967ef634695e5f42db4e73bb5f3',
     14            'pretty_version' => '2.1.3',
     15            'version' => '2.1.3.0',
     16            'reference' => 'f97a0bf013e9d41042169faae1d74fb4e7a882f2',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • ecomail/trunk/deps/autoload.php

    r2865205 r2925826  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit3945cc562aa3c9efcc88de30ba8cb8c8::getLoader();
     25return ComposerAutoloaderInit3f23579fad6f1c15c8058e1911a63a7e::getLoader();
  • ecomail/trunk/deps/composer/ClassLoader.php

    r2864675 r2925826  
    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()
  • ecomail/trunk/deps/composer/InstalledVersions.php

    r2746515 r2925826  
    8888        foreach (self::getInstalled() as $installed) {
    8989            if (isset($installed['versions'][$packageName])) {
    90                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     90                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === \false;
    9191            }
    9292        }
     
    107107    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    108108    {
    109         $constraint = $parser->parseConstraints($constraint);
     109        $constraint = $parser->parseConstraints((string) $constraint);
    110110        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    111111        return $provided->matches($constraint);
     
    286286                    $installed[] = self::$installedByVendor[$vendorDir];
    287287                } elseif (\is_file($vendorDir . '/composer/installed.php')) {
    288                     $installed[] = self::$installedByVendor[$vendorDir] = (require $vendorDir . '/composer/installed.php');
     288                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     289                    $required = (require $vendorDir . '/composer/installed.php');
     290                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    289291                    if (null === self::$installed && \strtr($vendorDir . '/composer', '\\', '/') === \strtr(__DIR__, '\\', '/')) {
    290292                        self::$installed = $installed[\count($installed) - 1];
     
    297299            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    298300            if (\substr(__DIR__, -8, 1) !== 'C') {
    299                 self::$installed = (require __DIR__ . '/installed.php');
     301                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     302                $required = (require __DIR__ . '/installed.php');
     303                self::$installed = $required;
    300304            } else {
    301305                self::$installed = array();
    302306            }
    303307        }
    304         $installed[] = self::$installed;
     308        if (self::$installed !== array()) {
     309            $installed[] = self::$installed;
     310        }
    305311        return $installed;
    306312    }
  • ecomail/trunk/deps/composer/autoload_real.php

    r2865205 r2925826  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3945cc562aa3c9efcc88de30ba8cb8c8
     5class ComposerAutoloaderInit3f23579fad6f1c15c8058e1911a63a7e
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit3945cc562aa3c9efcc88de30ba8cb8c8', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit3f23579fad6f1c15c8058e1911a63a7e', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit3945cc562aa3c9efcc88de30ba8cb8c8', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit3f23579fad6f1c15c8058e1911a63a7e', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::getInitializer($loader));
    3131
    3232        $loader->register(true);
    3333
    34         $filesToLoad = \Composer\Autoload\ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::$files;
     34        $filesToLoad = \Composer\Autoload\ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::$files;
    3535        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3636            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • ecomail/trunk/deps/composer/autoload_static.php

    r2865205 r2925826  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8
     7class ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e
    88{
    99    public static $files = array (
     
    301301    {
    302302        return \Closure::bind(function () use ($loader) {
    303             $loader->prefixLengthsPsr4 = ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::$prefixLengthsPsr4;
    304             $loader->prefixDirsPsr4 = ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::$prefixDirsPsr4;
    305             $loader->classMap = ComposerStaticInit3945cc562aa3c9efcc88de30ba8cb8c8::$classMap;
     303            $loader->prefixLengthsPsr4 = ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::$prefixLengthsPsr4;
     304            $loader->prefixDirsPsr4 = ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::$prefixDirsPsr4;
     305            $loader->classMap = ComposerStaticInit3f23579fad6f1c15c8058e1911a63a7e::$classMap;
    306306
    307307        }, null, ClassLoader::class);
  • ecomail/trunk/deps/composer/installed.php

    r2865205 r2925826  
    33namespace EcomailDeps;
    44
    5 return array('root' => array('name' => '__root__', 'pretty_version' => '2.1.2', 'version' => '2.1.2.0', 'reference' => '3344a4fe69789967ef634695e5f42db4e73bb5f3', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '2.1.2', 'version' => '2.1.2.0', 'reference' => '3344a4fe69789967ef634695e5f42db4e73bb5f3', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'ecomailcz/ecomail' => array('pretty_version' => 'v1.2.5', 'version' => '1.2.5.0', 'reference' => 'c7370229cf94a7129bb6386136da0df59424c9e1', 'type' => 'library', 'install_path' => __DIR__ . '/../ecomailcz/ecomail', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.2.2', 'version' => '1.2.2.0', 'reference' => '47afb7fae28ed29057fdca37e16a84f90cc62fae', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.3', 'version' => '2.3.3.0', 'reference' => 'cd6d9f267d1a3474bdddf1be1da079f01b942786', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '0.5.7', 'version' => '0.5.7.0', 'reference' => '816e826ce0b7fb32098d8cb6de62511ce6021cea', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'wpify/asset' => array('pretty_version' => '1.2.7', 'version' => '1.2.7.0', 'reference' => '6bc587810b33e47a86120cf2897790454d0ade38', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '2.3.5', 'version' => '2.3.5.0', 'reference' => '3118c9c389b023f15d81c3cbe33a7b3a8bc5a492', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '2.1.97', 'version' => '2.1.97.0', 'reference' => '25f3af2a3102dea0db0be35383b1ea94ca7c44ce', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => '__root__', 'pretty_version' => '2.1.3', 'version' => '2.1.3.0', 'reference' => 'f97a0bf013e9d41042169faae1d74fb4e7a882f2', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '2.1.3', 'version' => '2.1.3.0', 'reference' => 'f97a0bf013e9d41042169faae1d74fb4e7a882f2', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'ecomailcz/ecomail' => array('pretty_version' => 'v1.2.5', 'version' => '1.2.5.0', 'reference' => 'c7370229cf94a7129bb6386136da0df59424c9e1', 'type' => 'library', 'install_path' => __DIR__ . '/../ecomailcz/ecomail', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.2.2', 'version' => '1.2.2.0', 'reference' => '47afb7fae28ed29057fdca37e16a84f90cc62fae', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.3', 'version' => '2.3.3.0', 'reference' => 'cd6d9f267d1a3474bdddf1be1da079f01b942786', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '0.5.7', 'version' => '0.5.7.0', 'reference' => '816e826ce0b7fb32098d8cb6de62511ce6021cea', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'wpify/asset' => array('pretty_version' => '1.2.7', 'version' => '1.2.7.0', 'reference' => '6bc587810b33e47a86120cf2897790454d0ade38', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '2.3.5', 'version' => '2.3.5.0', 'reference' => '3118c9c389b023f15d81c3cbe33a7b3a8bc5a492', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '2.1.97', 'version' => '2.1.97.0', 'reference' => '25f3af2a3102dea0db0be35383b1ea94ca7c44ce', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false)));
  • ecomail/trunk/ecomail.php

    r2865205 r2925826  
    33 * Plugin Name:          Ecomail
    44 * Description:          Official Ecomail integration for WordPress and WooCommerce
    5  * Version:              2.1.2
     5 * Version:              2.1.3
    66 * Requires PHP:         7.4.0
    77 * Requires at least:    5.3.0
  • ecomail/trunk/readme.txt

    r2865205 r2925826  
    66Tested up to: 6.0
    77Requires PHP: 7.4
    8 Stable tag: 2.1.2
     8Stable tag: 2.1.3
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3939
    4040== Changelog ==
     41= 2.1.3 =
     42* Full size image in cart tracking
     43
    4144= 2.1.2 =
    4245* Add support for subscription on pay for order page
  • ecomail/trunk/src/WooCommerce.php

    r2865205 r2925826  
    235235            $products[] = array(
    236236                    'productId'   => $item['product_id'],
    237                     'img_url'     => wp_get_attachment_image_url( $prod->get_image_id() ),
     237                    'img_url'     => wp_get_attachment_image_url( $prod->get_image_id(), 'full' ),
    238238                    'url'         => $prod->get_permalink(),
    239239                    'name'        => $prod->get_name(),
  • ecomail/trunk/vendor/autoload.php

    r2865205 r2925826  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit595f71980b6d97cb112c7a39698b0692::getLoader();
     25return ComposerAutoloaderInit8b09f69cc1857dd70671c6010ce5955b::getLoader();
  • ecomail/trunk/vendor/composer/ClassLoader.php

    r2864675 r2925826  
    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()
  • ecomail/trunk/vendor/composer/InstalledVersions.php

    r2746515 r2925826  
    9999        foreach (self::getInstalled() as $installed) {
    100100            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    102102            }
    103103        }
     
    120120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121121    {
    122         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    123123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124124
     
    329329                    $installed[] = self::$installedByVendor[$vendorDir];
    330330                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
     331                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     332                    $required = require $vendorDir.'/composer/installed.php';
     333                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332334                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333335                        self::$installed = $installed[count($installed) - 1];
     
    341343            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    342344            if (substr(__DIR__, -8, 1) !== 'C') {
    343                 self::$installed = require __DIR__ . '/installed.php';
     345                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     346                $required = require __DIR__ . '/installed.php';
     347                self::$installed = $required;
    344348            } else {
    345349                self::$installed = array();
    346350            }
    347351        }
    348         $installed[] = self::$installed;
     352
     353        if (self::$installed !== array()) {
     354            $installed[] = self::$installed;
     355        }
    349356
    350357        return $installed;
  • ecomail/trunk/vendor/composer/autoload_real.php

    r2865205 r2925826  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit595f71980b6d97cb112c7a39698b0692
     5class ComposerAutoloaderInit8b09f69cc1857dd70671c6010ce5955b
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit595f71980b6d97cb112c7a39698b0692', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit8b09f69cc1857dd70671c6010ce5955b', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit595f71980b6d97cb112c7a39698b0692', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit8b09f69cc1857dd70671c6010ce5955b', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit595f71980b6d97cb112c7a39698b0692::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • ecomail/trunk/vendor/composer/autoload_static.php

    r2865205 r2925826  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit595f71980b6d97cb112c7a39698b0692
     7class ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4343    {
    4444        return \Closure::bind(function () use ($loader) {
    45             $loader->prefixLengthsPsr4 = ComposerStaticInit595f71980b6d97cb112c7a39698b0692::$prefixLengthsPsr4;
    46             $loader->prefixDirsPsr4 = ComposerStaticInit595f71980b6d97cb112c7a39698b0692::$prefixDirsPsr4;
    47             $loader->classMap = ComposerStaticInit595f71980b6d97cb112c7a39698b0692::$classMap;
     45            $loader->prefixLengthsPsr4 = ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b::$prefixLengthsPsr4;
     46            $loader->prefixDirsPsr4 = ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b::$prefixDirsPsr4;
     47            $loader->classMap = ComposerStaticInit8b09f69cc1857dd70671c6010ce5955b::$classMap;
    4848
    4949        }, null, ClassLoader::class);
  • ecomail/trunk/vendor/composer/installed.php

    r2865205 r2925826  
    22    'root' => array(
    33        'name' => 'ecomailcz/ecomail-woocommerce',
    4         'pretty_version' => '2.1.2',
    5         'version' => '2.1.2.0',
    6         'reference' => '3344a4fe69789967ef634695e5f42db4e73bb5f3',
     4        'pretty_version' => '2.1.3',
     5        'version' => '2.1.3.0',
     6        'reference' => 'f97a0bf013e9d41042169faae1d74fb4e7a882f2',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'ecomailcz/ecomail-woocommerce' => array(
    14             'pretty_version' => '2.1.2',
    15             'version' => '2.1.2.0',
    16             'reference' => '3344a4fe69789967ef634695e5f42db4e73bb5f3',
     14            'pretty_version' => '2.1.3',
     15            'version' => '2.1.3.0',
     16            'reference' => 'f97a0bf013e9d41042169faae1d74fb4e7a882f2',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.