Skip to content

Update phpunit/phpunit requirement from ^6.0 || ^7.0 to ^7.0 || ^8.0 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ cache:
branches:
except:
- /.*\-dev$/
- /.*\-patch(\-\d+)?$/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# JSON-RPC Http server swagger documentation
[![License](https://img.shields.io/github/license/yoanm/php-jsonrpc-http-server-swagger-doc-sdk.svg)](https://github.com/yoanm/php-jsonrpc-http-server-swagger-doc-sdk) [![Code size](https://img.shields.io/github/languages/code-size/yoanm/php-jsonrpc-http-server-swagger-doc-sdk.svg)](https://github.com/yoanm/php-jsonrpc-http-server-swagger-doc-sdk) [![Dependencies](https://img.shields.io/librariesio/github/yoanm/php-jsonrpc-http-server-swagger-doc-sdk.svg)](https://libraries.io/packagist/yoanm%2Fjsonrpc-http-server-swagger-doc-sdk)
[![License](https://img.shields.io/github/license/yoanm/php-jsonrpc-http-server-swagger-doc-sdk.svg)](https://github.com/yoanm/php-jsonrpc-http-server-swagger-doc-sdk) [![Code size](https://img.shields.io/github/languages/code-size/yoanm/php-jsonrpc-http-server-swagger-doc-sdk.svg)](https://github.com/yoanm/php-jsonrpc-http-server-swagger-doc-sdk) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=yoanm/php-jsonrpc-http-server-swagger-doc-sdk)](https://dependabot.com)

[![Scrutinizer Build Status](https://img.shields.io/scrutinizer/build/g/yoanm/php-jsonrpc-http-server-swagger-doc-sdk.svg?label=Scrutinizer&logo=scrutinizer)](https://scrutinizer-ci.com/g/yoanm/php-jsonrpc-http-server-swagger-doc-sdk/build-status/master) [![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/yoanm/php-jsonrpc-http-server-swagger-doc-sdk/master.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/yoanm/php-jsonrpc-http-server-swagger-doc-sdk/?branch=master) [![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/yoanm/php-jsonrpc-http-server-swagger-doc-sdk/master.svg?logo=scrutinizer)](https://scrutinizer-ci.com/g/yoanm/php-jsonrpc-http-server-swagger-doc-sdk/?branch=master)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"ext-json": "*",
"behat/behat": "~3.0",
"squizlabs/php_codesniffer": "3.*",
"phpunit/phpunit": "^6.0 || ^7.0",
"phpunit/phpunit": "^7.0 || ^8.0",
"yoanm/php-unit-extended": "~1.0"
}
}
2 changes: 1 addition & 1 deletion tests/Functional/App/Helper/ArrayAppendHelperTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ArrayAppendHelperTraitTest extends TestCase
const DEFAULT_ERROR_SHAPE = ['default-error-shape'];
const DEFAULT_DATA_DOC = ['default-data-doc'];

public function setUp()
protected function setUp(): void
{
$this->helper = new ConcreteArrayAppendHelper();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ErrorDocNormalizerTest extends TestCase
const DEFAULT_ERROR_SHAPE = ['default-error-shape'];
const DEFAULT_DATA_DOC = ['default-data-doc'];

public function setUp()
protected function setUp(): void
{
$this->typeDocNormalizer = $this->prophesize(TypeDocNormalizer::class);
$this->shapeNormalizer = $this->prophesize(ShapeNormalizer::class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ExternalSchemaListDocNormalizerTest extends TestCase
/** @var ExternalSchemaListDocNormalizer */
private $normalizer;

public function setUp()
protected function setUp(): void
{
$this->typeDocNormalizer = $this->prophesize(TypeDocNormalizer::class);
$this->errorDocNormalizer = $this->prophesize(ErrorDocNormalizer::class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class OperationDocNormalizerTest extends TestCase
const DEFAULT_REQUEST_DEFINITION = ['default-request-definition'];
const DEFAULT_RESPONSE_DEFINITION = ['default-response-definition'];

public function setUp()
protected function setUp(): void
{
$this->requestDocTransformer = $this->prophesize(RequestDocNormalizer::class);
$this->responseDocNormalizer = $this->prophesize(ResponseDocNormalizer::class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class RequestDocNormalizerTest extends TestCase
const DEFAULT_DEFINITION_ID = 'default-definition-id';
const DEFAULT_DEFINITION_ID_REF = 'default-definition-id-ref';

public function setUp()
protected function setUp(): void
{
$this->definitionRefResolver = $this->prophesize(DefinitionRefResolver::class);
$this->shapeNormalizer = $this->prophesize(ShapeNormalizer::class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ResponseDocNormalizerTest extends TestCase
/** @var ResponseDocNormalizer */
private $normalizer;

public function setUp()
protected function setUp(): void
{
$this->definitionRefResolver = $this->prophesize(DefinitionRefResolver::class);
$this->shapeNormalizer = $this->prophesize(ShapeNormalizer::class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ResultDocNormalizerTest extends TestCase
/** @var ResultDocNormalizer */
private $normalizer;

public function setUp()
protected function setUp(): void
{
$this->definitionRefResolver = $this->prophesize(DefinitionRefResolver::class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SchemaTypeNormalizerTest extends TestCase
/** @var SchemaTypeNormalizer */
private $normalizer;

public function setUp()
protected function setUp(): void
{
$this->normalizer = new SchemaTypeNormalizer();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ShapeNormalizerTest extends TestCase
/** @var ShapeNormalizer */
private $normalizer;

public function setUp()
protected function setUp(): void
{
$this->normalizer = new ShapeNormalizer();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TypeDocNormalizerTest extends TestCase
/** @var TypeDocNormalizer */
private $normalizer;

public function setUp()
protected function setUp(): void
{
$this->normalizer = new TypeDocNormalizer(
new SchemaTypeNormalizer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class DefinitionRefResolverTest extends TestCase
/** @var DefinitionRefResolver */
private $resolver;

public function setUp()
protected function setUp(): void
{
$this->resolver = new DefinitionRefResolver();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/Infra/Normalizer/DocNormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class DocNormalizerTest extends TestCase
const DEFAULT_OPERATION_DOC = ['default-opertation-doc'];
const DEFAULT_EXTERNAL_LIST_DOC = ['default-external-list-doc'];

public function setUp()
protected function setUp(): void
{
$this->externalSchemaListDocNormalizer = $this->prophesize(ExternalSchemaListDocNormalizer::class);
$this->operationDocNormalizer = $this->prophesize(OperationDocNormalizer::class);
Expand Down