Apply fixes from StyleCI (#243)

This commit is contained in:
Sean Johnson 2016-12-06 12:12:52 -06:00 committed by GitHub
parent 751770d32c
commit ce8215ff6c
67 changed files with 53 additions and 71 deletions

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Api;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Api;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Connection\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Connection\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Connection\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Connection\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Connection\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Connection;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Constants;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Constants;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Deserializer;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Deserializer;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Deserializer;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Deserializer;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Exception;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Exception;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Exception;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Exception;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Lists;
@ -13,7 +13,7 @@ namespace Mailgun\Lists;
* This class is used for creating a unique hash for
* mailing list subscription double-opt in requests.
*
* @link https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Lists/README.md
* @see https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Lists/README.md
*/
class OptInHandler
{

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Messages;
@ -18,7 +18,7 @@ use Mailgun\Messages\Exceptions\TooManyParameters;
* This class is used for batch sending. See the official documentation (link below)
* for usage instructions.
*
* @link https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md
* @see https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md
*/
class BatchMessage extends MessageBuilder
{

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Messages\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Messages\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Messages\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Messages\Exceptions;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Messages;
@ -20,7 +20,7 @@ use Mailgun\Messages\Exceptions\TooManyParameters;
* this class makes the process easier. See the official
* documentation (link below) for usage instructions.
*
* @link https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md
* @see https://github.com/mailgun/mailgun-php/blob/master/src/Mailgun/Messages/README.md
*/
class MessageBuilder
{

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
/**

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
/**

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
/**

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Stats;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Stats;
/**

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Stats;
use Mailgun\Resource\ApiResponse;

View File

@ -7,7 +7,6 @@
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource\Api\Stats;
/**

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Resource;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Api;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Api;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Functional;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Functional;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Functional;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Functional;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Functional;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Functional;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Lists;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Messages;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Messages;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Messages;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Messages;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Mock\Connection;
@ -66,7 +66,6 @@ class TestBroker extends RestClient
throw new MissingEndpoint(EXCEPTION_MISSING_ENDPOINT);
} else {
throw new GenericHTTPError(EXCEPTION_GENERIC_HTTP_ERROR);
return false;
}
$result->http_response_code = $httpResponseCode;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests\Mock;

View File

@ -4,7 +4,7 @@
* Copyright (C) 2013-2016 Mailgun
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
* of the MIT license. See the LICENSE file for details.
*/
namespace Mailgun\Tests;