Commit Graph

381 Commits

Author SHA1 Message Date
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
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
Artem Bondarenko
a0352e8f51 Support for HTTP 429 Too Many Requests code 2021-05-17 22:41:41 +01:00
Nyholm
9aed5e1234 Dont break BC 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
Artem Bondarenko
3a3f98029f fix double urlencoding 2021-02-28 21:30:21 +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
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
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
Aaron Rubin
a39d0b0651
Add additional events to TotalResponseItem (#739) 2021-01-30 07:40:40 +01:00
Artem Bondarenko
75627515f4 added pagination to tags 2020-11-16 17:24:42 +00:00
Artem Bondarenko
6d9a7c42fd added pagination to tags 2020-11-16 17:24:42 +00:00
Artem Bondarenko
1044a648f0 removed optional 2020-11-16 16:52:49 +00:00
Artem Bondarenko
9fd5ae16dc Suppression Whitelists 2020-11-16 16:52:49 +00:00
Tony Thomas
1fd018d61c
fix(#642) HttpApi: Expect client to be of type ClientInterface|PluginClient (#660)
* HttpApi: Expect client to be of type ClientInterface|PluginClient

* Format with pretty

* pretty-fix run on the whole repo

* User is_a instead of instance_of for php-stan

* Use the namespaced classname in instanceof checks

* Fix param documentation for MessageBuilder::parseAddress

* Use ClassName::class approach in is_a
2020-10-16 16:46:06 +01:00
Artem Bondarenko
6e372e1e33 mailing list validation 2020-10-15 22:00:38 +01:00
Artem Bondarenko
0a9562e73c mailing list validation 2020-10-15 22:00:38 +01:00
Artem Bondarenko
87c59dc386 comments fix 2020-10-15 22:00:13 +01:00
Artem Bondarenko
c48f246942 fix 2020-10-15 22:00:13 +01:00
Artem Bondarenko
db5c577267 fix 2020-10-15 22:00:13 +01:00
Artem Bondarenko
20385fe70c fix cs 2020-10-15 22:00:13 +01:00
Artem Bondarenko
ab8324a178 domain tracking implementation fix active param, fix tests 2020-10-15 22:00:13 +01:00
Artem Bondarenko
4f8888daed domain tracking implementation fix cs 2020-10-15 22:00:13 +01:00
Artem Bondarenko
2d8283ea29 domain tracking implementation 2020-10-15 22:00:13 +01:00
David Garcia
b6d0ace9f3 Code Style fixes 2020-10-08 13:20:23 +01:00
Joseph Shanak
90028dc6a1 Add mapping for assignable_to_pools property of ips index response 2020-10-07 22:04:54 +01:00
Joseph Shanak
a91f5f6185 Change Ip::index() default to return all ips instead of shared ips 2020-10-07 22:04:54 +01:00
Joseph Shanak
3bc8dac64d Require ips passed to Domain::create are strings 2020-10-07 17:58:45 +01:00
Joseph Shanak
086afb49b7 Allow assigning a domain to a list of ips during creation 2020-10-07 17:58:45 +01:00