Plugin Directory

Changeset 2859537


Ignore:
Timestamp:
02/03/2023 10:43:15 AM (3 years ago)
Author:
seebeen
Message:

Update to version 1.1.0 from GitHub

Location:
wc-serbian-nestpay
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wc-serbian-nestpay/tags/1.1.0/lib/Utils/transaction.php

    r2740453 r2859537  
    5555        'mdStatus'       => __( '3D Status', 'wc-serbian-nestpay' ),
    5656        'MaskedPan'      => __( 'Payment card number', 'wc-serbian-nestpay' ),
     57        'EXTRA_TRXDATE'  => __( 'Transaction date', 'wc-serbian-nestpay' ),
    5758    );
    5859
  • wc-serbian-nestpay/tags/1.1.0/readme.txt

    r2740453 r2859537  
    11=== Payment gateway NestPay for WooCommerce ===
    2 Contributors: oblakstudio, seebeen
     2Contributors: oblakstudio, misticx
    33Donate link: https://srbizasrbe.org
    4 Tags: serbia, woocommerce, woocommerce-serbia, nestpay
     4Tags: woocommerce, nestpay
    55Requires at least: 5.9
    66Tested up to: 6.0
    77Requires PHP: 7.3
    8 Stable tag: 1.0.01.0.0
     8Stable tag: 1.1.01.0.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wc-serbian-nestpay/tags/1.1.0/vendor/autoload.php

    r2740453 r2859537  
    44
    55if (PHP_VERSION_ID < 50600) {
    6     echo '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;
    7     exit(1);
     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    );
    821}
    922
    1023require_once __DIR__ . '/composer/autoload_real.php';
    1124
    12 return ComposerAutoloaderInit9de5a1b1a891a898b2275c9e2dd4a2d8::getLoader();
     25return ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa::getLoader();
  • wc-serbian-nestpay/tags/1.1.0/vendor/composer/ClassLoader.php

    r2740453 r2859537  
    4343class ClassLoader
    4444{
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
    4548    /** @var ?string */
    4649    private $vendorDir;
     
    107110    {
    108111        $this->vendorDir = $vendorDir;
     112        self::initializeIncludeClosure();
    109113    }
    110114
     
    426430    {
    427431        if ($file = $this->findFile($class)) {
    428             includeFile($file);
     432            (self::$includeFile)($file);
    429433
    430434            return true;
     
    556560        return false;
    557561    }
     562
     563    private static function initializeIncludeClosure(): void
     564    {
     565        if (self::$includeFile !== null) {
     566            return;
     567        }
     568
     569        /**
     570         * Scope isolated include.
     571         *
     572         * Prevents access to $this/self from included files.
     573         *
     574         * @param  string $file
     575         * @return void
     576         */
     577        self::$includeFile = static function($file) {
     578            include $file;
     579        };
     580    }
    558581}
    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 }
  • wc-serbian-nestpay/tags/1.1.0/vendor/composer/autoload_real.php

    r2740453 r2859537  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit9de5a1b1a891a898b2275c9e2dd4a2d8
     5class ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit9de5a1b1a891a898b2275c9e2dd4a2d8', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit9de5a1b1a891a898b2275c9e2dd4a2d8', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::getInitializer($loader));
    3333
    3434        $loader->setClassMapAuthoritative(true);
  • wc-serbian-nestpay/tags/1.1.0/vendor/composer/autoload_static.php

    r2740453 r2859537  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8
     7class ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    5858    {
    5959        return \Closure::bind(function () use ($loader) {
    60             $loader->prefixLengthsPsr4 = ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8::$prefixLengthsPsr4;
    61             $loader->prefixDirsPsr4 = ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8::$prefixDirsPsr4;
    62             $loader->classMap = ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8::$classMap;
     60            $loader->prefixLengthsPsr4 = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$prefixLengthsPsr4;
     61            $loader->prefixDirsPsr4 = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$prefixDirsPsr4;
     62            $loader->classMap = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$classMap;
    6363
    6464        }, null, ClassLoader::class);
  • wc-serbian-nestpay/trunk/lib/Utils/transaction.php

    r2740453 r2859537  
    5555        'mdStatus'       => __( '3D Status', 'wc-serbian-nestpay' ),
    5656        'MaskedPan'      => __( 'Payment card number', 'wc-serbian-nestpay' ),
     57        'EXTRA_TRXDATE'  => __( 'Transaction date', 'wc-serbian-nestpay' ),
    5758    );
    5859
  • wc-serbian-nestpay/trunk/readme.txt

    r2740453 r2859537  
    11=== Payment gateway NestPay for WooCommerce ===
    2 Contributors: oblakstudio, seebeen
     2Contributors: oblakstudio, misticx
    33Donate link: https://srbizasrbe.org
    4 Tags: serbia, woocommerce, woocommerce-serbia, nestpay
     4Tags: woocommerce, nestpay
    55Requires at least: 5.9
    66Tested up to: 6.0
    77Requires PHP: 7.3
    8 Stable tag: 1.0.01.0.0
     8Stable tag: 1.1.01.0.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wc-serbian-nestpay/trunk/vendor/autoload.php

    r2740453 r2859537  
    44
    55if (PHP_VERSION_ID < 50600) {
    6     echo '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;
    7     exit(1);
     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    );
    821}
    922
    1023require_once __DIR__ . '/composer/autoload_real.php';
    1124
    12 return ComposerAutoloaderInit9de5a1b1a891a898b2275c9e2dd4a2d8::getLoader();
     25return ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa::getLoader();
  • wc-serbian-nestpay/trunk/vendor/composer/ClassLoader.php

    r2740453 r2859537  
    4343class ClassLoader
    4444{
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
    4548    /** @var ?string */
    4649    private $vendorDir;
     
    107110    {
    108111        $this->vendorDir = $vendorDir;
     112        self::initializeIncludeClosure();
    109113    }
    110114
     
    426430    {
    427431        if ($file = $this->findFile($class)) {
    428             includeFile($file);
     432            (self::$includeFile)($file);
    429433
    430434            return true;
     
    556560        return false;
    557561    }
     562
     563    private static function initializeIncludeClosure(): void
     564    {
     565        if (self::$includeFile !== null) {
     566            return;
     567        }
     568
     569        /**
     570         * Scope isolated include.
     571         *
     572         * Prevents access to $this/self from included files.
     573         *
     574         * @param  string $file
     575         * @return void
     576         */
     577        self::$includeFile = static function($file) {
     578            include $file;
     579        };
     580    }
    558581}
    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 }
  • wc-serbian-nestpay/trunk/vendor/composer/autoload_real.php

    r2740453 r2859537  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit9de5a1b1a891a898b2275c9e2dd4a2d8
     5class ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit9de5a1b1a891a898b2275c9e2dd4a2d8', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit9de5a1b1a891a898b2275c9e2dd4a2d8', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::getInitializer($loader));
    3333
    3434        $loader->setClassMapAuthoritative(true);
  • wc-serbian-nestpay/trunk/vendor/composer/autoload_static.php

    r2740453 r2859537  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8
     7class ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    5858    {
    5959        return \Closure::bind(function () use ($loader) {
    60             $loader->prefixLengthsPsr4 = ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8::$prefixLengthsPsr4;
    61             $loader->prefixDirsPsr4 = ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8::$prefixDirsPsr4;
    62             $loader->classMap = ComposerStaticInit9de5a1b1a891a898b2275c9e2dd4a2d8::$classMap;
     60            $loader->prefixLengthsPsr4 = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$prefixLengthsPsr4;
     61            $loader->prefixDirsPsr4 = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$prefixDirsPsr4;
     62            $loader->classMap = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$classMap;
    6363
    6464        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.