Skip to content

Commit 810444d

Browse files
committed
Update dependencies
1 parent 65c65af commit 810444d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.11
1+
3.0.12

resources/debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Vcs-Git: https://github.com/~#VENDOR#~/~#PROJECT#~.git
1010
Package: ~#PKGNAME#~
1111
Provides: php-~#PROJECT#~
1212
Architecture: all
13-
Depends: php (>= 8.0.0), php-tecnickcom-tc-lib-pdf-filter (<< 2.0.0), php-tecnickcom-tc-lib-pdf-filter (>= 2.0.14), ${misc:Depends}
13+
Depends: php (>= 8.0.0), php-tecnickcom-tc-lib-pdf-filter (<< 2.0.0), php-tecnickcom-tc-lib-pdf-filter (>= 2.0.15), ${misc:Depends}
1414
Description: PHP PDF Parser Library
1515
PHP library to parse PDF documents.

resources/rpm/rpm.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BuildArch: noarch
1818

1919
Requires: php(language) >= 8.0.0
2020
Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) < 2.0.0
21-
Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.0.14
21+
Requires: php-composer(%{c_vendor}/tc-lib-pdf-filter) >= 2.0.15
2222
Requires: php-pcre
2323

2424
Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version}

src/Process/Xref.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ protected function decodeXref(int $startxref, array $xref): array
251251
}
252252

253253
// get trailer data
254-
$trl = preg_match('/trailer[\s]*<<(.*)>>/isU', $this->pdfdata, $trmatches, PREG_OFFSET_CAPTURE, $offset);
254+
$trl = preg_match('/trailer[\s]*+<<(.*)>>/isU', $this->pdfdata, $trmatches, PREG_OFFSET_CAPTURE, $offset);
255255
if ($trl !== 1) {
256256
throw new PPException('Unable to find trailer');
257257
}
@@ -314,7 +314,7 @@ protected function getTrailerData(array $xref, array $matches): array
314314
$xref['trailer']['info'] = (int) $matches[1] . '_' . (int) $matches[2];
315315
}
316316

317-
if (preg_match('/ID[\s]*[\[][\s]*[<]([^>]*)[>][\s]*[<]([^>]*)[>]/i', $trailer_data, $matches) > 0) {
317+
if (preg_match('/ID[\s]*+[\[][\s]*+[<]([^>]*+)[>][\s]*+[<]([^>]*+)[>]/i', $trailer_data, $matches) > 0) {
318318
$xref['trailer']['id'] = [];
319319
$xref['trailer']['id'][0] = $matches[1];
320320
$xref['trailer']['id'][1] = $matches[2];

0 commit comments

Comments
 (0)