From e127659e0d6e933f9f686673d44f2bd48a0ad306 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Fri, 14 May 2021 18:57:35 +0300 Subject: [PATCH] drop php 7.1 --- .github/workflows/tests.yml | 2 +- composer.json | 4 ++-- src/Client.php | 2 +- src/Creator/AbstractJmsSerializerCreator.php | 2 +- src/Creator/JmsJsonSerializerCreator.php | 2 +- src/Creator/JmsXmlSerializerCreator.php | 2 +- src/Creator/SerializerCreatorInterface.php | 2 +- src/Enum/RequestMethod.php | 2 +- src/Enum/RequestScheme.php | 2 +- src/Exception/BrokenMockException.php | 2 +- src/Exception/UniversalMockException.php | 5 +++-- src/Exception/UnsupportedRequestException.php | 2 +- src/Factory/AbstractSerializerFactory.php | 2 +- src/Factory/JsonSerializerFactory.php | 2 +- src/Factory/XmlSerializerFactory.php | 2 +- src/Matchers/AnyRequestMatcher.php | 2 +- src/Matchers/HostMatcher.php | 2 +- src/Matchers/MultipleMatcher.php | 2 +- src/Matchers/RequestMatcherInterface.php | 2 +- src/Matchers/SchemeMatcher.php | 2 +- src/Matchers/UriMatcher.php | 2 +- src/Mock.php | 2 +- src/MockInterface.php | 2 +- src/PockBuilder.php | 2 +- src/Promise/HttpRejectedPromise.php | 2 +- src/Serializer/JmsSerializerDecorator.php | 2 +- src/Serializer/SerializerInterface.php | 2 +- tests/src/Creator/JmsJsonSerializerCreatorTest.php | 2 +- tests/src/Creator/JmsXmlSerializerCreatorTest.php | 2 +- tests/src/Factory/JsonSerializerFactoryTest.php | 2 +- tests/src/Factory/XmlSerializerFactoryTest.php | 2 +- tests/src/Matchers/AbstractRequestMatcherTest.php | 2 +- tests/src/Matchers/AnyRequestMatcherTest.php | 2 +- tests/src/Matchers/HostMatcherTest.php | 2 +- tests/src/Matchers/MultipleMatcherTest.php | 2 +- tests/src/Matchers/SchemeMatcherTest.php | 2 +- tests/src/Matchers/UriMatcherTest.php | 2 +- tests/utils/SimpleObject.php | 4 ++-- 38 files changed, 42 insertions(+), 41 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e3afaf0..96e88b0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['7.1', '7.2', '7.3', '7.4', '8.0'] + php-version: ['7.2', '7.3', '7.4', '8.0'] steps: - name: Check out code into the workspace uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index db1c10a..09c9dcd 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ } }, "require": { - "php": ">=7.1.0", + "php": ">=7.2.0", "psr/http-client": "^1.0", "psr/http-message": "^1.0", "php-http/httplug": "^1.0 || ^2.0" @@ -32,7 +32,7 @@ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", "phpcompatibility/php-compatibility": "^9.3", "phpstan/phpstan": "^0.12.87", - "jms/serializer": "^3.12", + "jms/serializer": "^2 | ^3.12", "symfony/phpunit-bridge": "^5.2", "symfony/var-dumper": "^5.2", "symfony/serializer": "^5.2", diff --git a/src/Client.php b/src/Client.php index 1aea0e9..500a759 100644 --- a/src/Client.php +++ b/src/Client.php @@ -1,7 +1,7 @@ EOF; - + /** * @var string *