diff --git a/composer.json b/composer.json index e878cf4..5f48039 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ }, "autoload": { "psr-4": { - "unreal4u\\": "src/unreal4u" + "unreal4u\\": "src" } }, "autoload-dev": { diff --git a/composer.lock b/composer.lock index 4a66d10..1690bc7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "d02c5fcd85d1021f9e29659a1b4d2656", + "hash": "1b2e7dd05e3ffeb85b0c5f14a8c37373", "content-hash": "91c67c0ac8f2180c02a6895eeeb8b7c6", "packages": [ { @@ -1324,16 +1324,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "2.5.0", + "version": "2.5.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "e4fb41d5d0387d556e2c25534d630b3cce90ea67" + "reference": "6731851d6aaf1d0d6c58feff1065227b7fda3ba8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/e4fb41d5d0387d556e2c25534d630b3cce90ea67", - "reference": "e4fb41d5d0387d556e2c25534d630b3cce90ea67", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/6731851d6aaf1d0d6c58feff1065227b7fda3ba8", + "reference": "6731851d6aaf1d0d6c58feff1065227b7fda3ba8", "shasum": "" }, "require": { @@ -1351,7 +1351,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { @@ -1397,20 +1397,20 @@ "phpcs", "standards" ], - "time": "2015-12-11 00:12:46" + "time": "2016-01-19 23:39:10" }, { "name": "symfony/config", - "version": "v2.8.1", + "version": "v2.8.2", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "17d4b2e64ce1c6ba7caa040f14469b3c44d7f7d2" + "reference": "41ee6c70758f40fa1dbf90d019ae0a66c4a09e74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/17d4b2e64ce1c6ba7caa040f14469b3c44d7f7d2", - "reference": "17d4b2e64ce1c6ba7caa040f14469b3c44d7f7d2", + "url": "https://api.github.com/repos/symfony/config/zipball/41ee6c70758f40fa1dbf90d019ae0a66c4a09e74", + "reference": "41ee6c70758f40fa1dbf90d019ae0a66c4a09e74", "shasum": "" }, "require": { @@ -1447,20 +1447,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2015-12-26 13:37:56" + "time": "2016-01-03 15:33:41" }, { "name": "symfony/dependency-injection", - "version": "v2.8.1", + "version": "v2.8.2", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "c5086d186f538c2711b9af6f727be7b0446979cd" + "reference": "ba94a914e244e0d05f0aaef460d5558d5541d2b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/c5086d186f538c2711b9af6f727be7b0446979cd", - "reference": "c5086d186f538c2711b9af6f727be7b0446979cd", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/ba94a914e244e0d05f0aaef460d5558d5541d2b1", + "reference": "ba94a914e244e0d05f0aaef460d5558d5541d2b1", "shasum": "" }, "require": { @@ -1509,20 +1509,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2015-12-26 13:37:56" + "time": "2016-01-12 17:46:01" }, { "name": "symfony/filesystem", - "version": "v2.8.1", + "version": "v2.8.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "a7ad724530a764d70c168d321ac226ba3d2f10fc" + "reference": "637b64d0ee10f44ae98dbad651b1ecdf35a11e8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/a7ad724530a764d70c168d321ac226ba3d2f10fc", - "reference": "a7ad724530a764d70c168d321ac226ba3d2f10fc", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/637b64d0ee10f44ae98dbad651b1ecdf35a11e8c", + "reference": "637b64d0ee10f44ae98dbad651b1ecdf35a11e8c", "shasum": "" }, "require": { @@ -1558,7 +1558,7 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2015-12-22 10:25:57" + "time": "2016-01-13 10:28:07" }, { "name": "symfony/yaml", diff --git a/src/unreal4u/Abstracts/KeyboardMethods.php b/src/Abstracts/KeyboardMethods.php similarity index 100% rename from src/unreal4u/Abstracts/KeyboardMethods.php rename to src/Abstracts/KeyboardMethods.php diff --git a/src/unreal4u/Abstracts/TelegramMethods.php b/src/Abstracts/TelegramMethods.php similarity index 100% rename from src/unreal4u/Abstracts/TelegramMethods.php rename to src/Abstracts/TelegramMethods.php diff --git a/src/unreal4u/Abstracts/TelegramTypes.php b/src/Abstracts/TelegramTypes.php similarity index 100% rename from src/unreal4u/Abstracts/TelegramTypes.php rename to src/Abstracts/TelegramTypes.php diff --git a/src/unreal4u/Exceptions/FileNotReadable.php b/src/Exceptions/FileNotReadable.php similarity index 100% rename from src/unreal4u/Exceptions/FileNotReadable.php rename to src/Exceptions/FileNotReadable.php diff --git a/src/unreal4u/Interfaces/CustomArrayType.php b/src/Interfaces/CustomArrayType.php similarity index 100% rename from src/unreal4u/Interfaces/CustomArrayType.php rename to src/Interfaces/CustomArrayType.php diff --git a/src/unreal4u/Interfaces/TelegramMethodDefinitions.php b/src/Interfaces/TelegramMethodDefinitions.php similarity index 100% rename from src/unreal4u/Interfaces/TelegramMethodDefinitions.php rename to src/Interfaces/TelegramMethodDefinitions.php diff --git a/src/unreal4u/InternalFunctionality/FormConstructor.php b/src/InternalFunctionality/FormConstructor.php similarity index 100% rename from src/unreal4u/InternalFunctionality/FormConstructor.php rename to src/InternalFunctionality/FormConstructor.php diff --git a/src/unreal4u/InternalFunctionality/TelegramDocument.php b/src/InternalFunctionality/TelegramDocument.php similarity index 100% rename from src/unreal4u/InternalFunctionality/TelegramDocument.php rename to src/InternalFunctionality/TelegramDocument.php diff --git a/src/unreal4u/Telegram/Methods/AnswerInlineQuery.php b/src/Telegram/Methods/AnswerInlineQuery.php similarity index 100% rename from src/unreal4u/Telegram/Methods/AnswerInlineQuery.php rename to src/Telegram/Methods/AnswerInlineQuery.php diff --git a/src/unreal4u/Telegram/Methods/ForwardMessage.php b/src/Telegram/Methods/ForwardMessage.php similarity index 100% rename from src/unreal4u/Telegram/Methods/ForwardMessage.php rename to src/Telegram/Methods/ForwardMessage.php diff --git a/src/unreal4u/Telegram/Methods/GetFile.php b/src/Telegram/Methods/GetFile.php similarity index 100% rename from src/unreal4u/Telegram/Methods/GetFile.php rename to src/Telegram/Methods/GetFile.php diff --git a/src/unreal4u/Telegram/Methods/GetMe.php b/src/Telegram/Methods/GetMe.php similarity index 100% rename from src/unreal4u/Telegram/Methods/GetMe.php rename to src/Telegram/Methods/GetMe.php diff --git a/src/unreal4u/Telegram/Methods/GetUpdates.php b/src/Telegram/Methods/GetUpdates.php similarity index 100% rename from src/unreal4u/Telegram/Methods/GetUpdates.php rename to src/Telegram/Methods/GetUpdates.php diff --git a/src/unreal4u/Telegram/Methods/GetUserProfilePhotos.php b/src/Telegram/Methods/GetUserProfilePhotos.php similarity index 100% rename from src/unreal4u/Telegram/Methods/GetUserProfilePhotos.php rename to src/Telegram/Methods/GetUserProfilePhotos.php diff --git a/src/unreal4u/Telegram/Methods/SendAudio.php b/src/Telegram/Methods/SendAudio.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendAudio.php rename to src/Telegram/Methods/SendAudio.php diff --git a/src/unreal4u/Telegram/Methods/SendChatAction.php b/src/Telegram/Methods/SendChatAction.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendChatAction.php rename to src/Telegram/Methods/SendChatAction.php diff --git a/src/unreal4u/Telegram/Methods/SendDocument.php b/src/Telegram/Methods/SendDocument.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendDocument.php rename to src/Telegram/Methods/SendDocument.php diff --git a/src/unreal4u/Telegram/Methods/SendLocation.php b/src/Telegram/Methods/SendLocation.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendLocation.php rename to src/Telegram/Methods/SendLocation.php diff --git a/src/unreal4u/Telegram/Methods/SendMessage.php b/src/Telegram/Methods/SendMessage.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendMessage.php rename to src/Telegram/Methods/SendMessage.php diff --git a/src/unreal4u/Telegram/Methods/SendPhoto.php b/src/Telegram/Methods/SendPhoto.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendPhoto.php rename to src/Telegram/Methods/SendPhoto.php diff --git a/src/unreal4u/Telegram/Methods/SendSticker.php b/src/Telegram/Methods/SendSticker.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendSticker.php rename to src/Telegram/Methods/SendSticker.php diff --git a/src/unreal4u/Telegram/Methods/SendVideo.php b/src/Telegram/Methods/SendVideo.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendVideo.php rename to src/Telegram/Methods/SendVideo.php diff --git a/src/unreal4u/Telegram/Methods/SendVoice.php b/src/Telegram/Methods/SendVoice.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SendVoice.php rename to src/Telegram/Methods/SendVoice.php diff --git a/src/unreal4u/Telegram/Methods/SetWebhook.php b/src/Telegram/Methods/SetWebhook.php similarity index 100% rename from src/unreal4u/Telegram/Methods/SetWebhook.php rename to src/Telegram/Methods/SetWebhook.php diff --git a/src/unreal4u/Telegram/Types/Audio.php b/src/Telegram/Types/Audio.php similarity index 100% rename from src/unreal4u/Telegram/Types/Audio.php rename to src/Telegram/Types/Audio.php diff --git a/src/unreal4u/Telegram/Types/Chat.php b/src/Telegram/Types/Chat.php similarity index 100% rename from src/unreal4u/Telegram/Types/Chat.php rename to src/Telegram/Types/Chat.php diff --git a/src/unreal4u/Telegram/Types/ChosenInlineResult.php b/src/Telegram/Types/ChosenInlineResult.php similarity index 100% rename from src/unreal4u/Telegram/Types/ChosenInlineResult.php rename to src/Telegram/Types/ChosenInlineResult.php diff --git a/src/unreal4u/Telegram/Types/Contact.php b/src/Telegram/Types/Contact.php similarity index 100% rename from src/unreal4u/Telegram/Types/Contact.php rename to src/Telegram/Types/Contact.php diff --git a/src/unreal4u/Telegram/Types/Custom/InputFile.php b/src/Telegram/Types/Custom/InputFile.php similarity index 100% rename from src/unreal4u/Telegram/Types/Custom/InputFile.php rename to src/Telegram/Types/Custom/InputFile.php diff --git a/src/unreal4u/Telegram/Types/Custom/PhotoSizeArray.php b/src/Telegram/Types/Custom/PhotoSizeArray.php similarity index 100% rename from src/unreal4u/Telegram/Types/Custom/PhotoSizeArray.php rename to src/Telegram/Types/Custom/PhotoSizeArray.php diff --git a/src/unreal4u/Telegram/Types/Custom/ResultBoolean.php b/src/Telegram/Types/Custom/ResultBoolean.php similarity index 100% rename from src/unreal4u/Telegram/Types/Custom/ResultBoolean.php rename to src/Telegram/Types/Custom/ResultBoolean.php diff --git a/src/unreal4u/Telegram/Types/Custom/UpdatesArray.php b/src/Telegram/Types/Custom/UpdatesArray.php similarity index 100% rename from src/unreal4u/Telegram/Types/Custom/UpdatesArray.php rename to src/Telegram/Types/Custom/UpdatesArray.php diff --git a/src/unreal4u/Telegram/Types/Custom/UserProfilePhotosArray.php b/src/Telegram/Types/Custom/UserProfilePhotosArray.php similarity index 100% rename from src/unreal4u/Telegram/Types/Custom/UserProfilePhotosArray.php rename to src/Telegram/Types/Custom/UserProfilePhotosArray.php diff --git a/src/unreal4u/Telegram/Types/Document.php b/src/Telegram/Types/Document.php similarity index 100% rename from src/unreal4u/Telegram/Types/Document.php rename to src/Telegram/Types/Document.php diff --git a/src/unreal4u/Telegram/Types/File.php b/src/Telegram/Types/File.php similarity index 100% rename from src/unreal4u/Telegram/Types/File.php rename to src/Telegram/Types/File.php diff --git a/src/unreal4u/Telegram/Types/ForceReply.php b/src/Telegram/Types/ForceReply.php similarity index 100% rename from src/unreal4u/Telegram/Types/ForceReply.php rename to src/Telegram/Types/ForceReply.php diff --git a/src/unreal4u/Telegram/Types/InlineQuery.php b/src/Telegram/Types/InlineQuery.php similarity index 100% rename from src/unreal4u/Telegram/Types/InlineQuery.php rename to src/Telegram/Types/InlineQuery.php diff --git a/src/unreal4u/Telegram/Types/InlineQueryResult.php b/src/Telegram/Types/InlineQueryResult.php similarity index 100% rename from src/unreal4u/Telegram/Types/InlineQueryResult.php rename to src/Telegram/Types/InlineQueryResult.php diff --git a/src/unreal4u/Telegram/Types/InlineQueryResultArticle.php b/src/Telegram/Types/InlineQueryResultArticle.php similarity index 100% rename from src/unreal4u/Telegram/Types/InlineQueryResultArticle.php rename to src/Telegram/Types/InlineQueryResultArticle.php diff --git a/src/unreal4u/Telegram/Types/InlineQueryResultGif.php b/src/Telegram/Types/InlineQueryResultGif.php similarity index 100% rename from src/unreal4u/Telegram/Types/InlineQueryResultGif.php rename to src/Telegram/Types/InlineQueryResultGif.php diff --git a/src/unreal4u/Telegram/Types/InlineQueryResultMpeg4Gif.php b/src/Telegram/Types/InlineQueryResultMpeg4Gif.php similarity index 100% rename from src/unreal4u/Telegram/Types/InlineQueryResultMpeg4Gif.php rename to src/Telegram/Types/InlineQueryResultMpeg4Gif.php diff --git a/src/unreal4u/Telegram/Types/InlineQueryResultPhoto.php b/src/Telegram/Types/InlineQueryResultPhoto.php similarity index 100% rename from src/unreal4u/Telegram/Types/InlineQueryResultPhoto.php rename to src/Telegram/Types/InlineQueryResultPhoto.php diff --git a/src/unreal4u/Telegram/Types/InlineQueryResultVideo.php b/src/Telegram/Types/InlineQueryResultVideo.php similarity index 100% rename from src/unreal4u/Telegram/Types/InlineQueryResultVideo.php rename to src/Telegram/Types/InlineQueryResultVideo.php diff --git a/src/unreal4u/Telegram/Types/Location.php b/src/Telegram/Types/Location.php similarity index 100% rename from src/unreal4u/Telegram/Types/Location.php rename to src/Telegram/Types/Location.php diff --git a/src/unreal4u/Telegram/Types/Message.php b/src/Telegram/Types/Message.php similarity index 100% rename from src/unreal4u/Telegram/Types/Message.php rename to src/Telegram/Types/Message.php diff --git a/src/unreal4u/Telegram/Types/PhotoSize.php b/src/Telegram/Types/PhotoSize.php similarity index 100% rename from src/unreal4u/Telegram/Types/PhotoSize.php rename to src/Telegram/Types/PhotoSize.php diff --git a/src/unreal4u/Telegram/Types/ReplyKeyboardHide.php b/src/Telegram/Types/ReplyKeyboardHide.php similarity index 100% rename from src/unreal4u/Telegram/Types/ReplyKeyboardHide.php rename to src/Telegram/Types/ReplyKeyboardHide.php diff --git a/src/unreal4u/Telegram/Types/ReplyKeyboardMarkup.php b/src/Telegram/Types/ReplyKeyboardMarkup.php similarity index 100% rename from src/unreal4u/Telegram/Types/ReplyKeyboardMarkup.php rename to src/Telegram/Types/ReplyKeyboardMarkup.php diff --git a/src/unreal4u/Telegram/Types/Sticker.php b/src/Telegram/Types/Sticker.php similarity index 100% rename from src/unreal4u/Telegram/Types/Sticker.php rename to src/Telegram/Types/Sticker.php diff --git a/src/unreal4u/Telegram/Types/Update.php b/src/Telegram/Types/Update.php similarity index 100% rename from src/unreal4u/Telegram/Types/Update.php rename to src/Telegram/Types/Update.php diff --git a/src/unreal4u/Telegram/Types/User.php b/src/Telegram/Types/User.php similarity index 100% rename from src/unreal4u/Telegram/Types/User.php rename to src/Telegram/Types/User.php diff --git a/src/unreal4u/Telegram/Types/UserProfilePhotos.php b/src/Telegram/Types/UserProfilePhotos.php similarity index 100% rename from src/unreal4u/Telegram/Types/UserProfilePhotos.php rename to src/Telegram/Types/UserProfilePhotos.php diff --git a/src/unreal4u/Telegram/Types/Video.php b/src/Telegram/Types/Video.php similarity index 100% rename from src/unreal4u/Telegram/Types/Video.php rename to src/Telegram/Types/Video.php diff --git a/src/unreal4u/Telegram/Types/Voice.php b/src/Telegram/Types/Voice.php similarity index 100% rename from src/unreal4u/Telegram/Types/Voice.php rename to src/Telegram/Types/Voice.php diff --git a/src/unreal4u/TgLog.php b/src/TgLog.php similarity index 100% rename from src/unreal4u/TgLog.php rename to src/TgLog.php