Test branch of madelineProto

This commit is contained in:
Alexander Pankratov 2020-08-31 02:33:38 +03:00
parent 74a566e86f
commit 8f5ac05263
2 changed files with 70 additions and 17 deletions

View File

@ -5,6 +5,12 @@
"homepage": "https://tg.i-c-a.su/", "homepage": "https://tg.i-c-a.su/",
"license": "MIT", "license": "MIT",
"keywords": ["telegram", "mtproto", "protocol", "client", "PHP", "amphp", "async", "daemon", "coroutine", "parser", "micro-service"], "keywords": ["telegram", "mtproto", "protocol", "client", "PHP", "amphp", "async", "daemon", "coroutine", "parser", "micro-service"],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/xtrime-ru/MadelineProto.git"
}
],
"require": { "require": {
"php": ">=7.4.0", "php": ">=7.4.0",
"ext-json": "*", "ext-json": "*",
@ -14,7 +20,7 @@
"amphp/websocket-server": "dev-master", "amphp/websocket-server": "dev-master",
"amphp/websocket-client": "dev-master", "amphp/websocket-client": "dev-master",
"vlucas/phpdotenv": "^4", "vlucas/phpdotenv": "^4",
"danog/madelineproto":"dev-master", "danog/madelineproto":"dev-new_db_properties",
"danog/tgseclib": "^3", "danog/tgseclib": "^3",
"amphp/http-server-form-parser": "^1.1" "amphp/http-server-form-parser": "^1.1"
}, },

79
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "5c7f2c233c20d70ced8e832eb6f64623", "content-hash": "3c24c2d2d34b9baba485380ad4859480",
"packages": [ "packages": [
{ {
"name": "amphp/amp", "name": "amphp/amp",
@ -1565,12 +1565,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/websocket-client.git", "url": "https://github.com/amphp/websocket-client.git",
"reference": "09e6eda3cead9d20d47a8e5cb9f04385eb950466" "reference": "fc1a4b7803f3387e3c7648439548847e7792673e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/websocket-client/zipball/09e6eda3cead9d20d47a8e5cb9f04385eb950466", "url": "https://api.github.com/repos/amphp/websocket-client/zipball/fc1a4b7803f3387e3c7648439548847e7792673e",
"reference": "09e6eda3cead9d20d47a8e5cb9f04385eb950466", "reference": "fc1a4b7803f3387e3c7648439548847e7792673e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1635,7 +1635,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2020-07-23T20:42:14+00:00" "time": "2020-08-30T19:22:43+00:00"
}, },
{ {
"name": "amphp/websocket-server", "name": "amphp/websocket-server",
@ -2065,16 +2065,16 @@
}, },
{ {
"name": "danog/madelineproto", "name": "danog/madelineproto",
"version": "dev-master", "version": "dev-new_db_properties",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/danog/MadelineProto.git", "url": "https://github.com/xtrime-ru/MadelineProto.git",
"reference": "c4cf967198a63dd10ae930904d13dec88825f1d1" "reference": "e48556ec8004dc7f46a1959ea495fae3c7e03bf0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/danog/MadelineProto/zipball/c4cf967198a63dd10ae930904d13dec88825f1d1", "url": "https://api.github.com/repos/xtrime-ru/MadelineProto/zipball/e48556ec8004dc7f46a1959ea495fae3c7e03bf0",
"reference": "c4cf967198a63dd10ae930904d13dec88825f1d1", "reference": "e48556ec8004dc7f46a1959ea495fae3c7e03bf0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2145,7 +2145,51 @@
"src/polyfill.php" "src/polyfill.php"
] ]
}, },
"notification-url": "https://packagist.org/downloads/", "autoload-dev": {
"psr-4": {
"danog\\MadelineProto\\Test\\": "tests/danog/"
},
"files": [
"tools/build_docs/schemas.php",
"tools/build_docs/merge.php",
"tools/build_docs/layerUpgrade.php"
]
},
"scripts": {
"post-autoload-dump": [
"git submodule init && git submodule update"
],
"build": [
"@docs",
"@cs-fix",
"@psalm"
],
"check": [
"@cs",
"@test"
],
"test-php7": [
"tests/test-conversion.sh 70"
],
"test-php56": [
"tests/test-conversion.sh 5"
],
"cs": [
"PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff --dry-run"
],
"cs-fix": [
"PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff"
],
"psalm": [
"psalm"
],
"docs": [
"php tools/build_docs.php"
],
"test": [
"@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text --config tests/phpunit.xml"
]
},
"license": [ "license": [
"AGPL-3.0-only" "AGPL-3.0-only"
], ],
@ -2159,25 +2203,28 @@
"homepage": "https://docs.madelineproto.xyz", "homepage": "https://docs.madelineproto.xyz",
"keywords": [ "keywords": [
"GB", "GB",
"Messenger", "PHP",
"audio", "audio",
"bytes", "bytes",
"client", "client",
"files", "files",
"messenger",
"mtproto", "mtproto",
"php",
"protocol", "protocol",
"stickers", "stickers",
"telegram", "telegram",
"video" "video"
], ],
"support": {
"source": "https://github.com/xtrime-ru/MadelineProto/tree/new_db_properties"
},
"funding": [ "funding": [
{ {
"url": "https://github.com/danog", "type": "github",
"type": "github" "url": "https://github.com/danog"
} }
], ],
"time": "2020-08-27T16:04:55+00:00" "time": "2020-08-30T23:30:41+00:00"
}, },
{ {
"name": "danog/magicalserializer", "name": "danog/magicalserializer",