Plugin Directory

Changeset 3198193


Ignore:
Timestamp:
11/27/2024 02:18:00 PM (15 months ago)
Author:
sendsmaily
Message:

Release 1.12.0, see readme.txt for the changelog.

Location:
smaily-for-woocommerce
Files:
24 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smaily-for-woocommerce/tags/1.12.0/inc/Base/Cron.php

    r2901162 r3198193  
    142142                'last_name'  => ! empty( $customer_data ) ? $customer_data->last_name : '',
    143143                'email'      => ! empty( $customer_data ) ? $customer_data->user_email : '',
     144                'store'      => get_site_url(),
    144145            ];
    145146            // Continue with data gathering only if there is an email value to send data to.
     
    155156            // Gather customer data.
    156157            $customer_data = [];
    157             $sync_values   = [ 'first_name', 'last_name', 'email' ];
     158            $sync_values   = [ 'first_name', 'last_name', 'email', 'store' ];
    158159            foreach ( $sync_values as $sync_value ) {
    159160                // Check if user has enabled extra field in settings.
    160                 if ( in_array( $sync_value, $results['cart_options'], true ) || $sync_value === 'email' ) {
     161                if ( in_array( $sync_value, $results['cart_options'], true ) || $sync_value === 'email' || $sync_value === 'store' ) {
    161162                    // Add extra field if it's available in customer data.
    162163                    if ( isset( $customer[ $sync_value ] ) ) {
  • smaily-for-woocommerce/tags/1.12.0/lang/smaily-et.po

    r2896551 r3198193  
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-"
    55"woocommerce\n"
    6 "POT-Creation-Date: 2023-04-10 13:49+0300\n"
    7 "PO-Revision-Date: 2023-04-10 13:49+0300\n"
     6"POT-Creation-Date: 2024-11-27 16:08+0200\n"
     7"PO-Revision-Date: 2024-11-27 16:08+0200\n"
    88"Last-Translator: \n"
    99"Language-Team: Estonian\n"
     
    1515"X-Poedit-Basepath: ..\n"
    1616"X-Poedit-KeywordsList: __;_e;esc_html__;esc_attr__;esc_attr_e;esc_html_e\n"
    17 "X-Generator: Poedit 3.2.2\n"
     17"X-Generator: Poedit 3.4.4\n"
    1818"X-Loco-Version: 2.3.3; wp-5.4.1\n"
    1919"X-Poedit-SearchPath-0: .\n"
  • smaily-for-woocommerce/tags/1.12.0/lang/smaily-et_EE.po

    r2896551 r3198193  
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-"
    55"woocommercewoocommerce\n"
    6 "POT-Creation-Date: 2023-04-10 13:49+0300\n"
    7 "PO-Revision-Date: 2023-04-10 13:49+0300\n"
     6"POT-Creation-Date: 2024-11-27 16:08+0200\n"
     7"PO-Revision-Date: 2024-11-27 16:08+0200\n"
    88"Last-Translator: \n"
    99"Language-Team: Estonian\n"
     
    1515"X-Poedit-Basepath: ..\n"
    1616"X-Poedit-KeywordsList: __;_e;esc_html__;esc_attr__;esc_attr_e;esc_html_e\n"
    17 "X-Generator: Poedit 3.2.2\n"
     17"X-Generator: Poedit 3.4.4\n"
    1818"X-Loco-Version: 2.3.3; wp-5.4.1\n"
    1919"X-Poedit-SearchPath-0: .\n"
  • smaily-for-woocommerce/tags/1.12.0/readme.txt

    r2901162 r3198193  
    44Requires PHP: 5.6
    55Requires at least: 4.5
    6 Tested up to: 5.8
    7 WC tested up to: 4.7.0
    8 Stable tag: 1.11.2
     6Tested up to: 6.7
     7WC tested up to: 9.3.1
     8Stable tag: 1.12.0
    99License: GPLv3
    1010
     
    152152== Changelog ==
    153153
     154= 1.12.0 =
     155
     156- Include store URL in abandoned cart parameters
     157
    154158= 1.11.2 =
    155159
  • smaily-for-woocommerce/tags/1.12.0/smaily-for-woocommerce.php

    r2901162 r3198193  
    1414 * Plugin URI: https://github.com/sendsmaily/smaily-woocommerce-plugin
    1515 * Description: Smaily email marketing and automation extension plugin for WooCommerce. Set up easy sync for your contacts, add opt-in subscription form, import products directly to your email template and send abandoned cart reminder emails.
    16  * Version: 1.11.2
     16 * Version: 1.12.0
    1717 * License: GPL3
    1818 * Author: Smaily
     
    4949define( 'SMAILY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    5050define( 'SMAILY_PLUGIN_NAME', plugin_basename( __FILE__ ) );
    51 define( 'SMAILY_PLUGIN_VERSION', '1.11.2' );
     51define( 'SMAILY_PLUGIN_VERSION', '1.12.0' );
    5252
    5353// Required to use functions is_plugin_active and deactivate_plugins.
  • smaily-for-woocommerce/tags/1.12.0/vendor/autoload.php

    r2901162 r3198193  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInite2f76c78f6d6aa29695ebc2e07d4385c::getLoader();
     25return ComposerAutoloaderInit0b6e0d5e48addd05731e87af026ea101::getLoader();
  • smaily-for-woocommerce/tags/1.12.0/vendor/composer/ClassLoader.php

    r2865166 r3198193  
    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()
  • smaily-for-woocommerce/tags/1.12.0/vendor/composer/autoload_real.php

    r2901162 r3198193  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInite2f76c78f6d6aa29695ebc2e07d4385c
     5class ComposerAutoloaderInit0b6e0d5e48addd05731e87af026ea101
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInite2f76c78f6d6aa29695ebc2e07d4385c', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit0b6e0d5e48addd05731e87af026ea101', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInite2f76c78f6d6aa29695ebc2e07d4385c', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit0b6e0d5e48addd05731e87af026ea101', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit0b6e0d5e48addd05731e87af026ea101::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • smaily-for-woocommerce/tags/1.12.0/vendor/composer/autoload_static.php

    r2901162 r3198193  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c
     7class ComposerStaticInit0b6e0d5e48addd05731e87af026ea101
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInit0b6e0d5e48addd05731e87af026ea101::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInit0b6e0d5e48addd05731e87af026ea101::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInit0b6e0d5e48addd05731e87af026ea101::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • smaily-for-woocommerce/tags/1.12.0/vendor/composer/installed.php

    r2901162 r3198193  
    22    'root' => array(
    33        'name' => 'smaily/smaily_for_woocommerce',
    4         'pretty_version' => '1.11.2',
    5         'version' => '1.11.2.0',
    6         'reference' => '681f936b5be2c0aa6eca9461509fed9cbc3574ab',
     4        'pretty_version' => '1.12.0',
     5        'version' => '1.12.0.0',
     6        'reference' => 'd9713a3d2e5742a8954f2502998a97e222bc2135',
    77        'type' => 'plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'smaily/smaily_for_woocommerce' => array(
    14             'pretty_version' => '1.11.2',
    15             'version' => '1.11.2.0',
    16             'reference' => '681f936b5be2c0aa6eca9461509fed9cbc3574ab',
     14            'pretty_version' => '1.12.0',
     15            'version' => '1.12.0.0',
     16            'reference' => 'd9713a3d2e5742a8954f2502998a97e222bc2135',
    1717            'type' => 'plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • smaily-for-woocommerce/trunk/inc/Base/Cron.php

    r2901162 r3198193  
    142142                'last_name'  => ! empty( $customer_data ) ? $customer_data->last_name : '',
    143143                'email'      => ! empty( $customer_data ) ? $customer_data->user_email : '',
     144                'store'      => get_site_url(),
    144145            ];
    145146            // Continue with data gathering only if there is an email value to send data to.
     
    155156            // Gather customer data.
    156157            $customer_data = [];
    157             $sync_values   = [ 'first_name', 'last_name', 'email' ];
     158            $sync_values   = [ 'first_name', 'last_name', 'email', 'store' ];
    158159            foreach ( $sync_values as $sync_value ) {
    159160                // Check if user has enabled extra field in settings.
    160                 if ( in_array( $sync_value, $results['cart_options'], true ) || $sync_value === 'email' ) {
     161                if ( in_array( $sync_value, $results['cart_options'], true ) || $sync_value === 'email' || $sync_value === 'store' ) {
    161162                    // Add extra field if it's available in customer data.
    162163                    if ( isset( $customer[ $sync_value ] ) ) {
  • smaily-for-woocommerce/trunk/lang/smaily-et.po

    r2896551 r3198193  
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-"
    55"woocommerce\n"
    6 "POT-Creation-Date: 2023-04-10 13:49+0300\n"
    7 "PO-Revision-Date: 2023-04-10 13:49+0300\n"
     6"POT-Creation-Date: 2024-11-27 16:08+0200\n"
     7"PO-Revision-Date: 2024-11-27 16:08+0200\n"
    88"Last-Translator: \n"
    99"Language-Team: Estonian\n"
     
    1515"X-Poedit-Basepath: ..\n"
    1616"X-Poedit-KeywordsList: __;_e;esc_html__;esc_attr__;esc_attr_e;esc_html_e\n"
    17 "X-Generator: Poedit 3.2.2\n"
     17"X-Generator: Poedit 3.4.4\n"
    1818"X-Loco-Version: 2.3.3; wp-5.4.1\n"
    1919"X-Poedit-SearchPath-0: .\n"
  • smaily-for-woocommerce/trunk/lang/smaily-et_EE.po

    r2896551 r3198193  
    44"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/smaily-for-"
    55"woocommercewoocommerce\n"
    6 "POT-Creation-Date: 2023-04-10 13:49+0300\n"
    7 "PO-Revision-Date: 2023-04-10 13:49+0300\n"
     6"POT-Creation-Date: 2024-11-27 16:08+0200\n"
     7"PO-Revision-Date: 2024-11-27 16:08+0200\n"
    88"Last-Translator: \n"
    99"Language-Team: Estonian\n"
     
    1515"X-Poedit-Basepath: ..\n"
    1616"X-Poedit-KeywordsList: __;_e;esc_html__;esc_attr__;esc_attr_e;esc_html_e\n"
    17 "X-Generator: Poedit 3.2.2\n"
     17"X-Generator: Poedit 3.4.4\n"
    1818"X-Loco-Version: 2.3.3; wp-5.4.1\n"
    1919"X-Poedit-SearchPath-0: .\n"
  • smaily-for-woocommerce/trunk/readme.txt

    r2901162 r3198193  
    44Requires PHP: 5.6
    55Requires at least: 4.5
    6 Tested up to: 5.8
    7 WC tested up to: 4.7.0
    8 Stable tag: 1.11.2
     6Tested up to: 6.7
     7WC tested up to: 9.3.1
     8Stable tag: 1.12.0
    99License: GPLv3
    1010
     
    152152== Changelog ==
    153153
     154= 1.12.0 =
     155
     156- Include store URL in abandoned cart parameters
     157
    154158= 1.11.2 =
    155159
  • smaily-for-woocommerce/trunk/smaily-for-woocommerce.php

    r2901162 r3198193  
    1414 * Plugin URI: https://github.com/sendsmaily/smaily-woocommerce-plugin
    1515 * Description: Smaily email marketing and automation extension plugin for WooCommerce. Set up easy sync for your contacts, add opt-in subscription form, import products directly to your email template and send abandoned cart reminder emails.
    16  * Version: 1.11.2
     16 * Version: 1.12.0
    1717 * License: GPL3
    1818 * Author: Smaily
     
    4949define( 'SMAILY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    5050define( 'SMAILY_PLUGIN_NAME', plugin_basename( __FILE__ ) );
    51 define( 'SMAILY_PLUGIN_VERSION', '1.11.2' );
     51define( 'SMAILY_PLUGIN_VERSION', '1.12.0' );
    5252
    5353// Required to use functions is_plugin_active and deactivate_plugins.
  • smaily-for-woocommerce/trunk/vendor/autoload.php

    r2901162 r3198193  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInite2f76c78f6d6aa29695ebc2e07d4385c::getLoader();
     25return ComposerAutoloaderInit0b6e0d5e48addd05731e87af026ea101::getLoader();
  • smaily-for-woocommerce/trunk/vendor/composer/ClassLoader.php

    r2865166 r3198193  
    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()
  • smaily-for-woocommerce/trunk/vendor/composer/autoload_real.php

    r2901162 r3198193  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInite2f76c78f6d6aa29695ebc2e07d4385c
     5class ComposerAutoloaderInit0b6e0d5e48addd05731e87af026ea101
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInite2f76c78f6d6aa29695ebc2e07d4385c', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit0b6e0d5e48addd05731e87af026ea101', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInite2f76c78f6d6aa29695ebc2e07d4385c', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit0b6e0d5e48addd05731e87af026ea101', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInit0b6e0d5e48addd05731e87af026ea101::getInitializer($loader));
    3131
    3232        $loader->register(true);
  • smaily-for-woocommerce/trunk/vendor/composer/autoload_static.php

    r2901162 r3198193  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c
     7class ComposerStaticInit0b6e0d5e48addd05731e87af026ea101
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInite2f76c78f6d6aa29695ebc2e07d4385c::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInit0b6e0d5e48addd05731e87af026ea101::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInit0b6e0d5e48addd05731e87af026ea101::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInit0b6e0d5e48addd05731e87af026ea101::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • smaily-for-woocommerce/trunk/vendor/composer/installed.php

    r2901162 r3198193  
    22    'root' => array(
    33        'name' => 'smaily/smaily_for_woocommerce',
    4         'pretty_version' => '1.11.2',
    5         'version' => '1.11.2.0',
    6         'reference' => '681f936b5be2c0aa6eca9461509fed9cbc3574ab',
     4        'pretty_version' => '1.12.0',
     5        'version' => '1.12.0.0',
     6        'reference' => 'd9713a3d2e5742a8954f2502998a97e222bc2135',
    77        'type' => 'plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'smaily/smaily_for_woocommerce' => array(
    14             'pretty_version' => '1.11.2',
    15             'version' => '1.11.2.0',
    16             'reference' => '681f936b5be2c0aa6eca9461509fed9cbc3574ab',
     14            'pretty_version' => '1.12.0',
     15            'version' => '1.12.0.0',
     16            'reference' => 'd9713a3d2e5742a8954f2502998a97e222bc2135',
    1717            'type' => 'plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.