Includes the fix for the GR/EL VAT prefix bug that broke exemption for every Greek VAT number (in_array-on-values vs array_key_exists in CacheTaxManager/VatNumber, plus the missing use import in EuValidatorAdapter). Adds IMPROVEMENTS.txt with a checklist of features adopted from comparing against the vatchecker module (offline-fallback policy, failure logging, company-name check, configurable EU country list, per-product exclusion, GB/XI mapping, AJAX live validation, address-priority strategy). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
39 lines
1.1 KiB
PHP
39 lines
1.1 KiB
PHP
<?php
|
|
|
|
// autoload_real.php @generated by Composer
|
|
|
|
class ComposerAutoloaderInitf0c36081834639cb4575b2393bd0885d
|
|
{
|
|
private static $loader;
|
|
|
|
public static function loadClassLoader($class)
|
|
{
|
|
if ('Composer\Autoload\ClassLoader' === $class) {
|
|
require __DIR__ . '/ClassLoader.php';
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @return \Composer\Autoload\ClassLoader
|
|
*/
|
|
public static function getLoader()
|
|
{
|
|
if (null !== self::$loader) {
|
|
return self::$loader;
|
|
}
|
|
|
|
require __DIR__ . '/platform_check.php';
|
|
|
|
spl_autoload_register(array('ComposerAutoloaderInitf0c36081834639cb4575b2393bd0885d', 'loadClassLoader'), true, false);
|
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
|
spl_autoload_unregister(array('ComposerAutoloaderInitf0c36081834639cb4575b2393bd0885d', 'loadClassLoader'));
|
|
|
|
require __DIR__ . '/autoload_static.php';
|
|
call_user_func(\Composer\Autoload\ComposerStaticInitf0c36081834639cb4575b2393bd0885d::getInitializer($loader));
|
|
|
|
$loader->register(false);
|
|
|
|
return $loader;
|
|
}
|
|
}
|