Commit Graph

30 Commits

Author SHA1 Message Date
David Garcia
6d50e0776f
Remove unused use statement 2019-08-10 00:02:56 +01:00
David Garcia
51b8c36521
Add missing coma next to the last array's item 2019-08-09 23:59:30 +01:00
David Garcia
9cc5f4b3a7
Update API Response model based on the API v4 documentation 2019-08-09 23:57:04 +01:00
Nyholm
0f54332d0e CS and fixes 2019-01-12 10:34:44 +00:00
Nyholm
2ec2c16227 Added PHP7 code and did some refactoring. 2019-01-12 10:34:44 +00:00
Nyholm
2b60fba811 Moved Mailgun\Model\Route\Response to Mailgun\Model\Route 2019-01-12 10:28:05 +00:00
David Garcia
f3566026b6 Remove egulias/email-validator and dependencies 2019-01-10 22:15:40 +00:00
David Garcia
f775795b85 Test EmailValidation Model 2019-01-10 22:15:40 +00:00
David Garcia
34b33a9127 Add Header comment 2019-01-10 22:15:40 +00:00
David Garcia
df7043343e Test Parse model for Parseable and Unparseable data 2019-01-10 22:15:40 +00:00
David Garcia
6fc5b1e938 Test Parts model 2019-01-10 22:15:40 +00:00
Nyholm
dd7c1d2361 Added new CS rules
Declare strict and no superfluous phpdoc
2019-01-10 08:25:29 +00:00
Nyholm
6dff177387 typo 2019-01-09 20:51:05 +00:00
Nyholm
f915b103a3 cs 2019-01-09 20:51:05 +00:00
Nyholm
b619b66732 Adding tag aggregates 2019-01-09 20:51:05 +00:00
Tobias Nyholm
b725ab728e
Adding PHP7 type annotations (#523)
* Adding PHP7 type annotations

* cs

* Moved HttpClientConfigurator and RequestBuilder to Mailgun\HttpClient namespace

* fixing tests

* Rebased and fixed tests

* minors

* cs

* Bugfixes

* Typo
2019-01-09 20:18:58 +01:00
Tobias Nyholm
519fd7a674
Added proper PHP CS fixer rules (#527)
* Added proper PHP CS fixer rules

* Adding Symfony cs rules

* Updated CS on tests
2019-01-07 06:12:53 +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
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
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
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
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
Quentin
ef5336450e chore(unsubscribe): Add copyright. 2018-02-01 22:42:12 +00:00
Quentin
ce2bd4b0f1 feat(unsubscribe): Handle tags in Unsubscribe v3 api. 2018-02-01 22:42:12 +00:00