From ec3bd1b2933a5472bc78b75648718a5eece2dfca Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 20 Jun 2019 17:26:22 +0300 Subject: [PATCH] JMSSerializer models, removed everything related to autodoc --- .travis.yml | 11 +- Makefile | 21 +- composer.json | 18 +- composer.lock | 756 ++++++++++-------- phpdoc.dist.xml | 20 - src/Bot/Model/Entity/Bot.php | 286 +++++-- src/Bot/Model/Entity/Channel/Channel.php | 191 ++++- .../Model/Entity/Channel/ChannelSettings.php | 220 +++-- .../Entity/Channel/ChannelSettingsItem.php | 199 +++-- .../Entity/Channel/ChannelSettingsStatus.php | 81 ++ src/Bot/Model/Entity/Chat/Chat.php | 252 ++++-- src/Bot/Model/Entity/Chat/ChatLastMessage.php | 113 ++- src/Bot/Model/Entity/Chat/ChatMember.php | 142 +++- src/Bot/Model/Entity/Command.php | 85 +- src/Bot/Model/Entity/CommonFields.php | 111 ++- src/Bot/Model/Entity/Customer.php | 373 +++++++-- src/Bot/Model/Entity/Dialog.php | 258 ++++-- src/Bot/Model/Entity/FileMeta.php | 83 +- src/Bot/Model/Entity/Message/Item.php | 110 ++- src/Bot/Model/Entity/Message/Message.php | 519 ++++++++++-- src/Bot/Model/Entity/Message/MessageCost.php | 82 +- .../Model/Entity/Message/MessageDelivery.php | 143 +++- src/Bot/Model/Entity/Message/MessageOrder.php | 264 ++++-- .../Model/Entity/Message/MessageOrderItem.php | 168 +++- .../Message/MessageOrderPaymentStatus.php | 82 +- .../Model/Entity/Message/MessagePayment.php | 110 ++- .../Model/Entity/Message/MessageProduct.php | 226 ++++-- .../Model/Entity/Message/MessageQuantity.php | 83 +- .../Model/Entity/Message/MessageStatus.php | 81 +- src/Bot/Model/Entity/Responsible.php | 110 ++- src/Bot/Model/Entity/User.php | 317 ++++++-- src/Bot/Model/Request/BotsRequest.php | 106 ++- src/Bot/Model/Request/ChannelsRequest.php | 79 +- src/Bot/Model/Request/ChatsRequest.php | 79 +- src/Bot/Model/Request/CommandEditRequest.php | 114 ++- src/Bot/Model/Request/CommandsRequest.php | 52 +- src/Bot/Model/Request/CommonFields.php | 104 ++- src/Bot/Model/Request/CustomersRequest.php | 53 +- src/Bot/Model/Request/DialogAssignRequest.php | 110 ++- src/Bot/Model/Request/DialogsRequest.php | 170 +++- src/Bot/Model/Request/InfoRequest.php | 110 ++- src/Bot/Model/Request/MembersRequest.php | 168 +++- src/Bot/Model/Request/MessageEditRequest.php | 81 +- src/Bot/Model/Request/MessageSendRequest.php | 261 ++++-- src/Bot/Model/Request/MessagesRequest.php | 286 +++++-- src/Bot/Model/Request/UsersRequest.php | 106 ++- src/Bot/Model/Response/AssignResponse.php | 142 +++- src/Bot/Model/Response/CommonFields.php | 59 +- src/Bot/Model/Response/ErrorOnlyResponse.php | 4 +- src/Bot/Model/Response/FullFileResponse.php | 143 +++- src/Bot/Model/Response/ListResponse.php | 35 +- .../Model/Response/MessageSendResponse.php | 85 +- src/Bot/Model/Response/UploadFileResponse.php | 258 ++++-- src/Register.php | 371 +++++++-- src/Serializer.php | 66 +- 55 files changed, 6300 insertions(+), 2257 deletions(-) delete mode 100644 phpdoc.dist.xml create mode 100644 src/Bot/Model/Entity/Channel/ChannelSettingsStatus.php diff --git a/.travis.yml b/.travis.yml index a9223bc..17a7351 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,13 +12,4 @@ before_script: - flags="-o" - composer install $flags -script: make travis - -deploy: - provider: pages - skip_cleanup: true - github_token: $GITHUB_TOKEN - local_dir: mg-bot-api-client-php.pages - keep_history: true - on: - branch: master \ No newline at end of file +script: make test \ No newline at end of file diff --git a/Makefile b/Makefile index 207e8d9..75c11c8 100644 --- a/Makefile +++ b/Makefile @@ -21,23 +21,4 @@ endif stan: @echo "==> Running analysis" @php $(BIN_DIR)/phpstan analyse -l 4 -c $(ROOT_DIR)/phpstan.neon $(SRC_DIR) - @echo "==> Analysis complete" - -docs: - @echo "==> Building docs" -ifeq ($(wildcard *.phar), ) - @wget https://github.com/phpDocumentor/phpDocumentor2/releases/download/v3.0.0-alpha.3/phpDocumentor.phar -O phpDocumentor.phar - @wget https://github.com/phpDocumentor/phpDocumentor2/releases/download/v3.0.0-alpha.3/phpDocumentor.phar.pubkey -O phpDocumentor.phar.pubkey - @chmod +x phpDocumentor.phar -endif -ifeq (, $(shell which dot)) -ifeq ($(wildcard dot/dot), ) - @mkdir -p $(ROOT_DIR)/dot - @wget https://github.com/Neur0toxine/mwgraphviz/raw/master/dot_static -O $(ROOT_DIR)/dot/dot - @chmod +x $(ROOT_DIR)/dot/dot -endif -endif - @php phpDocumentor.phar --config $(ROOT_DIR)/phpdoc.dist.xml - -travis: test docs - @echo "==> Done." \ No newline at end of file + @echo "==> Analysis complete" \ No newline at end of file diff --git a/composer.json b/composer.json index 00ac1b7..24a347d 100644 --- a/composer.json +++ b/composer.json @@ -12,21 +12,21 @@ } ], "require": { - "php": ">=7.1", + "php": ">=7.0", "ext-curl": "*", "ext-json": "*", - "doctrine/cache": "1.6.*", - "guzzlehttp/guzzle": "6.3.*", - "lazyjsonmapper/lazyjsonmapper": "^1.6", - "symfony/validator": "3.4.*", - "doctrine/annotations": "1.6.*", - "symfony/dotenv": "3.4.*" + "jms/serializer": "1.13.*", + "symfony/validator": "^4.2", + "doctrine/annotations": "^1.6", + "doctrine/cache": "^1.8", + "guzzlehttp/guzzle": "6.3.*" }, "require-dev": { "phpunit/phpunit": "6.5.*", "phpmd/phpmd": "2.6.*", "phpstan/phpstan": "0.9.*", "squizlabs/php_codesniffer": "3.4.*", + "symfony/dotenv": "^4.2", "friendsofphp/php-cs-fixer": "^2.14" }, "support": { @@ -47,7 +47,5 @@ "config": { "bin-dir": "bin", "process-timeout": 600 - }, - "minimum-stability": "dev", - "prefer-stable": true + } } diff --git a/composer.lock b/composer.lock index 61c951d..00c2b6f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,50 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "37c04715365723f98332d71aa2ee402e", + "content-hash": "881d5b814546ed880206e10657ac877b", "packages": [ - { - "name": "corneltek/getoptionkit", - "version": "2.6.0", - "source": { - "type": "git", - "url": "https://github.com/c9s/GetOptionKit.git", - "reference": "995607ddf4fc90ebdb4a7d58fe972d581ad8495f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/c9s/GetOptionKit/zipball/995607ddf4fc90ebdb4a7d58fe972d581ad8495f", - "reference": "995607ddf4fc90ebdb4a7d58fe972d581ad8495f", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6.x-dev" - } - }, - "autoload": { - "psr-4": { - "GetOptionKit\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Yo-An Lin", - "email": "yoanlin93@gmail.com" - } - ], - "description": "Powerful command-line option toolkit", - "homepage": "http://github.com/c9s/GetOptionKit", - "time": "2017-06-30T14:54:48+00:00" - }, { "name": "doctrine/annotations", "version": "v1.6.1", @@ -118,33 +76,38 @@ }, { "name": "doctrine/cache", - "version": "v1.6.2", + "version": "v1.8.0", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "eb152c5100571c7a45470ff2a35095ab3f3b900b" + "reference": "d768d58baee9a4862ca783840eca1b9add7a7f57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/eb152c5100571c7a45470ff2a35095ab3f3b900b", - "reference": "eb152c5100571c7a45470ff2a35095ab3f3b900b", + "url": "https://api.github.com/repos/doctrine/cache/zipball/d768d58baee9a4862ca783840eca1b9add7a7f57", + "reference": "d768d58baee9a4862ca783840eca1b9add7a7f57", "shasum": "" }, "require": { - "php": "~5.5|~7.0" + "php": "~7.1" }, "conflict": { "doctrine/common": ">2.2,<2.4" }, "require-dev": { - "phpunit/phpunit": "~4.8|~5.0", - "predis/predis": "~1.0", - "satooshi/php-coveralls": "~0.6" + "alcaeus/mongo-php-adapter": "^1.1", + "doctrine/coding-standard": "^4.0", + "mongodb/mongodb": "^1.1", + "phpunit/phpunit": "^7.0", + "predis/predis": "~1.0" + }, + "suggest": { + "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.6.x-dev" + "dev-master": "1.8.x-dev" } }, "autoload": { @@ -179,33 +142,86 @@ } ], "description": "Caching library offering an object-oriented API for many cache backends", - "homepage": "http://www.doctrine-project.org", + "homepage": "https://www.doctrine-project.org", "keywords": [ "cache", "caching" ], - "time": "2017-07-22T12:49:21+00:00" + "time": "2018-08-21T18:01:43+00:00" }, { - "name": "doctrine/lexer", - "version": "1.0.2", + "name": "doctrine/instantiator", + "version": "1.2.0", "source": { "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8" + "url": "https://github.com/doctrine/instantiator.git", + "reference": "a2c590166b2133a4633738648b6b064edae0814a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/1febd6c3ef84253d7c815bed85fc622ad207a9f8", - "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a", + "reference": "a2c590166b2133a4633738648b6b064edae0814a", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "require-dev": { + "doctrine/coding-standard": "^6.0", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.13", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-shim": "^0.11", + "phpunit/phpunit": "^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "time": "2019-03-17T17:37:11+00:00" + }, + { + "name": "doctrine/lexer", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c", + "reference": "83893c552fd2045dd78aef794c31e694c37c0b8c", "shasum": "" }, "require": { "php": ">=5.3.2" }, - "require-dev": { - "phpunit/phpunit": "^4.5" - }, "type": "library", "extra": { "branch-alias": { @@ -213,8 +229,8 @@ } }, "autoload": { - "psr-4": { - "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + "psr-0": { + "Doctrine\\Common\\Lexer\\": "lib/" } }, "notification-url": "https://packagist.org/downloads/", @@ -235,16 +251,13 @@ "email": "schmittjoh@gmail.com" } ], - "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "description": "Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "http://www.doctrine-project.org", "keywords": [ - "annotations", - "docblock", "lexer", - "parser", - "php" + "parser" ], - "time": "2019-06-08T11:03:04+00:00" + "time": "2014-09-09T13:34:57+00:00" }, { "name": "guzzlehttp/guzzle", @@ -430,54 +443,276 @@ "time": "2018-12-04T20:46:45+00:00" }, { - "name": "lazyjsonmapper/lazyjsonmapper", - "version": "v1.6.3", + "name": "jms/metadata", + "version": "1.7.0", "source": { "type": "git", - "url": "https://github.com/lazyjsonmapper/lazyjsonmapper.git", - "reference": "51e093b50f4de15d2d64548b3ca743713eed6ee9" + "url": "https://github.com/schmittjoh/metadata.git", + "reference": "e5854ab1aa643623dc64adde718a8eec32b957a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lazyjsonmapper/lazyjsonmapper/zipball/51e093b50f4de15d2d64548b3ca743713eed6ee9", - "reference": "51e093b50f4de15d2d64548b3ca743713eed6ee9", + "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/e5854ab1aa643623dc64adde718a8eec32b957a8", + "reference": "e5854ab1aa643623dc64adde718a8eec32b957a8", "shasum": "" }, "require": { - "corneltek/getoptionkit": "2.*", - "php": ">=5.6" + "php": ">=5.3.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.7.1", - "phpunit/phpunit": "6.*" + "doctrine/cache": "~1.0", + "symfony/cache": "~3.1" }, - "bin": [ - "bin/lazydoctor" - ], "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.5.x-dev" + } + }, "autoload": { - "psr-4": { - "LazyJsonMapper\\": "src/" + "psr-0": { + "Metadata\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "MIT" ], "authors": [ { - "name": "SteveJobzniak", - "homepage": "https://github.com/SteveJobzniak", - "role": "Developer" + "name": "Asmir Mustafic", + "email": "goetas@gmail.com" + }, + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" } ], - "description": "Advanced, intelligent & automatic object-oriented JSON containers for PHP.", - "homepage": "https://github.com/SteveJobzniak/LazyJsonMapper", + "description": "Class/method/property metadata management in PHP", "keywords": [ - "development", - "json" + "annotations", + "metadata", + "xml", + "yaml" ], - "time": "2018-05-02T16:57:09+00:00" + "time": "2018-10-26T12:40:10+00:00" + }, + { + "name": "jms/parser-lib", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/parser-lib.git", + "reference": "c509473bc1b4866415627af0e1c6cc8ac97fa51d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/parser-lib/zipball/c509473bc1b4866415627af0e1c6cc8ac97fa51d", + "reference": "c509473bc1b4866415627af0e1c6cc8ac97fa51d", + "shasum": "" + }, + "require": { + "phpoption/phpoption": ">=0.9,<2.0-dev" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-0": { + "JMS\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache2" + ], + "description": "A library for easily creating recursive-descent parsers.", + "time": "2012-11-18T18:08:43+00:00" + }, + { + "name": "jms/serializer", + "version": "1.13.0", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/serializer.git", + "reference": "00863e1d55b411cc33ad3e1de09a4c8d3aae793c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/00863e1d55b411cc33ad3e1de09a4c8d3aae793c", + "reference": "00863e1d55b411cc33ad3e1de09a4c8d3aae793c", + "shasum": "" + }, + "require": { + "doctrine/annotations": "^1.0", + "doctrine/instantiator": "^1.0.3", + "jms/metadata": "^1.3", + "jms/parser-lib": "1.*", + "php": "^5.5|^7.0", + "phpcollection/phpcollection": "~0.1", + "phpoption/phpoption": "^1.1" + }, + "conflict": { + "twig/twig": "<1.12" + }, + "require-dev": { + "doctrine/orm": "~2.1", + "doctrine/phpcr-odm": "^1.3|^2.0", + "ext-pdo_sqlite": "*", + "jackalope/jackalope-doctrine-dbal": "^1.1.5", + "phpunit/phpunit": "^4.8|^5.0", + "propel/propel1": "~1.7", + "psr/container": "^1.0", + "symfony/dependency-injection": "^2.7|^3.3|^4.0", + "symfony/expression-language": "^2.6|^3.0", + "symfony/filesystem": "^2.1", + "symfony/form": "~2.1|^3.0", + "symfony/translation": "^2.1|^3.0", + "symfony/validator": "^2.2|^3.0", + "symfony/yaml": "^2.1|^3.0", + "twig/twig": "~1.12|~2.0" + }, + "suggest": { + "doctrine/cache": "Required if you like to use cache functionality.", + "doctrine/collections": "Required if you like to use doctrine collection types as ArrayCollection.", + "symfony/yaml": "Required if you'd like to serialize data to YAML format." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.13-dev" + } + }, + "autoload": { + "psr-0": { + "JMS\\Serializer": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Asmir Mustafic", + "email": "goetas@gmail.com" + }, + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "Library for (de-)serializing data of any complexity; supports XML, JSON, and YAML.", + "homepage": "http://jmsyst.com/libs/serializer", + "keywords": [ + "deserialization", + "jaxb", + "json", + "serialization", + "xml" + ], + "time": "2018-07-25T13:58:54+00:00" + }, + { + "name": "phpcollection/phpcollection", + "version": "0.5.0", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-collection.git", + "reference": "f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-collection/zipball/f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6", + "reference": "f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6", + "shasum": "" + }, + "require": { + "phpoption/phpoption": "1.*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.4-dev" + } + }, + "autoload": { + "psr-0": { + "PhpCollection": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache2" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "General-Purpose Collection Library for PHP", + "keywords": [ + "collection", + "list", + "map", + "sequence", + "set" + ], + "time": "2015-05-17T12:39:23+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "94e644f7d2051a5f0fcf77d81605f152eecff0ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/94e644f7d2051a5f0fcf77d81605f152eecff0ed", + "reference": "94e644f7d2051a5f0fcf77d81605f152eecff0ed", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "4.7.*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "psr-0": { + "PhpOption\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache2" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "time": "2015-07-25T16:39:46+00:00" }, { "name": "psr/http-message", @@ -571,47 +806,36 @@ }, { "name": "symfony/contracts", - "version": "v1.1.3", + "version": "v1.0.2", "source": { "type": "git", "url": "https://github.com/symfony/contracts.git", - "reference": "2d19b12caccbd80cf0c85624dc87b7021a0df1d5" + "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/contracts/zipball/2d19b12caccbd80cf0c85624dc87b7021a0df1d5", - "reference": "2d19b12caccbd80cf0c85624dc87b7021a0df1d5", + "url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf", + "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf", "shasum": "" }, "require": { "php": "^7.1.3" }, - "replace": { - "symfony/cache-contracts": "self.version", - "symfony/event-dispatcher-contracts": "self.version", - "symfony/http-client-contracts": "self.version", - "symfony/service-contracts": "self.version", - "symfony/translation-contracts": "self.version" - }, "require-dev": { "psr/cache": "^1.0", - "psr/container": "^1.0", - "symfony/polyfill-intl-idn": "^1.10" + "psr/container": "^1.0" }, "suggest": { "psr/cache": "When using the Cache contracts", "psr/container": "When using the Service contracts", - "psr/event-dispatcher": "When using the EventDispatcher contracts", - "symfony/cache-implementation": "", - "symfony/event-dispatcher-implementation": "", - "symfony/http-client-implementation": "", - "symfony/service-implementation": "", - "symfony/translation-implementation": "" + "symfony/cache-contracts-implementation": "", + "symfony/service-contracts-implementation": "", + "symfony/translation-contracts-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -646,64 +870,7 @@ "interoperability", "standards" ], - "time": "2019-06-05T13:28:50+00:00" - }, - { - "name": "symfony/dotenv", - "version": "v3.4.28", - "source": { - "type": "git", - "url": "https://github.com/symfony/dotenv.git", - "reference": "7b33c7b6f497898a173e4b9d6a7698cd789d54ce" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/dotenv/zipball/7b33c7b6f497898a173e4b9d6a7698cd789d54ce", - "reference": "7b33c7b6f497898a173e4b9d6a7698cd789d54ce", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "require-dev": { - "symfony/process": "~3.2|~4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Dotenv\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Registers environment variables from a .env file", - "homepage": "https://symfony.com", - "keywords": [ - "dotenv", - "env", - "environment" - ], - "time": "2019-04-01T07:08:40+00:00" + "time": "2018-12-05T08:06:11+00:00" }, { "name": "symfony/polyfill-ctype", @@ -823,120 +990,47 @@ "time": "2019-02-06T07:57:58+00:00" }, { - "name": "symfony/translation", - "version": "v4.3.1", + "name": "symfony/validator", + "version": "v4.2.5", "source": { "type": "git", - "url": "https://github.com/symfony/translation.git", - "reference": "5dda505e5f65d759741dfaf4e54b36010a4b57aa" + "url": "https://github.com/symfony/validator.git", + "reference": "db5457ed88aacc1a040d4961ee52cddad3e5a4aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/5dda505e5f65d759741dfaf4e54b36010a4b57aa", - "reference": "5dda505e5f65d759741dfaf4e54b36010a4b57aa", + "url": "https://api.github.com/repos/symfony/validator/zipball/db5457ed88aacc1a040d4961ee52cddad3e5a4aa", + "reference": "db5457ed88aacc1a040d4961ee52cddad3e5a4aa", "shasum": "" }, "require": { "php": "^7.1.3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/translation-contracts": "^1.1.2" - }, - "conflict": { - "symfony/config": "<3.4", - "symfony/dependency-injection": "<3.4", - "symfony/yaml": "<3.4" - }, - "provide": { - "symfony/translation-implementation": "1.0" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/console": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/http-kernel": "~3.4|~4.0", - "symfony/intl": "~3.4|~4.0", - "symfony/service-contracts": "^1.1.2", - "symfony/var-dumper": "~3.4|~4.0", - "symfony/yaml": "~3.4|~4.0" - }, - "suggest": { - "psr/log-implementation": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Translation\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Translation Component", - "homepage": "https://symfony.com", - "time": "2019-06-03T20:27:40+00:00" - }, - { - "name": "symfony/validator", - "version": "v3.4.28", - "source": { - "type": "git", - "url": "https://github.com/symfony/validator.git", - "reference": "23cf394faaffb6257f5764fbfc2db12ec30956f1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/23cf394faaffb6257f5764fbfc2db12ec30956f1", - "reference": "23cf394faaffb6257f5764fbfc2db12ec30956f1", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", + "symfony/contracts": "^1.0.2", "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.0", - "symfony/translation": "~2.8|~3.0|~4.0" + "symfony/polyfill-mbstring": "~1.0" }, "conflict": { "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", - "symfony/dependency-injection": "<3.3", - "symfony/http-kernel": "<3.3.5", + "symfony/dependency-injection": "<3.4", + "symfony/http-kernel": "<3.4", + "symfony/intl": "<4.1", + "symfony/translation": "<4.2", "symfony/yaml": "<3.4" }, "require-dev": { "doctrine/annotations": "~1.0", "doctrine/cache": "~1.0", "egulias/email-validator": "^1.2.8|~2.0", - "symfony/cache": "~3.1|~4.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "~2.8|~3.0|~4.0", - "symfony/http-kernel": "^3.3.5|~4.0", - "symfony/intl": "^2.8.18|^3.2.5|~4.0", - "symfony/property-access": "~2.8|~3.0|~4.0", - "symfony/var-dumper": "~3.3|~4.0", + "symfony/cache": "~3.4|~4.0", + "symfony/config": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/expression-language": "~3.4|~4.0", + "symfony/http-foundation": "~4.1", + "symfony/http-kernel": "~3.4|~4.0", + "symfony/intl": "~4.1", + "symfony/property-access": "~3.4|~4.0", + "symfony/translation": "~4.2", + "symfony/var-dumper": "~3.4|~4.0", "symfony/yaml": "~3.4|~4.0" }, "suggest": { @@ -949,12 +1043,13 @@ "symfony/http-foundation": "", "symfony/intl": "", "symfony/property-access": "For accessing properties within comparison constraints", + "symfony/translation": "For translating validation errors.", "symfony/yaml": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.2-dev" } }, "autoload": { @@ -981,7 +1076,7 @@ ], "description": "Symfony Validator Component", "homepage": "https://symfony.com", - "time": "2019-05-05T16:11:06+00:00" + "time": "2019-03-30T15:58:42+00:00" } ], "packages-dev": [ @@ -1091,62 +1186,6 @@ ], "time": "2019-01-28T20:25:53+00:00" }, - { - "name": "doctrine/instantiator", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "a2c590166b2133a4633738648b6b064edae0814a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a", - "reference": "a2c590166b2133a4633738648b6b064edae0814a", - "shasum": "" - }, - "require": { - "php": "^7.1" - }, - "require-dev": { - "doctrine/coding-standard": "^6.0", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.13", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-shim": "^0.11", - "phpunit/phpunit": "^7.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "time": "2019-03-17T17:37:11+00:00" - }, { "name": "friendsofphp/php-cs-fixer", "version": "v2.14.2", @@ -3892,6 +3931,63 @@ "homepage": "https://symfony.com", "time": "2019-03-30T15:58:42+00:00" }, + { + "name": "symfony/dotenv", + "version": "v4.2.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/dotenv.git", + "reference": "b541d63b83532be55a020db8ed2e50598385a583" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/dotenv/zipball/b541d63b83532be55a020db8ed2e50598385a583", + "reference": "b541d63b83532be55a020db8ed2e50598385a583", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "require-dev": { + "symfony/process": "~3.4|~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.2-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Dotenv\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Registers environment variables from a .env file", + "homepage": "https://symfony.com", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "time": "2019-04-01T07:32:59+00:00" + }, { "name": "symfony/event-dispatcher", "version": "v4.2.5", @@ -4415,12 +4511,12 @@ } ], "aliases": [], - "minimum-stability": "dev", + "minimum-stability": "stable", "stability-flags": [], - "prefer-stable": true, + "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=7.1", + "php": ">=7.0", "ext-curl": "*", "ext-json": "*" }, diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml deleted file mode 100644 index e6d5719..0000000 --- a/phpdoc.dist.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - retailCRM PHP MG Bot API client - - docs - utf8 - - php - - - - mg-bot-api-client-php.pages - - -