Skip to content

Commit

Permalink
Apply fixes from StyleCI (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Apr 21, 2017
1 parent 299ca00 commit 1115312
Show file tree
Hide file tree
Showing 19 changed files with 128 additions and 29 deletions.
2 changes: 1 addition & 1 deletion tests/Broadcast/BroadcastMessageBuilderTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* This file is part of the EasyWeChat.
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion tests/Broadcast/BroadcastTransformerTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* This file is part of the EasyWeChat.
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
Expand Down
9 changes: 9 additions & 0 deletions tests/Encryption/EncryptionEncryptorTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 9 additions & 0 deletions tests/MiniProgram/EncryptorTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 9 additions & 0 deletions tests/MiniProgram/MiniProgramServerGuardTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 9 additions & 0 deletions tests/MiniProgram/Stats/StatsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 6 additions & 3 deletions tests/OpenPlatform/Api/ApiTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* Test ApiTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author mingyoung <[email protected]>
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 6 additions & 3 deletions tests/OpenPlatform/Api/BaseApiTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* Test BaseApiTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author lixiao <[email protected]>
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 6 additions & 3 deletions tests/OpenPlatform/Api/PreAuthorizationTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* Test PreAuthCodeTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author lixiao <[email protected]>
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 6 additions & 3 deletions tests/OpenPlatform/AuthorizerAccessTokenTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* Test AuthorizerAccessTokenTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author lixiao <[email protected]>
* (c) overtrue <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace EasyWeChat\Tests\OpenPlatform;
Expand Down
9 changes: 6 additions & 3 deletions tests/OpenPlatform/AuthorizerTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* Test AuthorizerTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author lixiao <[email protected]>
* (c) overtrue <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace EasyWeChat\Tests\OpenPlatform;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* ComponentVerifyTicketTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author mingyoung <[email protected]>
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 6 additions & 3 deletions tests/OpenPlatform/GuardTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* Test GuardTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author lixiao <[email protected]>
* (c) overtrue <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace EasyWeChat\Tests\OpenPlatform;
Expand Down
9 changes: 6 additions & 3 deletions tests/OpenPlatform/OpenPlatformTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* Test OpenPlatformTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author lixiao <[email protected]>
* (c) overtrue <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace EasyWeChat\Tests\OpenPlatform;
Expand Down
9 changes: 6 additions & 3 deletions tests/OpenPlatform/VerifyTicketTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<?php

/**
* Test VerifyTicketTest.php.
/*
* This file is part of the overtrue/wechat.
*
* @author lixiao <[email protected]>
* (c) overtrue <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace EasyWeChat\Tests\OpenPlatform;
Expand Down
9 changes: 9 additions & 0 deletions tests/Payment/PaymentNotifyTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 9 additions & 0 deletions tests/Support/Traits/PrefixedContainerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 9 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
* 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;
Expand Down
9 changes: 9 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
<?php

/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
*
* 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';

0 comments on commit 1115312

Please sign in to comment.