From b87fc42c7f24d23a1dd8035795028594a10b90bb Mon Sep 17 00:00:00 2001 From: overtrue Date: Wed, 20 Apr 2016 21:43:17 +0800 Subject: [PATCH] Applied fixes from StyleCI (#400) --- src/Broadcast/Broadcast.php | 1 - src/Broadcast/MessageBuilder.php | 1 - src/Broadcast/Transformer.php | 1 - src/Core/AbstractAPI.php | 1 - src/Core/AccessToken.php | 1 - src/Core/Exception.php | 1 - src/Core/Exceptions/FaultException.php | 1 - src/Core/Exceptions/HttpException.php | 1 - src/Core/Exceptions/InvalidArgumentException.php | 1 - src/Core/Exceptions/InvalidConfigException.php | 1 - src/Core/Exceptions/RuntimeException.php | 1 - src/Core/Exceptions/UnboundServiceException.php | 1 - src/Core/Http.php | 1 - src/Device/DeviceHttpException.php | 1 - src/Encryption/EncryptionException.php | 1 - src/Encryption/Encryptor.php | 1 - src/Foundation/Application.php | 1 - src/Foundation/Config.php | 1 - src/Foundation/ServiceProviders/BroadcastServiceProvider.php | 1 - src/Foundation/ServiceProviders/JsServiceProvider.php | 1 - src/Foundation/ServiceProviders/MaterialServiceProvider.php | 1 - src/Foundation/ServiceProviders/MenuServiceProvider.php | 1 - src/Foundation/ServiceProviders/NoticeServiceProvider.php | 1 - src/Foundation/ServiceProviders/OAuthServiceProvider.php | 1 - src/Foundation/ServiceProviders/POIServiceProvider.php | 1 - src/Foundation/ServiceProviders/PaymentServiceProvider.php | 1 - src/Foundation/ServiceProviders/QRCodeServiceProvider.php | 1 - src/Foundation/ServiceProviders/ReplyServiceProvider.php | 1 - src/Foundation/ServiceProviders/SemanticServiceProvider.php | 1 - src/Foundation/ServiceProviders/ServerServiceProvider.php | 1 - src/Foundation/ServiceProviders/StaffServiceProvider.php | 1 - src/Foundation/ServiceProviders/StatsServiceProvider.php | 1 - src/Foundation/ServiceProviders/UrlServiceProvider.php | 1 - src/Foundation/ServiceProviders/UserServiceProvider.php | 1 - src/Js/Js.php | 1 - src/Material/Material.php | 1 - src/Material/Temporary.php | 1 - src/Menu/Menu.php | 1 - src/Message/AbstractMessage.php | 1 - src/Message/Article.php | 1 - src/Message/Image.php | 1 - src/Message/Link.php | 1 - src/Message/Location.php | 1 - src/Message/Material.php | 1 - src/Message/Music.php | 1 - src/Message/News.php | 1 - src/Message/Raw.php | 1 - src/Message/ShortVideo.php | 1 - src/Message/Text.php | 1 - src/Message/Transfer.php | 1 - src/Message/Video.php | 1 - src/Message/Voice.php | 1 - src/Notice/Notice.php | 1 - src/POI/POI.php | 1 - src/Payment/API.php | 1 - src/Payment/LuckyMoney/API.php | 1 - src/Payment/LuckyMoney/LuckyMoney.php | 1 - src/Payment/Merchant.php | 1 - src/Payment/MerchantPay/API.php | 1 - src/Payment/MerchantPay/MerchantPay.php | 1 - src/Payment/Notify.php | 1 - src/Payment/Order.php | 1 - src/Payment/Payment.php | 1 - src/Payment/helpers.php | 1 - src/QRCode/QRCode.php | 1 - src/Reply/Reply.php | 1 - src/Semantic/Semantic.php | 1 - src/Server/BadRequestException.php | 1 - src/Server/Guard.php | 1 - src/Server/Transformer.php | 1 - src/Staff/MessageBuilder.php | 1 - src/Staff/Staff.php | 1 - src/Staff/Transformer.php | 1 - src/Stats/Stats.php | 1 - src/Store/Store.php | 1 - src/Support/Arr.php | 1 - src/Support/Attribute.php | 1 - src/Support/Collection.php | 1 - src/Support/File.php | 1 - src/Support/Log.php | 1 - src/Support/Str.php | 1 - src/Support/Url.php | 1 - src/Support/XML.php | 1 - src/Url/Url.php | 1 - src/User/Group.php | 1 - src/User/User.php | 1 - 86 files changed, 86 deletions(-) diff --git a/src/Broadcast/Broadcast.php b/src/Broadcast/Broadcast.php index 41173a53d..1da99bab8 100644 --- a/src/Broadcast/Broadcast.php +++ b/src/Broadcast/Broadcast.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Broadcast; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Broadcast/MessageBuilder.php b/src/Broadcast/MessageBuilder.php index 83848934e..1f85a63ec 100644 --- a/src/Broadcast/MessageBuilder.php +++ b/src/Broadcast/MessageBuilder.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Broadcast; use EasyWeChat\Core\Exceptions\InvalidArgumentException; diff --git a/src/Broadcast/Transformer.php b/src/Broadcast/Transformer.php index a74f1415e..bc56f9ccf 100644 --- a/src/Broadcast/Transformer.php +++ b/src/Broadcast/Transformer.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Broadcast; use EasyWeChat\Core\Exceptions\InvalidArgumentException; diff --git a/src/Core/AbstractAPI.php b/src/Core/AbstractAPI.php index 4787b803f..fdf9ded0e 100644 --- a/src/Core/AbstractAPI.php +++ b/src/Core/AbstractAPI.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Core; use EasyWeChat\Core\Exceptions\HttpException; diff --git a/src/Core/AccessToken.php b/src/Core/AccessToken.php index f86669a57..ceed449ba 100644 --- a/src/Core/AccessToken.php +++ b/src/Core/AccessToken.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Core; use Doctrine\Common\Cache\Cache; diff --git a/src/Core/Exception.php b/src/Core/Exception.php index bd53a8237..f29940b1d 100644 --- a/src/Core/Exception.php +++ b/src/Core/Exception.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Core; use Exception as BaseException; diff --git a/src/Core/Exceptions/FaultException.php b/src/Core/Exceptions/FaultException.php index 33cf5507c..2745de7a2 100644 --- a/src/Core/Exceptions/FaultException.php +++ b/src/Core/Exceptions/FaultException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Core\Exceptions; use EasyWeChat\Core\Exception; diff --git a/src/Core/Exceptions/HttpException.php b/src/Core/Exceptions/HttpException.php index ad5f30f59..d978b473f 100644 --- a/src/Core/Exceptions/HttpException.php +++ b/src/Core/Exceptions/HttpException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Core\Exceptions; use EasyWeChat\Core\Exception; diff --git a/src/Core/Exceptions/InvalidArgumentException.php b/src/Core/Exceptions/InvalidArgumentException.php index 2e53d31d7..f3fee132d 100644 --- a/src/Core/Exceptions/InvalidArgumentException.php +++ b/src/Core/Exceptions/InvalidArgumentException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Core\Exceptions; use EasyWeChat\Core\Exception; diff --git a/src/Core/Exceptions/InvalidConfigException.php b/src/Core/Exceptions/InvalidConfigException.php index 9eb231c7b..bdf334bea 100644 --- a/src/Core/Exceptions/InvalidConfigException.php +++ b/src/Core/Exceptions/InvalidConfigException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Core\Exceptions; use EasyWeChat\Core\Exception; diff --git a/src/Core/Exceptions/RuntimeException.php b/src/Core/Exceptions/RuntimeException.php index 872dc6749..b8ff5c341 100644 --- a/src/Core/Exceptions/RuntimeException.php +++ b/src/Core/Exceptions/RuntimeException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Core\Exceptions; use EasyWeChat\Core\Exception; diff --git a/src/Core/Exceptions/UnboundServiceException.php b/src/Core/Exceptions/UnboundServiceException.php index eff46653e..489a3ff3e 100644 --- a/src/Core/Exceptions/UnboundServiceException.php +++ b/src/Core/Exceptions/UnboundServiceException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Core\Exceptions; use EasyWeChat\Core\Exception; diff --git a/src/Core/Http.php b/src/Core/Http.php index 9a3e775d1..5a200300e 100644 --- a/src/Core/Http.php +++ b/src/Core/Http.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Core; use EasyWeChat\Core\Exceptions\HttpException; diff --git a/src/Device/DeviceHttpException.php b/src/Device/DeviceHttpException.php index 40c765833..83d578fb1 100644 --- a/src/Device/DeviceHttpException.php +++ b/src/Device/DeviceHttpException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Device; use EasyWeChat\Core\Exception as CoreException; diff --git a/src/Encryption/EncryptionException.php b/src/Encryption/EncryptionException.php index 186d017b5..f5085de4d 100644 --- a/src/Encryption/EncryptionException.php +++ b/src/Encryption/EncryptionException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Encryption; use EasyWeChat\Core\Exception as CoreException; diff --git a/src/Encryption/Encryptor.php b/src/Encryption/Encryptor.php index 41f984e3c..fa6c2b724 100644 --- a/src/Encryption/Encryptor.php +++ b/src/Encryption/Encryptor.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Encryption; use EasyWeChat\Core\Exceptions\InvalidConfigException; diff --git a/src/Foundation/Application.php b/src/Foundation/Application.php index 07f73d7a4..081ec3e6b 100644 --- a/src/Foundation/Application.php +++ b/src/Foundation/Application.php @@ -23,7 +23,6 @@ * @link https://github.com/overtrue/wechat * @link http://overtrue.me */ - namespace EasyWeChat\Foundation; use Doctrine\Common\Cache\FilesystemCache; diff --git a/src/Foundation/Config.php b/src/Foundation/Config.php index 4ea550ffe..2c2cb9cfd 100644 --- a/src/Foundation/Config.php +++ b/src/Foundation/Config.php @@ -23,7 +23,6 @@ * @link https://github.com/overtrue/wechat * @link http://overtrue.me */ - namespace EasyWeChat\Foundation; use EasyWeChat\Support\Collection; diff --git a/src/Foundation/ServiceProviders/BroadcastServiceProvider.php b/src/Foundation/ServiceProviders/BroadcastServiceProvider.php index 6c57ad3c8..756dda589 100644 --- a/src/Foundation/ServiceProviders/BroadcastServiceProvider.php +++ b/src/Foundation/ServiceProviders/BroadcastServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Broadcast\Broadcast; diff --git a/src/Foundation/ServiceProviders/JsServiceProvider.php b/src/Foundation/ServiceProviders/JsServiceProvider.php index 8329d2b0b..4faf149c9 100644 --- a/src/Foundation/ServiceProviders/JsServiceProvider.php +++ b/src/Foundation/ServiceProviders/JsServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Js\Js; diff --git a/src/Foundation/ServiceProviders/MaterialServiceProvider.php b/src/Foundation/ServiceProviders/MaterialServiceProvider.php index 7a6e85c03..5166073e0 100644 --- a/src/Foundation/ServiceProviders/MaterialServiceProvider.php +++ b/src/Foundation/ServiceProviders/MaterialServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Material\Material; diff --git a/src/Foundation/ServiceProviders/MenuServiceProvider.php b/src/Foundation/ServiceProviders/MenuServiceProvider.php index 55b2b9ef5..1676f8ef9 100644 --- a/src/Foundation/ServiceProviders/MenuServiceProvider.php +++ b/src/Foundation/ServiceProviders/MenuServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Menu\Menu; diff --git a/src/Foundation/ServiceProviders/NoticeServiceProvider.php b/src/Foundation/ServiceProviders/NoticeServiceProvider.php index 276e28288..fde71fd80 100644 --- a/src/Foundation/ServiceProviders/NoticeServiceProvider.php +++ b/src/Foundation/ServiceProviders/NoticeServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Notice\Notice; diff --git a/src/Foundation/ServiceProviders/OAuthServiceProvider.php b/src/Foundation/ServiceProviders/OAuthServiceProvider.php index b99757d4c..3ab76cc4f 100644 --- a/src/Foundation/ServiceProviders/OAuthServiceProvider.php +++ b/src/Foundation/ServiceProviders/OAuthServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use Overtrue\Socialite\SocialiteManager as Socialite; diff --git a/src/Foundation/ServiceProviders/POIServiceProvider.php b/src/Foundation/ServiceProviders/POIServiceProvider.php index 5a4c78041..dbb52e6c1 100644 --- a/src/Foundation/ServiceProviders/POIServiceProvider.php +++ b/src/Foundation/ServiceProviders/POIServiceProvider.php @@ -23,7 +23,6 @@ * @link https://github.com/overtrue/wechat * @link http://overtrue.me */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\POI\POI; diff --git a/src/Foundation/ServiceProviders/PaymentServiceProvider.php b/src/Foundation/ServiceProviders/PaymentServiceProvider.php index 1d39fc82b..dc3db352b 100644 --- a/src/Foundation/ServiceProviders/PaymentServiceProvider.php +++ b/src/Foundation/ServiceProviders/PaymentServiceProvider.php @@ -23,7 +23,6 @@ * @link https://github.com/overtrue/wechat * @link http://overtrue.me */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Payment\LuckyMoney\LuckyMoney; diff --git a/src/Foundation/ServiceProviders/QRCodeServiceProvider.php b/src/Foundation/ServiceProviders/QRCodeServiceProvider.php index 1d7a3bf25..b5e84ef1f 100644 --- a/src/Foundation/ServiceProviders/QRCodeServiceProvider.php +++ b/src/Foundation/ServiceProviders/QRCodeServiceProvider.php @@ -23,7 +23,6 @@ * @link https://github.com/overtrue/wechat * @link http://overtrue.me */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\QRCode\QRCode; diff --git a/src/Foundation/ServiceProviders/ReplyServiceProvider.php b/src/Foundation/ServiceProviders/ReplyServiceProvider.php index cbafa985e..d882a925e 100644 --- a/src/Foundation/ServiceProviders/ReplyServiceProvider.php +++ b/src/Foundation/ServiceProviders/ReplyServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Reply\Reply; diff --git a/src/Foundation/ServiceProviders/SemanticServiceProvider.php b/src/Foundation/ServiceProviders/SemanticServiceProvider.php index 321b0670f..4149d8053 100644 --- a/src/Foundation/ServiceProviders/SemanticServiceProvider.php +++ b/src/Foundation/ServiceProviders/SemanticServiceProvider.php @@ -23,7 +23,6 @@ * @link https://github.com/overtrue/wechat * @link http://overtrue.me */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Semantic\Semantic; diff --git a/src/Foundation/ServiceProviders/ServerServiceProvider.php b/src/Foundation/ServiceProviders/ServerServiceProvider.php index b37937bbe..b49cf44f5 100644 --- a/src/Foundation/ServiceProviders/ServerServiceProvider.php +++ b/src/Foundation/ServiceProviders/ServerServiceProvider.php @@ -23,7 +23,6 @@ * @link https://github.com/overtrue/wechat * @link http://overtrue.me */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Encryption\Encryptor; diff --git a/src/Foundation/ServiceProviders/StaffServiceProvider.php b/src/Foundation/ServiceProviders/StaffServiceProvider.php index 3eb1118df..5ce736d2b 100644 --- a/src/Foundation/ServiceProviders/StaffServiceProvider.php +++ b/src/Foundation/ServiceProviders/StaffServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Staff\Staff; diff --git a/src/Foundation/ServiceProviders/StatsServiceProvider.php b/src/Foundation/ServiceProviders/StatsServiceProvider.php index ed8e389e9..3b580dbaf 100644 --- a/src/Foundation/ServiceProviders/StatsServiceProvider.php +++ b/src/Foundation/ServiceProviders/StatsServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Stats\Stats; diff --git a/src/Foundation/ServiceProviders/UrlServiceProvider.php b/src/Foundation/ServiceProviders/UrlServiceProvider.php index f16807be3..9afaecad0 100644 --- a/src/Foundation/ServiceProviders/UrlServiceProvider.php +++ b/src/Foundation/ServiceProviders/UrlServiceProvider.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\Url\Url; diff --git a/src/Foundation/ServiceProviders/UserServiceProvider.php b/src/Foundation/ServiceProviders/UserServiceProvider.php index 3ee009525..f4e5053c2 100644 --- a/src/Foundation/ServiceProviders/UserServiceProvider.php +++ b/src/Foundation/ServiceProviders/UserServiceProvider.php @@ -23,7 +23,6 @@ * @link https://github.com/overtrue/wechat * @link http://overtrue.me */ - namespace EasyWeChat\Foundation\ServiceProviders; use EasyWeChat\User\Group; diff --git a/src/Js/Js.php b/src/Js/Js.php index 3617f1374..760cc5578 100644 --- a/src/Js/Js.php +++ b/src/Js/Js.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Js; use Doctrine\Common\Cache\Cache; diff --git a/src/Material/Material.php b/src/Material/Material.php index 1361c38a1..641e485ad 100644 --- a/src/Material/Material.php +++ b/src/Material/Material.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Material; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Material/Temporary.php b/src/Material/Temporary.php index eb1113385..c6e31c867 100644 --- a/src/Material/Temporary.php +++ b/src/Material/Temporary.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Material; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Menu/Menu.php b/src/Menu/Menu.php index 8d5949d2f..4afb1102e 100644 --- a/src/Menu/Menu.php +++ b/src/Menu/Menu.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Menu; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Message/AbstractMessage.php b/src/Message/AbstractMessage.php index b6956c884..39fc34d74 100644 --- a/src/Message/AbstractMessage.php +++ b/src/Message/AbstractMessage.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; use EasyWeChat\Support\Attribute; diff --git a/src/Message/Article.php b/src/Message/Article.php index 4e5a1f126..1e06263fa 100644 --- a/src/Message/Article.php +++ b/src/Message/Article.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Image.php b/src/Message/Image.php index fc7d448d8..33db79b1e 100644 --- a/src/Message/Image.php +++ b/src/Message/Image.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Link.php b/src/Message/Link.php index 49f383aa5..a8b6ccdf7 100644 --- a/src/Message/Link.php +++ b/src/Message/Link.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Location.php b/src/Message/Location.php index 7f5743a29..d15631a25 100644 --- a/src/Message/Location.php +++ b/src/Message/Location.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Material.php b/src/Message/Material.php index 1e93735c5..c47116477 100644 --- a/src/Message/Material.php +++ b/src/Message/Material.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Music.php b/src/Message/Music.php index 9fcd55f78..cd41b4de4 100644 --- a/src/Message/Music.php +++ b/src/Message/Music.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/News.php b/src/Message/News.php index f93f78e14..afc9dd717 100644 --- a/src/Message/News.php +++ b/src/Message/News.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Raw.php b/src/Message/Raw.php index fc25394da..6d79b7c12 100644 --- a/src/Message/Raw.php +++ b/src/Message/Raw.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/ShortVideo.php b/src/Message/ShortVideo.php index a03e4e423..8d10ea824 100644 --- a/src/Message/ShortVideo.php +++ b/src/Message/ShortVideo.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Text.php b/src/Message/Text.php index 0e06f3e9f..4be36672f 100644 --- a/src/Message/Text.php +++ b/src/Message/Text.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Transfer.php b/src/Message/Transfer.php index 87cf4916d..fbb603abf 100644 --- a/src/Message/Transfer.php +++ b/src/Message/Transfer.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Video.php b/src/Message/Video.php index 835b7d011..5a2f7b922 100644 --- a/src/Message/Video.php +++ b/src/Message/Video.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Message/Voice.php b/src/Message/Voice.php index 52cddb55f..f47d45080 100644 --- a/src/Message/Voice.php +++ b/src/Message/Voice.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Message; /** diff --git a/src/Notice/Notice.php b/src/Notice/Notice.php index aaf7bf032..3767273d2 100644 --- a/src/Notice/Notice.php +++ b/src/Notice/Notice.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Notice; use EasyWeChat\Core\AbstractAPI; diff --git a/src/POI/POI.php b/src/POI/POI.php index b03c5c8b0..449406660 100644 --- a/src/POI/POI.php +++ b/src/POI/POI.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\POI; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Payment/API.php b/src/Payment/API.php index 39c07658f..936cf2d67 100644 --- a/src/Payment/API.php +++ b/src/Payment/API.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Payment/LuckyMoney/API.php b/src/Payment/LuckyMoney/API.php index 17df2694d..06386f865 100644 --- a/src/Payment/LuckyMoney/API.php +++ b/src/Payment/LuckyMoney/API.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment\LuckyMoney; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Payment/LuckyMoney/LuckyMoney.php b/src/Payment/LuckyMoney/LuckyMoney.php index a9b81cf2a..ceb910d67 100644 --- a/src/Payment/LuckyMoney/LuckyMoney.php +++ b/src/Payment/LuckyMoney/LuckyMoney.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment\LuckyMoney; use EasyWeChat\Payment\Merchant; diff --git a/src/Payment/Merchant.php b/src/Payment/Merchant.php index 6e072b520..1fff738c9 100644 --- a/src/Payment/Merchant.php +++ b/src/Payment/Merchant.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment; use EasyWeChat\Support\Attribute; diff --git a/src/Payment/MerchantPay/API.php b/src/Payment/MerchantPay/API.php index 463321d36..77c82b88c 100644 --- a/src/Payment/MerchantPay/API.php +++ b/src/Payment/MerchantPay/API.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment\MerchantPay; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Payment/MerchantPay/MerchantPay.php b/src/Payment/MerchantPay/MerchantPay.php index 6a13d2a54..db7fdd70e 100644 --- a/src/Payment/MerchantPay/MerchantPay.php +++ b/src/Payment/MerchantPay/MerchantPay.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment\MerchantPay; use EasyWeChat\Payment\Merchant; diff --git a/src/Payment/Notify.php b/src/Payment/Notify.php index cf18c23aa..3457dee2c 100644 --- a/src/Payment/Notify.php +++ b/src/Payment/Notify.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment; use EasyWeChat\Core\Exceptions\FaultException; diff --git a/src/Payment/Order.php b/src/Payment/Order.php index cbf7dba5e..6d32cc788 100644 --- a/src/Payment/Order.php +++ b/src/Payment/Order.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment; use EasyWeChat\Support\Attribute; diff --git a/src/Payment/Payment.php b/src/Payment/Payment.php index 55d50b777..72dfa4a06 100644 --- a/src/Payment/Payment.php +++ b/src/Payment/Payment.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment; use EasyWeChat\Core\Exceptions\FaultException; diff --git a/src/Payment/helpers.php b/src/Payment/helpers.php index 4ddb0dfca..fc4f48ac3 100644 --- a/src/Payment/helpers.php +++ b/src/Payment/helpers.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Payment; /** diff --git a/src/QRCode/QRCode.php b/src/QRCode/QRCode.php index c19f11f52..68fa36647 100644 --- a/src/QRCode/QRCode.php +++ b/src/QRCode/QRCode.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\QRCode; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Reply/Reply.php b/src/Reply/Reply.php index 27440ec25..62a426daa 100644 --- a/src/Reply/Reply.php +++ b/src/Reply/Reply.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Reply; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Semantic/Semantic.php b/src/Semantic/Semantic.php index e8af18ea8..674f3c108 100644 --- a/src/Semantic/Semantic.php +++ b/src/Semantic/Semantic.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Semantic; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Server/BadRequestException.php b/src/Server/BadRequestException.php index 835ffe689..04c0c543a 100644 --- a/src/Server/BadRequestException.php +++ b/src/Server/BadRequestException.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Server; use EasyWeChat\Core\Exception; diff --git a/src/Server/Guard.php b/src/Server/Guard.php index 16c94a735..30d4a7cbb 100644 --- a/src/Server/Guard.php +++ b/src/Server/Guard.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Server; use EasyWeChat\Core\Exceptions\FaultException; diff --git a/src/Server/Transformer.php b/src/Server/Transformer.php index 87c9c7f6f..08474a1af 100644 --- a/src/Server/Transformer.php +++ b/src/Server/Transformer.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Server; use EasyWeChat\Message\AbstractMessage; diff --git a/src/Staff/MessageBuilder.php b/src/Staff/MessageBuilder.php index 7f98922fd..2a5df3ef8 100644 --- a/src/Staff/MessageBuilder.php +++ b/src/Staff/MessageBuilder.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Staff; use EasyWeChat\Core\Exceptions\InvalidArgumentException; diff --git a/src/Staff/Staff.php b/src/Staff/Staff.php index 8c18112a3..a14a50aa3 100644 --- a/src/Staff/Staff.php +++ b/src/Staff/Staff.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Staff; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Staff/Transformer.php b/src/Staff/Transformer.php index c7c9dfa0f..61eb3cc42 100644 --- a/src/Staff/Transformer.php +++ b/src/Staff/Transformer.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Staff; use EasyWeChat\Message\AbstractMessage; diff --git a/src/Stats/Stats.php b/src/Stats/Stats.php index 7332712e1..f7d824d45 100644 --- a/src/Stats/Stats.php +++ b/src/Stats/Stats.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Stats; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Store/Store.php b/src/Store/Store.php index c29daa38d..08531d734 100644 --- a/src/Store/Store.php +++ b/src/Store/Store.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Store; use EasyWeChat\Core\AbstractAPI; diff --git a/src/Support/Arr.php b/src/Support/Arr.php index 57bf34f90..7928b1292 100644 --- a/src/Support/Arr.php +++ b/src/Support/Arr.php @@ -19,7 +19,6 @@ * @link http://overtrue.me * @link https://github.com/laravel/framework/blob/4.2/src/Illuminate/Support/Arr.php */ - namespace EasyWeChat\Support; use Closure; diff --git a/src/Support/Attribute.php b/src/Support/Attribute.php index 684296053..819f5c000 100644 --- a/src/Support/Attribute.php +++ b/src/Support/Attribute.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Support; use EasyWeChat\Core\Exceptions\InvalidArgumentException; diff --git a/src/Support/Collection.php b/src/Support/Collection.php index 85164c721..76875582b 100644 --- a/src/Support/Collection.php +++ b/src/Support/Collection.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Support; use ArrayAccess; diff --git a/src/Support/File.php b/src/Support/File.php index f04cc4693..53b9dfe96 100644 --- a/src/Support/File.php +++ b/src/Support/File.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Support; use finfo; diff --git a/src/Support/Log.php b/src/Support/Log.php index e7dd44faa..2de33b16d 100644 --- a/src/Support/Log.php +++ b/src/Support/Log.php @@ -19,7 +19,6 @@ * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ - namespace EasyWeChat\Support; use Monolog\Handler\ErrorLogHandler; diff --git a/src/Support/Str.php b/src/Support/Str.php index 3f294ac5c..476c455a4 100644 --- a/src/Support/Str.php +++ b/src/Support/Str.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Support; use EasyWeChat\Core\Exceptions\RuntimeException; diff --git a/src/Support/Url.php b/src/Support/Url.php index 0581605dc..7c3b911cd 100644 --- a/src/Support/Url.php +++ b/src/Support/Url.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Support; /** diff --git a/src/Support/XML.php b/src/Support/XML.php index 64077b1ff..7156945d6 100644 --- a/src/Support/XML.php +++ b/src/Support/XML.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Support; /** diff --git a/src/Url/Url.php b/src/Url/Url.php index 766f60f51..5e019100c 100644 --- a/src/Url/Url.php +++ b/src/Url/Url.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\Url; use EasyWeChat\Core\AbstractAPI; diff --git a/src/User/Group.php b/src/User/Group.php index 3483dc6b9..0f2446b47 100644 --- a/src/User/Group.php +++ b/src/User/Group.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\User; use EasyWeChat\Core\AbstractAPI; diff --git a/src/User/User.php b/src/User/User.php index e6d00b3a4..cabe41ffe 100644 --- a/src/User/User.php +++ b/src/User/User.php @@ -18,7 +18,6 @@ * @link https://github.com/overtrue * @link http://overtrue.me */ - namespace EasyWeChat\User; use EasyWeChat\Core\AbstractAPI;