Commit Graph

661 Commits

Author SHA1 Message Date
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
Artem Bondarenko
75ce5fc01d fix 2021-02-01 16:07:20 +00:00
Artem Bondarenko
bae524d854 removed @ condition 2021-02-01 16:07:20 +00:00
Artem Bondarenko
d0f6d3b70f removed unreachable throw 2021-02-01 16:07:20 +00:00
Artem Bondarenko
fa9d53c6ff removed unreachable throw 2021-02-01 16:07:20 +00:00
Artem Bondarenko
58a3efd166 removed unreachable throw 2021-02-01 16:07:20 +00:00
Artem Bondarenko
612d1ad262 email validation v4 cs fixes 2021-02-01 16:07:20 +00:00
Artem Bondarenko
404405d923 email validation v4 cs fixes 2021-02-01 16:07:20 +00:00
Artem Bondarenko
a35f767deb email validation v4 fixes 2021-02-01 16:07:20 +00:00
Artem Bondarenko
b454618229 email validation v4 fixes 2021-02-01 16:07:20 +00:00
Artem Bondarenko
2a35fcb077 phpdoc 2021-02-01 16:07:20 +00:00
Artem Bondarenko
8c5c99a356 fix 2021-02-01 16:07:20 +00:00
Artem Bondarenko
c24a92822c email validation v4, bulk validation, bulk preview 2021-02-01 16:07:20 +00:00
Nyholm
43a76d046c Prepare for 3.3.0 2021-01-30 12:17:40 +00:00
Tobias Nyholm
12ed8aae43
Updating workflows and add psalm (#741)
* Updating workflows and add psalm

* Normalize composer

* Fixed CS
2021-01-30 12:43:12 +01:00
Nyholm
d8ae00d23c Remove build status badge 2021-01-30 10:47:14 +00:00
Nyholm
970440d2ee Remove config file not used 2021-01-30 10:46:38 +00:00
Aaron Rubin
a39d0b0651
Add additional events to TotalResponseItem (#739) 2021-01-30 07:40:40 +01:00