Commit Graph

677 Commits

Author SHA1 Message Date
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
David Garcia
66fd858a02
PHP 8.x support (#727)
* Set dependencies for 7.3 and 8.x

* Set GitHub Actions for PHP 7.3, 7.4 and 8.0

* Set Ubuntu version that supports PHP from 7.1 to 7.4

According to warnings raised by GitHub Actions, the alias for the latest
Ubuntu version will upgrade soon to the newer 20.04 LTS instead of 18.04.

Aiming to ensure the compatibility with previous PHP versions, it's safer
to force the Ubuntu 18.04 that has the previous PHP version as built-in
versions in the OS

https://github.com/marketplace/actions/setup-php-action#github-hosted-runners

* Fix dependencies for PHP ^7.3 and ^8.0 support

* Run test suite with PHP versions from 7.3 to 8.1

* Broken Prophecy dependency for PHPUnit on PHP 8.1

This broken dependency doesn't allow us to run PHPUnit tests and ensure it works. Keeping the ^8.0 version should allow installations for non-maintainers on newer versions too.

https://packagist.org/packages/phpspec/prophecy#1.12.2

requires
- php: ^7.2 || ~8.0, <8.1
- ...

* Use the latest Ubuntu version instead of a specific version

* Prepare Changelog for PHP 8.0
2021-01-30 07:39:30 +01:00
David Garcia
a084abdb86
Prepare for Mailgun SDK v3.2.0 (#722)
* Add Changelog for 3.2.0

* Set restriction to v4.4 for roave/backward-compatibility-check

* Set basic GitHub Actions as a replacement for Travis CI

For some reason, Travis CI queues the jobs but takes ages before they start running.
This is, essentially, stopping the development when we rely on the results to move forward.

This GitHub Actions configuration file aims to boot the SDK testing several PHP versions
and running both PHP Unit tests as well as PHP Stan and Scrutinizer CI checks
(these last two just for PHP 7.1)

* Remove Travis CI config file in favour of GitHub Actions

* Don't set the composer_version key as it doesn't return a valid status
2020-11-25 08:33:50 +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
ce465a8f95 fix cs 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
27d579fdf1 Require webmozart/assert ^1.6 to ensure compatibility with Assert::isList() 2020-10-08 13:20:23 +01:00
David Garcia
b6d0ace9f3 Code Style fixes 2020-10-08 13:20:23 +01:00
David Garcia
5df697e17f Remove unreleased reference as it makes no sense here 2020-10-08 13:20:23 +01:00
David Garcia
4a92e6cb97 Update ChangeLog for upcoming tag 3.1.0 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
Joseph Shanak
ff8c9c31b7 Fix assigning Ip 2020-10-07 17:53:19 +01:00
Artem Bondarenko
3354ac3514 added unmapped proeprty logLevel to Event model 2020-10-07 17:47:06 +01:00
Artem Bondarenko
b56b7dd81d removed unused method 2020-10-07 17:43:44 +01:00
Martin San Juan
7728cf393c style: run php-cs-fixes 2020-09-25 19:05:33 +01:00
Martin San Juan
562cda2504 feat: add array support to webhook handling
Change webhook create() $url parameter from string to array to support
multiple URLs
Change webhook update() $url parameter from string to array yo support
multiple URLs
2020-09-25 19:05:33 +01:00
Witold Wasiczko
4acac804bf Add support for PHP 7.4 2020-09-12 13:20:44 +01:00
Bob Olde Hampsink
e707e112f5 Allow php-http/guzzle6-adapter ^2.0
It still uses the same API, just updated for PHP 7
2020-08-20 20:11:47 +01:00
lvdhoorn
2eb93f2931 Bug fix with getContentIdMap return type 2020-08-20 20:02:47 +01:00
Vasilii Zolotukhin
0d1958d8b6 Replace passing “by value” with “by reference” 2020-08-20 19:54:37 +01:00