Applied fixes from StyleCI (#228)

This commit is contained in:
Sean Johnson 2016-11-23 16:02:12 -06:00 committed by Tobias Nyholm
parent 8668b4c222
commit ce9739ea91
34 changed files with 210 additions and 14 deletions

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Api; namespace Mailgun\Api;
use Http\Client\Exception as HttplugException; use Http\Client\Exception as HttplugException;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Api; namespace Mailgun\Api;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Deserializer; namespace Mailgun\Deserializer;
use Mailgun\Exception\DeserializeException; use Mailgun\Exception\DeserializeException;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Deserializer; namespace Mailgun\Deserializer;
use Mailgun\Exception\DeserializeException; use Mailgun\Exception\DeserializeException;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Deserializer; namespace Mailgun\Deserializer;
use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ResponseInterface;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Deserializer; namespace Mailgun\Deserializer;
use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ResponseInterface;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun; namespace Mailgun;
/** /**

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Exception; namespace Mailgun\Exception;
use Mailgun\Exception; use Mailgun\Exception;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Exception; namespace Mailgun\Exception;
use Mailgun\Exception; use Mailgun\Exception;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Exception; namespace Mailgun\Exception;
use Mailgun\Exception; use Mailgun\Exception;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Exception; namespace Mailgun\Exception;
use Mailgun\Exception; use Mailgun\Exception;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun; namespace Mailgun;
use Http\Client\HttpClient; use Http\Client\HttpClient;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun; namespace Mailgun;
use Http\Discovery\MessageFactoryDiscovery; use Http\Discovery\MessageFactoryDiscovery;

View File

@ -1,11 +1,12 @@
<?php <?php
/** /*
* Copyright (C) 2013-2016 Mailgun. * Copyright (C) 2013-2016 Mailgun
* *
* This software may be modified and distributed under the terms * 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; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Domain; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse; use Mailgun\Resource\ApiResponse;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Domain; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,11 +1,12 @@
<?php <?php
/** /*
* Copyright (C) 2013-2016 Mailgun. * Copyright (C) 2013-2016 Mailgun
* *
* This software may be modified and distributed under the terms * 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; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Domain; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse; use Mailgun\Resource\ApiResponse;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Domain; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse; use Mailgun\Resource\ApiResponse;

View File

@ -1,11 +1,12 @@
<?php <?php
/** /*
* Copyright (C) 2013-2016 Mailgun. * Copyright (C) 2013-2016 Mailgun
* *
* This software may be modified and distributed under the terms * 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; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,11 +1,12 @@
<?php <?php
/** /*
* Copyright (C) 2013-2016 Mailgun. * Copyright (C) 2013-2016 Mailgun
* *
* This software may be modified and distributed under the terms * 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; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,11 +1,12 @@
<?php <?php
/** /*
* Copyright (C) 2013-2016 Mailgun. * Copyright (C) 2013-2016 Mailgun
* *
* This software may be modified and distributed under the terms * 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; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,11 +1,12 @@
<?php <?php
/** /*
* Copyright (C) 2013-2016 Mailgun. * Copyright (C) 2013-2016 Mailgun
* *
* This software may be modified and distributed under the terms * 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; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Domain; namespace Mailgun\Resource\Api\Domain;
use Mailgun\Resource\ApiResponse; use Mailgun\Resource\ApiResponse;

View File

@ -1,11 +1,12 @@
<?php <?php
/** /*
* Copyright (C) 2013-2016 Mailgun. * Copyright (C) 2013-2016 Mailgun
* *
* This software may be modified and distributed under the terms * 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; namespace Mailgun\Resource\Api;
use Mailgun\Resource\ApiResponse; use Mailgun\Resource\ApiResponse;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Stats; namespace Mailgun\Resource\Api\Stats;
use Mailgun\Resource\ApiResponse; use Mailgun\Resource\ApiResponse;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Stats; namespace Mailgun\Resource\Api\Stats;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Stats; namespace Mailgun\Resource\Api\Stats;
use Mailgun\Resource\ApiResponse; use Mailgun\Resource\ApiResponse;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource\Api\Stats; namespace Mailgun\Resource\Api\Stats;
use Mailgun\Assert; use Mailgun\Assert;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Resource; namespace Mailgun\Resource;
/** /**

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Tests\Api; namespace Mailgun\Tests\Api;
use GuzzleHttp\Psr7\Response; use GuzzleHttp\Psr7\Response;

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Tests\Api; namespace Mailgun\Tests\Api;
/** /**

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Tests\Functional; namespace Mailgun\Tests\Functional;
/** /**

View File

@ -1,5 +1,12 @@
<?php <?php
/*
* 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.
*/
namespace Mailgun\Tests; namespace Mailgun\Tests;
use Mailgun\RequestBuilder; use Mailgun\RequestBuilder;