Commit Graph

19 Commits

Author SHA1 Message Date
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