Skip to content

Commit c7edf99

Browse files
dependabot[bot]yoanm
authored andcommitted
Update phpunit/phpunit requirement from ^6.0 || ^7.0 to ^7.0 || ^8.0 (#27)
* Update phpunit/phpunit requirement from ^6.0 || ^7.0 to ^6.0 || ^7.0 || ^8.0 Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-8.1.md) - [Commits](https://github.com/sebastianbergmann/phpunit/commits/8.1.3) Signed-off-by: dependabot[bot] <[email protected]> * Patch (#28) * Fix
1 parent 5fcc666 commit c7edf99

15 files changed

+15
-14
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ cache:
3535
branches:
3636
except:
3737
- /.*\-dev$/
38+
- /.*\-patch(\-\d+)?$/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# JSON-RPC Http server swagger documentation
2-
[![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)
2+
[![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)
33

44
[![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)
55

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"ext-json": "*",
3838
"behat/behat": "~3.0",
3939
"squizlabs/php_codesniffer": "3.*",
40-
"phpunit/phpunit": "^6.0 || ^7.0",
40+
"phpunit/phpunit": "^7.0 || ^8.0",
4141
"yoanm/php-unit-extended": "~1.0"
4242
}
4343
}

tests/Functional/App/Helper/ArrayAppendHelperTraitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ArrayAppendHelperTraitTest extends TestCase
1919
const DEFAULT_ERROR_SHAPE = ['default-error-shape'];
2020
const DEFAULT_DATA_DOC = ['default-data-doc'];
2121

22-
public function setUp()
22+
protected function setUp(): void
2323
{
2424
$this->helper = new ConcreteArrayAppendHelper();
2525
}

tests/Functional/App/Normalizer/Component/ErrorDocNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ErrorDocNormalizerTest extends TestCase
2626
const DEFAULT_ERROR_SHAPE = ['default-error-shape'];
2727
const DEFAULT_DATA_DOC = ['default-data-doc'];
2828

29-
public function setUp()
29+
protected function setUp(): void
3030
{
3131
$this->typeDocNormalizer = $this->prophesize(TypeDocNormalizer::class);
3232
$this->shapeNormalizer = $this->prophesize(ShapeNormalizer::class);

tests/Functional/App/Normalizer/Component/ExternalSchemaListDocNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class ExternalSchemaListDocNormalizerTest extends TestCase
2929
/** @var ExternalSchemaListDocNormalizer */
3030
private $normalizer;
3131

32-
public function setUp()
32+
protected function setUp(): void
3333
{
3434
$this->typeDocNormalizer = $this->prophesize(TypeDocNormalizer::class);
3535
$this->errorDocNormalizer = $this->prophesize(ErrorDocNormalizer::class);

tests/Functional/App/Normalizer/Component/OperationDocNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class OperationDocNormalizerTest extends TestCase
2727
const DEFAULT_REQUEST_DEFINITION = ['default-request-definition'];
2828
const DEFAULT_RESPONSE_DEFINITION = ['default-response-definition'];
2929

30-
public function setUp()
30+
protected function setUp(): void
3131
{
3232
$this->requestDocTransformer = $this->prophesize(RequestDocNormalizer::class);
3333
$this->responseDocNormalizer = $this->prophesize(ResponseDocNormalizer::class);

tests/Functional/App/Normalizer/Component/RequestDocNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class RequestDocNormalizerTest extends TestCase
2727
const DEFAULT_DEFINITION_ID = 'default-definition-id';
2828
const DEFAULT_DEFINITION_ID_REF = 'default-definition-id-ref';
2929

30-
public function setUp()
30+
protected function setUp(): void
3131
{
3232
$this->definitionRefResolver = $this->prophesize(DefinitionRefResolver::class);
3333
$this->shapeNormalizer = $this->prophesize(ShapeNormalizer::class);

tests/Functional/App/Normalizer/Component/ResponseDocNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ResponseDocNormalizerTest extends TestCase
2525
/** @var ResponseDocNormalizer */
2626
private $normalizer;
2727

28-
public function setUp()
28+
protected function setUp(): void
2929
{
3030
$this->definitionRefResolver = $this->prophesize(DefinitionRefResolver::class);
3131
$this->shapeNormalizer = $this->prophesize(ShapeNormalizer::class);

tests/Functional/App/Normalizer/Component/ResultDocNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ResultDocNormalizerTest extends TestCase
2020
/** @var ResultDocNormalizer */
2121
private $normalizer;
2222

23-
public function setUp()
23+
protected function setUp(): void
2424
{
2525
$this->definitionRefResolver = $this->prophesize(DefinitionRefResolver::class);
2626

tests/Functional/App/Normalizer/Component/SchemaTypeNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SchemaTypeNormalizerTest extends TestCase
1717
/** @var SchemaTypeNormalizer */
1818
private $normalizer;
1919

20-
public function setUp()
20+
protected function setUp(): void
2121
{
2222
$this->normalizer = new SchemaTypeNormalizer();
2323
}

tests/Functional/App/Normalizer/Component/ShapeNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ShapeNormalizerTest extends TestCase
1414
/** @var ShapeNormalizer */
1515
private $normalizer;
1616

17-
public function setUp()
17+
protected function setUp(): void
1818
{
1919
$this->normalizer = new ShapeNormalizer();
2020
}

tests/Functional/App/Normalizer/Component/TypeDocNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class TypeDocNormalizerTest extends TestCase
1616
/** @var TypeDocNormalizer */
1717
private $normalizer;
1818

19-
public function setUp()
19+
protected function setUp(): void
2020
{
2121
$this->normalizer = new TypeDocNormalizer(
2222
new SchemaTypeNormalizer()

tests/Functional/App/Resolver/DefinitionRefResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class DefinitionRefResolverTest extends TestCase
1717
/** @var DefinitionRefResolver */
1818
private $resolver;
1919

20-
public function setUp()
20+
protected function setUp(): void
2121
{
2222
$this->resolver = new DefinitionRefResolver();
2323
}

tests/Functional/Infra/Normalizer/DocNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class DocNormalizerTest extends TestCase
2727
const DEFAULT_OPERATION_DOC = ['default-opertation-doc'];
2828
const DEFAULT_EXTERNAL_LIST_DOC = ['default-external-list-doc'];
2929

30-
public function setUp()
30+
protected function setUp(): void
3131
{
3232
$this->externalSchemaListDocNormalizer = $this->prophesize(ExternalSchemaListDocNormalizer::class);
3333
$this->operationDocNormalizer = $this->prophesize(OperationDocNormalizer::class);

0 commit comments

Comments
 (0)