Vitaliy Chesnokov
0ccaaeed3f
Close resources on message send http exception
2022-12-05 17:44:17 +03:00
Oleksandr Mykhailenko
8c3840a1eb
Add fix to handle integers values and cast them to string. Because only string is allowed
2022-09-19 23:04:54 +03:00
Oleksandr Mykhailenko
62bd235af7
Correct config file ( #837 )
...
Test
Test
Test
Test
Test
Test
Test
Ignore errors
Ignore errors
Ignore errors
Webhook is still using ClientInterface type declaration #783
2022-08-27 18:39:53 +03:00
Oleksandr Mykhailenko
30fe24de74
Make API client open for extending API call in the SDK ( #836 )
...
* Make API client open for extending API call in the SDK
* Fix code style
* Fix code style
2022-08-25 22:56:08 +03:00
Oleksandr Mykhailenko
20ab09c315
Add method for updating web scheme ( #834 )
...
* Add method for updating web scheme
* Mailgun - https clic tracking via API
* CS FIXER
2022-08-19 18:36:24 +03:00
Oleksandr Mykhailenko
be083541bf
Update php-cs-fixer. Fix code style issues ( #833 )
...
Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>
Update php-cs-fixer. Fix code style issues
Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>
Fix tests
Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>
Fix test
Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>
Prevent Uncaught InvalidArgumentException
Signed-off-by: Alexander Mykhailenko <mihaskep@gmail.com>
2022-07-23 18:26:03 +03:00
Oleksandr Mykhailenko
c04197362b
Fixed issues ( #829 )
...
* Fixed issues
- BatchMessage generates "invalid" JSON for recipients with an empty set of recipient-variables
- Use null coalescing operator in IndexResponse.php
* Fix warning from php-cs-fixer
2022-06-14 00:38:10 +03:00
Carlos Dominguez
2395e5d232
set empty array when no message headers for message show response ( #815 )
2022-02-07 22:20:21 +01:00
Saiks
c0d5f41719
chore: added Laravel Mailgun driver info into readme ( #807 )
2022-02-07 11:04:30 +01:00
Michael
c7c345d1c2
Update Message Builder Documentation
...
Fixed typos in the Batch Message example. Added dependency requirement in the Message Builder example. Reorganized the Message Builder example for uniformity.
2022-02-02 16:31:16 +01:00
Pawel Wasiluk
1972acadfa
Moving back pool id naming
2022-01-31 10:52:54 +01:00
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