From 111531251b9ea910df0455b117009f3b406eb2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Fri, 21 Apr 2017 10:21:09 +0800 Subject: [PATCH] Apply fixes from StyleCI (#656) --- tests/Broadcast/BroadcastMessageBuilderTest.php | 2 +- tests/Broadcast/BroadcastTransformerTest.php | 2 +- tests/Encryption/EncryptionEncryptorTest.php | 9 +++++++++ tests/MiniProgram/EncryptorTest.php | 9 +++++++++ tests/MiniProgram/MiniProgramServerGuardTest.php | 9 +++++++++ tests/MiniProgram/Stats/StatsTest.php | 9 +++++++++ tests/OpenPlatform/Api/ApiTest.php | 9 ++++++--- tests/OpenPlatform/Api/BaseApiTest.php | 9 ++++++--- tests/OpenPlatform/Api/PreAuthorizationTest.php | 9 ++++++--- tests/OpenPlatform/AuthorizerAccessTokenTest.php | 9 ++++++--- tests/OpenPlatform/AuthorizerTest.php | 9 ++++++--- .../EventHandlers/ComponentVerifyTicketTest.php | 9 ++++++--- tests/OpenPlatform/GuardTest.php | 9 ++++++--- tests/OpenPlatform/OpenPlatformTest.php | 9 ++++++--- tests/OpenPlatform/VerifyTicketTest.php | 9 ++++++--- tests/Payment/PaymentNotifyTest.php | 9 +++++++++ tests/Support/Traits/PrefixedContainerTest.php | 9 +++++++++ tests/TestCase.php | 9 +++++++++ tests/bootstrap.php | 9 +++++++++ 19 files changed, 128 insertions(+), 29 deletions(-) diff --git a/tests/Broadcast/BroadcastMessageBuilderTest.php b/tests/Broadcast/BroadcastMessageBuilderTest.php index c4724338e..6f4c407be 100755 --- a/tests/Broadcast/BroadcastMessageBuilderTest.php +++ b/tests/Broadcast/BroadcastMessageBuilderTest.php @@ -1,7 +1,7 @@ * diff --git a/tests/Broadcast/BroadcastTransformerTest.php b/tests/Broadcast/BroadcastTransformerTest.php index 6cdab68c3..2323d29fd 100755 --- a/tests/Broadcast/BroadcastTransformerTest.php +++ b/tests/Broadcast/BroadcastTransformerTest.php @@ -1,7 +1,7 @@ * diff --git a/tests/Encryption/EncryptionEncryptorTest.php b/tests/Encryption/EncryptionEncryptorTest.php index 6021f3b40..b6276ce00 100644 --- a/tests/Encryption/EncryptionEncryptorTest.php +++ b/tests/Encryption/EncryptionEncryptorTest.php @@ -1,5 +1,14 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace EasyWeChat\Tests\Encryption; use EasyWeChat\Encryption\Encryptor; diff --git a/tests/MiniProgram/EncryptorTest.php b/tests/MiniProgram/EncryptorTest.php index 852e81ea3..4bbd432e6 100644 --- a/tests/MiniProgram/EncryptorTest.php +++ b/tests/MiniProgram/EncryptorTest.php @@ -1,5 +1,14 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace EasyWeChat\Tests\MiniProgram; use EasyWeChat\MiniProgram\Encryption\Encryptor; diff --git a/tests/MiniProgram/MiniProgramServerGuardTest.php b/tests/MiniProgram/MiniProgramServerGuardTest.php index d0307dfe5..40fdd2325 100644 --- a/tests/MiniProgram/MiniProgramServerGuardTest.php +++ b/tests/MiniProgram/MiniProgramServerGuardTest.php @@ -1,5 +1,14 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace EasyWeChat\Tests\MiniProgram; use EasyWeChat\MiniProgram\Server\Guard; diff --git a/tests/MiniProgram/Stats/StatsTest.php b/tests/MiniProgram/Stats/StatsTest.php index bfd75392d..85392c21e 100644 --- a/tests/MiniProgram/Stats/StatsTest.php +++ b/tests/MiniProgram/Stats/StatsTest.php @@ -1,5 +1,14 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace EasyWeChat\tests\MiniProgram\Stats; use EasyWeChat\Tests\TestCase; diff --git a/tests/OpenPlatform/Api/ApiTest.php b/tests/OpenPlatform/Api/ApiTest.php index 6df0c48b9..8cc659718 100644 --- a/tests/OpenPlatform/Api/ApiTest.php +++ b/tests/OpenPlatform/Api/ApiTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform\Api; diff --git a/tests/OpenPlatform/Api/BaseApiTest.php b/tests/OpenPlatform/Api/BaseApiTest.php index 06959c98c..cd8aab6dd 100644 --- a/tests/OpenPlatform/Api/BaseApiTest.php +++ b/tests/OpenPlatform/Api/BaseApiTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform\Api; diff --git a/tests/OpenPlatform/Api/PreAuthorizationTest.php b/tests/OpenPlatform/Api/PreAuthorizationTest.php index 37202014c..0c665514d 100644 --- a/tests/OpenPlatform/Api/PreAuthorizationTest.php +++ b/tests/OpenPlatform/Api/PreAuthorizationTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform\Api; diff --git a/tests/OpenPlatform/AuthorizerAccessTokenTest.php b/tests/OpenPlatform/AuthorizerAccessTokenTest.php index 9ee34b0c5..1c2558b4c 100644 --- a/tests/OpenPlatform/AuthorizerAccessTokenTest.php +++ b/tests/OpenPlatform/AuthorizerAccessTokenTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform; diff --git a/tests/OpenPlatform/AuthorizerTest.php b/tests/OpenPlatform/AuthorizerTest.php index bcc910f2c..5a1ca18ee 100644 --- a/tests/OpenPlatform/AuthorizerTest.php +++ b/tests/OpenPlatform/AuthorizerTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform; diff --git a/tests/OpenPlatform/EventHandlers/ComponentVerifyTicketTest.php b/tests/OpenPlatform/EventHandlers/ComponentVerifyTicketTest.php index 5ecce1da8..ef08466a2 100644 --- a/tests/OpenPlatform/EventHandlers/ComponentVerifyTicketTest.php +++ b/tests/OpenPlatform/EventHandlers/ComponentVerifyTicketTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform\EventHandlers; diff --git a/tests/OpenPlatform/GuardTest.php b/tests/OpenPlatform/GuardTest.php index 9f04f468a..f5fb829cd 100644 --- a/tests/OpenPlatform/GuardTest.php +++ b/tests/OpenPlatform/GuardTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform; diff --git a/tests/OpenPlatform/OpenPlatformTest.php b/tests/OpenPlatform/OpenPlatformTest.php index 5c0b961f2..ff0733f02 100644 --- a/tests/OpenPlatform/OpenPlatformTest.php +++ b/tests/OpenPlatform/OpenPlatformTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform; diff --git a/tests/OpenPlatform/VerifyTicketTest.php b/tests/OpenPlatform/VerifyTicketTest.php index a17cdea2a..dd72266ac 100644 --- a/tests/OpenPlatform/VerifyTicketTest.php +++ b/tests/OpenPlatform/VerifyTicketTest.php @@ -1,9 +1,12 @@ + * (c) overtrue + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. */ namespace EasyWeChat\Tests\OpenPlatform; diff --git a/tests/Payment/PaymentNotifyTest.php b/tests/Payment/PaymentNotifyTest.php index 7e64bb589..f275e002f 100644 --- a/tests/Payment/PaymentNotifyTest.php +++ b/tests/Payment/PaymentNotifyTest.php @@ -1,5 +1,14 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace EasyWeChat\Tests\Payment; use EasyWeChat\Core\Exceptions\FaultException; diff --git a/tests/Support/Traits/PrefixedContainerTest.php b/tests/Support/Traits/PrefixedContainerTest.php index d76ba2eb0..0cdb36801 100644 --- a/tests/Support/Traits/PrefixedContainerTest.php +++ b/tests/Support/Traits/PrefixedContainerTest.php @@ -1,5 +1,14 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace EasyWeChat\Tests\Support\Traits; use EasyWeChat\Tests\TestCase; diff --git a/tests/TestCase.php b/tests/TestCase.php index e7367875d..2d8af28e5 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -1,5 +1,14 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + namespace EasyWeChat\Tests; use PHPUnit\Framework\TestCase as BaseTestCase; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 401013c6d..df2bad443 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,3 +1,12 @@ + * + * This source file is subject to the MIT license that is bundled + * with this source code in the file LICENSE. + */ + include __DIR__.'/../vendor/autoload.php';