• Resolved Ewout

    (@pomegranate)


    Hi @hristo-sg!
    I’m the developer of WooCommerce PDF Invoices & Packing Slips and I received a report of your PHP Migration Checker giving a false positive for my plugin:

    
    FILE: /plugins/woocommerce-pdf-invoices-packing-slips/vendor/phenx/php-svg-lib/src/Svg/Surface/SurfaceCpdf.php
    ———————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————
    36 | ERROR | Extension ‘cpdf’ is removed since PHP 5.1 – use pecl/pdflib instead.
    ———————————————————————————
    
    FILE: /plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Adapter/CPDF.php
    ———————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ———————————————————————————-
    198 | ERROR | Extension ‘cpdf’ is removed since PHP 5.1 – use pecl/pdflib instead.
    ———————————————————————————-
    

    This is not the PHP5.1 cpdf extension but a class included in the plugin (source) (bundled CPDF class):

    
    $this->_pdf = new \Cpdf(
        $size,
        true,
        $dompdf->getOptions()->getFontCache(),
        $dompdf->getOptions()->getTempDir()
    );
    

    Would it be possible to whitelist this plugin?
    If you need more information, let me know!

    Ewout

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP7.1 compatibility test false positive’ is closed to new replies.