diff --git a/composer.json b/composer.json index 7b7729b..3816966 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,12 @@ "homepage": "https://tg.i-c-a.su/", "license": "MIT", "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": { "php": ">=7.4.0", "ext-json": "*", @@ -14,7 +20,7 @@ "amphp/websocket-server": "dev-master", "amphp/websocket-client": "dev-master", "vlucas/phpdotenv": "^4", - "danog/madelineproto":"dev-master", + "danog/madelineproto":"dev-new_db_properties", "danog/tgseclib": "^3", "amphp/http-server-form-parser": "^1.1" }, diff --git a/composer.lock b/composer.lock index 2d63fb6..e0ac5db 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5c7f2c233c20d70ced8e832eb6f64623", + "content-hash": "3c24c2d2d34b9baba485380ad4859480", "packages": [ { "name": "amphp/amp", @@ -1565,12 +1565,12 @@ "source": { "type": "git", "url": "https://github.com/amphp/websocket-client.git", - "reference": "09e6eda3cead9d20d47a8e5cb9f04385eb950466" + "reference": "fc1a4b7803f3387e3c7648439548847e7792673e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/websocket-client/zipball/09e6eda3cead9d20d47a8e5cb9f04385eb950466", - "reference": "09e6eda3cead9d20d47a8e5cb9f04385eb950466", + "url": "https://api.github.com/repos/amphp/websocket-client/zipball/fc1a4b7803f3387e3c7648439548847e7792673e", + "reference": "fc1a4b7803f3387e3c7648439548847e7792673e", "shasum": "" }, "require": { @@ -1635,7 +1635,7 @@ "type": "github" } ], - "time": "2020-07-23T20:42:14+00:00" + "time": "2020-08-30T19:22:43+00:00" }, { "name": "amphp/websocket-server", @@ -2065,16 +2065,16 @@ }, { "name": "danog/madelineproto", - "version": "dev-master", + "version": "dev-new_db_properties", "source": { "type": "git", - "url": "https://github.com/danog/MadelineProto.git", - "reference": "c4cf967198a63dd10ae930904d13dec88825f1d1" + "url": "https://github.com/xtrime-ru/MadelineProto.git", + "reference": "e48556ec8004dc7f46a1959ea495fae3c7e03bf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/danog/MadelineProto/zipball/c4cf967198a63dd10ae930904d13dec88825f1d1", - "reference": "c4cf967198a63dd10ae930904d13dec88825f1d1", + "url": "https://api.github.com/repos/xtrime-ru/MadelineProto/zipball/e48556ec8004dc7f46a1959ea495fae3c7e03bf0", + "reference": "e48556ec8004dc7f46a1959ea495fae3c7e03bf0", "shasum": "" }, "require": { @@ -2145,7 +2145,51 @@ "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": [ "AGPL-3.0-only" ], @@ -2159,25 +2203,28 @@ "homepage": "https://docs.madelineproto.xyz", "keywords": [ "GB", - "Messenger", + "PHP", "audio", "bytes", "client", "files", + "messenger", "mtproto", - "php", "protocol", "stickers", "telegram", "video" ], + "support": { + "source": "https://github.com/xtrime-ru/MadelineProto/tree/new_db_properties" + }, "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",