From b85181d145a068a073cd9b96778f18b6016249cf Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 6 Nov 2019 16:52:41 +1300 Subject: [PATCH] Update dompdf & dependencies DomPDF issues warnings on php 7.3 The latest version boasts 'Improved compatibility with PHP 7.3' https://github.com/dompdf/dompdf/releases/tag/v0.8.3 To get there I needed to do composer update dompdf/dompdf phenx/php-svg-lib sabberworm/php-css-parser & also got https://github.com/sabberworm/PHP-CSS-Parser/releases onto the version that supports php 7+ - no obvious issues in the release notes and https://github.com/PhenX/php-svg-lib/releases - moving us from Bruised Bumblebee to Fanatical Furet Once againt nothing alarming & improved php 7+ support --- composer.lock | 59 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 24 deletions(-) diff --git a/composer.lock b/composer.lock index 3e8a14c551..6277d6d59f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fc2b275e88919949aad21babc71c1706", + "content-hash": "0da5b3e43131bb261a779ef723ab7d8b", "packages": [ { "name": "civicrm/civicrm-cxn-rpc", @@ -177,30 +177,34 @@ }, { "name": "dompdf/dompdf", - "version": "v0.8.0", + "version": "v0.8.3", "source": { "type": "git", "url": "https://github.com/dompdf/dompdf.git", - "reference": "0f418c6b58fdeafc2a0e80eb1fa5e644e185089c" + "reference": "75f13c700009be21a1965dc2c5b68a8708c22ba2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dompdf/dompdf/zipball/0f418c6b58fdeafc2a0e80eb1fa5e644e185089c", - "reference": "0f418c6b58fdeafc2a0e80eb1fa5e644e185089c", + "url": "https://api.github.com/repos/dompdf/dompdf/zipball/75f13c700009be21a1965dc2c5b68a8708c22ba2", + "reference": "75f13c700009be21a1965dc2c5b68a8708c22ba2", "shasum": "" }, "require": { "ext-dom": "*", - "ext-gd": "*", "ext-mbstring": "*", "phenx/php-font-lib": "0.5.*", - "phenx/php-svg-lib": "0.2.*", - "php": ">=5.3.0" + "phenx/php-svg-lib": "0.3.*", + "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "4.8.*", + "phpunit/phpunit": "^4.8|^5.5|^6.5", "squizlabs/php_codesniffer": "2.*" }, + "suggest": { + "ext-gd": "Needed to process images", + "ext-gmagick": "Improves image processing performance", + "ext-imagick": "Improves image processing performance" + }, "type": "library", "extra": { "branch-alias": { @@ -235,7 +239,7 @@ ], "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter", "homepage": "https://github.com/dompdf/dompdf", - "time": "2017-02-16T02:40:40+00:00" + "time": "2018-12-14T02:40:31+00:00" }, { "name": "electrolinux/phpquery", @@ -1159,25 +1163,28 @@ }, { "name": "phenx/php-svg-lib", - "version": "v0.2", + "version": "v0.3.3", "source": { "type": "git", "url": "https://github.com/PhenX/php-svg-lib.git", - "reference": "de291bec8449b89acfe85691b5c71434797959dc" + "reference": "5fa61b65e612ce1ae15f69b3d223cb14ecc60e32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/de291bec8449b89acfe85691b5c71434797959dc", - "reference": "de291bec8449b89acfe85691b5c71434797959dc", + "url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/5fa61b65e612ce1ae15f69b3d223cb14ecc60e32", + "reference": "5fa61b65e612ce1ae15f69b3d223cb14ecc60e32", "shasum": "" }, "require": { - "sabberworm/php-css-parser": "6.0.*" + "sabberworm/php-css-parser": "^8.3" + }, + "require-dev": { + "phpunit/phpunit": "^5.5|^6.5" }, "type": "library", "autoload": { - "psr-0": { - "Svg\\": "src/" + "psr-4": { + "Svg\\": "src/Svg" } }, "notification-url": "https://packagist.org/downloads/", @@ -1192,7 +1199,7 @@ ], "description": "A library to read, parse and export to PDF SVG files.", "homepage": "https://github.com/PhenX/php-svg-lib", - "time": "2016-12-13T20:25:45+00:00" + "time": "2019-09-11T20:02:13+00:00" }, { "name": "phpoffice/common", @@ -1612,21 +1619,25 @@ }, { "name": "sabberworm/php-css-parser", - "version": "6.0.1", + "version": "8.3.0", "source": { "type": "git", "url": "https://github.com/sabberworm/PHP-CSS-Parser.git", - "reference": "9ea4b00c569b19f731d0c2e0e802055877ff40c2" + "reference": "91bcc3e3fdb7386c9a2e0e0aa09ca75cc43f121f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sabberworm/PHP-CSS-Parser/zipball/9ea4b00c569b19f731d0c2e0e802055877ff40c2", - "reference": "9ea4b00c569b19f731d0c2e0e802055877ff40c2", + "url": "https://api.github.com/repos/sabberworm/PHP-CSS-Parser/zipball/91bcc3e3fdb7386c9a2e0e0aa09ca75cc43f121f", + "reference": "91bcc3e3fdb7386c9a2e0e0aa09ca75cc43f121f", "shasum": "" }, "require": { "php": ">=5.3.2" }, + "require-dev": { + "codacy/coverage": "^1.4", + "phpunit/phpunit": "~4.8" + }, "type": "library", "autoload": { "psr-0": { @@ -1649,7 +1660,7 @@ "parser", "stylesheet" ], - "time": "2015-08-24T08:48:52+00:00" + "time": "2019-02-22T07:42:52+00:00" }, { "name": "symfony/config", @@ -2606,7 +2617,7 @@ { "name": "Tobias Nyholm", "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" + "homepage": "https://github.com/nyholm" }, { "name": "Nicolas Grekas", -- 2.25.1