Changeset 3159883
- Timestamp:
- 09/30/2024 01:32:40 PM (18 months ago)
- Location:
- woocommerce-billink/trunk
- Files:
-
- 13 edited
-
README.md (modified) (2 diffs)
-
config/plugin.php (modified) (1 diff)
-
index.php (modified) (1 diff)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/bin/yaml-lint (modified) (1 diff)
-
vendor/composer/ClassLoader.php (modified) (24 diffs)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/composer/installed.json (modified) (6 diffs)
-
vendor/composer/installed.php (modified) (4 diffs)
-
vendor/symfony/polyfill-ctype/composer.json (modified) (1 diff)
-
vendor/symfony/yaml/Inline.php (modified) (4 diffs)
-
vendor/symfony/yaml/Parser.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-billink/trunk/README.md
r3084430 r3159883 1 === Billink - Achteraf Betalen===1 === Billink - Legacy === 2 2 Contributors: Tussendoor 3 Tags: tussendoor, billink, woocommerce, gateway 3 Tags: tussendoor, billink, woocommerce, gateway, legacy 4 4 Requires at least: 4.0 5 5 Tested up to: 6.5.3 … … 49 49 50 50 == Changelog == 51 = 2.5.0 = 52 * Plugin is marked as Legacy. Please update to the new Billink plugin via: https://wordpress.org/plugins/woocommerce-billink-gateway 53 51 54 = 2.4.2 = 52 55 * Changed: Now utilizing new Billink v1 endpoints. -
woocommerce-billink/trunk/config/plugin.php
r3084430 r3159883 6 6 * Basic plugin data 7 7 */ 8 'plugin.name' => 'Tussendoor Billink ',8 'plugin.name' => 'Tussendoor Billink - Legacy', 9 9 'plugin.prefix' => 'tsd-bllnk', 10 10 'plugin.version' => '2.4.2', -
woocommerce-billink/trunk/index.php
r3084430 r3159883 2 2 3 3 /** 4 * Plugin Name: Billink - Achteraf Betalen4 * Plugin Name: Billink - Legacy 5 5 * Text Domain: woocommerce-gateway-billink 6 6 * Plugin URI: https://tussendoor.nl/wordpress-plugins/ 7 * Description: Billink integratie in WooCommerce. Plugin ontwikkeling door Tussendoor B.V.7 * Description: Legacy Billink integratie in WooCommerce. Plugin ontwikkeling door Tussendoor B.V. 8 8 * Version: 2.4.2 9 9 * Author: Tussendoor B.V. -
woocommerce-billink/trunk/vendor/autoload.php
r3084430 r3159883 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit ea7d283c763dfea009a413630db9088b::getLoader();25 return ComposerAutoloaderInit49018635ca7435c24ea353e3f155a06c::getLoader(); -
woocommerce-billink/trunk/vendor/bin/yaml-lint
r2993092 r3159883 113 113 || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) 114 114 ) { 115 include("phpvfscomposer://" . __DIR__ . '/..'.'/symfony/yaml/Resources/bin/yaml-lint'); 116 exit(0); 115 return include("phpvfscomposer://" . __DIR__ . '/..'.'/symfony/yaml/Resources/bin/yaml-lint'); 117 116 } 118 117 } 119 118 120 include __DIR__ . '/..'.'/symfony/yaml/Resources/bin/yaml-lint';119 return include __DIR__ . '/..'.'/symfony/yaml/Resources/bin/yaml-lint'; -
woocommerce-billink/trunk/vendor/composer/ClassLoader.php
r2912809 r3159883 46 46 private static $includeFile; 47 47 48 /** @var ?string*/48 /** @var string|null */ 49 49 private $vendorDir; 50 50 51 51 // PSR-4 52 52 /** 53 * @var array[] 54 * @psalm-var array<string, array<string, int>> 53 * @var array<string, array<string, int>> 55 54 */ 56 55 private $prefixLengthsPsr4 = array(); 57 56 /** 58 * @var array[] 59 * @psalm-var array<string, array<int, string>> 57 * @var array<string, list<string>> 60 58 */ 61 59 private $prefixDirsPsr4 = array(); 62 60 /** 63 * @var array[] 64 * @psalm-var array<string, string> 61 * @var list<string> 65 62 */ 66 63 private $fallbackDirsPsr4 = array(); … … 68 65 // PSR-0 69 66 /** 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>>> 72 72 */ 73 73 private $prefixesPsr0 = array(); 74 74 /** 75 * @var array[] 76 * @psalm-var array<string, string> 75 * @var list<string> 77 76 */ 78 77 private $fallbackDirsPsr0 = array(); … … 82 81 83 82 /** 84 * @var string[] 85 * @psalm-var array<string, string> 83 * @var array<string, string> 86 84 */ 87 85 private $classMap = array(); … … 91 89 92 90 /** 93 * @var bool[] 94 * @psalm-var array<string, bool> 91 * @var array<string, bool> 95 92 */ 96 93 private $missingClasses = array(); 97 94 98 /** @var ?string*/95 /** @var string|null */ 99 96 private $apcuPrefix; 100 97 101 98 /** 102 * @var self[]99 * @var array<string, self> 103 100 */ 104 101 private static $registeredLoaders = array(); 105 102 106 103 /** 107 * @param ?string$vendorDir104 * @param string|null $vendorDir 108 105 */ 109 106 public function __construct($vendorDir = null) … … 114 111 115 112 /** 116 * @return string[]113 * @return array<string, list<string>> 117 114 */ 118 115 public function getPrefixes() … … 126 123 127 124 /** 128 * @return array[] 129 * @psalm-return array<string, array<int, string>> 125 * @return array<string, list<string>> 130 126 */ 131 127 public function getPrefixesPsr4() … … 135 131 136 132 /** 137 * @return array[] 138 * @psalm-return array<string, string> 133 * @return list<string> 139 134 */ 140 135 public function getFallbackDirs() … … 144 139 145 140 /** 146 * @return array[] 147 * @psalm-return array<string, string> 141 * @return list<string> 148 142 */ 149 143 public function getFallbackDirsPsr4() … … 153 147 154 148 /** 155 * @return string[] Array of classname => path 156 * @psalm-return array<string, string> 149 * @return array<string, string> Array of classname => path 157 150 */ 158 151 public function getClassMap() … … 162 155 163 156 /** 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 166 158 * 167 159 * @return void … … 180 172 * appending or prepending to the ones previously set for this prefix. 181 173 * 182 * @param string $prefix The prefix183 * @param string[]|string $paths The PSR-0 root directories184 * @param bool $prepend Whether to prepend the directories174 * @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 185 177 * 186 178 * @return void … … 188 180 public function add($prefix, $paths, $prepend = false) 189 181 { 182 $paths = (array) $paths; 190 183 if (!$prefix) { 191 184 if ($prepend) { 192 185 $this->fallbackDirsPsr0 = array_merge( 193 (array)$paths,186 $paths, 194 187 $this->fallbackDirsPsr0 195 188 ); … … 197 190 $this->fallbackDirsPsr0 = array_merge( 198 191 $this->fallbackDirsPsr0, 199 (array)$paths192 $paths 200 193 ); 201 194 } … … 206 199 $first = $prefix[0]; 207 200 if (!isset($this->prefixesPsr0[$first][$prefix])) { 208 $this->prefixesPsr0[$first][$prefix] = (array)$paths;201 $this->prefixesPsr0[$first][$prefix] = $paths; 209 202 210 203 return; … … 212 205 if ($prepend) { 213 206 $this->prefixesPsr0[$first][$prefix] = array_merge( 214 (array)$paths,207 $paths, 215 208 $this->prefixesPsr0[$first][$prefix] 216 209 ); … … 218 211 $this->prefixesPsr0[$first][$prefix] = array_merge( 219 212 $this->prefixesPsr0[$first][$prefix], 220 (array)$paths213 $paths 221 214 ); 222 215 } … … 227 220 * appending or prepending to the ones previously set for this namespace. 228 221 * 229 * @param string $prefix The prefix/namespace, with trailing '\\'230 * @param string[]|string $paths The PSR-4 base directories231 * @param bool $prepend Whether to prepend the directories222 * @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 232 225 * 233 226 * @throws \InvalidArgumentException … … 237 230 public function addPsr4($prefix, $paths, $prepend = false) 238 231 { 232 $paths = (array) $paths; 239 233 if (!$prefix) { 240 234 // Register directories for the root namespace. 241 235 if ($prepend) { 242 236 $this->fallbackDirsPsr4 = array_merge( 243 (array)$paths,237 $paths, 244 238 $this->fallbackDirsPsr4 245 239 ); … … 247 241 $this->fallbackDirsPsr4 = array_merge( 248 242 $this->fallbackDirsPsr4, 249 (array)$paths243 $paths 250 244 ); 251 245 } … … 257 251 } 258 252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; 259 $this->prefixDirsPsr4[$prefix] = (array)$paths;253 $this->prefixDirsPsr4[$prefix] = $paths; 260 254 } elseif ($prepend) { 261 255 // Prepend directories for an already registered namespace. 262 256 $this->prefixDirsPsr4[$prefix] = array_merge( 263 (array)$paths,257 $paths, 264 258 $this->prefixDirsPsr4[$prefix] 265 259 ); … … 268 262 $this->prefixDirsPsr4[$prefix] = array_merge( 269 263 $this->prefixDirsPsr4[$prefix], 270 (array)$paths264 $paths 271 265 ); 272 266 } … … 277 271 * replacing any others previously set for this prefix. 278 272 * 279 * @param string $prefix The prefix280 * @param string[]|string $paths The PSR-0 base directories273 * @param string $prefix The prefix 274 * @param list<string>|string $paths The PSR-0 base directories 281 275 * 282 276 * @return void … … 295 289 * replacing any others previously set for this namespace. 296 290 * 297 * @param string $prefix The prefix/namespace, with trailing '\\'298 * @param string[]|string $paths The PSR-4 base directories291 * @param string $prefix The prefix/namespace, with trailing '\\' 292 * @param list<string>|string $paths The PSR-4 base directories 299 293 * 300 294 * @throws \InvalidArgumentException … … 482 476 483 477 /** 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> 487 481 */ 488 482 public static function getRegisteredLoaders() -
woocommerce-billink/trunk/vendor/composer/autoload_real.php
r3084430 r3159883 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit ea7d283c763dfea009a413630db9088b5 class ComposerAutoloaderInit49018635ca7435c24ea353e3f155a06c 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit ea7d283c763dfea009a413630db9088b', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit49018635ca7435c24ea353e3f155a06c', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit ea7d283c763dfea009a413630db9088b', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit49018635ca7435c24ea353e3f155a06c', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit ea7d283c763dfea009a413630db9088b::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit49018635ca7435c24ea353e3f155a06c::getInitializer($loader)); 31 31 32 32 $loader->register(true); 33 33 34 $filesToLoad = \Composer\Autoload\ComposerStaticInit ea7d283c763dfea009a413630db9088b::$files;34 $filesToLoad = \Composer\Autoload\ComposerStaticInit49018635ca7435c24ea353e3f155a06c::$files; 35 35 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 36 36 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
woocommerce-billink/trunk/vendor/composer/autoload_static.php
r3084430 r3159883 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit ea7d283c763dfea009a413630db9088b7 class ComposerStaticInit49018635ca7435c24ea353e3f155a06c 8 8 { 9 9 public static $files = array ( … … 257 257 { 258 258 return \Closure::bind(function () use ($loader) { 259 $loader->prefixLengthsPsr4 = ComposerStaticInit ea7d283c763dfea009a413630db9088b::$prefixLengthsPsr4;260 $loader->prefixDirsPsr4 = ComposerStaticInit ea7d283c763dfea009a413630db9088b::$prefixDirsPsr4;261 $loader->classMap = ComposerStaticInit ea7d283c763dfea009a413630db9088b::$classMap;259 $loader->prefixLengthsPsr4 = ComposerStaticInit49018635ca7435c24ea353e3f155a06c::$prefixLengthsPsr4; 260 $loader->prefixDirsPsr4 = ComposerStaticInit49018635ca7435c24ea353e3f155a06c::$prefixDirsPsr4; 261 $loader->classMap = ComposerStaticInit49018635ca7435c24ea353e3f155a06c::$classMap; 262 262 263 263 }, null, ClassLoader::class); -
woocommerce-billink/trunk/vendor/composer/installed.json
r3084430 r3159883 149 149 { 150 150 "name": "symfony/polyfill-ctype", 151 "version": "v1. 29.0",152 "version_normalized": "1. 29.0.0",151 "version": "v1.31.0", 152 "version_normalized": "1.31.0.0", 153 153 "source": { 154 154 "type": "git", 155 155 "url": "https://github.com/symfony/polyfill-ctype.git", 156 "reference": " ef4d7e442ca910c4764bce785146269b30cb5fc4"157 }, 158 "dist": { 159 "type": "zip", 160 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ ef4d7e442ca910c4764bce785146269b30cb5fc4",161 "reference": " ef4d7e442ca910c4764bce785146269b30cb5fc4",156 "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" 157 }, 158 "dist": { 159 "type": "zip", 160 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", 161 "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", 162 162 "shasum": "" 163 163 }, 164 164 "require": { 165 "php": ">=7. 1"165 "php": ">=7.2" 166 166 }, 167 167 "provide": { … … 171 171 "ext-ctype": "For best performance" 172 172 }, 173 "time": "2024-0 1-29T20:11:03+00:00",173 "time": "2024-09-09T11:45:10+00:00", 174 174 "type": "library", 175 175 "extra": { … … 211 211 ], 212 212 "support": { 213 "source": "https://github.com/symfony/polyfill-ctype/tree/v1. 29.0"213 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" 214 214 }, 215 215 "funding": [ … … 231 231 { 232 232 "name": "symfony/yaml", 233 "version": "v5.4. 35",234 "version_normalized": "5.4. 35.0",233 "version": "v5.4.44", 234 "version_normalized": "5.4.44.0", 235 235 "source": { 236 236 "type": "git", 237 237 "url": "https://github.com/symfony/yaml.git", 238 "reference": " e78db7f5c70a21f0417a31f414c4a95fe76c07e4"239 }, 240 "dist": { 241 "type": "zip", 242 "url": "https://api.github.com/repos/symfony/yaml/zipball/ e78db7f5c70a21f0417a31f414c4a95fe76c07e4",243 "reference": " e78db7f5c70a21f0417a31f414c4a95fe76c07e4",238 "reference": "7025b964f123bbf1896d7563db6ec7f1f63e918a" 239 }, 240 "dist": { 241 "type": "zip", 242 "url": "https://api.github.com/repos/symfony/yaml/zipball/7025b964f123bbf1896d7563db6ec7f1f63e918a", 243 "reference": "7025b964f123bbf1896d7563db6ec7f1f63e918a", 244 244 "shasum": "" 245 245 }, … … 258 258 "symfony/console": "For validating YAML files using the lint command" 259 259 }, 260 "time": "2024-0 1-23T13:51:25+00:00",260 "time": "2024-09-16T14:36:56+00:00", 261 261 "bin": [ 262 262 "Resources/bin/yaml-lint" … … 289 289 "homepage": "https://symfony.com", 290 290 "support": { 291 "source": "https://github.com/symfony/yaml/tree/v5.4. 35"291 "source": "https://github.com/symfony/yaml/tree/v5.4.44" 292 292 }, 293 293 "funding": [ -
woocommerce-billink/trunk/vendor/composer/installed.php
r3084430 r3159883 4 4 'pretty_version' => '1.0.0+no-version-set', 5 5 'version' => '1.0.0.0', 6 'reference' => NULL,6 'reference' => null, 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 30 30 ), 31 31 'symfony/polyfill-ctype' => array( 32 'pretty_version' => 'v1. 29.0',33 'version' => '1. 29.0.0',34 'reference' => ' ef4d7e442ca910c4764bce785146269b30cb5fc4',32 'pretty_version' => 'v1.31.0', 33 'version' => '1.31.0.0', 34 'reference' => 'a3cc8b044a6ea513310cbd48ef7333b384945638', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', … … 39 39 ), 40 40 'symfony/yaml' => array( 41 'pretty_version' => 'v5.4. 35',42 'version' => '5.4. 35.0',43 'reference' => ' e78db7f5c70a21f0417a31f414c4a95fe76c07e4',41 'pretty_version' => 'v5.4.44', 42 'version' => '5.4.44.0', 43 'reference' => '7025b964f123bbf1896d7563db6ec7f1f63e918a', 44 44 'type' => 'library', 45 45 'install_path' => __DIR__ . '/../symfony/yaml', … … 59 59 'pretty_version' => '1.0.0+no-version-set', 60 60 'version' => '1.0.0.0', 61 'reference' => NULL,61 'reference' => null, 62 62 'type' => 'library', 63 63 'install_path' => __DIR__ . '/../../', -
woocommerce-billink/trunk/vendor/symfony/polyfill-ctype/composer.json
r3059625 r3159883 17 17 ], 18 18 "require": { 19 "php": ">=7. 1"19 "php": ">=7.2" 20 20 }, 21 21 "provide": { -
woocommerce-billink/trunk/vendor/symfony/yaml/Inline.php
r3059625 r3159883 356 356 357 357 // [foo, bar, ...] 358 $lastToken = null; 358 359 while ($i < $len) { 359 360 if (']' === $sequence[$i]) { … … 361 362 } 362 363 if (',' === $sequence[$i] || ' ' === $sequence[$i]) { 364 if (',' === $sequence[$i] && (null === $lastToken || 'separator' === $lastToken)) { 365 $output[] = null; 366 } elseif (',' === $sequence[$i]) { 367 $lastToken = 'separator'; 368 } 369 363 370 ++$i; 364 371 … … 404 411 $output[] = $value; 405 412 413 $lastToken = 'value'; 406 414 ++$i; 407 415 } … … 701 709 return (float) str_replace('_', '', $scalar); 702 710 case Parser::preg_match(self::getTimestampRegex(), $scalar): 703 // When no timezone is provided in the parsed date, YAML spec says we must assume UTC. 704 $time = new \DateTime($scalar, new \DateTimeZone('UTC')); 711 try { 712 // When no timezone is provided in the parsed date, YAML spec says we must assume UTC. 713 $time = new \DateTime($scalar, new \DateTimeZone('UTC')); 714 } catch (\Exception $e) { 715 // Some dates accepted by the regex are not valid dates. 716 throw new ParseException(\sprintf('The date "%s" could not be parsed as it is an invalid date.', $scalar), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename, $e); 717 } 705 718 706 719 if (Yaml::PARSE_DATETIME & $flags) { -
woocommerce-billink/trunk/vendor/symfony/yaml/Parser.php
r3059625 r3159883 654 654 655 655 if ($this->isCurrentLineBlank()) { 656 $data[] = substr($this->currentLine, $newIndent );656 $data[] = substr($this->currentLine, $newIndent ?? 0); 657 657 continue; 658 658 } 659 659 660 660 if ($indent >= $newIndent) { 661 $data[] = substr($this->currentLine, $newIndent );661 $data[] = substr($this->currentLine, $newIndent ?? 0); 662 662 } elseif ($this->isCurrentLineComment()) { 663 663 $data[] = $this->currentLine;
Note: See TracChangeset
for help on using the changeset viewer.