diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8ee0f073..40f8ad58 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,10 +29,10 @@ jobs: coverage-extension: ["none"] # Add more specific tests include: - #- { php-version: '8.2', experimental: false, os: macos-latest, php-extensions: 'bcmath, imagick, gd', coverage-extension: 'none' } - - { php-version: '8.2', experimental: false, os: windows-latest, php-extensions: 'bcmath, imagick, gd', coverage-extension: 'none' } - - { php-version: '8.3', experimental: true, os: ubuntu-latest, php-extensions: 'bcmath, imagick, gd', coverage-extension: 'pcov' } - - { php-version: 'nightly', experimental: true, os: ubuntu-latest, php-extensions: 'bcmath, imagick, gd', coverage-extension: 'pcov' } + #- { php-version: '8.2', experimental: false, os: macos-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'none' } + - { php-version: '8.2', experimental: false, os: windows-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'none' } + - { php-version: '8.3', experimental: true, os: ubuntu-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'pcov' } + - { php-version: 'nightly', experimental: true, os: ubuntu-latest, php-extensions: 'bcmath, curl, imagick, gd', coverage-extension: 'pcov' } env: PDFINFO_BINARY: ${{ (matrix.os == 'ubuntu-latest') && '/usr/bin/pdfinfo' || ((matrix.os == 'macos-latest') && '/usr/local/bin/pdfinfo' || 'C:\ProgramData\Chocolatey\bin\pdfinfo.exe') }} steps: diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 9262c5ba..a6485e3a 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,11 +1,10 @@ 6.8.0 (2024-12-23) - - Requires PHP 7.1+. + - Requires PHP 7.1+ and curl extension. - Escape error message. - Use strict time-constant function to compare TCPDF-tag hashes. - Add K_CURLOPTS config array to set custom cURL options (NOTE: some defaults have changed). - Add some addTTFfont fixes from tc-lib-pdf-font. - 6.7.8 (2024-12-13) - Improve SVG detection by checking for (mandatory) namespace. - Use late state binding now that minimum PHP version is 5.5. diff --git a/composer.json b/composer.json index deef9955..b0db2889 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,8 @@ } ], "require": { - "php": ">=7.1.0" + "php": ">=7.1.0", + "ext-curl": "*" }, "autoload": { "classmap": [