* 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
* 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