mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-26 14:56:03 +03:00
Removed legacy PHP closing braces
This commit is contained in:
parent
7f2fa66030
commit
f781158019
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Connection\Exceptions;
|
namespace Mailgun\Connection\Exceptions;
|
||||||
|
|
||||||
class GenericHTTPError extends \Exception{}
|
class GenericHTTPError extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Connection\Exceptions;
|
namespace Mailgun\Connection\Exceptions;
|
||||||
|
|
||||||
class InvalidCredentials extends \Exception{}
|
class InvalidCredentials extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Connection\Exceptions;
|
namespace Mailgun\Connection\Exceptions;
|
||||||
|
|
||||||
class MissingEndpoint extends \Exception{}
|
class MissingEndpoint extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Connection\Exceptions;
|
namespace Mailgun\Connection\Exceptions;
|
||||||
|
|
||||||
class MissingRequiredParameters extends \Exception{}
|
class MissingRequiredParameters extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Connection\Exceptions;
|
namespace Mailgun\Connection\Exceptions;
|
||||||
|
|
||||||
class NoDomainsConfigured extends \Exception{}
|
class NoDomainsConfigured extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -146,5 +146,3 @@ class RestClient{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
@ -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.";
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
@ -80,5 +80,3 @@ class Mailgun{
|
|||||||
return new BatchMessage($this->restClient, $workingDomain, $autoSend);
|
return new BatchMessage($this->restClient, $workingDomain, $autoSend);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
@ -95,4 +95,3 @@ class BatchMessage extends MessageBuilder{
|
|||||||
return $this->messageIds;
|
return $this->messageIds;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Messages\Exceptions;
|
namespace Mailgun\Messages\Exceptions;
|
||||||
|
|
||||||
class InvalidParameter extends \Exception{}
|
class InvalidParameter extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Messages\Exceptions;
|
namespace Mailgun\Messages\Exceptions;
|
||||||
|
|
||||||
class InvalidParameterType extends \Exception{}
|
class InvalidParameterType extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Messages\Exceptions;
|
namespace Mailgun\Messages\Exceptions;
|
||||||
|
|
||||||
class MissingRequiredMIMEParameters extends \Exception{}
|
class MissingRequiredMIMEParameters extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -2,5 +2,3 @@
|
|||||||
namespace Mailgun\Messages\Exceptions;
|
namespace Mailgun\Messages\Exceptions;
|
||||||
|
|
||||||
class TooManyParameters extends \Exception{}
|
class TooManyParameters extends \Exception{}
|
||||||
|
|
||||||
?>
|
|
@ -353,5 +353,3 @@ class MessageBuilder
|
|||||||
return $this->files;
|
return $this->files;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
@ -46,5 +46,3 @@ class OptInHandler extends \Mailgun\Tests\MailgunTestCase
|
|||||||
$this->assertFalse($validation);
|
$this->assertFalse($validation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
@ -14,5 +14,3 @@ class MailgunTest extends \Mailgun\Tests\MailgunTestCase
|
|||||||
$client->sendMessage("test.mailgun.com", "etss", 1);
|
$client->sendMessage("test.mailgun.com", "etss", 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
@ -7,5 +7,3 @@ use Guzzle\Tests\GuzzleTestCase;
|
|||||||
abstract class MailgunTestCase extends GuzzleTestCase
|
abstract class MailgunTestCase extends GuzzleTestCase
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -354,5 +354,3 @@ class MessageBuilderTest extends \Mailgun\Tests\MailgunTestCase
|
|||||||
$this->assertEquals($message, $messageBuilder->getMessage());
|
$this->assertEquals($message, $messageBuilder->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
@ -46,5 +46,3 @@ class StandardMessageTest extends \Mailgun\Tests\MailgunTestCase
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
@ -65,6 +65,3 @@ class TestBroker extends RestClient
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
@ -15,6 +15,3 @@ class Mailgun extends Base
|
|||||||
$this->restClient = new TestBroker($apiKey, $apiEndpoint, $apiVersion);
|
$this->restClient = new TestBroker($apiKey, $apiEndpoint, $apiVersion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
BIN
tests/Mailgun/Tests/TestAssets/mailgun_icon1.png
Normal file
BIN
tests/Mailgun/Tests/TestAssets/mailgun_icon1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
BIN
tests/Mailgun/Tests/TestAssets/mailgun_icon2.png
Normal file
BIN
tests/Mailgun/Tests/TestAssets/mailgun_icon2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
Loading…
Reference in New Issue
Block a user