Skip to content

Commit 221c66e

Browse files
committed
update dependencies
1 parent 99244c3 commit 221c66e

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
os: [ubuntu-latest]
2929
coverage-extension: [pcov]
3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v6
3232
- name: Use php ${{ matrix.php-version }}
3333
uses: shivammathur/setup-php@v2
3434
with:

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ COMPOSER=$(PHP) -d "apc.enable_cli=0" $(shell which composer)
8383
# phpDocumentor executable file
8484
PHPDOC=$(shell which phpDocumentor)
8585

86+
# phpstan version
87+
PHPSTANVER=2.1.32
88+
8689
# --- MAKE TARGETS ---
8790

8891
# Display general help about this command
@@ -170,7 +173,7 @@ endif
170173
deps: ensuretarget
171174
rm -rf ./vendor/*
172175
($(COMPOSER) install -vvv --no-interaction)
173-
curl --silent --show-error --fail --location --output ./vendor/phpstan.phar https://github.com/phpstan/phpstan/releases/download/2.1.2/phpstan.phar \
176+
curl --silent --show-error --fail --location --output ./vendor/phpstan.phar https://github.com/phpstan/phpstan/releases/download/${PHPSTANVER}/phpstan.phar \
174177
&& chmod +x ./vendor/phpstan.phar
175178

176179
# Generate source code documentation

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.24
1+
2.0.26

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"require-dev": {
2727
"pdepend/pdepend": "2.16.2",
2828
"phpmd/phpmd": "2.15.0",
29-
"phpunit/phpunit": "12.2.0 || 11.5.7 || 10.5.40",
30-
"squizlabs/php_codesniffer": "3.13.0"
29+
"phpunit/phpunit": "12.4.4 || 11.5.44 || 10.5.58",
30+
"squizlabs/php_codesniffer": "4.0.1"
3131
},
3232
"autoload": {
3333
"psr-4": {

src/Type/AsciiEightFive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function decode(string $data): string
102102
}
103103

104104
if ($group_pos > 1) {
105-
$tuple += $pow85[($group_pos - 1)];
105+
$tuple += $pow85[($group_pos - 1)] ?? 0;
106106
}
107107

108108
return $decoded . $this->getLastTuple($group_pos, $tuple);

0 commit comments

Comments
 (0)