Commit Graph

6 Commits

Author SHA1 Message Date
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
Nyholm
6e24a6779b Remove scrutinizer 2021-08-21 00:39:28 +01:00
Nyholm
3c0bfca774 Update static analyzers 2021-08-21 00:39:02 +01: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
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