Skip to content

Commit

Permalink
updated phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Pistej committed Feb 24, 2021
1 parent 7655b13 commit f27a94b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"license": "BSD-3-Clause",
"require": {
"php": ">=7.1",
"php": ">=7.2",
"opentracing/opentracing": "^1.0.0",
"ralouphie/getallheaders": "^2.0 || ^3.0",
"yiisoft/yii": "^1.1.18"
Expand All @@ -22,7 +22,7 @@
},
"require-dev": {
"jonahgeorge/jaeger-client-php": "dev-master",
"phpunit/phpunit": "^6.5.14",
"phpunit/phpunit": "^8.5.0",
"roave/security-advisories": "dev-master"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion tests/ActiveRecordBehaviorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function testTraceDelete()
$activeRecord->delete();
}

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/Support/TestCase/DatabaseIntegrationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

abstract class DatabaseIntegrationTestCase extends TestCase
{
protected function setUp()
protected function setUp():void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/Support/TestCase/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

abstract class TestCase extends \PHPUnit\Framework\TestCase
{
protected function tearDown()
protected function tearDown(): void
{
$this->destroyApplication();

Expand Down

0 comments on commit f27a94b

Please sign in to comment.