From 4989385496001d6246fb6ac7ad600109a474d3d0 Mon Sep 17 00:00:00 2001 From: Andrew Novikov Date: Mon, 12 Dec 2022 20:37:56 +0300 Subject: [PATCH] change travis ci yaml for php 8 --- .travis.yml | 13 ++++++++----- README.md | 3 ++- composer.json | 4 ++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index eb90f73..004c2f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: php php: - - 7.1 - - 7.2 + - 8.0 + - 8.1 # This triggers builds to run on the new TravisCI infrastructure. # See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/ @@ -20,8 +20,11 @@ env: matrix: include: - - php: 7.1 - env: setup=lowest symfony="^4" + - php: 8.0 + env: setup=lowest symfony="^5.2" + - php: 8.1 + env: setup=lowest symfony="^6.1" + install: - if [[ $symfony != '*' ]]; then travis_retry composer require symfony/http-foundation:${symfony} --no-update --no-interaction; fi @@ -37,4 +40,4 @@ after_script: if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover coverage.clover - fi \ No newline at end of file + fi diff --git a/README.md b/README.md index d2818c0..6851937 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ This library implements the work with [Sberbank acquiring api](https://developer.sberbank.ru/doc/v1/acquiring/rest-requests-about) via [theleague Omnipay](https://omnipay.thephpleague.com/) processing library for PHP. It has a clear and consistent API, is fully unit tested. -This package supports PHP 7.1 and higher +The package release 3.2.2 version supports PHP 7.1 and higher and omnipay/common v3.0.3 +The package release 3.3.0 version supports PHP 8.0 and higher and omnipay/common v3.2 # Download diff --git a/composer.json b/composer.json index de6e8a8..6f79bdc 100644 --- a/composer.json +++ b/composer.json @@ -17,13 +17,13 @@ "payment" ], "require": { - "php": "^8.1", + "php": "^8.0", "omnipay/common": "^3.2" }, "require-dev": { "omnipay/tests": "^4", "phpunit/phpunit": "^8|^9", - "squizlabs/php_codesniffer": "3.*" + "squizlabs/php_codesniffer": "4.*" }, "autoload": { "psr-4": {