LaravelDaily / laravel-invoices

Laravel package to generate PDF invoices from various customizable parameters
GNU General Public License v3.0
1.39k stars 303 forks source link

Imagick::clone method is deprecated and it's use should be avoided #121

Closed riazXrazor closed 2 years ago

riazXrazor commented 3 years ago

Describe the bug "Imagick::clone method is deprecated and it's use should be avoided"

To Reproduce

docker image I am using

FROM webdevops/php-nginx:7.4-alpine
ENV WEB_DOCUMENT_ROOT=/app/public
COPY . /app
RUN composer1 install -d /app
RUN chmod -R 777 /app/storage/
PHP 7.4.25 (cli) (built: Oct 22 2021 18:03:01) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v11.0.0, Copyright (c) 2002-2021, by ionCube Ltd.
    with Zend OPcache v7.4.25, Copyright (c), by Zend Technologies

Expected behavior It should download pdf

mc0de commented 2 years ago

@riazXrazor not the issue with laravel-invoices package

reference: https://github.com/dompdf/dompdf/issues/2442