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

View File

@ -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",

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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