Commit Graph

9 Commits

Author SHA1 Message Date
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
David Garcia
b6d0ace9f3 Code Style fixes 2020-10-08 13:20:23 +01:00
Louis Coulet
7705cb7666 Fix attachment and inline image renaming (#571)
* Fix file renaming

* Fix file renaming
2019-04-09 19:12:50 +02:00
Nyholm
34432e0517 Minor bugfixes detected with PHPStan 2019-01-10 08:25:29 +00:00
Nyholm
dd7c1d2361 Added new CS rules
Declare strict and no superfluous phpdoc
2019-01-10 08:25:29 +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
Matěj Humpál
12fee2f714 MessageBuilder setters entirely fluent (#507) 2019-01-06 10:06:52 +01:00
Tobias Nyholm
1bcce53387
Use PSR-4 (#517) 2019-01-06 08:34:49 +01:00