Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Feb 7, 2025
1 parent b67b979 commit 316bdc5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ endif
deps: ensuretarget
rm -rf ./vendor/* $(TARGETDIR)/fonts
($(COMPOSER) install -vvv --no-interaction)
curl --silent --show-error --fail --location --output ./vendor/phpstan.phar https://github.com/phpstan/phpstan/releases/download/2.0.4/phpstan.phar \
curl --silent --show-error --fail --location --output ./vendor/phpstan.phar https://github.com/phpstan/phpstan/releases/download/2.1.2/phpstan.phar \
&& chmod +x ./vendor/phpstan.phar
cd util && make deps

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.5
2.6.6
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"require-dev": {
"pdepend/pdepend": "2.16.2",
"phpmd/phpmd": "2.15.0",
"phpunit/phpunit": "11.5.2 || 10.5.40",
"squizlabs/php_codesniffer": "3.11.2"
"phpunit/phpunit": "12.0.1 || 11.5.7 || 10.5.40",
"squizlabs/php_codesniffer": "3.11.3"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion resources/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ Vcs-Git: https://github.com/~#VENDOR#~/~#PROJECT#~.git
Package: ~#PKGNAME#~
Provides: php-~#PROJECT#~
Architecture: all
Depends: php (>= 8.1.0), php-json, php-zip, php-tecnickcom-tc-lib-file (<< 3.0.0), php-tecnickcom-tc-lib-file (>= 2.1.2), php-tecnickcom-tc-lib-unicode-data (<< 3.0.0), php-tecnickcom-tc-lib-unicode-data (>= 2.0.18), php-tecnickcom-tc-lib-pdf-encrypt (<< 3.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.1.10), php-tecnickcom-tc-lib-pdf-font-core (<< 2.0.0), php-tecnickcom-tc-lib-pdf-font-data-core (>= 1.8.7), ${misc:Depends}
Depends: php (>= 8.1.0), php-json, php-zip, php-tecnickcom-tc-lib-file (<< 3.0.0), php-tecnickcom-tc-lib-file (>= 2.1.3), php-tecnickcom-tc-lib-unicode-data (<< 3.0.0), php-tecnickcom-tc-lib-unicode-data (>= 2.0.19), php-tecnickcom-tc-lib-pdf-encrypt (<< 3.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.1.11), php-tecnickcom-tc-lib-pdf-font-core (<< 2.0.0), php-tecnickcom-tc-lib-pdf-font-data-core (>= 1.8.7), ${misc:Depends}
Description: PHP PDF Fonts Library
PHP library containing PDF font methods and utilities.
6 changes: 3 additions & 3 deletions resources/rpm/rpm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ Requires: php-json
Requires: php-pcre
Requires: php-zlib
Requires: php-composer(%{c_vendor}/tc-lib-file) < 3.0.0
Requires: php-composer(%{c_vendor}/tc-lib-file) >= 2.1.2
Requires: php-composer(%{c_vendor}/tc-lib-file) >= 2.1.3
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) < 3.0.0
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.0.18
Requires: php-composer(%{c_vendor}/tc-lib-unicode-data) >= 2.0.19
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 3.0.0
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1.10
Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1.11
Requires: php-composer(%{c_vendor}/tc-lib-pdf-font-data-core) < 2.0.0
Requires: php-composer(%{c_vendor}/tc-lib-pdf-font-data-core) >= 1.8.7

Expand Down
2 changes: 1 addition & 1 deletion src/OutFont.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ protected function getCid0(array $font): string
$out .= (++$this->pon) . ' 0 obj' . "\n"
. '<</Type /FontDescriptor /FontName /' . $name;
foreach ($font['desc'] as $key => $val) {
if ($key != 'Style') {
if ($key !== 'Style') { // @phpstan-ignore-line
$out .= $this->getKeyValOut($key, $val);
}
}
Expand Down

0 comments on commit 316bdc5

Please sign in to comment.