Skip to content

Commit 8e83e18

Browse files
committed
Update dependencies
1 parent 12c120d commit 8e83e18

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
vendor/
2+
composer.lock
3+
.phpunit.result.cache

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
}
2020
},
2121
"require": {
22-
"php": ">=5.6",
23-
"php-mock/php-mock-integration": "^1",
22+
"php": ">=7.2",
23+
"php-mock/php-mock-integration": "^2",
2424
"phpspec/prophecy": "^1"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^4|^5"
27+
"phpunit/phpunit": "^9.4.3"
2828
},
2929
"archive": {
3030
"exclude": ["/tests"]

tests/PHPProphetTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
* @license http://www.wtfpl.net/txt/copying/ WTFPL
1414
* @see PHPProphet
1515
*/
16-
class PHPProphetTest extends AbstractMockTest
16+
final class PHPProphetTest extends AbstractMockTest
1717
{
1818

1919
/**
2020
* @var PHPProphet The SUT.
2121
*/
2222
private $prophet;
2323

24-
protected function setup()
24+
protected function setUp(): void
2525
{
2626
parent::setUp();
2727

tests/RegressionTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace phpmock\prophecy;
44

5+
use PHPUnit\Framework\TestCase;
56
use \Prophecy\Prophet;
67

78
/**
@@ -11,7 +12,7 @@
1112
* @link bitcoin:1335STSwu9hST4vcMRppEPgENMHD2r1REK Donations
1213
* @license http://www.wtfpl.net/txt/copying/ WTFPL
1314
*/
14-
class RegressionTest extends \PHPUnit_Framework_TestCase
15+
final class RegressionTest extends TestCase
1516
{
1617

1718
/**

0 commit comments

Comments
 (0)