Tobias Nyholm
1623c7e48a
Update composer.json ( #428 )
2019-01-06 08:14:24 +01:00
Tobias Nyholm
7020c01cca
Make all model constructors private ( #512 )
2019-01-06 08:14:07 +01:00
Tobias Nyholm
e32031f671
Make all models final ( #513 )
2019-01-06 08:13:29 +01:00
Tobias Nyholm
da5ccde2a7
Adding support for Mailing list ( #514 )
...
* Adding Mailing list API
* Added tests
* cs
* Fixed the tests
* code cleanup
2019-01-06 08:11:37 +01:00
David Garcia
4b0611df15
Prepare for 2.8.0 ( #516 )
...
* Prepare for 2.8.0
* Update CHANGELOG.md
2019-01-06 08:05:56 +01:00
Tobias Nyholm
56655ad6c0
Added IP API class, models and test ( #515 )
...
* Added IP API class, models and test
* cs
* bugfix
2019-01-05 20:31:38 +01:00
Tobias Nyholm
c0a386027b
Added more tests for models ( #511 )
...
* Added more tests for models
* cs
2019-01-05 20:30:55 +01:00
Tobias Nyholm
09113482ea
Added "complaints" to TotalResponse ( #509 )
2019-01-05 19:56:55 +01:00
Paul R Rogers
02e3191bc9
Change exception message of HttpClientException when badRequest to us… ( #466 )
...
* Change exception message of HttpClientException when badRequest to use server content's message to aid resolving problems with user input.
* style(HttpClientException): Removed space to comply with styleCI.
* Fix missing assoc flag.
* Refactor to reuse constructor parsing when passing along server error.
Add tests covering passing along of server message.
* Updated tests
* cs
* bugfix
2019-01-05 12:52:40 +01:00
Matias Barletta
07da83776a
fix: Validate file name length ( #463 )
...
* fix: Validate file name length
$message could contain a large email text that if sent to is_file it could break with this error:
` is_file(): File name is longer than the maximum allowed path `
This validation prevents using is_file if the $message is longer than the allowed path.
* style: Fix extra space
* Added a small test
* cs
* cs
2019-01-05 12:44:50 +01:00
Tobias Nyholm
7b24312f6c
Added support for HTTPlug 2.0 ( #510 )
2019-01-05 09:10:36 +01:00
Tobias Nyholm
59f67e8671
Updated changelog for 2.7.0 ( #508 )
2019-01-05 08:54:09 +01:00
David Garcia
ce641a6846
Prepare for 2.7.0 ( #481 )
...
* Prepare for 2.7.0
* Remove `declare(strict_types=1)`
* Remove missed `declare(strict_types=1)`
2019-01-05 08:24:22 +01:00
Tobias Nyholm
d4e4d4efbe
Close open resources ( #473 )
...
* Make sure to close any open resources
* Fixed test
2019-01-05 08:23:41 +01:00
Matěj Humpál
80a82508c7
Added deprecated notices to non-fluent MessageBuilder setters ( #505 )
2019-01-03 12:16:01 +01:00
Matěj Humpál
5398e0ad9c
Added throws RuntimeException annotation to BatchMessage ( #506 )
2019-01-03 11:38:58 +01:00
Matěj Humpál
54aa0a7553
Fluent interface for MessageBuilder and BatchMessage
2019-01-03 09:56:56 +00:00
Arliee
1f5bd4200d
Fix type error when creating tags ( #501 )
...
* Fix fatal error due to not using DateTime instead of string when creating a tag.
* Add unit tests to prove tag creation.
* Add unit tests to prove tag creation.
* Add first seen and last seen accessors to tags, and unit tests to prove correctness.
2019-01-03 10:55:24 +01:00
Tobias Nyholm
bec1da39aa
Removed integration tests. ( #490 )
2018-12-09 11:45:32 +00:00
Kuma
453b104bfd
fix: typo ( #500 )
2018-11-29 09:37:44 +01:00
semijoelon
36be6c3f30
Fixed broken link in README.md
2018-10-29 21:42:05 +00:00
semijoelon
bc637a7282
Fixed broken link in README.md
2018-10-29 21:42:05 +00:00
Ruud Kamphuis
3fb0f8210e
MessageBuilder > addBccRecipient > Make $variables optional ( #485 )
...
This way, it's the same as `addToRecipient` and `addCcRecipient`
2018-09-07 22:37:59 +02:00
Tobias Nyholm
a4aba16061
Added a way to get attachments ( #476 )
...
* Added a way to get attachments
* Added some tests
* cs
* minor
* Removed declare_strict
* Typos
* Bugfixes
* Fixed bugs
2018-08-09 18:59:38 +02:00
Nyholm
0c70fa1f0e
Make BaseModelTest abstract
2018-08-08 20:50:52 +01:00
Nyholm
6229b39aa3
cs
2018-08-08 20:50:52 +01:00
Nyholm
94d0406bcc
FIXED A BUG!
2018-08-08 20:50:52 +01:00
Nyholm
0145ddd481
Added more tests
2018-08-08 20:50:52 +01:00
Nyholm
61c0f32dfb
cs
2018-08-08 20:50:52 +01:00
Nyholm
17eafbf9c9
Added tests for our models
2018-08-08 20:50:52 +01:00
Nyholm
2337184f85
Added docs
2018-08-08 20:49:30 +01:00
Nyholm
860d49d9d2
Add endpoint to the create function
2018-08-08 20:49:30 +01:00
Nyholm
1835bc28d7
cs
2018-08-08 20:48:35 +01:00
Nyholm
1ed1c2557c
Added test for webhook
2018-08-08 20:48:35 +01:00
Nyholm
6e209aaee2
Added Unsubscribe test
2018-08-08 20:48:35 +01:00
Nyholm
fa30639f99
Added complaint test
2018-08-08 20:48:35 +01:00
Nyholm
55547572aa
Added bounce test
2018-08-08 20:48:35 +01:00
Nyholm
d6e48c6bc2
Added test for Message API
2018-08-08 20:48:35 +01:00
Nyholm
15bd5ae156
Added tests for Route
2018-08-08 20:48:35 +01:00
Nyholm
42503f72ce
Added test for Domain API
2018-08-08 20:48:35 +01:00
Nyholm
afc8671eac
We need both getApiMock and getApiInstance
2018-08-08 20:48:35 +01:00
Nyholm
75bab3016c
cs
2018-08-08 20:48:35 +01:00
Nyholm
3d81db203e
Add tests
2018-08-08 20:48:35 +01:00
Nyholm
bdcca2db0d
Added more mock for tests
2018-08-08 20:48:35 +01:00
Nyholm
952198a5d7
Disable duplicate code warning
2018-08-04 21:22:47 +01:00
Tobias Nyholm
eb07576e6a
Ported MessageBuilder and BatchMessage ( #472 )
...
* Ported MessageBuilder and BatchMessage
* Added test for MessageBuilder
* Added test for BatchMessageTest
* cs
* cs
* Removed PHP7 code
2018-08-04 21:30:15 +02:00
David Garcia
48e5b8956b
Suggest packages used on Dev ( #440 )
2018-08-04 15:18:41 +02:00
Radoje Albijanic
83c5f76f87
Cast campaign ID-s to string ( #460 )
...
* 413 error proper handle.
* Cast campaign id-s to string. Added tests for that.
* Style fixes
2018-04-09 18:51:09 +02:00
David Garcia
0bd1d8bfc5
Prepare change log for v2.5.0
2018-04-08 11:40:14 +01:00
Radoje Albijanic
e28065fe2e
413 error proper handle.
2018-04-08 11:16:19 +01:00