Skip to content

Commit 77c23b2

Browse files
committed
PHP 8, PTB 0.71, bump all dependencies
1 parent 34565ee commit 77c23b2

File tree

9 files changed

+435
-286
lines changed

9 files changed

+435
-286
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
66
## [Unreleased]
77
### Added
88
### Changed
9+
- Moved to PHP 8.
10+
- Bump to version 0.71 of core.
911
### Deprecated
1012
### Removed
1113
### Fixed

commands/DonateCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ protected function fetchCurrenciesFromTelegram(): array
148148
}
149149

150150
return json_decode($currencies, true, 512, JSON_THROW_ON_ERROR);
151-
} catch (JsonException $e) {
151+
} catch (JsonException) {
152152
return [];
153153
}
154154
}

composer.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^7.4|^8.0",
20+
"php": "^8.0",
2121
"ext-json": "*",
2222
"ext-pdo": "*",
2323
"php-telegram-bot/telegram-bot-manager": "^1.6",
24-
"longman/telegram-bot": "0.70.1 as 0.70",
24+
"longman/telegram-bot": "0.71.0 as 0.70",
2525
"noplanman/service-webhook-handler": "^0.2",
26-
"vlucas/phpdotenv": "^3.6",
27-
"php-http/guzzle7-adapter": "^0.1",
28-
"knplabs/github-api": "^2.19",
29-
"elvanto/litemoji": "^1.4",
26+
"vlucas/phpdotenv": "^5.3",
27+
"elvanto/litemoji": "^4.0",
3028
"monolog/monolog": "^2.2",
31-
"matthiasmullie/scrapbook": "^1.4"
29+
"matthiasmullie/scrapbook": "^1.4",
30+
"knplabs/github-api": "^3.1",
31+
"guzzlehttp/guzzle": "^7.2",
32+
"http-interop/http-factory-guzzle": "^1.0"
3233
},
3334
"require-dev": {
3435
"roave/security-advisories": "dev-master",

0 commit comments

Comments
 (0)