drop php 7.1

This commit is contained in:
Pavel 2021-05-14 18:57:35 +03:00
parent 90ea990202
commit e127659e0d
38 changed files with 42 additions and 41 deletions

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
php-version: ['7.1', '7.2', '7.3', '7.4', '8.0'] php-version: ['7.2', '7.3', '7.4', '8.0']
steps: steps:
- name: Check out code into the workspace - name: Check out code into the workspace
uses: actions/checkout@v2 uses: actions/checkout@v2

View File

@ -21,7 +21,7 @@
} }
}, },
"require": { "require": {
"php": ">=7.1.0", "php": ">=7.2.0",
"psr/http-client": "^1.0", "psr/http-client": "^1.0",
"psr/http-message": "^1.0", "psr/http-message": "^1.0",
"php-http/httplug": "^1.0 || ^2.0" "php-http/httplug": "^1.0 || ^2.0"
@ -32,7 +32,7 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"phpcompatibility/php-compatibility": "^9.3", "phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^0.12.87", "phpstan/phpstan": "^0.12.87",
"jms/serializer": "^3.12", "jms/serializer": "^2 | ^3.12",
"symfony/phpunit-bridge": "^5.2", "symfony/phpunit-bridge": "^5.2",
"symfony/var-dumper": "^5.2", "symfony/var-dumper": "^5.2",
"symfony/serializer": "^5.2", "symfony/serializer": "^5.2",

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category Client * @category Client
* @package Pock * @package Pock

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category AbstractJmsSerializerCreator * @category AbstractJmsSerializerCreator
* @package Pock\Creator * @package Pock\Creator

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category JmsJsonSerializerCreator * @category JmsJsonSerializerCreator
* @package Pock\Creator * @package Pock\Creator

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category JmsXmlSerializerCreator * @category JmsXmlSerializerCreator
* @package Pock\Creator * @package Pock\Creator

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category SerializerCreatorInterface * @category SerializerCreatorInterface
* @package Pock\Creator * @package Pock\Creator

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category RequestMethod * @category RequestMethod
* @package Pock\Enum * @package Pock\Enum

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category RequestScheme * @category RequestScheme
* @package Pock\Enum * @package Pock\Enum

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category BrokenMockException * @category BrokenMockException
* @package Pock\Exception * @package Pock\Exception

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category UniversalMockException * @category UniversalMockException
* @package Pock\Exception * @package Pock\Exception
@ -26,12 +26,13 @@ class UniversalMockException extends Exception implements
NetworkExceptionInterface, NetworkExceptionInterface,
RequestExceptionInterface RequestExceptionInterface
{ {
/** @var mixed */
private $request; private $request;
/** /**
* UniversalMockException constructor. * UniversalMockException constructor.
* *
* @param $request * @param mixed $request
*/ */
public function __construct($request) public function __construct($request)
{ {

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category UnsupportedRequestException * @category UnsupportedRequestException
* @package Pock\Exception * @package Pock\Exception

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category AbstractSerializerFactory * @category AbstractSerializerFactory
* @package Pock\Factory * @package Pock\Factory

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category JsonSerializerFactory * @category JsonSerializerFactory
* @package Pock\Factory * @package Pock\Factory

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category XmlSerializerFactory * @category XmlSerializerFactory
* @package Pock\Factory * @package Pock\Factory

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category AnyRequestMatcher * @category AnyRequestMatcher
* @package Pock\Matchers * @package Pock\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category HostMatcher * @category HostMatcher
* @package Pock\Matchers * @package Pock\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category MultipleMatcher * @category MultipleMatcher
* @package Pock\Matchers * @package Pock\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category RequestMatcherInterface * @category RequestMatcherInterface
* @package Pock\Matchers * @package Pock\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category SchemeMatcher * @category SchemeMatcher
* @package Pock\Matchers * @package Pock\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category UriMatcher * @category UriMatcher
* @package Pock\Matchers * @package Pock\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category Mock * @category Mock
* @package Pock * @package Pock

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category MockInterface * @category MockInterface
* @package Pock * @package Pock

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category PockBuilder * @category PockBuilder
* @package Pock * @package Pock

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category HttpRejectedPromise * @category HttpRejectedPromise
* @package Pock\Promise * @package Pock\Promise

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category JmsSerializerDecorator * @category JmsSerializerDecorator
* @package Pock\Serializer * @package Pock\Serializer

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category SerializerInterface * @category SerializerInterface
* @package Pock\Serializer * @package Pock\Serializer

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category JmsJsonSerializerCreatorTest * @category JmsJsonSerializerCreatorTest
* @package src\Component\Creator * @package src\Component\Creator

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category JmsXmlSerializerCreator * @category JmsXmlSerializerCreator
* @package src\Component\Creator * @package src\Component\Creator

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category JsonSerializerFactoryTest * @category JsonSerializerFactoryTest
* @package Pock\Tests\Factory * @package Pock\Tests\Factory

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category XmlSerializerFactoryTest * @category XmlSerializerFactoryTest
* @package Pock\Tests\Factory * @package Pock\Tests\Factory

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category AbstractRequestMatcherTest * @category AbstractRequestMatcherTest
* @package Pock\Tests\Matchers * @package Pock\Tests\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category AnyRequestMatcherTest * @category AnyRequestMatcherTest
* @package Pock\Tests\Matchers * @package Pock\Tests\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category HostMatcherTest * @category HostMatcherTest
* @package Pock\Tests\Matchers * @package Pock\Tests\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category MultipleMatcherTest * @category MultipleMatcherTest
* @package Pock\Tests\Matchers * @package Pock\Tests\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category SchemeMatcherTest * @category SchemeMatcherTest
* @package Pock\Tests\Matchers * @package Pock\Tests\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category UriMatcherTest * @category UriMatcherTest
* @package Pock\Tests\Matchers * @package Pock\Tests\Matchers

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* PHP 7.3 * PHP 7.2
* *
* @category SimpleObject * @category SimpleObject
* @package Pock\TestUtils * @package Pock\TestUtils
@ -27,7 +27,7 @@ class SimpleObject
</result> </result>
EOF; EOF;
/** /**
* @var string * @var string
* *