Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vendor update v3.0.2 #83

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 24 additions & 24 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"packages": [
{
"name": "dompdf/dompdf",
"version": "v3.0.0",
"version_normalized": "3.0.0.0",
"version": "v3.0.2",
"version_normalized": "3.0.2.0",
"source": {
"type": "git",
"url": "https://github.com/dompdf/dompdf.git",
"reference": "fbc7c5ee5d94f7a910b78b43feb7931b7f971b59"
"reference": "baf4084b27c7f4b5b7a221b19a94d11327664eb8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/dompdf/dompdf/zipball/fbc7c5ee5d94f7a910b78b43feb7931b7f971b59",
"reference": "fbc7c5ee5d94f7a910b78b43feb7931b7f971b59",
"url": "https://api.github.com/repos/dompdf/dompdf/zipball/baf4084b27c7f4b5b7a221b19a94d11327664eb8",
"reference": "baf4084b27c7f4b5b7a221b19a94d11327664eb8",
"shasum": ""
},
"require": {
Expand All @@ -28,7 +28,7 @@
"ext-json": "*",
"ext-zip": "*",
"mockery/mockery": "^1.3",
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10",
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11",
"squizlabs/php_codesniffer": "^3.5",
"symfony/process": "^4.4 || ^5.4 || ^6.2 || ^7.0"
},
Expand All @@ -38,7 +38,7 @@
"ext-imagick": "Improves image processing performance",
"ext-zlib": "Needed for pdf stream compression"
},
"time": "2024-04-29T14:01:28+00:00",
"time": "2024-12-27T20:27:37+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand All @@ -63,23 +63,23 @@
"homepage": "https://github.com/dompdf/dompdf",
"support": {
"issues": "https://github.com/dompdf/dompdf/issues",
"source": "https://github.com/dompdf/dompdf/tree/v3.0.0"
"source": "https://github.com/dompdf/dompdf/tree/v3.0.2"
},
"install-path": "../dompdf/dompdf"
},
{
"name": "dompdf/php-font-lib",
"version": "1.0.0",
"version_normalized": "1.0.0.0",
"version": "1.0.1",
"version_normalized": "1.0.1.0",
"source": {
"type": "git",
"url": "https://github.com/dompdf/php-font-lib.git",
"reference": "991d6a954f6bbd7e41022198f00586b230731441"
"reference": "6137b7d4232b7f16c882c75e4ca3991dbcf6fe2d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/dompdf/php-font-lib/zipball/991d6a954f6bbd7e41022198f00586b230731441",
"reference": "991d6a954f6bbd7e41022198f00586b230731441",
"url": "https://api.github.com/repos/dompdf/php-font-lib/zipball/6137b7d4232b7f16c882c75e4ca3991dbcf6fe2d",
"reference": "6137b7d4232b7f16c882c75e4ca3991dbcf6fe2d",
"shasum": ""
},
"require": {
Expand All @@ -89,7 +89,7 @@
"require-dev": {
"symfony/phpunit-bridge": "^3 || ^4 || ^5 || ^6"
},
"time": "2024-04-29T13:40:38+00:00",
"time": "2024-12-02T14:37:59+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand All @@ -111,7 +111,7 @@
"homepage": "https://github.com/dompdf/php-font-lib",
"support": {
"issues": "https://github.com/dompdf/php-font-lib/issues",
"source": "https://github.com/dompdf/php-font-lib/tree/1.0.0"
"source": "https://github.com/dompdf/php-font-lib/tree/1.0.1"
},
"install-path": "../dompdf/php-font-lib"
},
Expand Down Expand Up @@ -236,30 +236,30 @@
},
{
"name": "sabberworm/php-css-parser",
"version": "v8.5.1",
"version_normalized": "8.5.1.0",
"version": "v8.7.0",
"version_normalized": "8.7.0.0",
"source": {
"type": "git",
"url": "https://github.com/MyIntervals/PHP-CSS-Parser.git",
"reference": "4a3d572b0f8b28bb6fd016ae8bbfc445facef152"
"reference": "f414ff953002a9b18e3a116f5e462c56f21237cf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/MyIntervals/PHP-CSS-Parser/zipball/4a3d572b0f8b28bb6fd016ae8bbfc445facef152",
"reference": "4a3d572b0f8b28bb6fd016ae8bbfc445facef152",
"url": "https://api.github.com/repos/MyIntervals/PHP-CSS-Parser/zipball/f414ff953002a9b18e3a116f5e462c56f21237cf",
"reference": "f414ff953002a9b18e3a116f5e462c56f21237cf",
"shasum": ""
},
"require": {
"ext-iconv": "*",
"php": ">=5.6.20"
"php": "^5.6.20 || ^7.0.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7.27"
"phpunit/phpunit": "5.7.27 || 6.5.14 || 7.5.20 || 8.5.40"
},
"suggest": {
"ext-mbstring": "for parsing UTF-8 CSS"
},
"time": "2024-02-15T16:41:13+00:00",
"time": "2024-10-27T17:38:32+00:00",
"type": "library",
"extra": {
"branch-alias": {
Expand Down Expand Up @@ -298,7 +298,7 @@
],
"support": {
"issues": "https://github.com/MyIntervals/PHP-CSS-Parser/issues",
"source": "https://github.com/MyIntervals/PHP-CSS-Parser/tree/v8.5.1"
"source": "https://github.com/MyIntervals/PHP-CSS-Parser/tree/v8.7.0"
},
"install-path": "../sabberworm/php-css-parser"
}
Expand Down
22 changes: 11 additions & 11 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '8c099f7f1ac0f97afce9ebcea296c2a618e91f7f',
'reference' => 'fd02b257104df5e4bc7e4ef84eac9e9bfc77747e',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,25 +13,25 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '8c099f7f1ac0f97afce9ebcea296c2a618e91f7f',
'reference' => 'fd02b257104df5e4bc7e4ef84eac9e9bfc77747e',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'dompdf/dompdf' => array(
'pretty_version' => 'v3.0.0',
'version' => '3.0.0.0',
'reference' => 'fbc7c5ee5d94f7a910b78b43feb7931b7f971b59',
'pretty_version' => 'v3.0.2',
'version' => '3.0.2.0',
'reference' => 'baf4084b27c7f4b5b7a221b19a94d11327664eb8',
'type' => 'library',
'install_path' => __DIR__ . '/../dompdf/dompdf',
'aliases' => array(),
'dev_requirement' => false,
),
'dompdf/php-font-lib' => array(
'pretty_version' => '1.0.0',
'version' => '1.0.0.0',
'reference' => '991d6a954f6bbd7e41022198f00586b230731441',
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'reference' => '6137b7d4232b7f16c882c75e4ca3991dbcf6fe2d',
'type' => 'library',
'install_path' => __DIR__ . '/../dompdf/php-font-lib',
'aliases' => array(),
Expand All @@ -56,9 +56,9 @@
'dev_requirement' => false,
),
'sabberworm/php-css-parser' => array(
'pretty_version' => 'v8.5.1',
'version' => '8.5.1.0',
'reference' => '4a3d572b0f8b28bb6fd016ae8bbfc445facef152',
'pretty_version' => 'v8.7.0',
'version' => '8.7.0.0',
'reference' => 'f414ff953002a9b18e3a116f5e462c56f21237cf',
'type' => 'library',
'install_path' => __DIR__ . '/../sabberworm/php-css-parser',
'aliases' => array(),
Expand Down
7 changes: 6 additions & 1 deletion vendor/dompdf/dompdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ Make sure that the autoload file from Composer is loaded.
// somewhere early in your project's loading, require the Composer autoloader
// see: http://getcomposer.org/doc/00-intro.md
require 'vendor/autoload.php';

```

### Download and install
Expand Down Expand Up @@ -151,6 +150,12 @@ git checkout 8.1.0
Require dompdf and it's dependencies in your PHP.
For details see the [autoloader in the utils project](https://github.com/dompdf/utils/blob/master/autoload.inc.php).

## Framework Integration

* For Symfony: [nucleos/dompdf-bundle](https://github.com/nucleos/NucleosDompdfBundle)
* For Laravel: [barryvdh/laravel-dompdf](https://github.com/barryvdh/laravel-dompdf)
* For Redaxo: [PdfOut](https://github.com/FriendsOfREDAXO/pdfout)

## Quick Start

Just pass your HTML in to dompdf and stream the output:
Expand Down
2 changes: 1 addition & 1 deletion vendor/dompdf/dompdf/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.0.2
2 changes: 1 addition & 1 deletion vendor/dompdf/dompdf/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"ext-gd": "*",
"ext-json": "*",
"ext-zip": "*",
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10",
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11",
"squizlabs/php_codesniffer": "^3.5",
"mockery/mockery": "^1.3",
"symfony/process": "^4.4 || ^5.4 || ^6.2 || ^7.0"
Expand Down
8 changes: 4 additions & 4 deletions vendor/dompdf/dompdf/lib/Cpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -3531,14 +3531,14 @@ private function openFont($font)
*/
function selectFont($fontName, $encoding = '', $set = true, $isSubsetting = true)
{
if ($fontName === null || $fontName === '') {
return $this->currentFontNum;
}

$fontName = (string) $fontName;
$ext = substr($fontName, -4);
if ($ext === '.afm' || $ext === '.ufm') {
$fontName = substr($fontName, 0, mb_strlen($fontName) - 4);
}
if ($fontName === '') {
return $this->currentFontNum;
}

if (!isset($this->fonts[$fontName])) {
$this->addMessage("selectFont: selecting - $fontName - $encoding, $set");
Expand Down
20 changes: 20 additions & 0 deletions vendor/dompdf/dompdf/phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
convertDeprecationsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
failOnSkipped="true">
<testsuites>
<testsuite name="Dompdf Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>
4 changes: 2 additions & 2 deletions vendor/dompdf/dompdf/src/Css/Style.php
Original file line number Diff line number Diff line change
Expand Up @@ -2206,7 +2206,7 @@ protected function _get_background_color($computed)
*/
protected function _get_background_image($computed): string
{
return $this->_stylesheet->resolve_url($computed);
return $this->_stylesheet->resolve_url($computed, true);
}

/**
Expand Down Expand Up @@ -2504,7 +2504,7 @@ protected function _get_outline(): string
*/
protected function _get_list_style_image($computed): string
{
return $this->_stylesheet->resolve_url($computed);
return $this->_stylesheet->resolve_url($computed, true);
}

/**
Expand Down
Loading