Skip to content

Commit 8a57e92

Browse files
committed
feat(package): updating to phpunit13
1 parent 4293ad5 commit 8a57e92

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"require": {
77
"php": "^8.0",
88
"qratorlabs/smocky": "^1.2",
9-
"phpunit/phpunit": "^12.5.0"
9+
"phpunit/phpunit": "^13.0.0"
1010
},
1111
"require-dev": {
1212
"squizlabs/php_codesniffer": "^3.12",

src/MockedMethod.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace QratorLabs\SmockyPHPUnit;
66

7-
use PHPUnit\Framework\MockObject\InvocationStubber;
7+
use PHPUnit\Framework\MockObject\InvocationMocker;
88
use PHPUnit\Framework\MockObject\MockObject;
99
use PHPUnit\Framework\MockObject\Rule\InvocationOrder;
1010
use PHPUnit\Framework\TestCase;
@@ -13,7 +13,7 @@
1313

1414
class MockedMethod extends AbstractMocked
1515
{
16-
private InvocationStubber $invocationMocker;
16+
private InvocationMocker $invocationMocker;
1717
private MockObject $mockObject;
1818
private MockedClassMethod $mockedMethod;
1919

@@ -69,7 +69,7 @@ public function callOriginalStatic(mixed ...$args): mixed
6969
return $this->mockedMethod->callOriginalStatic(...$args);
7070
}
7171

72-
public function getMocker(): InvocationStubber
72+
public function getMocker(): InvocationMocker
7373
{
7474
return $this->invocationMocker;
7575
}

0 commit comments

Comments
 (0)