diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 115301f..a306550 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -4,30 +4,34 @@ on: pull_request: push: branches: - - "master" + - "master" jobs: phpunit: name: "PHPUnit tests" - runs-on: ${{ matrix.operating-system }} + runs-on: "ubuntu-latest" strategy: matrix: dependencies: - - "lowest" - "highest" php-version: - "7.2" - "7.3" - "7.4" - "8.0" - operating-system: - - "ubuntu-latest" + - "8.1" + - "8.2" + - "8.3" + + include: + - php-version: '7.2' + dependencies: "lowest" steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -39,11 +43,11 @@ jobs: - name: "Install lowest dependencies" if: ${{ matrix.dependencies == 'lowest' }} - run: "composer update --prefer-lowest --no-interaction --no-progress --no-suggest" + run: "composer update --prefer-lowest --no-interaction --no-progress" - name: "Install highest dependencies" if: ${{ matrix.dependencies == 'highest' }} - run: "composer update --no-interaction --no-progress --no-suggest" + run: "composer update --no-interaction --no-progress" - name: "Tests" run: "vendor/bin/phpunit" diff --git a/README.md b/README.md index 9261e92..130d776 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![PHPUnit tests](https://github.com/thephpleague/omnipay-common/actions/workflows/phpunit.yml/badge.svg)](https://github.com/thephpleague/omnipay-common/actions/workflows/phpunit.yml) [![Latest Version on Packagist][ico-version]][link-packagist] -[![Software License][ico-license]](LICENSE.md) +[![Software License][ico-license]](LICENSE) [![Total Downloads][ico-downloads]][link-downloads] [Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment @@ -21,10 +21,10 @@ Please see [UPGRADE](UPGRADE.md) for more information on how to upgrade to the l ## Support If you are having general issues with Omnipay, we suggest posting on -[Stack Overflow](http://stackoverflow.com/). Be sure to add the -[omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found. +[Stack Overflow](https://stackoverflow.com/). Be sure to add the +[omnipay tag](https://stackoverflow.com/questions/tagged/omnipay) so it can be easily found. -If you want to keep up to date with release anouncements, discuss ideas for the project, +If you want to keep up to date with release announcements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to. @@ -39,14 +39,11 @@ If you discover any security related issues, please email barryvdh@gmail.com ins ## License -The MIT License (MIT). Please see [License File](LICENSE.md) for more information. +The MIT License (MIT). Please see [License File](LICENSE) for more information. [ico-version]: https://img.shields.io/packagist/v/omnipay/common.svg?style=flat [ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat -[ico-build]: https://img.shields.io/travis/thephpleague/omnipay-common/master.svg?style=flat [ico-downloads]: https://img.shields.io/packagist/dt/omnipay/common.svg?style=flat [link-packagist]: https://packagist.org/packages/omnipay/common -[link-travis]: https://travis-ci.org/thephpleague/omnipay-common [link-downloads]: https://packagist.org/packages/omnipay/common -[link-contributors]: ../../contributors diff --git a/composer.json b/composer.json index 793c66e..be27a33 100644 --- a/composer.json +++ b/composer.json @@ -47,14 +47,15 @@ "php-http/message": "^1.5", "php-http/message-factory": "^1.1", "php-http/discovery": "^1.14", - "symfony/http-foundation": "^2.1|^3|^4|^5|^6", + "symfony/http-foundation": "^2.1|^3|^4|^5|^6|^7", "moneyphp/money": "^3.1|^4.0.3" }, "require-dev": { "omnipay/tests": "^4.1", - "php-http/mock-client": "^1", + "php-http/mock-client": "^1.6", "php-http/guzzle7-adapter": "^1", - "squizlabs/php_codesniffer": "^3.5" + "squizlabs/php_codesniffer": "^3.8.1", + "http-interop/http-factory-guzzle": "^1.1" }, "extra": { "branch-alias": { @@ -70,5 +71,10 @@ "fix-style": "phpcbf -p --standard=PSR2 src/" }, "minimum-stability": "dev", - "prefer-stable": true + "prefer-stable": true, + "config": { + "allow-plugins": { + "php-http/discovery": true + } + } }