Changeset 2859537
- Timestamp:
- 02/03/2023 10:43:15 AM (3 years ago)
- Location:
- wc-serbian-nestpay
- Files:
-
- 12 edited
- 1 copied
-
tags/1.1.0 (copied) (copied from wc-serbian-nestpay/trunk)
-
tags/1.1.0/lib/Utils/transaction.php (modified) (1 diff)
-
tags/1.1.0/readme.txt (modified) (1 diff)
-
tags/1.1.0/vendor/autoload.php (modified) (1 diff)
-
tags/1.1.0/vendor/composer/ClassLoader.php (modified) (4 diffs)
-
tags/1.1.0/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/1.1.0/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/lib/Utils/transaction.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/ClassLoader.php (modified) (4 diffs)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-serbian-nestpay/tags/1.1.0/lib/Utils/transaction.php
r2740453 r2859537 55 55 'mdStatus' => __( '3D Status', 'wc-serbian-nestpay' ), 56 56 'MaskedPan' => __( 'Payment card number', 'wc-serbian-nestpay' ), 57 'EXTRA_TRXDATE' => __( 'Transaction date', 'wc-serbian-nestpay' ), 57 58 ); 58 59 -
wc-serbian-nestpay/tags/1.1.0/readme.txt
r2740453 r2859537 1 1 === Payment gateway NestPay for WooCommerce === 2 Contributors: oblakstudio, seebeen2 Contributors: oblakstudio, misticx 3 3 Donate link: https://srbizasrbe.org 4 Tags: serbia, woocommerce, woocommerce-serbia, nestpay4 Tags: woocommerce, nestpay 5 5 Requires at least: 5.9 6 6 Tested up to: 6.0 7 7 Requires PHP: 7.3 8 Stable tag: 1. 0.01.0.08 Stable tag: 1.1.01.0.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wc-serbian-nestpay/tags/1.1.0/vendor/autoload.php
r2740453 r2859537 4 4 5 5 if (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 ); 8 21 } 9 22 10 23 require_once __DIR__ . '/composer/autoload_real.php'; 11 24 12 return ComposerAutoloaderInit 9de5a1b1a891a898b2275c9e2dd4a2d8::getLoader();25 return ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa::getLoader(); -
wc-serbian-nestpay/tags/1.1.0/vendor/composer/ClassLoader.php
r2740453 r2859537 43 43 class ClassLoader 44 44 { 45 /** @var \Closure(string):void */ 46 private static $includeFile; 47 45 48 /** @var ?string */ 46 49 private $vendorDir; … … 107 110 { 108 111 $this->vendorDir = $vendorDir; 112 self::initializeIncludeClosure(); 109 113 } 110 114 … … 426 430 { 427 431 if ($file = $this->findFile($class)) { 428 includeFile($file);432 (self::$includeFile)($file); 429 433 430 434 return true; … … 556 560 return false; 557 561 } 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 } 558 581 } 559 560 /**561 * Scope isolated include.562 *563 * Prevents access to $this/self from included files.564 *565 * @param string $file566 * @return void567 * @private568 */569 function includeFile($file)570 {571 include $file;572 } -
wc-serbian-nestpay/tags/1.1.0/vendor/composer/autoload_real.php
r2740453 r2859537 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 9de5a1b1a891a898b2275c9e2dd4a2d85 class ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 9de5a1b1a891a898b2275c9e2dd4a2d8', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 9de5a1b1a891a898b2275c9e2dd4a2d8', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d8::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::getInitializer($loader)); 33 33 34 34 $loader->setClassMapAuthoritative(true); -
wc-serbian-nestpay/tags/1.1.0/vendor/composer/autoload_static.php
r2740453 r2859537 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d87 class ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 58 58 { 59 59 return \Closure::bind(function () use ($loader) { 60 $loader->prefixLengthsPsr4 = ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d8::$prefixLengthsPsr4;61 $loader->prefixDirsPsr4 = ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d8::$prefixDirsPsr4;62 $loader->classMap = ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d8::$classMap;60 $loader->prefixLengthsPsr4 = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$prefixLengthsPsr4; 61 $loader->prefixDirsPsr4 = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$prefixDirsPsr4; 62 $loader->classMap = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$classMap; 63 63 64 64 }, null, ClassLoader::class); -
wc-serbian-nestpay/trunk/lib/Utils/transaction.php
r2740453 r2859537 55 55 'mdStatus' => __( '3D Status', 'wc-serbian-nestpay' ), 56 56 'MaskedPan' => __( 'Payment card number', 'wc-serbian-nestpay' ), 57 'EXTRA_TRXDATE' => __( 'Transaction date', 'wc-serbian-nestpay' ), 57 58 ); 58 59 -
wc-serbian-nestpay/trunk/readme.txt
r2740453 r2859537 1 1 === Payment gateway NestPay for WooCommerce === 2 Contributors: oblakstudio, seebeen2 Contributors: oblakstudio, misticx 3 3 Donate link: https://srbizasrbe.org 4 Tags: serbia, woocommerce, woocommerce-serbia, nestpay4 Tags: woocommerce, nestpay 5 5 Requires at least: 5.9 6 6 Tested up to: 6.0 7 7 Requires PHP: 7.3 8 Stable tag: 1. 0.01.0.08 Stable tag: 1.1.01.0.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wc-serbian-nestpay/trunk/vendor/autoload.php
r2740453 r2859537 4 4 5 5 if (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 ); 8 21 } 9 22 10 23 require_once __DIR__ . '/composer/autoload_real.php'; 11 24 12 return ComposerAutoloaderInit 9de5a1b1a891a898b2275c9e2dd4a2d8::getLoader();25 return ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa::getLoader(); -
wc-serbian-nestpay/trunk/vendor/composer/ClassLoader.php
r2740453 r2859537 43 43 class ClassLoader 44 44 { 45 /** @var \Closure(string):void */ 46 private static $includeFile; 47 45 48 /** @var ?string */ 46 49 private $vendorDir; … … 107 110 { 108 111 $this->vendorDir = $vendorDir; 112 self::initializeIncludeClosure(); 109 113 } 110 114 … … 426 430 { 427 431 if ($file = $this->findFile($class)) { 428 includeFile($file);432 (self::$includeFile)($file); 429 433 430 434 return true; … … 556 560 return false; 557 561 } 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 } 558 581 } 559 560 /**561 * Scope isolated include.562 *563 * Prevents access to $this/self from included files.564 *565 * @param string $file566 * @return void567 * @private568 */569 function includeFile($file)570 {571 include $file;572 } -
wc-serbian-nestpay/trunk/vendor/composer/autoload_real.php
r2740453 r2859537 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 9de5a1b1a891a898b2275c9e2dd4a2d85 class ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 9de5a1b1a891a898b2275c9e2dd4a2d8', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 9de5a1b1a891a898b2275c9e2dd4a2d8', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitbc5b7a8a2b99daac750706fb1d20f7aa', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d8::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::getInitializer($loader)); 33 33 34 34 $loader->setClassMapAuthoritative(true); -
wc-serbian-nestpay/trunk/vendor/composer/autoload_static.php
r2740453 r2859537 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d87 class ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 58 58 { 59 59 return \Closure::bind(function () use ($loader) { 60 $loader->prefixLengthsPsr4 = ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d8::$prefixLengthsPsr4;61 $loader->prefixDirsPsr4 = ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d8::$prefixDirsPsr4;62 $loader->classMap = ComposerStaticInit 9de5a1b1a891a898b2275c9e2dd4a2d8::$classMap;60 $loader->prefixLengthsPsr4 = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$prefixLengthsPsr4; 61 $loader->prefixDirsPsr4 = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$prefixDirsPsr4; 62 $loader->classMap = ComposerStaticInitbc5b7a8a2b99daac750706fb1d20f7aa::$classMap; 63 63 64 64 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.