Commit Graph

678 Commits

Author SHA1 Message Date
Pawel Wasiluk
34ea963f93 Moving back pool id naming 2022-01-31 10:52:54 +01:00
Pawel Wasiluk
9b20da39fc Composer normalized 2022-01-31 10:52:54 +01:00
Pawel Wasiluk
5762ae9309 Composer normalized 2022-01-31 10:52:54 +01:00
Pawel Wasiluk
e064e3c6aa Php cs fixes 2022-01-31 10:52:54 +01:00
Pawel Wasiluk
76b7a9a781 Php cs fixes 2022-01-31 10:52:54 +01:00
Pawel Wasiluk
48c527d04d Php cs fixes 2022-01-31 10:52:54 +01:00
Pawel Wasiluk
c3c3a9f01a Added dkim size 2022-01-31 10:52:54 +01:00
Joel Koch
f25a22344b
Add template support when using BatchMessage (#786)
* Add support for Mailgun templates when using BatchMessages

* Fixed quatation marks in error message

* Comment change

* Change function comment style
2022-01-18 10:51:25 +01:00
Pawel Wasiluk
4db9d9bb63
Added tests and method for adding content with string (#797) 2021-10-21 08:09:13 +02:00
Pawel Wasiluk
d926ba72fd
Patch 1 (#792)
* Support setting web_schema

* Added tests, change parameters

* phpcs fixes

* Test fixes

Co-authored-by: Thomas Portelange <thomas@lekoala.be>
2021-10-19 09:46:16 +02:00
Pawel Wasiluk
6853b03247
Pool id tests (#793)
* Add the `pool_id` parameter to Domain::create()

* Formatting

* Added tests

* Added missing comma

Co-authored-by: Roy Hill-Percival <github@royhp.com>
2021-10-05 09:44:50 +02:00
Pavlico
d987c3e5e2 Tests 2021-09-17 16:16:48 +02:00
Pavlico
73565a6372 php-cs-fixes 2021-09-17 16:16:48 +02:00
Pavlico
9dba800024 php-cs-fixes 2021-09-17 16:16:48 +02:00
Pavlico
7390307c2a php-cs-fixes 2021-09-17 16:16:48 +02:00
Pavlico
84ffd0ff18 Fix null params 2021-09-17 16:16:48 +02:00
Nyholm
330ab10505 cs 2021-08-21 10:13:19 +02:00
Nyholm
52a8ec5e63 Fixed broken CI 2021-08-21 10:13:19 +02:00
Pawel Wasiluk
02f5345dd5 REmoved params to match phpcs fixer requirements 2021-08-21 00:43:35 +01:00
Pawel Wasiluk
0c4ea4c91a php cs fixer 2021-08-21 00:43:35 +01:00
Pawel Wasiluk
a3b0739f2b Psalm fix 2021-08-21 00:43:35 +01:00
Pawel Wasiluk
8d8f6510d2 Phpstan fixes 2021-08-21 00:43:35 +01:00
Pawel Wasiluk
2bec29071e Added Mailbox api usign httpPost etc 2021-08-21 00:43:35 +01:00
Nyholm
6718ccee89 Update links and remove Buzz example 2021-08-21 00:41:55 +01:00
Nyholm
a186302994 CS fixes 2021-08-21 00:40:34 +01:00
Nyholm
8cc34a1f74 cs 2021-08-21 00:40:34 +01:00
Nyholm
128bcc680c Update dev dependencies 2021-08-21 00:40:34 +01:00
Nyholm
6e24a6779b Remove scrutinizer 2021-08-21 00:39:28 +01:00
Nyholm
db9ae25dec Update psalm baseline 2021-08-21 00:39:02 +01:00
Nyholm
3c0bfca774 Update static analyzers 2021-08-21 00:39:02 +01:00
Zebulan Stanphill
6f678bf09e Use @param instead of @phpstan-param since it works with Psalm as well.
See discussion here: https://github.com/mailgun/mailgun-php/pull/771#issuecomment-901337117
2021-08-21 00:38:22 +01:00
Zebulan Stanphill
fe6a21e1d2 Tighten the types of functions that call Hydrator::hydrate. 2021-08-21 00:38:22 +01:00
Zebulan Stanphill
fdb25218a6 Tighten types for Hydrator and its subclasses to address issue caught by Psalm.
The issue caught by Psalm:

Argument 2 of Mailgun\Hydrator\ModelHydrator::hydrate has the more specific type 'class-string', expecting 'string' as defined by Mailgun\Hydrator\Hydrator::hydrate
2021-08-21 00:38:22 +01:00
Zebulan Stanphill
dd93eee967 Fix PHPStan error reported for ModelHydrator::hydrate.
Line 45: Parameter #1 $callback of function call_user_func expects callable(): mixed, non-empty-string given.
2021-08-21 00:38:22 +01:00
Pavlico
4ec42cdaf0
Readme update (#775)
Co-authored-by: Pawel Wasiluk <pwasi@softserveinc.com>
2021-08-16 11:57:44 +02:00
Pavlico
36d0555da9
Moving back breaking changes (#773)
* Moving back breaking changes

* Moving back tests

* Cs-fix

Co-authored-by: Pawel Wasiluk <pwasi@softserveinc.com>
2021-08-16 11:29:42 +02:00
Pawel Wasiluk
0a0f68c23c Updated deprecated paths 2021-07-27 20:48:33 +02:00
Artem Bondarenko
9b270d07b8 tests 2021-05-17 22:41:41 +01:00
Artem Bondarenko
a0352e8f51 Support for HTTP 429 Too Many Requests code 2021-05-17 22:41:41 +01:00
David Garcia
f109b4a2f7 Prepare for v3.5.0 2021-03-08 07:27:11 +00:00
Nyholm
9aed5e1234 Dont break BC 2021-03-08 07:22:58 +00:00
Sven Rymenants
1eab2cf3be Adapt tests for new version of PHPUnit 2021-03-08 07:22:58 +00:00
Sven Rymenants
de8b1b175a Changed variable case, new webhooks return empty array if no hooks installed 2021-03-08 07:22:58 +00:00
Sven Rymenants
379cd2a36e Support for new webhook endpoints (show) 2021-03-08 07:22:58 +00:00
Sven Rymenants
1a5e3ceee8 Removed empty lines to satisfy code formatting test 2021-03-08 07:22:58 +00:00
Sven Rymenants
26a4f870ab Support for new webhook endpoints 2021-03-08 07:22:58 +00:00
David Garcia
196be9f833 Prepare for v3.4.1 2021-02-28 21:33:29 +00:00
Artem Bondarenko
702d04ef1f fix test 2021-02-28 21:30:21 +00:00
Artem Bondarenko
3a3f98029f fix double urlencoding 2021-02-28 21:30:21 +00:00
David Garcia
44a30f7dd1 Prepare for 3.4.0 2021-02-01 16:15:46 +00:00