Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit a6bb98d

Browse files
author
Sam Stenvall
committed
Upgrade phpunit/phpunit to ^7.5 to fix warnings on PHP 7.4
1 parent 21a4be1 commit a6bb98d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"league/pipeline": "^0.3.0"
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "^5.7",
24+
"phpunit/phpunit": "^7.5",
2525
"pagerfanta/pagerfanta": "^1.0",
2626
"phpstan/phpstan": "^0.9.2"
2727
},

phpunit.xml.dist

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
convertNoticesToExceptions="true"
77
convertWarningsToExceptions="true"
88
processIsolation="false"
9-
stopOnFailure="false"
10-
syntaxCheck="false">
9+
stopOnFailure="false">
1110
<testsuites>
1211
<testsuite name="unit">
1312
<directory suffix="Test.php">./tests</directory>
@@ -19,6 +18,6 @@
1918
</whitelist>
2019
</filter>
2120
<logging>
22-
<log type="coverage-clover" target="build/logs/clover.xml" logIncompleteSkipped="false"/>
21+
<log type="coverage-clover" target="build/logs/clover.xml"/>
2322
</logging>
2423
</phpunit>

tests/TestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Class TestCase
1212
* @package Nord\Lumen\Elasticsearch\Tests
1313
*/
14-
class TestCase extends \PHPUnit_Framework_TestCase
14+
class TestCase extends \PHPUnit\Framework\TestCase
1515
{
1616

1717
/**

0 commit comments

Comments
 (0)