1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 23:14:38 +01:00

Compare commits

..

No commits in common. "8b3edc488803f570d77975ed559f9c22d888df6e" and "83c36563f45495c2d32c3db58e365d29b41610fa" have entirely different histories.

2 changed files with 6 additions and 9 deletions

View File

@ -23,7 +23,7 @@
"ext-pthreads": "*"
},
"require": {
"php-64bit": ">=8.3",
"php-64bit": ">=8.2",
"danog/primemodule": "^1.0.13",
"symfony/polyfill-mbstring": "*",
"ext-json": "*",
@ -36,13 +36,13 @@
"amphp/amp": "^3.0.2",
"amphp/http-client": "^5.1.0",
"amphp/websocket-client": "^2",
"amphp/http": "^2.1.2",
"amphp/http": "^2.1.1",
"amphp/socket": "^2.3.1",
"amphp/dns": "^2.2.0",
"amphp/byte-stream": "^2.1.1",
"amphp/file": "^3.1.1",
"amphp/mysql": "^3",
"amphp/postgres": "^2.1.1",
"amphp/postgres": "^2",
"danog/dns-over-https": "^1",
"amphp/http-client-cookies": "^2",
"danog/tg-file-decoder": "^1.0.1",
@ -55,8 +55,8 @@
"psr/http-factory": "^1.1.0",
"psr/log": "^3.0.2",
"webmozart/assert": "^1.11",
"bacon/bacon-qr-code": "^3.0.1",
"nikic/php-parser": "^5.3.1",
"bacon/bacon-qr-code": "^3",
"nikic/php-parser": "^5.2.0",
"revolt/event-loop": "^1.0.6",
"danog/async-orm": "^1.1.0",
"danog/telegram-entities": "^1.0.4",
@ -70,7 +70,7 @@
"phpunit/phpunit": "^9.6.21",
"amphp/phpunit-util": "^3",
"bamarni/composer-bin-plugin": "1.8.2",
"symfony/yaml": "^6.4.13",
"symfony/yaml": "^6.4.12",
"revolt/event-loop-adapter-react": "^1.1.1",
"dg/bypass-finals": "dev-master",
"brianium/paratest": "^6.11.1",

View File

@ -393,9 +393,6 @@ trait Files
}
await($promises, $cancellation);
await($resPromises, $cancellation);
if ($totalSize === 0) {
throw new AssertionError('You uploaded an empty file!');
}
$time = microtime(true) - $start;
$speed = (int) ($totalSize * 8 / $time) / 1000000;
if (!$size) {