Removed legacy PHP closing braces

This commit is contained in:
Travis Swientek 2014-10-06 15:53:33 -07:00
parent 7f2fa66030
commit f781158019
25 changed files with 53 additions and 171 deletions

View File

@ -2,5 +2,3 @@
namespace Mailgun\Connection\Exceptions; namespace Mailgun\Connection\Exceptions;
class GenericHTTPError extends \Exception{} class GenericHTTPError extends \Exception{}
?>

View File

@ -2,5 +2,3 @@
namespace Mailgun\Connection\Exceptions; namespace Mailgun\Connection\Exceptions;
class InvalidCredentials extends \Exception{} class InvalidCredentials extends \Exception{}
?>

View File

@ -2,5 +2,3 @@
namespace Mailgun\Connection\Exceptions; namespace Mailgun\Connection\Exceptions;
class MissingEndpoint extends \Exception{} class MissingEndpoint extends \Exception{}
?>

View File

@ -2,5 +2,3 @@
namespace Mailgun\Connection\Exceptions; namespace Mailgun\Connection\Exceptions;
class MissingRequiredParameters extends \Exception{} class MissingRequiredParameters extends \Exception{}
?>

View File

@ -2,5 +2,3 @@
namespace Mailgun\Connection\Exceptions; namespace Mailgun\Connection\Exceptions;
class NoDomainsConfigured extends \Exception{} class NoDomainsConfigured extends \Exception{}
?>

View File

@ -146,5 +146,3 @@ class RestClient{
} }
} }
} }
?>

View File

@ -21,6 +21,3 @@ const INVALID_PARAMETER_INLINE = "Inline images must be passed with an \"@\" pre
const TOO_MANY_PARAMETERS_CAMPAIGNS = "You've exceeded the maximum (3) campaigns for a single message."; const TOO_MANY_PARAMETERS_CAMPAIGNS = "You've exceeded the maximum (3) campaigns for a single message.";
const TOO_MANY_PARAMETERS_TAGS = "You've exceeded the maximum (3) tags for a single message."; const TOO_MANY_PARAMETERS_TAGS = "You've exceeded the maximum (3) tags for a single message.";
const TOO_MANY_PARAMETERS_RECIPIENT = "You've exceeded the maximum recipient count (1,000) on the to field with autosend disabled."; const TOO_MANY_PARAMETERS_RECIPIENT = "You've exceeded the maximum recipient count (1,000) on the to field with autosend disabled.";
?>

View File

@ -80,5 +80,3 @@ class Mailgun{
return new BatchMessage($this->restClient, $workingDomain, $autoSend); return new BatchMessage($this->restClient, $workingDomain, $autoSend);
} }
} }
?>

View File

@ -95,4 +95,3 @@ class BatchMessage extends MessageBuilder{
return $this->messageIds; return $this->messageIds;
} }
} }
?>

View File

@ -2,5 +2,3 @@
namespace Mailgun\Messages\Exceptions; namespace Mailgun\Messages\Exceptions;
class InvalidParameter extends \Exception{} class InvalidParameter extends \Exception{}
?>

View File

@ -2,5 +2,3 @@
namespace Mailgun\Messages\Exceptions; namespace Mailgun\Messages\Exceptions;
class InvalidParameterType extends \Exception{} class InvalidParameterType extends \Exception{}
?>

View File

@ -2,5 +2,3 @@
namespace Mailgun\Messages\Exceptions; namespace Mailgun\Messages\Exceptions;
class MissingRequiredMIMEParameters extends \Exception{} class MissingRequiredMIMEParameters extends \Exception{}
?>

View File

@ -2,5 +2,3 @@
namespace Mailgun\Messages\Exceptions; namespace Mailgun\Messages\Exceptions;
class TooManyParameters extends \Exception{} class TooManyParameters extends \Exception{}
?>

View File

@ -353,5 +353,3 @@ class MessageBuilder
return $this->files; return $this->files;
} }
} }
?>

View File

@ -17,5 +17,3 @@ class ConnectionTest extends \Mailgun\Tests\MailgunTestCase
$this->client = new Mailgun("My-Super-Awesome-API-Key", "samples.mailgun.org", false); $this->client = new Mailgun("My-Super-Awesome-API-Key", "samples.mailgun.org", false);
} }
} }
?>

View File

@ -46,5 +46,3 @@ class OptInHandler extends \Mailgun\Tests\MailgunTestCase
$this->assertFalse($validation); $this->assertFalse($validation);
} }
} }
?>

View File

@ -14,5 +14,3 @@ class MailgunTest extends \Mailgun\Tests\MailgunTestCase
$client->sendMessage("test.mailgun.com", "etss", 1); $client->sendMessage("test.mailgun.com", "etss", 1);
} }
} }
?>

View File

@ -7,5 +7,3 @@ use Guzzle\Tests\GuzzleTestCase;
abstract class MailgunTestCase extends GuzzleTestCase abstract class MailgunTestCase extends GuzzleTestCase
{ {
} }
?>

View File

@ -170,75 +170,3 @@ class BatchMessageTest extends \Mailgun\Tests\MailgunTestCase
$message->sendMessage(array("from" => 1, "to" => 2, "subject" => 3)); $message->sendMessage(array("from" => 1, "to" => 2, "subject" => 3));
} }
} }
?>

View File

@ -354,5 +354,3 @@ class MessageBuilderTest extends \Mailgun\Tests\MailgunTestCase
$this->assertEquals($message, $messageBuilder->getMessage()); $this->assertEquals($message, $messageBuilder->getMessage());
} }
} }
?>

View File

@ -46,5 +46,3 @@ class StandardMessageTest extends \Mailgun\Tests\MailgunTestCase
} }
} }
?>

View File

@ -65,6 +65,3 @@ class TestBroker extends RestClient
} }
?>

View File

@ -15,6 +15,3 @@ class Mailgun extends Base
$this->restClient = new TestBroker($apiKey, $apiEndpoint, $apiVersion); $this->restClient = new TestBroker($apiKey, $apiEndpoint, $apiVersion);
} }
} }
?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB