Plugin Directory

Changeset 3211466


Ignore:
Timestamp:
12/21/2024 10:23:21 AM (12 months ago)
Author:
rabmalin
Message:

Update to version 3.1.3 from GitHub

Location:
date-today-nepali
Files:
2 deleted
30 edited
1 copied

Legend:

Unmodified
Added
Removed
  • date-today-nepali/tags/3.1.3/app/Core/Core.php

    r3123757 r3211466  
    1616 */
    1717class Core {
     18
    1819    /**
    1920     * Register.
     
    2223     */
    2324    public function register() {
    24         add_action( 'plugins_loaded', [ $this, 'load_textdomain' ] );
    2525        add_action( 'widgets_init', [ $this, 'register_widgets' ] );
    26     }
    27 
    28     /**
    29      * Load plugin textdomain.
    30      *
    31      * @since 1.0.0
    32      */
    33     public function load_textdomain() {
    34         load_plugin_textdomain( 'date-today-nepali' );
    3526    }
    3627
  • date-today-nepali/tags/3.1.3/build/block.json

    r3126759 r3211466  
    33  "apiVersion": 2,
    44  "name": "date-today-nepali/date",
    5   "version": "3.1.1",
     5  "version": "3.1.3",
    66  "title": "Date Today Nepali",
    77  "category": "widgets",
  • date-today-nepali/tags/3.1.3/date-today-nepali.php

    r3126759 r3211466  
    44 * Plugin URI: https://www.nilambar.net/2013/10/date-today-nepali-wordpress-plugin.html
    55 * Description: A small widget plugin to display Nepali date.
    6  * Version: 3.1.2
     6 * Version: 3.1.3
    77 * Requires at least: 6.3
    88 * Requires PHP: 7.2
     
    2424}
    2525
    26 define( 'DATE_TODAY_NEPALI_VERSION', '3.1.2' );
     26define( 'DATE_TODAY_NEPALI_VERSION', '3.1.3' );
    2727define( 'DATE_TODAY_NEPALI_BASE_NAME', basename( __DIR__ ) );
    2828define( 'DATE_TODAY_NEPALI_BASE_FILEPATH', __FILE__ );
  • date-today-nepali/tags/3.1.3/languages/date-today-nepali.pot

    r3126759 r3211466  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Date Today Nepali 3.1.2\n"
     5"Project-Id-Version: Date Today Nepali 3.1.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/date-today-nepali\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1212"POT-Creation-Date: \n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.10.0\n"
     14"X-Generator: WP-CLI 2.11.0\n"
    1515"X-Domain: date-today-nepali\n"
    1616
  • date-today-nepali/tags/3.1.3/vendor/autoload.php

    r3126759 r3211466  
    33// autoload.php @generated by Composer
    44
     5if (PHP_VERSION_ID < 50600) {
     6    if (!headers_sent()) {
     7        header('HTTP/1.1 500 Internal Server Error');
     8    }
     9    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
     10    if (!ini_get('display_errors')) {
     11        if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
     12            fwrite(STDERR, $err);
     13        } elseif (!headers_sent()) {
     14            echo $err;
     15        }
     16    }
     17    trigger_error(
     18        $err,
     19        E_USER_ERROR
     20    );
     21}
     22
    523require_once __DIR__ . '/composer/autoload_real.php';
    624
    7 return ComposerAutoloaderInit7596ad813390228cf44c5bd6970612d7::getLoader();
     25return ComposerAutoloaderInitc47f6eefaa1e541c53bdac64462ff368::getLoader();
  • date-today-nepali/tags/3.1.3/vendor/composer/ClassLoader.php

    r3102610 r3211466  
    4343class ClassLoader
    4444{
    45     /** @var ?string */
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
     48    /** @var string|null */
    4649    private $vendorDir;
    4750
    4851    // PSR-4
    4952    /**
    50      * @var array[]
    51      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5254     */
    5355    private $prefixLengthsPsr4 = array();
    5456    /**
    55      * @var array[]
    56      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    5758     */
    5859    private $prefixDirsPsr4 = array();
    5960    /**
    60      * @var array[]
    61      * @psalm-var array<string, string>
     61     * @var list<string>
    6262     */
    6363    private $fallbackDirsPsr4 = array();
     
    6565    // PSR-0
    6666    /**
    67      * @var array[]
    68      * @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>>>
    6972     */
    7073    private $prefixesPsr0 = array();
    7174    /**
    72      * @var array[]
    73      * @psalm-var array<string, string>
     75     * @var list<string>
    7476     */
    7577    private $fallbackDirsPsr0 = array();
     
    7981
    8082    /**
    81      * @var string[]
    82      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8384     */
    8485    private $classMap = array();
     
    8889
    8990    /**
    90      * @var bool[]
    91      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9292     */
    9393    private $missingClasses = array();
    9494
    95     /** @var ?string */
     95    /** @var string|null */
    9696    private $apcuPrefix;
    9797
    9898    /**
    99      * @var self[]
     99     * @var array<string, self>
    100100     */
    101101    private static $registeredLoaders = array();
    102102
    103103    /**
    104      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    105105     */
    106106    public function __construct($vendorDir = null)
    107107    {
    108108        $this->vendorDir = $vendorDir;
    109     }
    110 
    111     /**
    112      * @return string[]
     109        self::initializeIncludeClosure();
     110    }
     111
     112    /**
     113     * @return array<string, list<string>>
    113114     */
    114115    public function getPrefixes()
     
    122123
    123124    /**
    124      * @return array[]
    125      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    126126     */
    127127    public function getPrefixesPsr4()
     
    131131
    132132    /**
    133      * @return array[]
    134      * @psalm-return array<string, string>
     133     * @return list<string>
    135134     */
    136135    public function getFallbackDirs()
     
    140139
    141140    /**
    142      * @return array[]
    143      * @psalm-return array<string, string>
     141     * @return list<string>
    144142     */
    145143    public function getFallbackDirsPsr4()
     
    149147
    150148    /**
    151      * @return string[] Array of classname => path
    152      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    153150     */
    154151    public function getClassMap()
     
    158155
    159156    /**
    160      * @param string[] $classMap Class to filename map
    161      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    162158     *
    163159     * @return void
     
    176172     * appending or prepending to the ones previously set for this prefix.
    177173     *
    178      * @param string          $prefix  The prefix
    179      * @param string[]|string $paths   The PSR-0 root directories
    180      * @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
    181177     *
    182178     * @return void
     
    184180    public function add($prefix, $paths, $prepend = false)
    185181    {
     182        $paths = (array) $paths;
    186183        if (!$prefix) {
    187184            if ($prepend) {
    188185                $this->fallbackDirsPsr0 = array_merge(
    189                     (array) $paths,
     186                    $paths,
    190187                    $this->fallbackDirsPsr0
    191188                );
     
    193190                $this->fallbackDirsPsr0 = array_merge(
    194191                    $this->fallbackDirsPsr0,
    195                     (array) $paths
     192                    $paths
    196193                );
    197194            }
     
    202199        $first = $prefix[0];
    203200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    204             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    205202
    206203            return;
     
    208205        if ($prepend) {
    209206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    210                 (array) $paths,
     207                $paths,
    211208                $this->prefixesPsr0[$first][$prefix]
    212209            );
     
    214211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    215212                $this->prefixesPsr0[$first][$prefix],
    216                 (array) $paths
     213                $paths
    217214            );
    218215        }
     
    223220     * appending or prepending to the ones previously set for this namespace.
    224221     *
    225      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    226      * @param string[]|string $paths   The PSR-4 base directories
    227      * @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
    228225     *
    229226     * @throws \InvalidArgumentException
     
    233230    public function addPsr4($prefix, $paths, $prepend = false)
    234231    {
     232        $paths = (array) $paths;
    235233        if (!$prefix) {
    236234            // Register directories for the root namespace.
    237235            if ($prepend) {
    238236                $this->fallbackDirsPsr4 = array_merge(
    239                     (array) $paths,
     237                    $paths,
    240238                    $this->fallbackDirsPsr4
    241239                );
     
    243241                $this->fallbackDirsPsr4 = array_merge(
    244242                    $this->fallbackDirsPsr4,
    245                     (array) $paths
     243                    $paths
    246244                );
    247245            }
     
    253251            }
    254252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    255             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    256254        } elseif ($prepend) {
    257255            // Prepend directories for an already registered namespace.
    258256            $this->prefixDirsPsr4[$prefix] = array_merge(
    259                 (array) $paths,
     257                $paths,
    260258                $this->prefixDirsPsr4[$prefix]
    261259            );
     
    264262            $this->prefixDirsPsr4[$prefix] = array_merge(
    265263                $this->prefixDirsPsr4[$prefix],
    266                 (array) $paths
     264                $paths
    267265            );
    268266        }
     
    273271     * replacing any others previously set for this prefix.
    274272     *
    275      * @param string          $prefix The prefix
    276      * @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
    277275     *
    278276     * @return void
     
    291289     * replacing any others previously set for this namespace.
    292290     *
    293      * @param string          $prefix The prefix/namespace, with trailing '\\'
    294      * @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
    295293     *
    296294     * @throws \InvalidArgumentException
     
    426424    {
    427425        if ($file = $this->findFile($class)) {
    428             includeFile($file);
     426            $includeFile = self::$includeFile;
     427            $includeFile($file);
    429428
    430429            return true;
     
    477476
    478477    /**
    479      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    480      *
    481      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    482481     */
    483482    public static function getRegisteredLoaders()
     
    556555        return false;
    557556    }
     557
     558    /**
     559     * @return void
     560     */
     561    private static function initializeIncludeClosure()
     562    {
     563        if (self::$includeFile !== null) {
     564            return;
     565        }
     566
     567        /**
     568         * Scope isolated include.
     569         *
     570         * Prevents access to $this/self from included files.
     571         *
     572         * @param  string $file
     573         * @return void
     574         */
     575        self::$includeFile = \Closure::bind(static function($file) {
     576            include $file;
     577        }, null, null);
     578    }
    558579}
    559 
    560 /**
    561  * Scope isolated include.
    562  *
    563  * Prevents access to $this/self from included files.
    564  *
    565  * @param  string $file
    566  * @return void
    567  * @private
    568  */
    569 function includeFile($file)
    570 {
    571     include $file;
    572 }
  • date-today-nepali/tags/3.1.3/vendor/composer/InstalledVersions.php

    r3102610 r3211466  
    2222 *
    2323 * To require its presence, you can require `composer-runtime-api ^2.0`
     24 *
     25 * @final
    2426 */
    2527class InstalledVersions
     
    2729    /**
    2830     * @var mixed[]|null
    29      * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
     31     * @psalm-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[]}>}|array{}|null
    3032     */
    3133    private static $installed;
     
    3840    /**
    3941     * @var array[]
    40      * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     42     * @psalm-var array<string, 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[]}>}>
    4143     */
    4244    private static $installedByVendor = array();
     
    9799        foreach (self::getInstalled() as $installed) {
    98100            if (isset($installed['versions'][$packageName])) {
    99                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    100102            }
    101103        }
     
    118120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    119121    {
    120         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    121123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    122124
     
    242244    /**
    243245     * @return array
    244      * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
     246     * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
    245247     */
    246248    public static function getRootPackage()
     
    256258     * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
    257259     * @return array[]
    258      * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
     260     * @psalm-return 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[]}>}
    259261     */
    260262    public static function getRawData()
     
    279281     *
    280282     * @return array[]
    281      * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     283     * @psalm-return list<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[]}>}>
    282284     */
    283285    public static function getAllRawData()
     
    302304     * @return void
    303305     *
    304      * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
     306     * @psalm-param 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[]}>} $data
    305307     */
    306308    public static function reload($data)
     
    312314    /**
    313315     * @return array[]
    314      * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     316     * @psalm-return list<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[]}>}>
    315317     */
    316318    private static function getInstalled()
     
    321323
    322324        $installed = array();
     325        $copiedLocalDir = false;
    323326
    324327        if (self::$canGetVendors) {
     
    329332                    /** @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 */
    330333                    $required = require $vendorDir.'/composer/installed.php';
    331                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332                     if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333                         self::$installed = $installed[count($installed) - 1];
     334                    self::$installedByVendor[$vendorDir] = $required;
     335                    $installed[] = $required;
     336                    if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
     337                        self::$installed = $required;
     338                        $copiedLocalDir = true;
    334339                    }
    335340                }
     
    349354        }
    350355
    351         if (self::$installed !== array()) {
     356        if (self::$installed !== array() && !$copiedLocalDir) {
    352357            $installed[] = self::$installed;
    353358        }
  • date-today-nepali/tags/3.1.3/vendor/composer/autoload_classmap.php

    r3102610 r3211466  
    33// autoload_classmap.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • date-today-nepali/tags/3.1.3/vendor/composer/autoload_namespaces.php

    r3102610 r3211466  
    33// autoload_namespaces.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • date-today-nepali/tags/3.1.3/vendor/composer/autoload_psr4.php

    r3102610 r3211466  
    33// autoload_psr4.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • date-today-nepali/tags/3.1.3/vendor/composer/autoload_real.php

    r3126759 r3211466  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit7596ad813390228cf44c5bd6970612d7
     5class ComposerAutoloaderInitc47f6eefaa1e541c53bdac64462ff368
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit7596ad813390228cf44c5bd6970612d7', 'loadClassLoader'), true, true);
    28         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit7596ad813390228cf44c5bd6970612d7', 'loadClassLoader'));
     27        spl_autoload_register(array('ComposerAutoloaderInitc47f6eefaa1e541c53bdac64462ff368', 'loadClassLoader'), true, true);
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitc47f6eefaa1e541c53bdac64462ff368', 'loadClassLoader'));
    3030
    31         $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
    32         if ($useStaticLoader) {
    33             require __DIR__ . '/autoload_static.php';
    34 
    35             call_user_func(\Composer\Autoload\ComposerStaticInit7596ad813390228cf44c5bd6970612d7::getInitializer($loader));
    36         } else {
    37             $map = require __DIR__ . '/autoload_namespaces.php';
    38             foreach ($map as $namespace => $path) {
    39                 $loader->set($namespace, $path);
    40             }
    41 
    42             $map = require __DIR__ . '/autoload_psr4.php';
    43             foreach ($map as $namespace => $path) {
    44                 $loader->setPsr4($namespace, $path);
    45             }
    46 
    47             $classMap = require __DIR__ . '/autoload_classmap.php';
    48             if ($classMap) {
    49                 $loader->addClassMap($classMap);
    50             }
    51         }
     31        require __DIR__ . '/autoload_static.php';
     32        call_user_func(\Composer\Autoload\ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368::getInitializer($loader));
    5233
    5334        $loader->register(true);
  • date-today-nepali/tags/3.1.3/vendor/composer/autoload_static.php

    r3126759 r3211466  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit7596ad813390228cf44c5bd6970612d7
     7class ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    5050    {
    5151        return \Closure::bind(function () use ($loader) {
    52             $loader->prefixLengthsPsr4 = ComposerStaticInit7596ad813390228cf44c5bd6970612d7::$prefixLengthsPsr4;
    53             $loader->prefixDirsPsr4 = ComposerStaticInit7596ad813390228cf44c5bd6970612d7::$prefixDirsPsr4;
    54             $loader->classMap = ComposerStaticInit7596ad813390228cf44c5bd6970612d7::$classMap;
     52            $loader->prefixLengthsPsr4 = ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368::$prefixLengthsPsr4;
     53            $loader->prefixDirsPsr4 = ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368::$prefixDirsPsr4;
     54            $loader->classMap = ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368::$classMap;
    5555
    5656        }, null, ClassLoader::class);
  • date-today-nepali/tags/3.1.3/vendor/composer/installed.json

    r3126759 r3211466  
    5454        {
    5555            "name": "ernilambar/wp-admin-notice",
    56             "version": "2.0.0",
    57             "version_normalized": "2.0.0.0",
     56            "version": "2.0.1",
     57            "version_normalized": "2.0.1.0",
    5858            "source": {
    5959                "type": "git",
    6060                "url": "https://github.com/ernilambar/wp-admin-notice.git",
    61                 "reference": "ef71e83f6e82d3224783756426ddb209991e30cb"
     61                "reference": "1649810056fe4072ab470973c61c33182ae7c4aa"
    6262            },
    6363            "dist": {
    6464                "type": "zip",
    65                 "url": "https://api.github.com/repos/ernilambar/wp-admin-notice/zipball/ef71e83f6e82d3224783756426ddb209991e30cb",
    66                 "reference": "ef71e83f6e82d3224783756426ddb209991e30cb",
     65                "url": "https://api.github.com/repos/ernilambar/wp-admin-notice/zipball/1649810056fe4072ab470973c61c33182ae7c4aa",
     66                "reference": "1649810056fe4072ab470973c61c33182ae7c4aa",
    6767                "shasum": ""
    6868            },
     
    7777                "wp-coding-standards/wpcs": "^3.1"
    7878            },
    79             "time": "2024-07-26T10:24:55+00:00",
     79            "time": "2024-08-02T09:51:55+00:00",
    8080            "type": "library",
    8181            "installation-source": "dist",
     
    105105            "support": {
    106106                "issues": "https://github.com/ernilambar/wp-admin-notice/issues/",
    107                 "source": "https://github.com/ernilambar/wp-admin-notice/tree/2.0.0"
     107                "source": "https://github.com/ernilambar/wp-admin-notice/tree/2.0.1"
    108108            },
    109109            "install-path": "../ernilambar/wp-admin-notice"
  • date-today-nepali/tags/3.1.3/vendor/composer/installed.php

    r3126759 r3211466  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => 'dev-main',
    4         'version' => 'dev-main',
     3        'name' => 'ernilambar/date-today-nepali',
     4        'pretty_version' => '3.1.3',
     5        'version' => '3.1.3.0',
     6        'reference' => '32645cf95473ae0c4bfa8b67b9eb5ec5761ac53b',
    57        'type' => 'library',
    68        'install_path' => __DIR__ . '/../../',
    79        'aliases' => array(),
    8         'reference' => '7701f7503d630ce5ab1829ac1309faf6b9a871cc',
    9         'name' => 'ernilambar/date-today-nepali',
    1010        'dev' => false,
    1111    ),
    1212    'versions' => array(
    1313        'ernilambar/date-today-nepali' => array(
    14             'pretty_version' => 'dev-main',
    15             'version' => 'dev-main',
     14            'pretty_version' => '3.1.3',
     15            'version' => '3.1.3.0',
     16            'reference' => '32645cf95473ae0c4bfa8b67b9eb5ec5761ac53b',
    1617            'type' => 'library',
    1718            'install_path' => __DIR__ . '/../../',
    1819            'aliases' => array(),
    19             'reference' => '7701f7503d630ce5ab1829ac1309faf6b9a871cc',
    2020            'dev_requirement' => false,
    2121        ),
     
    2323            'pretty_version' => '1.0.7',
    2424            'version' => '1.0.7.0',
     25            'reference' => '886dcb25b10760b4f9c35083d0a1d3ef6fb98584',
    2526            'type' => 'library',
    2627            'install_path' => __DIR__ . '/../ernilambar/nepali-date',
    2728            'aliases' => array(),
    28             'reference' => '886dcb25b10760b4f9c35083d0a1d3ef6fb98584',
    2929            'dev_requirement' => false,
    3030        ),
    3131        'ernilambar/wp-admin-notice' => array(
    32             'pretty_version' => '2.0.0',
    33             'version' => '2.0.0.0',
     32            'pretty_version' => '2.0.1',
     33            'version' => '2.0.1.0',
     34            'reference' => '1649810056fe4072ab470973c61c33182ae7c4aa',
    3435            'type' => 'library',
    3536            'install_path' => __DIR__ . '/../ernilambar/wp-admin-notice',
    3637            'aliases' => array(),
    37             'reference' => 'ef71e83f6e82d3224783756426ddb209991e30cb',
    3838            'dev_requirement' => false,
    3939        ),
     
    4141            'pretty_version' => '2.0.2',
    4242            'version' => '2.0.2.0',
     43            'reference' => '18e12741f799f60875e13fee454ee037694472e7',
    4344            'type' => 'library',
    4445            'install_path' => __DIR__ . '/../ernilambar/wp-welcome',
    4546            'aliases' => array(),
    46             'reference' => '18e12741f799f60875e13fee454ee037694472e7',
    4747            'dev_requirement' => false,
    4848        ),
  • date-today-nepali/tags/3.1.3/vendor/ernilambar/wp-admin-notice/composer.json

    r3126759 r3211466  
    4747  },
    4848  "scripts": {
     49    "format": "@php ./vendor/bin/phpcbf --report-full --report-summary",
    4950    "lint": [
    5051      "@lint-php",
     
    5253    ],
    5354    "lint-php": "@php ./vendor/bin/parallel-lint --colors --exclude .git --exclude vendor .",
    54     "phpcbf": "@php ./vendor/bin/phpcbf --report-full --report-summary .",
    55     "phpcs": "@php ./vendor/bin/phpcs --report-full --report-summary ."
     55    "phpcs": "@php ./vendor/bin/phpcs --report-full --report-summary"
    5656  }
    5757}
  • date-today-nepali/trunk/app/Core/Core.php

    r3123757 r3211466  
    1616 */
    1717class Core {
     18
    1819    /**
    1920     * Register.
     
    2223     */
    2324    public function register() {
    24         add_action( 'plugins_loaded', [ $this, 'load_textdomain' ] );
    2525        add_action( 'widgets_init', [ $this, 'register_widgets' ] );
    26     }
    27 
    28     /**
    29      * Load plugin textdomain.
    30      *
    31      * @since 1.0.0
    32      */
    33     public function load_textdomain() {
    34         load_plugin_textdomain( 'date-today-nepali' );
    3526    }
    3627
  • date-today-nepali/trunk/build/block.json

    r3126759 r3211466  
    33  "apiVersion": 2,
    44  "name": "date-today-nepali/date",
    5   "version": "3.1.1",
     5  "version": "3.1.3",
    66  "title": "Date Today Nepali",
    77  "category": "widgets",
  • date-today-nepali/trunk/date-today-nepali.php

    r3126759 r3211466  
    44 * Plugin URI: https://www.nilambar.net/2013/10/date-today-nepali-wordpress-plugin.html
    55 * Description: A small widget plugin to display Nepali date.
    6  * Version: 3.1.2
     6 * Version: 3.1.3
    77 * Requires at least: 6.3
    88 * Requires PHP: 7.2
     
    2424}
    2525
    26 define( 'DATE_TODAY_NEPALI_VERSION', '3.1.2' );
     26define( 'DATE_TODAY_NEPALI_VERSION', '3.1.3' );
    2727define( 'DATE_TODAY_NEPALI_BASE_NAME', basename( __DIR__ ) );
    2828define( 'DATE_TODAY_NEPALI_BASE_FILEPATH', __FILE__ );
  • date-today-nepali/trunk/languages/date-today-nepali.pot

    r3126759 r3211466  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Date Today Nepali 3.1.2\n"
     5"Project-Id-Version: Date Today Nepali 3.1.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/date-today-nepali\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1212"POT-Creation-Date: \n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.10.0\n"
     14"X-Generator: WP-CLI 2.11.0\n"
    1515"X-Domain: date-today-nepali\n"
    1616
  • date-today-nepali/trunk/vendor/autoload.php

    r3126759 r3211466  
    33// autoload.php @generated by Composer
    44
     5if (PHP_VERSION_ID < 50600) {
     6    if (!headers_sent()) {
     7        header('HTTP/1.1 500 Internal Server Error');
     8    }
     9    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
     10    if (!ini_get('display_errors')) {
     11        if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
     12            fwrite(STDERR, $err);
     13        } elseif (!headers_sent()) {
     14            echo $err;
     15        }
     16    }
     17    trigger_error(
     18        $err,
     19        E_USER_ERROR
     20    );
     21}
     22
    523require_once __DIR__ . '/composer/autoload_real.php';
    624
    7 return ComposerAutoloaderInit7596ad813390228cf44c5bd6970612d7::getLoader();
     25return ComposerAutoloaderInitc47f6eefaa1e541c53bdac64462ff368::getLoader();
  • date-today-nepali/trunk/vendor/composer/ClassLoader.php

    r3102610 r3211466  
    4343class ClassLoader
    4444{
    45     /** @var ?string */
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
     48    /** @var string|null */
    4649    private $vendorDir;
    4750
    4851    // PSR-4
    4952    /**
    50      * @var array[]
    51      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5254     */
    5355    private $prefixLengthsPsr4 = array();
    5456    /**
    55      * @var array[]
    56      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    5758     */
    5859    private $prefixDirsPsr4 = array();
    5960    /**
    60      * @var array[]
    61      * @psalm-var array<string, string>
     61     * @var list<string>
    6262     */
    6363    private $fallbackDirsPsr4 = array();
     
    6565    // PSR-0
    6666    /**
    67      * @var array[]
    68      * @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>>>
    6972     */
    7073    private $prefixesPsr0 = array();
    7174    /**
    72      * @var array[]
    73      * @psalm-var array<string, string>
     75     * @var list<string>
    7476     */
    7577    private $fallbackDirsPsr0 = array();
     
    7981
    8082    /**
    81      * @var string[]
    82      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8384     */
    8485    private $classMap = array();
     
    8889
    8990    /**
    90      * @var bool[]
    91      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9292     */
    9393    private $missingClasses = array();
    9494
    95     /** @var ?string */
     95    /** @var string|null */
    9696    private $apcuPrefix;
    9797
    9898    /**
    99      * @var self[]
     99     * @var array<string, self>
    100100     */
    101101    private static $registeredLoaders = array();
    102102
    103103    /**
    104      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    105105     */
    106106    public function __construct($vendorDir = null)
    107107    {
    108108        $this->vendorDir = $vendorDir;
    109     }
    110 
    111     /**
    112      * @return string[]
     109        self::initializeIncludeClosure();
     110    }
     111
     112    /**
     113     * @return array<string, list<string>>
    113114     */
    114115    public function getPrefixes()
     
    122123
    123124    /**
    124      * @return array[]
    125      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    126126     */
    127127    public function getPrefixesPsr4()
     
    131131
    132132    /**
    133      * @return array[]
    134      * @psalm-return array<string, string>
     133     * @return list<string>
    135134     */
    136135    public function getFallbackDirs()
     
    140139
    141140    /**
    142      * @return array[]
    143      * @psalm-return array<string, string>
     141     * @return list<string>
    144142     */
    145143    public function getFallbackDirsPsr4()
     
    149147
    150148    /**
    151      * @return string[] Array of classname => path
    152      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    153150     */
    154151    public function getClassMap()
     
    158155
    159156    /**
    160      * @param string[] $classMap Class to filename map
    161      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    162158     *
    163159     * @return void
     
    176172     * appending or prepending to the ones previously set for this prefix.
    177173     *
    178      * @param string          $prefix  The prefix
    179      * @param string[]|string $paths   The PSR-0 root directories
    180      * @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
    181177     *
    182178     * @return void
     
    184180    public function add($prefix, $paths, $prepend = false)
    185181    {
     182        $paths = (array) $paths;
    186183        if (!$prefix) {
    187184            if ($prepend) {
    188185                $this->fallbackDirsPsr0 = array_merge(
    189                     (array) $paths,
     186                    $paths,
    190187                    $this->fallbackDirsPsr0
    191188                );
     
    193190                $this->fallbackDirsPsr0 = array_merge(
    194191                    $this->fallbackDirsPsr0,
    195                     (array) $paths
     192                    $paths
    196193                );
    197194            }
     
    202199        $first = $prefix[0];
    203200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    204             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    205202
    206203            return;
     
    208205        if ($prepend) {
    209206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    210                 (array) $paths,
     207                $paths,
    211208                $this->prefixesPsr0[$first][$prefix]
    212209            );
     
    214211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    215212                $this->prefixesPsr0[$first][$prefix],
    216                 (array) $paths
     213                $paths
    217214            );
    218215        }
     
    223220     * appending or prepending to the ones previously set for this namespace.
    224221     *
    225      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    226      * @param string[]|string $paths   The PSR-4 base directories
    227      * @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
    228225     *
    229226     * @throws \InvalidArgumentException
     
    233230    public function addPsr4($prefix, $paths, $prepend = false)
    234231    {
     232        $paths = (array) $paths;
    235233        if (!$prefix) {
    236234            // Register directories for the root namespace.
    237235            if ($prepend) {
    238236                $this->fallbackDirsPsr4 = array_merge(
    239                     (array) $paths,
     237                    $paths,
    240238                    $this->fallbackDirsPsr4
    241239                );
     
    243241                $this->fallbackDirsPsr4 = array_merge(
    244242                    $this->fallbackDirsPsr4,
    245                     (array) $paths
     243                    $paths
    246244                );
    247245            }
     
    253251            }
    254252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    255             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    256254        } elseif ($prepend) {
    257255            // Prepend directories for an already registered namespace.
    258256            $this->prefixDirsPsr4[$prefix] = array_merge(
    259                 (array) $paths,
     257                $paths,
    260258                $this->prefixDirsPsr4[$prefix]
    261259            );
     
    264262            $this->prefixDirsPsr4[$prefix] = array_merge(
    265263                $this->prefixDirsPsr4[$prefix],
    266                 (array) $paths
     264                $paths
    267265            );
    268266        }
     
    273271     * replacing any others previously set for this prefix.
    274272     *
    275      * @param string          $prefix The prefix
    276      * @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
    277275     *
    278276     * @return void
     
    291289     * replacing any others previously set for this namespace.
    292290     *
    293      * @param string          $prefix The prefix/namespace, with trailing '\\'
    294      * @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
    295293     *
    296294     * @throws \InvalidArgumentException
     
    426424    {
    427425        if ($file = $this->findFile($class)) {
    428             includeFile($file);
     426            $includeFile = self::$includeFile;
     427            $includeFile($file);
    429428
    430429            return true;
     
    477476
    478477    /**
    479      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    480      *
    481      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    482481     */
    483482    public static function getRegisteredLoaders()
     
    556555        return false;
    557556    }
     557
     558    /**
     559     * @return void
     560     */
     561    private static function initializeIncludeClosure()
     562    {
     563        if (self::$includeFile !== null) {
     564            return;
     565        }
     566
     567        /**
     568         * Scope isolated include.
     569         *
     570         * Prevents access to $this/self from included files.
     571         *
     572         * @param  string $file
     573         * @return void
     574         */
     575        self::$includeFile = \Closure::bind(static function($file) {
     576            include $file;
     577        }, null, null);
     578    }
    558579}
    559 
    560 /**
    561  * Scope isolated include.
    562  *
    563  * Prevents access to $this/self from included files.
    564  *
    565  * @param  string $file
    566  * @return void
    567  * @private
    568  */
    569 function includeFile($file)
    570 {
    571     include $file;
    572 }
  • date-today-nepali/trunk/vendor/composer/InstalledVersions.php

    r3102610 r3211466  
    2222 *
    2323 * To require its presence, you can require `composer-runtime-api ^2.0`
     24 *
     25 * @final
    2426 */
    2527class InstalledVersions
     
    2729    /**
    2830     * @var mixed[]|null
    29      * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
     31     * @psalm-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[]}>}|array{}|null
    3032     */
    3133    private static $installed;
     
    3840    /**
    3941     * @var array[]
    40      * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     42     * @psalm-var array<string, 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[]}>}>
    4143     */
    4244    private static $installedByVendor = array();
     
    9799        foreach (self::getInstalled() as $installed) {
    98100            if (isset($installed['versions'][$packageName])) {
    99                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    100102            }
    101103        }
     
    118120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    119121    {
    120         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    121123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    122124
     
    242244    /**
    243245     * @return array
    244      * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
     246     * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
    245247     */
    246248    public static function getRootPackage()
     
    256258     * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
    257259     * @return array[]
    258      * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
     260     * @psalm-return 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[]}>}
    259261     */
    260262    public static function getRawData()
     
    279281     *
    280282     * @return array[]
    281      * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     283     * @psalm-return list<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[]}>}>
    282284     */
    283285    public static function getAllRawData()
     
    302304     * @return void
    303305     *
    304      * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
     306     * @psalm-param 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[]}>} $data
    305307     */
    306308    public static function reload($data)
     
    312314    /**
    313315     * @return array[]
    314      * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     316     * @psalm-return list<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[]}>}>
    315317     */
    316318    private static function getInstalled()
     
    321323
    322324        $installed = array();
     325        $copiedLocalDir = false;
    323326
    324327        if (self::$canGetVendors) {
     
    329332                    /** @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 */
    330333                    $required = require $vendorDir.'/composer/installed.php';
    331                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332                     if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333                         self::$installed = $installed[count($installed) - 1];
     334                    self::$installedByVendor[$vendorDir] = $required;
     335                    $installed[] = $required;
     336                    if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
     337                        self::$installed = $required;
     338                        $copiedLocalDir = true;
    334339                    }
    335340                }
     
    349354        }
    350355
    351         if (self::$installed !== array()) {
     356        if (self::$installed !== array() && !$copiedLocalDir) {
    352357            $installed[] = self::$installed;
    353358        }
  • date-today-nepali/trunk/vendor/composer/autoload_classmap.php

    r3102610 r3211466  
    33// autoload_classmap.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • date-today-nepali/trunk/vendor/composer/autoload_namespaces.php

    r3102610 r3211466  
    33// autoload_namespaces.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • date-today-nepali/trunk/vendor/composer/autoload_psr4.php

    r3102610 r3211466  
    33// autoload_psr4.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • date-today-nepali/trunk/vendor/composer/autoload_real.php

    r3126759 r3211466  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit7596ad813390228cf44c5bd6970612d7
     5class ComposerAutoloaderInitc47f6eefaa1e541c53bdac64462ff368
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit7596ad813390228cf44c5bd6970612d7', 'loadClassLoader'), true, true);
    28         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit7596ad813390228cf44c5bd6970612d7', 'loadClassLoader'));
     27        spl_autoload_register(array('ComposerAutoloaderInitc47f6eefaa1e541c53bdac64462ff368', 'loadClassLoader'), true, true);
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitc47f6eefaa1e541c53bdac64462ff368', 'loadClassLoader'));
    3030
    31         $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
    32         if ($useStaticLoader) {
    33             require __DIR__ . '/autoload_static.php';
    34 
    35             call_user_func(\Composer\Autoload\ComposerStaticInit7596ad813390228cf44c5bd6970612d7::getInitializer($loader));
    36         } else {
    37             $map = require __DIR__ . '/autoload_namespaces.php';
    38             foreach ($map as $namespace => $path) {
    39                 $loader->set($namespace, $path);
    40             }
    41 
    42             $map = require __DIR__ . '/autoload_psr4.php';
    43             foreach ($map as $namespace => $path) {
    44                 $loader->setPsr4($namespace, $path);
    45             }
    46 
    47             $classMap = require __DIR__ . '/autoload_classmap.php';
    48             if ($classMap) {
    49                 $loader->addClassMap($classMap);
    50             }
    51         }
     31        require __DIR__ . '/autoload_static.php';
     32        call_user_func(\Composer\Autoload\ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368::getInitializer($loader));
    5233
    5334        $loader->register(true);
  • date-today-nepali/trunk/vendor/composer/autoload_static.php

    r3126759 r3211466  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit7596ad813390228cf44c5bd6970612d7
     7class ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    5050    {
    5151        return \Closure::bind(function () use ($loader) {
    52             $loader->prefixLengthsPsr4 = ComposerStaticInit7596ad813390228cf44c5bd6970612d7::$prefixLengthsPsr4;
    53             $loader->prefixDirsPsr4 = ComposerStaticInit7596ad813390228cf44c5bd6970612d7::$prefixDirsPsr4;
    54             $loader->classMap = ComposerStaticInit7596ad813390228cf44c5bd6970612d7::$classMap;
     52            $loader->prefixLengthsPsr4 = ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368::$prefixLengthsPsr4;
     53            $loader->prefixDirsPsr4 = ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368::$prefixDirsPsr4;
     54            $loader->classMap = ComposerStaticInitc47f6eefaa1e541c53bdac64462ff368::$classMap;
    5555
    5656        }, null, ClassLoader::class);
  • date-today-nepali/trunk/vendor/composer/installed.json

    r3126759 r3211466  
    5454        {
    5555            "name": "ernilambar/wp-admin-notice",
    56             "version": "2.0.0",
    57             "version_normalized": "2.0.0.0",
     56            "version": "2.0.1",
     57            "version_normalized": "2.0.1.0",
    5858            "source": {
    5959                "type": "git",
    6060                "url": "https://github.com/ernilambar/wp-admin-notice.git",
    61                 "reference": "ef71e83f6e82d3224783756426ddb209991e30cb"
     61                "reference": "1649810056fe4072ab470973c61c33182ae7c4aa"
    6262            },
    6363            "dist": {
    6464                "type": "zip",
    65                 "url": "https://api.github.com/repos/ernilambar/wp-admin-notice/zipball/ef71e83f6e82d3224783756426ddb209991e30cb",
    66                 "reference": "ef71e83f6e82d3224783756426ddb209991e30cb",
     65                "url": "https://api.github.com/repos/ernilambar/wp-admin-notice/zipball/1649810056fe4072ab470973c61c33182ae7c4aa",
     66                "reference": "1649810056fe4072ab470973c61c33182ae7c4aa",
    6767                "shasum": ""
    6868            },
     
    7777                "wp-coding-standards/wpcs": "^3.1"
    7878            },
    79             "time": "2024-07-26T10:24:55+00:00",
     79            "time": "2024-08-02T09:51:55+00:00",
    8080            "type": "library",
    8181            "installation-source": "dist",
     
    105105            "support": {
    106106                "issues": "https://github.com/ernilambar/wp-admin-notice/issues/",
    107                 "source": "https://github.com/ernilambar/wp-admin-notice/tree/2.0.0"
     107                "source": "https://github.com/ernilambar/wp-admin-notice/tree/2.0.1"
    108108            },
    109109            "install-path": "../ernilambar/wp-admin-notice"
  • date-today-nepali/trunk/vendor/composer/installed.php

    r3126759 r3211466  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => 'dev-main',
    4         'version' => 'dev-main',
     3        'name' => 'ernilambar/date-today-nepali',
     4        'pretty_version' => '3.1.3',
     5        'version' => '3.1.3.0',
     6        'reference' => '32645cf95473ae0c4bfa8b67b9eb5ec5761ac53b',
    57        'type' => 'library',
    68        'install_path' => __DIR__ . '/../../',
    79        'aliases' => array(),
    8         'reference' => '7701f7503d630ce5ab1829ac1309faf6b9a871cc',
    9         'name' => 'ernilambar/date-today-nepali',
    1010        'dev' => false,
    1111    ),
    1212    'versions' => array(
    1313        'ernilambar/date-today-nepali' => array(
    14             'pretty_version' => 'dev-main',
    15             'version' => 'dev-main',
     14            'pretty_version' => '3.1.3',
     15            'version' => '3.1.3.0',
     16            'reference' => '32645cf95473ae0c4bfa8b67b9eb5ec5761ac53b',
    1617            'type' => 'library',
    1718            'install_path' => __DIR__ . '/../../',
    1819            'aliases' => array(),
    19             'reference' => '7701f7503d630ce5ab1829ac1309faf6b9a871cc',
    2020            'dev_requirement' => false,
    2121        ),
     
    2323            'pretty_version' => '1.0.7',
    2424            'version' => '1.0.7.0',
     25            'reference' => '886dcb25b10760b4f9c35083d0a1d3ef6fb98584',
    2526            'type' => 'library',
    2627            'install_path' => __DIR__ . '/../ernilambar/nepali-date',
    2728            'aliases' => array(),
    28             'reference' => '886dcb25b10760b4f9c35083d0a1d3ef6fb98584',
    2929            'dev_requirement' => false,
    3030        ),
    3131        'ernilambar/wp-admin-notice' => array(
    32             'pretty_version' => '2.0.0',
    33             'version' => '2.0.0.0',
     32            'pretty_version' => '2.0.1',
     33            'version' => '2.0.1.0',
     34            'reference' => '1649810056fe4072ab470973c61c33182ae7c4aa',
    3435            'type' => 'library',
    3536            'install_path' => __DIR__ . '/../ernilambar/wp-admin-notice',
    3637            'aliases' => array(),
    37             'reference' => 'ef71e83f6e82d3224783756426ddb209991e30cb',
    3838            'dev_requirement' => false,
    3939        ),
     
    4141            'pretty_version' => '2.0.2',
    4242            'version' => '2.0.2.0',
     43            'reference' => '18e12741f799f60875e13fee454ee037694472e7',
    4344            'type' => 'library',
    4445            'install_path' => __DIR__ . '/../ernilambar/wp-welcome',
    4546            'aliases' => array(),
    46             'reference' => '18e12741f799f60875e13fee454ee037694472e7',
    4747            'dev_requirement' => false,
    4848        ),
  • date-today-nepali/trunk/vendor/ernilambar/wp-admin-notice/composer.json

    r3126759 r3211466  
    4747  },
    4848  "scripts": {
     49    "format": "@php ./vendor/bin/phpcbf --report-full --report-summary",
    4950    "lint": [
    5051      "@lint-php",
     
    5253    ],
    5354    "lint-php": "@php ./vendor/bin/parallel-lint --colors --exclude .git --exclude vendor .",
    54     "phpcbf": "@php ./vendor/bin/phpcbf --report-full --report-summary .",
    55     "phpcs": "@php ./vendor/bin/phpcs --report-full --report-summary ."
     55    "phpcs": "@php ./vendor/bin/phpcs --report-full --report-summary"
    5656  }
    5757}
Note: See TracChangeset for help on using the changeset viewer.