Plugin Directory

Changeset 2563851


Ignore:
Timestamp:
07/13/2021 08:32:21 PM (5 years ago)
Author:
baaaaas
Message:

Commit

Location:
woocommerce-pdf-invoices/trunk/vendor
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-pdf-invoices/trunk/vendor/composer/ClassLoader.php

    r2519919 r2563851  
    3838 * @author Fabien Potencier <fabien@symfony.com>
    3939 * @author Jordi Boggiano <j.boggiano@seld.be>
    40  * @see    http://www.php-fig.org/psr/psr-0/
    41  * @see    http://www.php-fig.org/psr/psr-4/
     40 * @see    https://www.php-fig.org/psr/psr-0/
     41 * @see    https://www.php-fig.org/psr/psr-4/
    4242 */
    4343class ClassLoader
    4444{
     45    private $vendorDir;
     46
    4547    // PSR-4
    4648    private $prefixLengthsPsr4 = array();
     
    5860    private $apcuPrefix;
    5961
     62    private static $registeredLoaders = array();
     63
     64    public function __construct($vendorDir = null)
     65    {
     66        $this->vendorDir = $vendorDir;
     67    }
     68
    6069    public function getPrefixes()
    6170    {
    6271        if (!empty($this->prefixesPsr0)) {
    63             return call_user_func_array('array_merge', $this->prefixesPsr0);
     72            return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
    6473        }
    6574
     
    301310    {
    302311        spl_autoload_register(array($this, 'loadClass'), true, $prepend);
     312
     313        if (null === $this->vendorDir) {
     314            return;
     315        }
     316
     317        if ($prepend) {
     318            self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
     319        } else {
     320            unset(self::$registeredLoaders[$this->vendorDir]);
     321            self::$registeredLoaders[$this->vendorDir] = $this;
     322        }
    303323    }
    304324
     
    309329    {
    310330        spl_autoload_unregister(array($this, 'loadClass'));
     331
     332        if (null !== $this->vendorDir) {
     333            unset(self::$registeredLoaders[$this->vendorDir]);
     334        }
    311335    }
    312336
     
    315339     *
    316340     * @param  string    $class The name of the class
    317      * @return bool|null True if loaded, null otherwise
     341     * @return true|null True if loaded, null otherwise
    318342     */
    319343    public function loadClass($class)
     
    324348            return true;
    325349        }
     350
     351        return null;
    326352    }
    327353
     
    366392
    367393        return $file;
     394    }
     395
     396    /**
     397     * Returns the currently registered loaders indexed by their corresponding vendor directories.
     398     *
     399     * @return self[]
     400     */
     401    public static function getRegisteredLoaders()
     402    {
     403        return self::$registeredLoaders;
    368404    }
    369405
  • woocommerce-pdf-invoices/trunk/vendor/composer/LICENSE

    r2519919 r2563851  
     1
    12Copyright (c) Nils Adermann, Jordi Boggiano
    23
     
    1819OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    1920THE SOFTWARE.
     21
  • woocommerce-pdf-invoices/trunk/vendor/composer/autoload_classmap.php

    r2070934 r2563851  
    3232    'CGIFIMAGEHEADER' => $vendorDir . '/mpdf/mpdf/classes/gif.php',
    3333    'CGIFLZW' => $vendorDir . '/mpdf/mpdf/classes/gif.php',
     34    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    3435    'FPDF_TPL' => $vendorDir . '/setasign/fpdi/fpdf_tpl.php',
    3536    'FPDI' => $vendorDir . '/setasign/fpdi/fpdi.php',
  • woocommerce-pdf-invoices/trunk/vendor/composer/autoload_namespaces.php

    r1647374 r2563851  
    77
    88return array(
    9     'xrstf\\Composer52' => array($vendorDir . '/xrstf/composer-php52/lib'),
    109);
  • woocommerce-pdf-invoices/trunk/vendor/composer/autoload_real.php

    r2519919 r2563851  
    2323        }
    2424
     25        require __DIR__ . '/platform_check.php';
     26
    2527        spl_autoload_register(array('ComposerAutoloaderInit45cf95829fd07145c60ebe1d126688a8', 'loadClassLoader'), true, true);
    26         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    2729        spl_autoload_unregister(array('ComposerAutoloaderInit45cf95829fd07145c60ebe1d126688a8', 'loadClassLoader'));
    2830
    2931        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
    3032        if ($useStaticLoader) {
    31             require_once __DIR__ . '/autoload_static.php';
     33            require __DIR__ . '/autoload_static.php';
    3234
    3335            call_user_func(\Composer\Autoload\ComposerStaticInit45cf95829fd07145c60ebe1d126688a8::getInitializer($loader));
  • woocommerce-pdf-invoices/trunk/vendor/composer/autoload_static.php

    r2091585 r2563851  
    77class ComposerStaticInit45cf95829fd07145c60ebe1d126688a8
    88{
    9     public static $prefixesPsr0 = array (
    10         'x' =>
    11         array (
    12             'xrstf\\Composer52' =>
    13             array (
    14                 0 => __DIR__ . '/..' . '/xrstf/composer-php52/lib',
    15             ),
    16         ),
    17     );
    18 
    199    public static $classMap = array (
    2010        'BEWPI_Abstract_Document' => __DIR__ . '/../..' . '/includes/abstracts/abstract-document.php',
     
    4333        'CGIFIMAGEHEADER' => __DIR__ . '/..' . '/mpdf/mpdf/classes/gif.php',
    4434        'CGIFLZW' => __DIR__ . '/..' . '/mpdf/mpdf/classes/gif.php',
     35        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    4536        'FPDF_TPL' => __DIR__ . '/..' . '/setasign/fpdi/fpdf_tpl.php',
    4637        'FPDI' => __DIR__ . '/..' . '/setasign/fpdi/fpdi.php',
     
    7465    {
    7566        return \Closure::bind(function () use ($loader) {
    76             $loader->prefixesPsr0 = ComposerStaticInit45cf95829fd07145c60ebe1d126688a8::$prefixesPsr0;
    7767            $loader->classMap = ComposerStaticInit45cf95829fd07145c60ebe1d126688a8::$classMap;
    7868
  • woocommerce-pdf-invoices/trunk/vendor/composer/installed.json

    r2328313 r2563851  
    1 [
    2     {
    3         "name": "mpdf/mpdf",
    4         "version": "dev-mpdf",
    5         "version_normalized": "dev-mpdf",
    6         "source": {
    7             "type": "git",
    8             "url": "https://github.com/baselbers/mpdf.git",
    9             "reference": "e65509d36a2e5b14bea72a4a80439c55e6062071"
     1{
     2    "packages": [
     3        {
     4            "name": "mpdf/mpdf",
     5            "version": "dev-mpdf",
     6            "version_normalized": "dev-mpdf",
     7            "source": {
     8                "type": "git",
     9                "url": "https://github.com/baselbers/mpdf.git",
     10                "reference": "94d2f12d59962d967dc259a2521415cc889ae1fc"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https://api.github.com/repos/baselbers/mpdf/zipball/94d2f12d59962d967dc259a2521415cc889ae1fc",
     15                "reference": "94d2f12d59962d967dc259a2521415cc889ae1fc",
     16                "shasum": ""
     17            },
     18            "require": {
     19                "ext-mbstring": "*",
     20                "php": ">=5.4.0",
     21                "setasign/fpdi": "1.6.*"
     22            },
     23            "require-dev": {
     24                "phpunit/phpunit": "^4.7"
     25            },
     26            "suggest": {
     27                "ext-zlib": "Needed for compression of embedded resources, such as fonts"
     28            },
     29            "time": "2021-07-13T19:55:45+00:00",
     30            "type": "library",
     31            "installation-source": "source",
     32            "autoload": {
     33                "classmap": [
     34                    "mpdf.php",
     35                    "classes"
     36                ]
     37            },
     38            "scripts": {
     39                "post-install-cmd": [
     40                    "php -r \"chmod('./ttfontdata', 0777);\"",
     41                    "php -r \"chmod('./tmp', 0777);\"",
     42                    "php -r \"chmod('./graph_cache', 0777);\""
     43                ]
     44            },
     45            "license": [
     46                "GPL-2.0"
     47            ],
     48            "authors": [
     49                {
     50                    "name": "Ian Back",
     51                    "role": "Developer"
     52                }
     53            ],
     54            "description": "A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support",
     55            "homepage": "http://mpdf.github.io",
     56            "keywords": [
     57                "pdf",
     58                "php",
     59                "utf-8"
     60            ],
     61            "support": {
     62                "issues": "https://github.com/mpdf/mpdf/issues",
     63                "source": "https://github.com/mpdf/mpdf",
     64                "docs": "http://mpdf.github.io"
     65            },
     66            "install-path": "../mpdf/mpdf"
    1067        },
    11         "dist": {
    12             "type": "zip",
    13             "url": "https://api.github.com/repos/baselbers/mpdf/zipball/e65509d36a2e5b14bea72a4a80439c55e6062071",
    14             "reference": "e65509d36a2e5b14bea72a4a80439c55e6062071",
    15             "shasum": ""
    16         },
    17         "require": {
    18             "ext-mbstring": "*",
    19             "php": ">=5.4.0",
    20             "setasign/fpdi": "1.6.*"
    21         },
    22         "require-dev": {
    23             "phpunit/phpunit": "^4.7"
    24         },
    25         "suggest": {
    26             "ext-zlib": "Needed for compression of embedded resources, such as fonts"
    27         },
    28         "time": "2020-06-21T19:52:50+00:00",
    29         "type": "library",
    30         "installation-source": "source",
    31         "autoload": {
    32             "classmap": [
    33                 "mpdf.php",
    34                 "classes"
    35             ]
    36         },
    37         "scripts": {
    38             "post-install-cmd": [
    39                 "php -r \"chmod('./ttfontdata', 0777);\"",
    40                 "php -r \"chmod('./tmp', 0777);\"",
    41                 "php -r \"chmod('./graph_cache', 0777);\""
    42             ]
    43         },
    44         "license": [
    45             "GPL-2.0"
    46         ],
    47         "authors": [
    48             {
    49                 "name": "Ian Back",
    50                 "role": "Developer"
    51             }
    52         ],
    53         "description": "A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support",
    54         "homepage": "http://mpdf.github.io",
    55         "keywords": [
    56             "pdf",
    57             "php",
    58             "utf-8"
    59         ],
    60         "support": {
    61             "issues": "https://github.com/mpdf/mpdf/issues",
    62             "source": "https://github.com/mpdf/mpdf",
    63             "docs": "http://mpdf.github.io"
     68        {
     69            "name": "setasign/fpdi",
     70            "version": "1.6.2",
     71            "version_normalized": "1.6.2.0",
     72            "source": {
     73                "type": "git",
     74                "url": "https://github.com/Setasign/FPDI.git",
     75                "reference": "a6ad58897a6d97cc2d2cd2adaeda343b25a368ea"
     76            },
     77            "dist": {
     78                "type": "zip",
     79                "url": "https://api.github.com/repos/Setasign/FPDI/zipball/a6ad58897a6d97cc2d2cd2adaeda343b25a368ea",
     80                "reference": "a6ad58897a6d97cc2d2cd2adaeda343b25a368ea",
     81                "shasum": ""
     82            },
     83            "suggest": {
     84                "setasign/fpdf": "FPDI will extend this class but as it is also possible to use \"tecnickcom/tcpdf\" as an alternative there's no fixed dependency configured.",
     85                "setasign/fpdi-fpdf": "Use this package to automatically evaluate dependencies to FPDF.",
     86                "setasign/fpdi-tcpdf": "Use this package to automatically evaluate dependencies to TCPDF."
     87            },
     88            "time": "2017-05-11T14:25:49+00:00",
     89            "type": "library",
     90            "installation-source": "dist",
     91            "autoload": {
     92                "classmap": [
     93                    "filters/",
     94                    "fpdi.php",
     95                    "fpdf_tpl.php",
     96                    "fpdi_pdf_parser.php",
     97                    "pdf_context.php"
     98                ]
     99            },
     100            "notification-url": "https://packagist.org/downloads/",
     101            "license": [
     102                "MIT"
     103            ],
     104            "authors": [
     105                {
     106                    "name": "Jan Slabon",
     107                    "email": "jan.slabon@setasign.com",
     108                    "homepage": "https://www.setasign.com"
     109                }
     110            ],
     111            "description": "FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.",
     112            "homepage": "https://www.setasign.com/fpdi",
     113            "keywords": [
     114                "fpdf",
     115                "fpdi",
     116                "pdf"
     117            ],
     118            "install-path": "../setasign/fpdi"
    64119        }
    65     },
    66     {
    67         "name": "setasign/fpdi",
    68         "version": "1.6.2",
    69         "version_normalized": "1.6.2.0",
    70         "source": {
    71             "type": "git",
    72             "url": "https://github.com/Setasign/FPDI.git",
    73             "reference": "a6ad58897a6d97cc2d2cd2adaeda343b25a368ea"
    74         },
    75         "dist": {
    76             "type": "zip",
    77             "url": "https://api.github.com/repos/Setasign/FPDI/zipball/a6ad58897a6d97cc2d2cd2adaeda343b25a368ea",
    78             "reference": "a6ad58897a6d97cc2d2cd2adaeda343b25a368ea",
    79             "shasum": ""
    80         },
    81         "suggest": {
    82             "setasign/fpdf": "FPDI will extend this class but as it is also possible to use \"tecnickcom/tcpdf\" as an alternative there's no fixed dependency configured.",
    83             "setasign/fpdi-fpdf": "Use this package to automatically evaluate dependencies to FPDF.",
    84             "setasign/fpdi-tcpdf": "Use this package to automatically evaluate dependencies to TCPDF."
    85         },
    86         "time": "2017-05-11T14:25:49+00:00",
    87         "type": "library",
    88         "installation-source": "dist",
    89         "autoload": {
    90             "classmap": [
    91                 "filters/",
    92                 "fpdi.php",
    93                 "fpdf_tpl.php",
    94                 "fpdi_pdf_parser.php",
    95                 "pdf_context.php"
    96             ]
    97         },
    98         "notification-url": "https://packagist.org/downloads/",
    99         "license": [
    100             "MIT"
    101         ],
    102         "authors": [
    103             {
    104                 "name": "Jan Slabon",
    105                 "email": "jan.slabon@setasign.com",
    106                 "homepage": "https://www.setasign.com"
    107             }
    108         ],
    109         "description": "FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.",
    110         "homepage": "https://www.setasign.com/fpdi",
    111         "keywords": [
    112             "fpdf",
    113             "fpdi",
    114             "pdf"
    115         ]
    116     },
    117     {
    118         "name": "xrstf/composer-php52",
    119         "version": "v1.0.20",
    120         "version_normalized": "1.0.20.0",
    121         "source": {
    122             "type": "git",
    123             "url": "https://github.com/composer-php52/composer-php52.git",
    124             "reference": "bd41459d5e27df8d33057842b32377c39e97a5a8"
    125         },
    126         "dist": {
    127             "type": "zip",
    128             "url": "https://api.github.com/repos/composer-php52/composer-php52/zipball/bd41459d5e27df8d33057842b32377c39e97a5a8",
    129             "reference": "bd41459d5e27df8d33057842b32377c39e97a5a8",
    130             "shasum": ""
    131         },
    132         "time": "2016-04-16T21:52:24+00:00",
    133         "type": "library",
    134         "extra": {
    135             "branch-alias": {
    136                 "dev-default": "1.x-dev"
    137             }
    138         },
    139         "installation-source": "dist",
    140         "autoload": {
    141             "psr-0": {
    142                 "xrstf\\Composer52": "lib/"
    143             }
    144         },
    145         "notification-url": "https://packagist.org/downloads/",
    146         "license": [
    147             "MIT"
    148         ]
    149     }
    150 ]
     120    ],
     121    "dev": false,
     122    "dev-package-names": []
     123}
  • woocommerce-pdf-invoices/trunk/vendor/mpdf/mpdf/classes/mpdfform.php

    r1911502 r2563851  
    10241024    }
    10251025
    1026     function SetFormSubmit($w, $h, $name, $value = 'Submit', $url, $title = '', $typ = 'html', $method = 'POST', $flags = array(), $background_col = false, $border_col = false, $noprint = false)
     1026    function SetFormSubmit($w, $h, $name, $value = 'Submit', $url = '', $title = '', $typ = 'html', $method = 'POST', $flags = array(), $background_col = false, $border_col = false, $noprint = false)
    10271027    {
    10281028        if (!$name) {
  • woocommerce-pdf-invoices/trunk/vendor/mpdf/mpdf/classes/otl.php

    r2326094 r2563851  
    16131613    }
    16141614
    1615     function _applyGSUBsubtable($lookupID, $subtable, $ptr, $currGlyph, $currGID, $subtable_offset, $Type, $Flag, $MarkFilteringSet, $LuCoverage, $level = 0, $currentTag, $is_old_spec, $tagInt)
     1615    function _applyGSUBsubtable($lookupID, $subtable, $ptr, $currGlyph, $currGID, $subtable_offset, $Type, $Flag, $MarkFilteringSet, $LuCoverage, $level = 0, $currentTag = '', $is_old_spec = false, $tagInt = 0)
    16161616    {
    16171617        $ignore = $this->_getGCOMignoreString($Flag, $MarkFilteringSet);
     
    32913291    }
    32923292
    3293     function _applyGPOSsubtable($lookupID, $subtable, $ptr, $currGlyph, $currGID, $subtable_offset, $Type, $Flag, $MarkFilteringSet, $LuCoverage, $tag, $level = 0, $is_old_spec)
     3293    function _applyGPOSsubtable($lookupID, $subtable, $ptr, $currGlyph, $currGID, $subtable_offset, $Type, $Flag, $MarkFilteringSet, $LuCoverage, $tag, $level = 0, $is_old_spec = false)
    32943294    {
    32953295        if (($Flag & 0x0001) == 1) {
     
    46274627     */
    46284628
    4629     function _bidiSort($ta, $str = '', $dir, &$chunkOTLdata, $useGPOS)
     4629    function _bidiSort($ta, $str = '', $dir = '', &$chunkOTLdata = array(), $useGPOS = '')
    46304630    {
    46314631
  • woocommerce-pdf-invoices/trunk/vendor/mpdf/mpdf/mpdf.php

    r2328313 r2563851  
    21442144    /* -- BACKGROUNDS -- */
    21452145
    2146     function _resizeBackgroundImage($imw, $imh, $cw, $ch, $resize = 0, $repx, $repy, $pba = array(), $size = array())
     2146    function _resizeBackgroundImage($imw, $imh, $cw, $ch, $resize = 0, $repx = 0, $repy = 0, $pba = array(), $size = array())
    21472147    {
    21482148        // pba is background positioning area (from CSS background-origin) may not always be set [x,y,w,h]
     
    1328313283    }
    1328413284
    13285     function CircularText($x, $y, $r, $text, $align = 'top', $fontfamily = '', $fontsize = 0, $fontstyle = '', $kerning = 120, $fontwidth = 100, $divider)
     13285    function CircularText($x, $y, $r, $text, $align = 'top', $fontfamily = '', $fontsize = 0, $fontstyle = '', $kerning = 120, $fontwidth = 100, $divider = '')
    1328613286    {
    1328713287        if (!class_exists('directw', false)) {
     
    1443914439    /* -- TABLES -- */
    1444014440
    14441     function TableHeaderFooter($content = '', $tablestartpage = '', $tablestartcolumn = '', $horf = 'H', $level, $firstSpread = true, $finalSpread = true)
     14441    function TableHeaderFooter($content = '', $tablestartpage = '', $tablestartcolumn = '', $horf = 'H', $level = 0, $firstSpread = true, $finalSpread = true)
    1444214442    {
    1444314443        if (($horf == 'H' || $horf == 'F') && !empty($content)) { // mPDF 5.7.2
     
    1662616626    /* -- CSS-POSITION -- */
    1662716627
    16628     function WriteFixedPosHTML($html = '', $x, $y, $w, $h, $overflow = 'visible', $bounding = array())
     16628    function WriteFixedPosHTML($html = '', $x = 0, $y = 0, $w = 0, $h = 0, $overflow = 'visible', $bounding = array())
    1662916629    {
    1663016630        // $overflow can be 'hidden', 'visible' or 'auto' - 'auto' causes autofit to size
     
    1761217612    /* -- CSS-PAGE -- */
    1761317613
    17614     function SetPagedMediaCSS($name = '', $first, $oddEven)
     17614    function SetPagedMediaCSS($name = '', $first = false, $oddEven = '')
    1761517615    {
    1761617616        if ($oddEven == 'E') {
     
    2044120441    /* -- END BORDER-RADIUS -- */
    2044220442
    20443     function PaintDivLnBorder($state = 0, $blvl = 0, $h)
     20443    function PaintDivLnBorder($state = 0, $blvl = 0, $h = 0)
    2044420444    {
    2044520445        // $state = 0 normal; 1 top; 2 bottom; 3 top and bottom
     
    2165621656    /* -- TABLES -- */
    2165721657
    21658     function TableCheckMinWidth($maxwidth, $forcewrap = 0, $textbuffer, $checkletter = false)
     21658    function TableCheckMinWidth($maxwidth, $forcewrap = 0, $textbuffer = array(), $checkletter = false)
    2165921659    { // mPDF 6
    2166021660        $acclength = 0; // mPDF 6 (accumulated length across > 1 chunk)
     
    2326023260
    2326123261    // CHANGED TO ALLOW TABLE BORDER TO BE SPECIFIED CORRECTLY - added border_details
    23262     function _tableRect($x, $y, $w, $h, $bord = -1, $details = array(), $buffer = false, $bSeparate = false, $cort = 'cell', $tablecorner = '', $bsv = 0, $bsh = 0)
     23262    function _tableRect($x, $y, $w, $h = 0, $bord = -1, $details = array(), $buffer = false, $bSeparate = false, $cort = 'cell', $tablecorner = '', $bsv = 0, $bsh = 0)
    2326323263    {
    2326423264        $cellBorderOverlay = array();
     
    2888528885    }
    2888628886
    28887     function _setBidiCodes($mode = 'start', $bdf)
     28887    function _setBidiCodes($mode = 'start', $bdf = '')
    2888828888    {
    2888928889        $s = '';
Note: See TracChangeset for help on using the changeset viewer.